illmill 87 Posted December 12, 2013 Report Share Posted December 12, 2013 Hi All, Is there a quick way to convert my bots into ones that are multithreaded using the free local dictionary plugin from aymen? It's very time consuming to switch it node by node and I usually create my bots first using global variables for testing purposes and then switch it over to local dictionary. I was thinking of creating a bot to do this for me and offer it here for free. Basically, you would load your code and it would find certain things and then replace it with code for local dictionary. I don't think it's that simple, though. Almost seems like you HAVE to go through it node by node. Is that the case? Quote Link to post Share on other sites
Steve 30 Posted December 12, 2013 Report Share Posted December 12, 2013 I think it also depends how you code your bots. I just recently started converting a lot of my bots to multithreaded, and since most of my of my bots have a lot of custom commands that I defined, it makes the conversion process that much harder. Quote Link to post Share on other sites
blumi40 222 Posted December 12, 2013 Report Share Posted December 12, 2013 http://www.ubotstudio.com/forum/index.php?/topic/14226-howtoset-var-scope-more-easy/ Quote Link to post Share on other sites
Steve 30 Posted December 12, 2013 Report Share Posted December 12, 2013 http://www.ubotstudio.com/forum/index.php?/topic/14226-howtoset-var-scope-more-easy/ Smart idea. Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted December 19, 2013 Report Share Posted December 19, 2013 I put stuff in a define. Weather I have 2 or 3 or 10 defines.. Then I can copy into note pad what I want to change and use replace Local or Global. Quote Link to post Share on other sites
illmill 87 Posted December 21, 2013 Author Report Share Posted December 21, 2013 Here's something that helped me (sorry, it's copy and pasted from a skype convo): Heres the correct steps: Step 1 regex:(?<=set\(#\w+,\s\d+),\s"Local"\) Rep String:~~~replace-later1~~~ Step 2 regex:set\(# Rep String:plugin command("LocalDictionary.dll", "local dictionary add", " Step 3 regex:(?<=plugin command\("LocalDictionary.dll", "local dictionary add", "\w+),\s Rep String:",{space} Step 4 regex:~~~replace-later1~~~ Rep String:) It was done using regexhero.net. 1 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.