Jump to content
UBot Underground

easternfade

Fellow UBotter
  • Content Count

    19
  • Joined

  • Last visited

Posts posted by easternfade

  1. What I'm about to say has only worked for my compiled bots, and only works when your .txt or .csv file is stored in the same folder (or subfolder) as your compiled .exe file.

     

    If you're looking to have the values loaded by uBot without you having to find the file every time, you could run this command:

     

    add to list

    list from file

    /accounts/accounts.csv

     

    It literally should look just like that. When you leave out everything from the front of the "/accounts/accounts.csv" file, the compiled bot just assumes that the file it is looking for is stored in the same folder as the .exe file itself.

     

    Interesting.. I could never get this to work in a non-compiled bot.

     

    Have you tried loading or saving dynamically created file names?

     

    e.g. /accounts/accounts-{1}.csv

     

    I have never been able to get this to work unfortunately. It just does not create the file at all and silently fails.

  2. Create an IF statement

     

    Then right click on the screen what you want it to find.

     

    Then go back to the qualifer and pick search page. Within the selection given should be the text you want. All you do is select it.

     

    If you dont find it then just type it in.

     

    When I tried this with a Not around Evaluate, it didn't work. It seemed to evaluate True even though the text was in the page. Have you got it working with the Not?

  3. here is how you could currently do this.

     

    http://screencast.com/t/yDEsRU9jba

     

    I want to be careful not to clutter things up with commands that aren't needed. does anyone else thing that an append file command would make things easier?

     

    Whoah old thread, but the feature hasn't been done.

     

    I do think it's a good idea, because quite often you want to run a bunch of scripts that work on different sites (think account creation) and then bundle all the results into one file. The current limitations with naming save files on the fly means you have to either keep overwriting the same file or specify a file for each script (messy in UI).

     

    So +1 from me.. i don't think it should be a checkbox (that's probably hard coz it's not supported in the .net win gui anyway) - i think it should be "append to file" as an additional command to "save to file"

  4. Hi,

     

    At the moment it seems you can only include bots from My Documents, and then with an absolute path. This isn't so good when sharing bots, as it stores the current user's path.

     

    I've tried including bots with just the Bot file name as well as .\botname.ubot but it doesn't seem supported.

     

    Any chance in getting this done? It would mean we can distribute a set of bots together, which could interact if they were kept in the same directory.

     

    Thanks - ubot is awesome!!

  5. I'm struggling with getting ubot to do the following:

     

    1. Navigating to a preselected URL from a .csv, browsing through "next" buttons on this website and scraping data id's.

    2. When I've added 50x data id's, I want it to save its current URL by overwriting the initial URL and then log out.

    3. Then get the updated URL and login again, and continue to add 50x from where it left off.

    4. When all the data id's on all the "next buttons" are added, it should remove the URL entry all together, and then go to the next preselected URL in the .csv.

    5. And so forth...

     

    Thereby eventually reducing the list of URLs down to zero.

     

    Getting it to login/logout, recognize "next buttons", scraping the data etc is simple.

     

    However I can't get it to update just the URL it is currently "working on".

    Neither can I get it to delete itself once it has run out of "next buttons".

     

     

    Obviously it would be easy if ubot had the option of removing list items based on content. But it seems like it's a bit problematic with this kind of circular list referencing.

     

    Any ideas?

    Thanks!

     

    It sounds like you can just loop on the list of urls.

    And in step 2, just save the updated url in a variable.

  6. My bot registers accounts at the same site multiple times. I'm having trouble when a public proxy isn't working, the bot gets stuck. Just looking for feedback from people who might be doing something similar. Do you error check or anything?

     

    One idea i had is:

    Put this in a loop:

    - have a sub that scrapes a known page (google.com) for text.

    - Run this after you change the proxy.

    - If it fails (404, timeout), change the proxy. Repeat..

  7. Is there any way I can prefill drop down boxes in ubot which are stored on a website.

     

    For example would it be possible on a site that has a drop down box of choices to load the contents of the drop down list dynamically into a field in ubot? So that the updating of these lists occurred when ubot was opened?

     

    Thanks

     

    Haven't really looked into it but..

    Perhaps with scrape page, and some clever replacing ?

     

    Or do it in perl/php and save to a text file.

    Then call that php file from the SHELL command in Ubot; then have ubot load from the text file.

    That might be a lot easier because you can use Mechanize or just cut up the source with perl's great features.

  8. Gday..

     

    I am trying to do the following in a sub:

    - check for various items on a page

    - if not present, return false, else return true

     

    I have tried to plug the sub into the qualifier part of an if statement, but it always seems to evaluate as true.

     

    I also tried setting a variable with the Sub as the input, but Ubot gets an Invalid Cast Exception.

     

    The video that's supposed to be on returning from subs is actually about error reporting, so I couldn't find any info there.

     

    Hope that makes sense - I can post screenshots.

     

    Any help greatly appreciated!

     

    Thanks

×
×
  • Create New...