addy196 9 Posted August 31, 2015 Report Share Posted August 31, 2015 Best Plugin Kev , I could never understand multi threading specially with HTTP, But your plugin is Very Easy to use now I can multi thread any bot I want. I would recommend every new botter should have this plugin if they don't know how to deal with multi thread. Quote Link to post Share on other sites
django 1 Posted September 4, 2015 Report Share Posted September 4, 2015 how to save data with multithread i am creating bulk account creator where i am making bulk account on yahoo i am using account data function for account data. Now main problem is how to save data with multithread on bulk creator any suggestion ? i am using your plugin Quote Link to post Share on other sites
Bot-Factory 602 Posted September 4, 2015 Report Share Posted September 4, 2015 how to save data with multithread i am creating bulk account creator where i am making bulk account on yahoo i am using account data function for account data. Now main problem is how to save data with multithread on bulk creator any suggestion ? i am using your plugin There are multiple ways. 1. Files 2. Table But this is a generic Multithreading topic. It makes no difference if you use this plugin or native ubot multithreading. You have to ensure that data is consistent. Best is to work with counters and then use 1 table row for the data of every thread. Cheers Dan Quote Link to post Share on other sites
django 1 Posted September 4, 2015 Report Share Posted September 4, 2015 ok list working fine can you give me example how to add proxy from file on your code I tried but basic list not showing its added or not Quote Link to post Share on other sites
Bot-Factory 602 Posted September 4, 2015 Report Share Posted September 4, 2015 ok list working fine can you give me example how to add proxy from file on your code I tried but basic list not showing its added or not Post your code here and we can start from there. Dan Quote Link to post Share on other sites
django 1 Posted September 5, 2015 Report Share Posted September 5, 2015 Post your code here and we can start from there. Dan ui open file("Proxy",#proxyfile)plugin command("Smartthreads.dll", "Threadcontrol Advanced initial", 3)plugin command("Smartthreads.dll", "Thread control Add proxys", #proxyfile, "Basic List", "")plugin command("Smartthreads.dll", "Thread control Advanced add", "advanced one with proxies", "List", %testlist, "Yes")plugin command("Smartthreads.dll", "Thread control Advanced finish wait")define advanced one with proxies(#row, #proxy, #listitem) { comment("do task one") in new browser { alert(#listitem) }} Quote Link to post Share on other sites
Bot-Factory 602 Posted September 5, 2015 Report Share Posted September 5, 2015 You have to read the proxy file and add it to a list. And then use that list. At the moment you are sending the path of your proxy file to the plugin. Thats not working. Dan Quote Link to post Share on other sites
sunny9495 42 Posted September 7, 2015 Report Share Posted September 7, 2015 Just Purchased.Will ping you know if i got questions. Quote Link to post Share on other sites
django 1 Posted September 9, 2015 Report Share Posted September 9, 2015 any one used smart thread with Exbrowser? Quote Link to post Share on other sites
Bot-Factory 602 Posted September 9, 2015 Report Share Posted September 9, 2015 any one used smart thread with Exbrowser?Duplicate post. I replied in the ExBrowser Thread. Dan 2 Quote Link to post Share on other sites
P0s3id0n 90 Posted September 25, 2015 Report Share Posted September 25, 2015 Ok here is somethign werid that is happening to me with this plugin. In a nutshell I cant get the plugin to start loop 2 it just runs loop 1 For example I hit run and loop one starts. All comands within the define run perfect and the thread closes, but instead of starting the next thread/loop it simply doesn't That never happens I tried on Ubot 4, 5.7.1 and 5.8.5 and the exact same sitiation happens. I also tried both ways advanced and normal and the second loop never starts. Does somebody has a clue why this may happen? Quote Link to post Share on other sites
kev123 132 Posted September 25, 2015 Author Report Share Posted September 25, 2015 code example please you can rename the define that the thread launches and remove its code if you wish. Also if your using "thread control advanced add" one thing I see people do is select "list" instead of "loop number" this will casue the issue you have mentioned thankskev123 Quote Link to post Share on other sites
P0s3id0n 90 Posted September 25, 2015 Report Share Posted September 25, 2015 I sent you via skype a video that shows the issue in action Quote Link to post Share on other sites
kev123 132 Posted September 25, 2015 Author Report Share Posted September 25, 2015 no problem i'll login now Quote Link to post Share on other sites
MMD 7 Posted October 1, 2015 Report Share Posted October 1, 2015 @kev123 How to do thread safe for smart thread anyway? Sometimes my bot didnt complete all the loops and i reproduced its error to below script which use normal list and large listNormal listdefine Oh { add item to list(%AB,$rand(0,99999999),"Don\'t Delete","Global")}loop(15) { clear list(%AB) plugin command("Smartthreads.dll", "Thread control normal", "Oh", 100, 10, "No") alert($list total(%AB))}Large list:define Oh { plugin command("Bigtable.dll", "Add item to large list", "AB", $random text(8))}loop(15) { plugin command("Bigtable.dll", "Clear large list", "AB") plugin command("Smartthreads.dll", "Thread control normal", "Oh", 100, 10, "No") alert($plugin function("Bigtable.dll", "Large list total", "AB"))} Quote Link to post Share on other sites
kev123 132 Posted January 5, 2017 Author Report Share Posted January 5, 2017 Smart threads plugin watchout using ubot normal threads will cause smart threads not to complete its best to only use smart threads and not combine the two Quote Link to post Share on other sites
matimagallanes 0 Posted November 6, 2017 Report Share Posted November 6, 2017 Ok here is somethign werid that is happening to me with this plugin. In a nutshell I cant get the plugin to start loop 2 it just runs loop 1 For example I hit run and loop one starts. All comands within the define run perfect and the thread closes, but instead of starting the next thread/loop it simply doesn't That never happens I tried on Ubot 4, 5.7.1 and 5.8.5 and the exact same sitiation happens. I also tried both ways advanced and normal and the second loop never starts. Does somebody has a clue why this may happen?The same thing happens to me, the first "define", it is executed correctly and the second one does not, but if I press "start" again it executes it Quote Link to post Share on other sites
kev123 132 Posted November 6, 2017 Author Report Share Posted November 6, 2017 The same thing happens to me, the first "define", it is executed correctly and the second one does not, but if I press "start" again it executes itcheck your not using ubot standard threads at the same time as causes this problem better to use smart thread only thanks kev123 Quote Link to post Share on other sites
matimagallanes 0 Posted November 7, 2017 Report Share Posted November 7, 2017 (edited) check your not using ubot standard threads at the same time as causes this problem better to use smart thread only thanks kev123 plugin command("Smartthreads.dll", "Threadcontrol Advanced initial", 10)plugin command("Smartthreads.dll", "Thread control Advanced add", "run", "Loop Number", 1, "No")plugin command("Smartthreads.dll", "Thread control Advanced add", "run2", "List", %list, "No")plugin command("Smartthreads.dll", "Thread control Advanced finish wait")define run { in new browser { navigate("https://www.classifiedads.com/","Wait") wait for browser event("Everything Loaded","") add list to list(%list,$plugin function("HeopasCustom.dll", "$Heopas Xpath Parser", $document text, "//a[starts-with(@href,\"//www.classifiedads.com/search.php?\")]", "InnerText", ""),"Delete","Global") wait(2) }}define run2 { in new browser { navigate("https://www.classifiedads.com/","Wait") set(#variable,$next list item(%list),"Local") click(<innertext=#variable>,"Left Click","No") wait(5) }} The bot stops at the end of "run" Edited November 7, 2017 by matimagallanes Quote Link to post Share on other sites
kev123 132 Posted November 8, 2017 Author Report Share Posted November 8, 2017 looking at the code the you are missing variables from the define all smarthread defines need to have a variable as position is passed and if you are using a list a variable for this. Also the smarthread function your using will start both defines at once which would mean your second define is called before the first is finished below is a example that should work for you. if you need anything else let me know happy to help thanks kev123 clear list(%list)plugin command("Smartthreads.dll", "Threadcontrol Advanced initial", 10)plugin command("Smartthreads.dll", "Thread control Advanced add", "run", "Loop Number", 1, "No")comment("idle command waits for any active threads to complete")plugin command("Smartthreads.dll", "Thread control Advanced idle")plugin command("Smartthreads.dll", "Thread control Advanced add", "run2", "List", %list, "No")plugin command("Smartthreads.dll", "Thread control Advanced finish wait")define run(#pos) { comment("simulate items being added to your list") add item to list(%list,"test","Don\'t Delete","Global") add item to list(%list,"test1","Don\'t Delete","Global") add item to list(%list,"test3","Don\'t Delete","Global") comment("the wait is just to show that define run2 will wait until this define is finished") wait(5) alert("first define complete")}define run2(#pos, #item) { comment("the list items are auto passed into the define no need to use next list item") alert(#item)} Quote Link to post Share on other sites
matimagallanes 0 Posted November 8, 2017 Report Share Posted November 8, 2017 Hi kev123, Thanks for answeringWhen I import the code I receive the following error:https://imgur.com/a/cxAfy Quote Link to post Share on other sites
kev123 132 Posted November 8, 2017 Author Report Share Posted November 8, 2017 Sorry my error PM sent. thankskev123 everyone else Smarththread update version 1.4 Added "Thread Control advanced idle" this will wait until there are no active current threads Quote Link to post Share on other sites
Chris M 55 Posted November 10, 2017 Report Share Posted November 10, 2017 How are you supposed to download any update? Quote Link to post Share on other sites
kev123 132 Posted November 10, 2017 Author Report Share Posted November 10, 2017 http://robobest.com/ login on the right hand side any problems chris fire me a PM and i'll get you sorted out. thankskev123 Quote Link to post Share on other sites
Chris M 55 Posted November 13, 2017 Report Share Posted November 13, 2017 I logged in before and didn't see it. But got it now. Thanks buddy! 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.