pash 504 Posted April 8, 2014 Author Report Share Posted April 8, 2014 V2.2.3.1Fix:key press monitor: Key switch correctly.auto free memory: crashing ubot (best work on v4) Add option:auto free memory: Memory Use (WARNING: Please go back and correct it.) Link to post Share on other sites
Kreatus (Ubot Ninja) 422 Posted April 8, 2014 Report Share Posted April 8, 2014 V2.2.3.1Fix:key press monitor: Key switch correctly.auto free memory: crashing ubot (best work on v4) Add option:auto free memory: Memory Use (WARNING: Please go back and correct it.) Cool!Is it possible to add an option to track how many browser.exe it opened and its memory? Link to post Share on other sites
pash 504 Posted April 8, 2014 Author Report Share Posted April 8, 2014 Cool!Is it possible to add an option to track how many browser.exe it opened and its memory?Why do you want to count. Counting "browser.exe" is important, however. Link to post Share on other sites
Kreatus (Ubot Ninja) 422 Posted April 8, 2014 Report Share Posted April 8, 2014 Why do you want to count. Counting "browser.exe" is important, however. To keep track how many are they.Also does the "auto free memory" command works on the "botname.exe" only? Does it work on "browser.exe"?It would be cool if you can track the highest browser.exe memory then have an option to clean it when it reach the certain limit. Link to post Share on other sites
pash 504 Posted April 8, 2014 Author Report Share Posted April 8, 2014 To keep track how many are they.Also does the "auto free memory" command works on the "botname.exe" only? Does it work on "browser.exe"?It would be cool if you can tract the highest browser.exe memory then have an option to clean it when it reach the certain limit. OK., I would like to study and experiment with. "browser.exe" to find ways and effects. Link to post Share on other sites
Bot-Factory 602 Posted April 8, 2014 Report Share Posted April 8, 2014 Browser.exe that's a good hint. As many of your probably know, there are a couple of problems with browser.exe from time to time:http://www.ubotstudio.com/forum/index.php?/topic/14748-best-practices-caveats-and-code-for-working-with-ubot-browser/ So if the plugin would be able to monitor and close those frozen browser.exe processes, that would be a huge benefit. Dan Link to post Share on other sites
pash 504 Posted April 8, 2014 Author Report Share Posted April 8, 2014 V2.2.3.2Update:auto free memory: count "botname.exe" + "browser.exe" (1 + X)auto free memory: free memory for "browser.exe" Link to post Share on other sites
Kreatus (Ubot Ninja) 422 Posted April 8, 2014 Report Share Posted April 8, 2014 Thanks!So this will clean botname.exe and browser.exe at the same time when it reach the limit right? Link to post Share on other sites
Bot-Factory 602 Posted April 8, 2014 Report Share Posted April 8, 2014 Would it be possible for the plugin to detect a crashed browser.exe? Like this tool:http://www.ubotstudio.com/forum/index.php?/topic/13968-free-automatically-close-ubot-browserexe-crashes-fix/ Dan Link to post Share on other sites
Kreatus (Ubot Ninja) 422 Posted April 8, 2014 Report Share Posted April 8, 2014 Would it be possible for the plugin to detect a crashed browser.exe? Like this tool:http://www.ubotstudio.com/forum/index.php?/topic/13968-free-automatically-close-ubot-browserexe-crashes-fix/ Dan Im sure pash can create an onload command that if the browser.exe crash window appears it will automatically close it. It will check every 60 seconds just like the auto free memory. Link to post Share on other sites
pash 504 Posted April 9, 2014 Author Report Share Posted April 9, 2014 NoticeDate 21 April 2014 to 29 April 2014.I must look after my grandmother had knee surgery.During that time, I will not reply you. Thank. Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted April 9, 2014 Report Share Posted April 9, 2014 Cleaned up the posts that should be sent in private messages. including my own. Great plugin I have purchased it myself as well. good luck on more sales. 1 Link to post Share on other sites
pash 504 Posted April 9, 2014 Author Report Share Posted April 9, 2014 Would it be possible for the plugin to detect a crashed browser.exe? Like this tool:http://www.ubotstudio.com/forum/index.php?/topic/13968-free-automatically-close-ubot-browserexe-crashes-fix/ Dan Im sure pash can create an onload command that if the browser.exe crash window appears it will automatically close it. It will check every 60 seconds just like the auto free memory. I tried to find a way to make "browser.exe crash" but also without success.Who can make it happen "browser.exe crash" up, please guide me. I want to test And add the requested functionalityThank you. Link to post Share on other sites
Bliss 194 Posted April 9, 2014 Report Share Posted April 9, 2014 Cleaned up the posts that should be sent in private messages. including my own. Great plugin I have purchased it myself as well. good luck on more sales. nice one TJ Link to post Share on other sites
Bliss 194 Posted April 9, 2014 Report Share Posted April 9, 2014 I tried to find a way to make "browser.exe crash" but also without success.Who can make it happen "browser.exe crash" up, please guide me. I want to test And add the requested functionalityThank you. A sure way to make it crash is to run a bot on windows xp and it crashes all the time with browser.exe that's the only way i know to reproduce it for certain. Link to post Share on other sites
Pete 121 Posted April 9, 2014 Report Share Posted April 9, 2014 I’m only referring to version 4 here and windows 7 for the paths (The digits in the files and folders are just an example) If the threading is done correctly the browser doesn’t crash for me, however it seems you can over load the browser cache, go to C:\Users\username\AppData\Local\Temp\ and delete any existing tmp560.tmp folders. Then start ubot navigate to a site like Tumblr find a big blog with endless scrolling, make a while loop add a scroll command and delay run the bot, go and make a coffee or two and wait. When you get a browser lockup, go back to to C:\Users\username\AppData\Local\Temp\ tmp560.tmp\Cache you will see hundreds of files like f_000001. It is these files I believe need to be deleted after ex amount have accumulated Single or mulit-thread these file are allowed to multiply out of control Link to post Share on other sites
Bot-Factory 602 Posted April 11, 2014 Report Share Posted April 11, 2014 Auto Free Memory Memory use always shows: ,00 MB / 0 for me Win 8.1 64bitUbot v4.2.20 PS: Will "Auto Free Memory" also working within the ubot dev environment? And when I start it via run directly instead of onload? Dan Link to post Share on other sites
pash 504 Posted April 11, 2014 Author Report Share Posted April 11, 2014 Auto Free Memory Memory use always shows: ,00 MB / 0 for me Win 8.1 64bitUbot v4.2.20 PS: Will "Auto Free Memory" also working within the ubot dev environment? And when I start it via run directly instead of onload? DanIt must work for the "onload" only. Link to post Share on other sites
Bot-Factory 602 Posted April 11, 2014 Report Share Posted April 11, 2014 Threads are not closed / killed when using Type Button thread control. Reproduce:Hit the run button multiple timesHit stop buttonrepeat that 20 times. Look at the threads counter of ubot in your task manager. It will increase but never go down. set(#e, 0, "Global")ui button("Run Threads (Button)") { ButtomThread1()}ui stat monitor("Threads (Button) E: ", #e)ui button("Pause") { plugin command("Advanced Ubot.dll", "threads control", "Pause")}ui button("Resume") { plugin command("Advanced Ubot.dll", "threads control", "Resume")}ui button("Stop") { plugin command("Advanced Ubot.dll", "threads control", "Stop")}ui stat monitor("", $plugin function("Advanced Ubot.dll", "$threads control monitor"))define ButtomThread1 { divider plugin command("Advanced Ubot.dll", "threads control", "Added Control (Type Button)") divider loop(10) { increment(#e) wait(1) }} With the type main example it works fine. Threads go up, and they go down in task manager with this example: FirstThreadsConfig()ui stat monitor("Variable A: ", #a)ui stat monitor("Thread: ", $plugin function("Advanced Ubot.dll", "$threads counter monitor", "Total Threads"))define FirstThreadsConfig { plugin command("Advanced Ubot.dll", "threads control", "Added Control (Type Main)") set(#lastPauseButtonPress, $false, "Global") set(#mainThreadStop, $false, "Global") thread { loop while($true) { wait(0.5) if(#mainThreadStop) { then { stop script } } } }}ui button("Pause") { plugin command("Advanced Ubot.dll", "threads control", "Pause") { set(#lastPauseButtonPress, $true, "Global") }}ui button("Resume") { plugin command("Advanced Ubot.dll", "threads control", "Resume")}ui button("Stop") { set(#mainThreadStop, $true, "Global") wait(0.7) plugin command("Advanced Ubot.dll", "threads control", "Stop")}ui stat monitor("", $plugin function("Advanced Ubot.dll", "$threads control monitor"))set(#a, 0, "Global")plugin command("Advanced Ubot.dll", "threads counter", "Reset")loop(100) { plugin command("Advanced Ubot.dll", "threads counter", "Increment") thread { divider plugin command("Advanced Ubot.dll", "threads control", "Added Control (Type Threads)") divider loop(2) { increment(#a) wait($rand(1, 10)) } plugin command("Advanced Ubot.dll", "threads counter", "Decrement") }} PS: Hitting the STOP PAUSE or RESUME button also starts a new thread with each click. And they are not closing either. Dan Link to post Share on other sites
pash 504 Posted April 11, 2014 Author Report Share Posted April 11, 2014 Hi dan.Forgot your configuration before use. ui button("Run Threads (Button)") { ButtomThread1() } ui stat monitor("Threads (Button) E: ", #e) ui button("Pause") { plugin command("Advanced Ubot.dll", "threads control", "Pause") } ui button("Resume") { plugin command("Advanced Ubot.dll", "threads control", "Resume") } ui button("Stop") { plugin command("Advanced Ubot.dll", "threads control", "Stop") } ui stat monitor("", $plugin function("Advanced Ubot.dll", "$threads control monitor")) define ButtomThread1 { set(#e, 0, "Global") divider plugin command("Advanced Ubot.dll", "threads control", "Added Control (Type Button)") divider loop(10) { increment(#e) wait(1) } } Link to post Share on other sites
Bot-Factory 602 Posted April 11, 2014 Report Share Posted April 11, 2014 The position of the variable has nothing to do with the threads issue I mentioned. Problem:If I stop the threads via the STOP button:plugin command("Advanced Ubot.dll", "threads control", "Stop") The threads are STILL running and not closed. You see that in the windows task manager. Here is a video to show what I mean:https://dl.dropboxusercontent.com/u/10322/Threads.mp4 And here is a video about pressing the PAUSE RESUME buttons multiple times:https://dl.dropboxusercontent.com/u/10322/2.mp4 It's all done with your example scripts. the ones that come with the bot. Dan Link to post Share on other sites
pash 504 Posted April 11, 2014 Author Report Share Posted April 11, 2014 Disable "browser.exe crash" Dialog on Windows XP - right-click on the “My Computer” icon- select “Properties”- switch to the “Advanced” tab- and click on the “Error Reporting” button. In the Options dialog- select the “Disable error reporting” radio button: http://i.stack.imgur.com/1bjZg.png origin: http://stackoverflow.com/questions/54972/how-to-prevent-the-please-tell-microsoft-about-this-problem-dialog-boxes Link to post Share on other sites
Kreatus (Ubot Ninja) 422 Posted April 11, 2014 Report Share Posted April 11, 2014 Disable "browser.exe crash" Dialog on Windows XP - right-click on the “My Computer” icon- select “Properties”- switch to the “Advanced” tab- and click on the “Error Reporting” button. In the Options dialog- select the “Disable error reporting” radio button: http://i.stack.imgur.com/1bjZg.png Thanks for this info pash. But customers wont like doing more work on their software..We need an automatic solution to close the browser.exe crash. I created a program on winautomation before and use it on my addmefast bot. What it does:- Loop while the current bot is still open- search for browser.exe window every 120 seconds- if found terminate that window However, i forgot what is the exact window name of the browser crash. Im sure you can do something like that since you have the onload commands. Link to post Share on other sites
Marton 48 Posted April 12, 2014 Report Share Posted April 12, 2014 Looks amazing. Can you use the minimize to tray command at bot startup? (so it never actually opens up, but goes straight to tray) Thanks,Marton Link to post Share on other sites
pash 504 Posted April 13, 2014 Author Report Share Posted April 13, 2014 Looks amazing. Can you use the minimize to tray command at bot startup? (so it never actually opens up, but goes straight to tray) Thanks,MartonHi Marton.You can use the command "minimize to tray" on command "on load" of ubot studio.When "ubot studio" is loaded, it will be minimize to tray down in a few seconds. Link to post Share on other sites
Recommended Posts