Jump to content
UBot Underground

[TUT/EXCode] Smart Thread Plugin Thread ID Event Log


Recommended Posts

Time to share what I have found. After messing around with Kev's Smart Thread Plugin (http://www.ubotstudio.com/forum/index.php?/topic/16713-sell-smart-thread-plugin-easy-threading/) for days trying to accomplish what I did, I must say this plugin is really awesome and takes out massive complexity threw out all my scripts. This is a work around for the current achievement until/if Kev updates to be-able to do this on it's own. If you haven't picked up the plugin, I would.  :wub: 

Credit:
 
Thanks to LazyBotter's Threading With Status (http://lazybots.com/setting-up-threading-with-status/). I wanted to put this method with the Smart Thread Plugin. So, MASSIVE thanks to LazyBotter for the knowledge to do it with Thread Counter and the source code to start off on. This wouldn't have been done without him!
 
Thanks to UBotDev with his Thread Counter Plugin(http://www.ubotstudio.com/forum/index.php?/topic/15441-free-plugin-threads-counter-ubot-v4-threading-fixed/) for starting all this. :D 

Thanks to Kev123 for pointing me in a direction to get this achieved and a last minute "major" update to the script that was needed that I didn't see. Also, for the Smart Thread Plugin(duh) and sticking with me while I try to achieve this. I also went over with him if he could include this script to the plugin it self so it's all in the plugin. 

yes this is possible how I will add it i'll have to think so it doesn't slow things down for people who don't require this feature.[/size]


Plugins Needed:

Smart Thread Plugin By Kev123 (http://www.ubotstudio.com/forum/index.php?/topic/16713-sell-smart-thread-plugin-easy-threading/)

 

What It Does:

This script will assign the threads a number. If you set it to 10 threads, each thread will be 0,1,2,3,4,5,6,7,8,9 or 1,2,3,4,5,6,6,7,8,9,10 (Depending how you set the #Thread_ID_Set). This helps with many things that can be done. Depending on your scripts and knowledge of Ubot and it's massive wide range of plugins that lets you do so much more, you can use this to define If statements, other logs, or anything else you can think of that can be done with this method. 

 

I also added a basic Stop IF statement along side the "$Smart thread stop".

 

Cons:

There is one major con with this method at the moment. It uses the Plugins Proxy feature(Thread Control Add Proxys). Don't worry, I added a Proxy Reset for those who like to use the proxy over and over again. Note: If proxies are less then the total threads, error will pop up due to the plugin opens the new threads so fast, that it can not reset the list position in time. I tried everything I could think of even LazyBotter Thread Counter to fix the Proxy Reset Function. If you come up with a solution, let me know! 

 
 

Have fun customizing it to your liking. Any advise, improvements or questions let me know. 

 

Smart-Plugin Event-Log Proxy Used Thread ID.ubot

 

Regards,
HaHaItsJake

  • Like 1
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...