Jump to content
UBot Underground

magoo

Fellow UBotter
  • Content Count

    102
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by magoo

  1. VB is just skinning a cat a different way, the simple code i posted above will do exactly what you want and will only post each list item once. If you only want to flow from the start to finish of a list and only visit each list item once, then next list item works just fine. Set your list item to a var and it can be used anyware within the loop. Simply use list total to get number of loops
  2. Steve, I think you may have mistaken the OP, LazyBotter was sharing code to help the community, not posting an issue..
  3. I made an example so you can see how next list item works. You should be able to adapt the same thing to any bot. Where I have loaded html for you to see how it works, just replace with your image upload code. clear list(%image) add list to list(%image, $list from text("Image_1 Image_1 Image_3 Image_4", $new line), "Delete", "Global") loop($list total(%image)) { set(#image, $next list item(%image), "Global") load html(#image) }
  4. No but you can scrape the URL and then set it to a variable
  5. If two threads need to start from the same list position but from different lists then why not assign the list position to both threads before they start, rather than use next list item. That way you will not rely on chance by using your 5 second wait, because you have assigned the list position to both threads. you will know thread 1 is working on list A at position1 and tread 2 is working on list B at position1
  6. I have to agree with both comments above. Building a business online is a job and one that takes time, a lot of it! Anybody who tells you, you can make big money with no experiences and no out lay is full of shit. If you need money now, then uBot is not the answer, nor is any other online venture with the promise of great wealth.
  7. If you show us the page with the button and drop down menus, I'm sure someone will be able to help.
  8. . Why do you need the same define multiple times? Just delete the cloned defines. It doesn't matter what tab you are in you can call a define from any tab. If your idea was to clone and modify the defines in the second tab then yes renaming them will work. No two defines can have the same name.
  9. Why not just delete the clone? It will be because everything is set to gloable and you will have defines in each tab by the same name with identical lists and variables, as you call a define from one tab it will be firing the define in the second tab as well, causing the bot to get confused.
  10. Why don't you scrape the data on ebay rather than from a site using there api?
  11. Thanks TJ.. very useful package, I have a few projects in mind for some of these. And your list of extras yet to be released look pretty slick, especially this FREE UP MY MEMORY!!
  12. Is this what you are after http://www.ubotstudio.com/forum/index.php?/topic/12766-how-does-pause-script-and-stop-script-work/&do=findComment&comment=71262
  13. Why didn't you open your thread with a clear explanation like this??
  14. so, say each line in the ui is set to a different variable?? is that what you need?
  15. The ui block text is the variable, whats inside it is the value of the variable. Make sense?
  16. I don't see any errors when running the code you posted above. I take it that the actual code that is receiving an error is different than this code?? usually you would increment the loop after it has run its cycle, not as it starts the cycle.
  17. I get the same message as you did. I even get it if I navigate to the page from my default browser chrome. If I change user agent I also get the second page that you did.
  18. You need to explain better what you need then, because all you had to do was add the functions from your own test bot above. If you are trying to achieve what your thread-error-example.ubot does, then this code has been modified to perform the tasks as per your bot. Each line of your text file is performed in a new thread with a max of ten threads open at once. Look at the logic and you will be able to add to it. ui open file("some file with data in it - mine is comma separated", #mydatafile) set(#readmydatafile, $read file(#mydatafile), "Global") clear list(%mydatafileiread) add list to
  19. Here is an example for you, navigate("http://www.google.com", "Wait") wait for element(<id="footer">, "", "Appear") type text(<name="q">, "free bots", "Standard") click(<name="btnG">, "Left Click", "No") wait for element(<id="foot">, "", "Appear") clear list(%urls) add list to list(%urls, $list from text($scrape attribute(<outerhtml=w"<a href=\"*\" class=\"*\" onmousedown=\"return rwt(this*)\">*</a>">, "href"), $new line), "Delete", "Global") if($comparison($list total(%urls), "<=", 10)) { then { set(#num threads, $list total(%urls),
  20. Using my example above, Set your text in the #anchor variable and then add the #anchor variable then place the #hyperlink variable in the type text
  21. I don't see Another Cute girl anywhere in the code above, reckon you could narrow down what we are looking for?
  22. add list to list instead of item to list. You may have to loop through each list item
  23. Try this.. ui text box("URL", #url) ui text box("AnchorText", #anchor) set(#hyperlink, "<a href=\"{#url}\">{#anchor}</a>", "Global") load html(#hyperlink)
×
×
  • Create New...