Colonel_Panic Posted September 23, 2017 Posted September 23, 2017 Let's say I have a local script called testScript.jar. How would I run that with CLI? I've tried both of the following and always end up with "Script settings are incorrect, unable to load automatically!" java -jar OSBot.jar -login username:password -world 383 -bot bot_name:bot_pass:bot_pin -mem 1024 -script testScript.jar --allow norandoms,lowcpu java -jar OSBot.jar -login username:password -world 383 -bot bot_name:bot_pass:bot_pin -mem 1024 -script testScript --allow norandoms,lowcpu Note that I don't need to pass any parameters in.
Colonel_Panic Posted September 23, 2017 Author Posted September 23, 2017 40 minutes ago, Lordsthan said: Try -script testScript:null That got past the error! I see "Starting local script with name: testScript" now, but then it still doesn't start any script once OSBot is fully started. I'll keep toying with it but if you have any more insight, I'm all ears. Thanks!
John Wick Posted September 23, 2017 Posted September 23, 2017 (edited) Idk too much about open the client in .bat because actually i dont need it, but i did it here: java -jar osbot.jar -login name:password -world 383 -bot email:password:pin -mem 1024 -script scriptname:0 --allow norandoms, lowcpu Will start, login the bot in osbot menu and load the script but in my notebook the cpu usage go to 58% and dosent quickly login the bot in osrs name/password field. I not waited 5 min to see if will work or not but test it in your computer to see. Edit: Was my fault i erased the lowcpu... using " :0 " after scriptname will work Edit2: "-script scriptName:KalaIsNoobFarmer " kkkkk yeah will work too Edited September 23, 2017 by RuneMaker4657