vemomedia 7 Posted December 30, 2016 Report Share Posted December 30, 2016 Ok so im having a big issue, ive been trying to use thread spawn to make accounts but when i use the account data to generate usernames, passwords, emails it uses the same info on each thread, ive also tried changing it to local instead of global but no luck, even used account reset but maybe im placing it in the wrong position idk, but what i am trying to do is make a simple account creator with the account data parameters via thread spawn. Ive been stuck on this for hours now and its driving me crazy!!!!!!!!! Quote Link to post Share on other sites
Bot-Factory 602 Posted December 31, 2016 Report Share Posted December 31, 2016 Ok so im having a big issue, ive been trying to use thread spawn to make accounts but when i use the account data to generate usernames, passwords, emails it uses the same info on each thread, ive also tried changing it to local instead of global but no luck, even used account reset but maybe im placing it in the wrong position idk, but what i am trying to do is make a simple account creator with the account data parameters via thread spawn. Ive been stuck on this for hours now and its driving me crazy!!!!!!!!! Please post some code. Otherwise it's hard to help you. There is probably something messed up with variables and/or defines. Dan Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted December 31, 2016 Report Share Posted December 31, 2016 You can also try making the accounts first and save to file or list, then loop through the list. What version of ubot are you using?You can also try Thread Docta too. CD Quote Link to post Share on other sites
vemomedia 7 Posted December 31, 2016 Author Report Share Posted December 31, 2016 You can also try making the accounts first and save to file or list, then loop through the list. What version of ubot are you using? You can also try Thread Docta too. CDthe latest, and im going to look at thread docta now Quote Link to post Share on other sites
vemomedia 7 Posted December 31, 2016 Author Report Share Posted December 31, 2016 my issues seem to be that it doesnt exactly let me change proxy for each thread, sometimes it will but when i added my define into the thread it wont work, then when i fixed it then proxies stopped changing and then i used the next list item and it worked but then i would get the exceeded the range of the list error, maybe if i can figure out how to bypass the next list issue i would be fine Quote Link to post Share on other sites
Bot-Factory 602 Posted January 1, 2017 Report Share Posted January 1, 2017 my issues seem to be that it doesnt exactly let me change proxy for each thread, sometimes it will but when i added my define into the thread it wont work, then when i fixed it then proxies stopped changing and then i used the next list item and it worked but then i would get the exceeded the range of the list error, maybe if i can figure out how to bypass the next list issue i would be fine In my opinion thread spawn is not the best approach for something like this. I would use regular threading where you can manage everything manually. This is much easier. And you have to hand over the correct proxy from the outside of the thread to the define that runs within the thread. You should not use next list item within the thread. Dan Quote Link to post Share on other sites
vemomedia 7 Posted January 1, 2017 Author Report Share Posted January 1, 2017 In my opinion thread spawn is not the best approach for something like this. I would use regular threading where you can manage everything manually. This is much easier. And you have to hand over the correct proxy from the outside of the thread to the define that runs within the thread. You should not use next list item within the thread. Dan hey dan, how would i make this into a multi thread if i only use the "thread" command ? Quote Link to post Share on other sites
Bot-Factory 602 Posted January 1, 2017 Report Share Posted January 1, 2017 hey dan, how would i make this into a multi thread if i only use the "thread" command ? Hi. There are a couple of tutorials available here in the forum. Or via a google search.But basically you control and manage your threads manually. Something like this: plugin command("Advanced Ubot.dll", "threads counter", "Reset") set(#localcounter,0,"Local") loop($plugin function("Bigtable.dll", "Large list total", "keywords")) { loop while($comparison($plugin function("Advanced Ubot.dll", "$threads counter monitor", "Total Threads"),">=",10)) { wait(0.1) } set(#proxy,$plugin function("Bigtable.dll", "Random Large list item", "proxylist"),"Local") if($comparison(#proxy,"=","list doesnt exist")) { then { set(#proxy,"","Local") } } set(#status,"Checking Proxy {#localcounter}:{$plugin function("Bigtable.dll", "Large list total", "proxylist")}","Global") plugin command("Advanced Ubot.dll", "threads counter", "Increment") myThreadDefine($plugin function("Bigtable.dll", "Large list item", "keywords", #localcounter), #proxy) increment(#localcounter) } loop while($comparison($plugin function("Advanced Ubot.dll", "$threads counter monitor", "Total Threads"),">",0)) { wait(0.1) } myThreadDefine in this example is the define that has the actual code. define myThreadDefine(#localkeyword, #localproxy) { thread { comment("Your Code") } } Instead of the Advanced ubot plugin you can also use the FREE Threads Counter Plugin: You can replace them with the following commands (Not the actually Code. Just the commands and functions.)ui stat monitor("Threads",$plugin function("Threads Counter.dll", "threads counter", "read"))set(#threads,$plugin function("Threads Counter.dll", "threads counter", "reset"),"Global")set(#threads,$plugin function("Threads Counter.dll", "threads counter", "increment"),"Global")set(#threads,$plugin function("Threads Counter.dll", "threads counter", "decrement"),"Global") loop while($comparison($plugin function("Threads Counter.dll", "threads counter", "read"), ">=", 10)) { wait(0.1) } loop while($comparison($plugin function("Threads Counter.dll", "threads counter", "read"), ">", 0)) { wait(0.1) } Someone told me, that you can now also use regular variables to track threads. But I didn't test that. In the past regular variables with increment and decrement didn't work correctly. Dan Quote Link to post Share on other sites
Bot-Factory 602 Posted January 1, 2017 Report Share Posted January 1, 2017 Here's a little tutorials as well: What I do NOT like in this video.. The thread command should be in the define command that executes the thread code. Not in the launcher routine.Specially if you hand over variables. Dan Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.