Jump to content
UBot Underground

New To Multi Threading. Need Help


Recommended Posts

Hi,

 

This is the first time I try to build a bot that can multi-thread and everything is still very confusing to me.

Here's the gist of the bot I'm trying to build:

So I have a list of several thousand items to analyze. I want to analyze 10 items at a time. (10 items will not be finished at the same time)
. I want when an item finishes, the bot moves on to the next item that hasn't been analyzed on the list until the end.

Please suggest the overall structure of this multi-thread bot.

And it'd be awesome if anyone can explain how to use thread spawn or point me to a tutorial.

 

Thank you very much.

 

Link to post
Share on other sites

Latest version of ubot 5 has really good thread tools... Open ubot, click on the tutorials tab in the menu and do a search for threads... They have pretty foundational threading laid out so that you can start to get your mind wrapped around it.

thread spawn(30,10) {
    in new browser {
        navigate("http://www.ubotstudio.com/resources","Wait")
        wait for browser event("DOM Ready","")
        comment("Your Actions To Take On The Page Go Here.")
    }
}
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...