kev123 132 Posted May 1, 2014 Report Share Posted May 1, 2014 technically if your building http bots the vast majority of the ubot folder isn't needed. I haven't done enough research to understand what the ui uses. But its a pointless avenue to explore as ubot is fundamentally programmed to use this folder. 1 Link to post Share on other sites
Bliss 194 Posted May 1, 2014 Report Share Posted May 1, 2014 maybe an option would be to hide it Link to post Share on other sites
pash 504 Posted May 2, 2014 Author Report Share Posted May 2, 2014 Sample hide "Ubot Studio" folder by "Advanced Systems" plugin 1 Link to post Share on other sites
Bot-Factory 602 Posted May 2, 2014 Report Share Posted May 2, 2014 Issue: Threads counter. Working in V4. Not working correctly in V5.0.10 Details: Amount of threads is not limited to the configured number of 50. Looks like the $threads counter monitor is not working correctly. Reproduce:Run it in V4 first and look at the debugger. The run in V5 and look at the debugger as well. Sometimes v5 will crash. plugin command("Advanced Ubot.dll", "threads counter", "Reset") set(#Loops, 1000, "Global") ui stat monitor("Open Threads:", #threadcount) ui stat monitor("Total:", $table total rows(&numbers)) clear table(&numbers) set(#loopcounter, 0, "Global") loop(#Loops) { loop while($comparison($plugin function("Advanced Ubot.dll", "$threads counter monitor", "Total Threads"), ">=", 50)) { set(#threadcount, $plugin function("Advanced Ubot.dll", "$threads counter monitor", "Total Threads"), "Global") wait(0.1) } set(#threadcount, $plugin function("Advanced Ubot.dll", "$threads counter monitor", "Total Threads"), "Global") plugin command("Advanced Ubot.dll", "threads counter", "Increment") testthreads2($random text(50), #loopcounter) increment(#loopcounter) } set(#threadcount, $plugin function("Advanced Ubot.dll", "$threads counter monitor", "Total Threads"), "Global") loop while($comparison(#threadcount, ">", 0)) { set(#threadcount, $plugin function("Advanced Ubot.dll", "$threads counter monitor", "Total Threads"), "Global") wait(0.5) } set(#threadcount, $plugin function("Advanced Ubot.dll", "$threads counter monitor", "Total Threads"), "Global") stop script define testthreads2(#number, #rownumber) { thread { wait(0.5) set table cell(&numbers, #rownumber, 0, #number) plugin command("Advanced Ubot.dll", "threads counter", "Decrement") } } Link to post Share on other sites
pash 504 Posted May 2, 2014 Author Report Share Posted May 2, 2014 V2.3.0.3Fix:$threads counter: not working on "Ubot Studio 5" Link to post Share on other sites
pash 504 Posted May 2, 2014 Author Report Share Posted May 2, 2014 "$threads control monitor" Designed to be used with the command "loop while" directly. plugin command("Advanced Ubot.dll", "threads counter", "Reset") set(#Loops, 1000, "Global") ui stat monitor("Open Threads:", $plugin function("Advanced Ubot.dll", "$threads counter monitor", "Total Threads")) ui stat monitor("Total:", $table total rows(&numbers)) clear table(&numbers) set(#loopcounter, 0, "Global") loop(#Loops) { loop while($plugin function("Advanced Ubot.dll", "$threads counter monitor", "Threads >= 50")) { wait(0.1) } plugin command("Advanced Ubot.dll", "threads counter", "Increment") testthreads2($random text(50), #loopcounter) increment(#loopcounter) } loop while($plugin function("Advanced Ubot.dll", "$threads counter monitor", "Threads > 0")) { wait(0.5) } stop script define testthreads2(#number, #rownumber) { thread { wait(0.5) set table cell(&numbers, #rownumber, 0, #number) plugin command("Advanced Ubot.dll", "threads counter", "Decrement") } } Link to post Share on other sites
Bot-Factory 602 Posted May 2, 2014 Report Share Posted May 2, 2014 Awesome Pash. Thanks a lot for that quick fix. Using the variable was my second test after the direct one didn't work. But it should work with my variable example as well right? May I ask what the error was with v5? Dan Link to post Share on other sites
pash 504 Posted May 2, 2014 Author Report Share Posted May 2, 2014 Awesome Pash. Thanks a lot for that quick fix. Using the variable was my second test after the direct one didn't work. But it should work with my variable example as well right? May I ask what the error was with v5? DanYour work correctly. Link to post Share on other sites
Marton 48 Posted May 2, 2014 Report Share Posted May 2, 2014 Thanks for updating the threads counter, Pash! Is the code different for V5? What did you need to change? Link to post Share on other sites
pash 504 Posted May 2, 2014 Author Report Share Posted May 2, 2014 Thanks for updating the threads counter, Pash! Is the code different for V5? What did you need to change?Nothing differentI updated my plugin for counting speed only. Link to post Share on other sites
Bot-Factory 602 Posted May 2, 2014 Report Share Posted May 2, 2014 Little glitch:"Advanced Dialog.dll", "$text box dialog", it's adding an additional Line Feed at the end of the text. zzzz1 is the variable before and zzzz2 after the text box dialog. Without changing anything. CheersDan Link to post Share on other sites
pash 504 Posted May 2, 2014 Author Report Share Posted May 2, 2014 Little glitch:"Advanced Dialog.dll", "$text box dialog", it's adding an additional Line Feed at the end of the text. zzzz1 is the variable before and zzzz2 after the text box dialog. Without changing anything. CheersDanDo you have an example code? Link to post Share on other sites
Marton 48 Posted May 2, 2014 Report Share Posted May 2, 2014 Little glitch:"Advanced Dialog.dll", "$text box dialog", it's adding an additional Line Feed at the end of the text. zzzz1 is the variable before and zzzz2 after the text box dialog. Without changing anything. CheersDanOh yeah, I forgot to report that, but I experienced it myself. I'm using the trim function to fix it. Link to post Share on other sites
Bot-Factory 602 Posted May 2, 2014 Report Share Posted May 2, 2014 Sure: set(#zzz1, "Test Text", "Global")set(#zzz2, $plugin function("Advanced Dialog.dll", "$text box dialog", "Test", #zzz1, "False", "False", "True", "True", "True", 600, 200, "False", "FFF3F3F3", "FFBEEAC4,000000", "FFF3C1C1,000000", "FF778ABD,000000", "Center App"), "Global") You will see it in the debugger. Dan Link to post Share on other sites
pash 504 Posted May 2, 2014 Author Report Share Posted May 2, 2014 normal working Link to post Share on other sites
Bot-Factory 602 Posted May 2, 2014 Report Share Posted May 2, 2014 Don't change anything in the dialog. Just run it and hit OK. Don't change the text. You also have an additional line feed in your example. When you look at the right debugger window. Where you have the second variable selected. Dan Link to post Share on other sites
pash 504 Posted May 2, 2014 Author Report Share Posted May 2, 2014 Don't change anything in the dialog. Just run it and hit OK. Don't change the text. You also have an additional line feed in your example. When you look at the right debugger window. Where you have the second variable selected. Dan You want to "trim" it? Link to post Share on other sites
Bot-Factory 602 Posted May 2, 2014 Report Share Posted May 2, 2014 You want to "trim" it? When I don't change the text in the dialog. It should stay exactly the same. But that's not happening. There is an additional LF at the end. Reproduce:1. Run script2. Hit OK (nothing else)3. I want to see "Perfect! Correct!" set(#zzz1, "Test Text", "Global")set(#zzz2, $plugin function("Advanced Dialog.dll", "$text box dialog", "Test", #zzz1, "False", "False", "True", "True", "True", 600, 200, "False", "FFF3F3F3", "FFBEEAC4,000000", "FFF3C1C1,000000", "FF778ABD,000000", "Center App"), "Global")if($comparison(#zzz1, "=", #zzz2)) { then { alert("Perfect! Correct!") } else { alert("WRONG!!") }} Link to post Share on other sites
Bot-Factory 602 Posted May 2, 2014 Report Share Posted May 2, 2014 It should not do a TRIM automatically! Because if I add a space or enter (LF) into the dialog, I want that to be in the variable. But if I don't enter or change anything, I want the variable to be 100% identical to the input variable. Dan Link to post Share on other sites
pash 504 Posted May 2, 2014 Author Report Share Posted May 2, 2014 It should not do a TRIM automatically! Because if I add a space or enter (LF) into the dialog, I want that to be in the variable. But if I don't enter or change anything, I want the variable to be 100% identical to the input variable. DanI solved this problem with a new version.Please download and test it. Link to post Share on other sites
pash 504 Posted May 3, 2014 Author Report Share Posted May 3, 2014 V2.3.0.4 Fix: Fix not work on ubot5disable menu stripdisable powered bydisable title barfixed window size this appset window size min/max this app Add Option: Add "Ubot Studio Version" (Choose what version is running Ubot)disable menu stripdisable powered bydisable title barfixed window size this appset window size min/max this app Link to post Share on other sites
pash 504 Posted May 3, 2014 Author Report Share Posted May 3, 2014 Help for disable menu strip disable powered by disable title bar fixed window size this app set window size min/max this app Link to post Share on other sites
pash 504 Posted May 3, 2014 Author Report Share Posted May 3, 2014 Notify increase the price 69 USD soon. Link to post Share on other sites
Black Automation 20 Posted May 3, 2014 Report Share Posted May 3, 2014 HE DID IT!!Thanks so much, I love this plugin.Now we can really hide the menubar! Thats great! Link to post Share on other sites
Chris M 55 Posted May 3, 2014 Report Share Posted May 3, 2014 How is that possible guys? Hiding the menu bar? Example code? Link to post Share on other sites
Recommended Posts