Jump to content
UBot Underground

2 Projects, 2 Problems..


Recommended Posts

So I began trying to make a simple link checker in UBot, that would see if my clients Amazon review URL was either removed, or still up. I think I did pretty good for a newbie to get as far as I did with looking up commands and such.

 

So my issue is, when the link checker is checking the list of URLs, I have it display how many URLs are "dead" or "alive". But whenever the bot runs, it says they are all "alive" although, the links aren't actually up. I used an if statement to increment my ui stat monitor variable if it contains X. And if it doesn't contain X, it should THEN increment variable Y.

 

Bot attached called "Link Checker".

Example URL to use: http://www.amazon.com/review/R2QC8OG07HHOU2/ref=cm_cr_rdp_perm

 

 

My 2nd problem is I started to make another bot in the time being since I was unable to find sufficient information regarding my issue.

I am making an account creator for a website. Currently I am trying to make it update the ui stat monitor with how many proxies/names/logins/referrers they have provided. When I run the bot, only the # of referrers works, and none of the ui stat monitors work. I've looked at what I have inputted quite intensely, and I don't see how I setup referrer that makes it different then the others.

 

All help is really appreciated. I would post code, but I only have the standard edition of uBot. I am not just posting here because I don't want to figure out how to do it, I just don't know what else I can do to solve my problem, and not many people know Ubot on forums except for this place of course. 

 

I am running the latest version of UBot as well if it matters. 

 

 

 

 

Added new files.

Link Checker.ubot

Account Creator.ubot

Edited by Ingram Assets
Link to post
Share on other sites

So I began trying to make a simple link checker in UBot, that would see if my clients Amazon review URL was either removed, or still up. I think I did pretty good for a newbie to get as far as I did with looking up commands and such.

 

So my issue is, when the link checker is checking the list of URLs, I have it display how many URLs are "dead" or "alive". But whenever the bot runs, it says they are all "alive" although, the links aren't actually up. I used an if statement to increment my ui stat monitor variable if it contains X. And if it doesn't contain X, it should THEN increment variable Y.

 

Bot attached called "Link Checker".

Example URL to use: http://www.amazon.com/review/R2QC8OG07HHOU2/ref=cm_cr_rdp_perm

 

 

My 2nd problem is I started to make another bot in the time being since I was unable to find sufficient information regarding my issue.

I am making an account creator for a website. Currently I am trying to make it update the ui stat monitor with how many proxies/names/logins/referrers they have provided. When I run the bot, only the # of referrers works, and none of the ui stat monitors work. I've looked at what I have inputted quite intensely, and I don't see how I setup referrer that makes it different then the others.

 

All help is really appreciated. I would post code, but I only have the standard edition of uBot. I am not just posting here because I don't want to figure out how to do it, I just don't know what else I can do to solve my problem, and not many people know Ubot on forums except for this place of course. 

 

I am running the latest version of UBot as well if it matters. 

 

1. Link Checker. 

After your navigate command you need a pause. Otherwise your commands will run before the browser finished loading.

You can use:

wait for browser event("Everything Loaded","")

or a wait command.

 

You can also remove the stop script at the end of your script. ubot stops if there is nothing more to do.

You also don't need the

set list position(%importedlist,0)

You clear the list and import it from the file. So the counter will be 0.

 

2. The location of your files is stored in the 4 variables.

At the beginning of your script you have:

set(#name,0,"Global")

set(#login,0,"Global")

set(#proxy,0,"Global")

 

Which overwrites 3 of the 4 variables with 0. So therefore they don't contain the path to the file anymore. 

And therefore you can't load them. And the list will be empty. 

 

Only #referrer works because that's the only one you didn't delete.

 

 

I highly recommend that you take a look at:

http://www.ubotstudio.com/tutorials

 

Spend some time there and try to the examples yourself when you watch the videos.

 

Cheers

Dan

  • Like 1
Link to post
Share on other sites

1. Link Checker. 

After your navigate command you need a pause. Otherwise your commands will run before the browser finished loading.

You can use:

wait for browser event("Everything Loaded","")

or a wait command.

 

You can also remove the stop script at the end of your script. ubot stops if there is nothing more to do.

You also don't need the

set list position(%importedlist,0)

You clear the list and import it from the file. So the counter will be 0.

 

2. The location of your files is stored in the 4 variables.

At the beginning of your script you have:

set(#name,0,"Global")

set(#login,0,"Global")

set(#proxy,0,"Global")

 

Which overwrites 3 of the 4 variables with 0. So therefore they don't contain the path to the file anymore. 

And therefore you can't load them. And the list will be empty. 

 

Only #referrer works because that's the only one you didn't delete.

 

 

I highly recommend that you take a look at:

http://www.ubotstudio.com/tutorials

 

Spend some time there and try to the examples yourself when you watch the videos.

 

Cheers

Dan

Thanks for the information. I've followed what you have instructed and was able to fix #2 with success. 

 

As for #1, the same issue still occurs, even adding the wait for browser to load element.

 

Could you take 1 more look to see what I might be doing wrong?

 

The text file is a sample file for the checker.

 

 

Link Checker.ubot

Test Run.txt

Edited by Ingram Assets
Link to post
Share on other sites

Those sites are showing different "errors". 
One is showing 404 error. The other site is giving "404 document not found".

You have to look into the page source code and check what they are returning. 

And then check for that. 

 

That stuff is covered in the tutorials. They are really helpful when you're starting.
 

Cheers

Dan

Link Checker.ubot

  • Like 1
Link to post
Share on other sites

Those sites are showing different "errors". 

One is showing 404 error. The other site is giving "404 document not found".

 

You have to look into the page source code and check what they are returning. 

And then check for that. 

 

That stuff is covered in the tutorials. They are really helpful when you're starting.

 

Cheers

Dan

 

The first 2 URLs are the same, the 3rd should of been straight http://google.com/

 

Since I fixed that URL, it works just fine now.

 

Thanks for the help Dan.

Edited by Ingram Assets
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...