Kreatus (Ubot Ninja) 422 Posted January 22, 2016 Report Share Posted January 22, 2016 How does restart the app command work? Does it restart the entire app or restart from where the app got crashed etc? I tried to look if there is a sample file but couldn't find any. It will restart the app when you call the command. Link to post Share on other sites
cob007 19 Posted January 23, 2016 Report Share Posted January 23, 2016 Is it the same as app restart check video shown by pash in first pagE? So we need to create a button for restart app function? What does the argument function do which is inside the restart this app? Link to post Share on other sites
cob007 19 Posted January 23, 2016 Report Share Posted January 23, 2016 Ok just to update, I did create restart button and it restarted after 5 seconds, but it didn't restart exactly from where I had stopped the bot. what is the app restart check as shown in above video and how can we use the argument field inside the restart app command? Link to post Share on other sites
pash 504 Posted January 23, 2016 Author Report Share Posted January 23, 2016 Ok just to update, I did create restart button and it restarted after 5 seconds, but it didn't restart exactly from where I had stopped the bot. what is the app restart check as shown in above video and how can we use the argument field inside the restart app command?This sample codetry compile bot and run ui button("Restart Me") { Restart Me() } define Restart Me { if($confirm("Restart")) { then { plugin command("Advanced Ubot.dll", "restart", 5, "True", 5, "") } else { } } } ui button("Restart Check") { if($plugin function("Advanced Ubot.dll", "$restart check")) { then { alert("Yes, this is a restart.") } else { alert("No, this is not a restart.") } } } alert("This Auto Re-Run") Link to post Share on other sites
cob007 19 Posted January 23, 2016 Report Share Posted January 23, 2016 Thanks pash, How do I get the memory optimizer status to show how much memory etc is being used in the bot like in the image? I used the following command;do I have to use this command and assign to it some varaible to track or some other command? on load("Bot Loaded") { plugin command("Advanced Ubot.dll", "auto free memory", "Force", 30, "False", "False", "True")} Link to post Share on other sites
pash 504 Posted January 23, 2016 Author Report Share Posted January 23, 2016 Thanks pash, How do I get the memory optimizer status to show how much memory etc is being used in the bot like in the image? I used the following command;do I have to use this command and assign to it some varaible to track or some other command? on load("Bot Loaded") { plugin command("Advanced Ubot.dll", "auto free memory", "Force", 30, "False", "False", "True")} 1-23-2016 5-24-27 PM.png ui stat monitor("Memory Usage:",$plugin function("Advanced Ubot.dll", "$bot info", "Memory Usage M")) Link to post Share on other sites
cүвεя_נυηкιε 68 Posted January 23, 2016 Report Share Posted January 23, 2016 Thanks pash, How do I get the memory optimizer status to show how much memory etc is being used in the bot like in the image? I used the following command;do I have to use this command and assign to it some varaible to track or some other command? on load("Bot Loaded") { plugin command("Advanced Ubot.dll", "auto free memory", "Force", 30, "False", "False", "True")} 1-23-2016 5-24-27 PM.png Here you go cob007 : On the first line i have it looping "$comparison(#Stop,"=",$false)" while a variable "#Stop" is set to "$false" when my start button is pressed,but you can either alter it to suit your project or just remove it, up to you lol loop while($comparison(#Stop,"=",$false)) { clear list(%CPUStat) add list to list(%CPUStat,$plugin function("Advanced Systems.dll", "$system performance counter", "True", "True", "True"),"Delete","Global") wait(.5) set(#cpu,"{$find regular expression($list item(%CPUStat,0),"[0-9]+")} %","Global") set(#ram,"{$find regular expression($list item(%CPUStat,7),"[0-9]+")} %","Global") set(#netOUT,$find regular expression($list item(%CPUStat,8),"[0-9].+"),"Global") set(#netIN,$find regular expression($list item(%CPUStat,9),"[0-9].+"),"Global") wait(2) }Obviously you can also alter the values it is showing by changing/adding/removing/etc. the "$list item" row number CheersCJ EDIT : Scratch that for some reason I only just noticed that i was using the Advanced Systems plugin, .. my badIll leave that there anyway, it might help someone, .. Link to post Share on other sites
cob007 19 Posted January 23, 2016 Report Share Posted January 23, 2016 Hi CJ, Thanks a lot, I didn't know advanced systems was able to do that, I used my advanced systems plugin. Between what I don't get it is,what is the use of, on load("Bot Loaded") { plugin command("Advanced Ubot.dll", "auto free memory", "Force", 30, "False", "False", "True")} what does auto free memory do and why is it important? Link to post Share on other sites
pash 504 Posted January 24, 2016 Author Report Share Posted January 24, 2016 Notice (24/01/2016)I am installing a new windowThen install programsThis requires time and a new setting.I will not respond to any message.Until the Rainbow (GMT+7). Link to post Share on other sites
pash 504 Posted January 26, 2016 Author Report Share Posted January 26, 2016 Ubot Studio ES V1.1.0.0- add tab replace code- backup before replace- replace normal- replace regex Link to post Share on other sites
Kreatus (Ubot Ninja) 422 Posted January 26, 2016 Report Share Posted January 26, 2016 Ubot Studio ES V1.1.0.0- add tab replace code- backup before replace- replace normal- replace regex Nice one pash. thanksWill it say which .ubot file contains the code? Link to post Share on other sites
pash 504 Posted January 27, 2016 Author Report Share Posted January 27, 2016 Nice one pash. thanksWill it say which .ubot file contains the code?No. this search all file and replace if match Link to post Share on other sites
pash 504 Posted January 27, 2016 Author Report Share Posted January 27, 2016 Nice one pash. thanksWill it say which .ubot file contains the code?No. this search all file and replace if match Link to post Share on other sites
pash 504 Posted January 28, 2016 Author Report Share Posted January 28, 2016 ES V1.1.1.0- minor update Link to post Share on other sites
Dman 0 Posted February 1, 2016 Report Share Posted February 1, 2016 I am looking for a soloution that will read a "template file" if there is ubot code in this template file ie: Customer: {#fname} {#lname} Will the function execute ubot code replace these variables with the variables that are inside ubot ? Link to post Share on other sites
pash 504 Posted February 1, 2016 Author Report Share Posted February 1, 2016 I am looking for a soloution that will read a "template file" if there is ubot code in this template file ie: Customer: {#fname} {#lname} Will the function execute ubot code replace these variables with the variables that are inside ubot ? not sure (if you have image for clear more) this is like command replace pluginhttp://network.ubotstudio.com/forum/index.php?/topic/17168-sell-plugin-advanced-data-text-file/ commandreplace token : By name Link to post Share on other sites
Dman 0 Posted February 1, 2016 Report Share Posted February 1, 2016 not sure (if you have image for clear more) this is like command replace pluginhttp://network.ubotstudio.com/forum/index.php?/topic/17168-sell-plugin-advanced-data-text-file/ commandreplace token : By name Ok so I have a .html file that I am using as a template for displayed output this template has ubot variables inside of it ( Customer: {#fname} {#lname} ) could I do this loadhtml(pash_execute_code(read file(template.html))) would this replace the variables inside the .html file with the ubot fname lname ? Link to post Share on other sites
pash 504 Posted February 2, 2016 Author Report Share Posted February 2, 2016 Ok so I have a .html file that I am using as a template for displayed output this template has ubot variables inside of it ( Customer: {#fname} {#lname} ) could I do this loadhtml(pash_execute_code(read file(template.html)))would this replace the variables inside the .html file with the ubot fname lname ? see this http://network.ubotstudio.com/forum/index.php/topic/17168-sell-plugin-advanced-data-text-file/page-12?do=findComment&comment=118359 Link to post Share on other sites
Dman 0 Posted February 2, 2016 Report Share Posted February 2, 2016 (edited) see this http://network.ubotstudio.com/forum/index.php/topic/17168-sell-plugin-advanced-data-text-file/page-12?do=findComment&comment=118359Ok that looks like it would work perfect, so just to be clear Advanced Ubot 1Is not the plugin I should buy but I should use this one :http://network.ubotstudio.com/forum/index.php?/topic/17168-sell-plugin-advanced-data-text-file/ Also is there a package to purchase all your plugins, there are a couple functions from each one that I could use. Edited February 2, 2016 by Dman Link to post Share on other sites
pash 504 Posted February 2, 2016 Author Report Share Posted February 2, 2016 V4.0.2.2main button click: Added ability protection pressing the button repeatedly 1 Link to post Share on other sites
Dman 0 Posted February 3, 2016 Report Share Posted February 3, 2016 @pash so which plugin do I need with execute code not work and I should just use this plugin : http://network.ubotstudio.com/forum/index.php?/topic/17168-sell-plugin-advanced-data-text-file/ Link to post Share on other sites
pash 504 Posted February 3, 2016 Author Report Share Posted February 3, 2016 @pash so which plugin do I need with execute code not work and I should just use this plugin : http://network.ubotstudio.com/forum/index.php?/topic/17168-sell-plugin-advanced-data-text-file/yes. Link to post Share on other sites
pash 504 Posted March 4, 2016 Author Report Share Posted March 4, 2016 ES V1.1.2.0Fix file in use. Link to post Share on other sites
pash 504 Posted March 4, 2016 Author Report Share Posted March 4, 2016 V4.0.3.0menu item add (without sub menu): add option "Thickness" Link to post Share on other sites
pash 504 Posted March 8, 2016 Author Report Share Posted March 8, 2016 Take a break. All plugins updated. Because there are some people trying to cheat ongoing.And Changing the download link for this plugin.You can log in here. http://ubotplugin.com/my-account/To download a new link on your user account. Link to post Share on other sites
Recommended Posts