GiantPandaSak Posted February 11, 2020 Share Posted February 11, 2020 (edited) Is the CLI -world flag broken? im trying to launch on f2p so i can use f2p accounts but -world doesn't seem to set anything am i missing something? Thanks, code: d ~/Desktop echo working /usr/libexec/java_home -V export JAVA_HOME=$(/usr/libexec/java_home -v 1.8 java -version find ~/ -name "OSBot*.jar" -print0 | xargs -0 ls -t | head -n 1 | xargs -I{} java -jar {} -debug 5005 -mem 1024 -allow lowresouce,lowcpu, -login OSBOTLOG:OSBOTPASS -bot BOTEMAIL:BOTPASSWORD:PIN -script "":"f2pSetup.config" -world 425 chmod u+x ~/Desktop/CommandScript.command Edited February 11, 2020 by GiantPandaSak typo Quote Link to comment Share on other sites More sharing options...
Gunman Posted February 11, 2020 Share Posted February 11, 2020 @GiantPandaSakNo it's not broken. Something in your parameters is breaking it. Only thing I can input is it's not broken and maybe try putting -world high up in the parameter list. Quote Link to comment Share on other sites More sharing options...
Kramnik Posted February 11, 2020 Share Posted February 11, 2020 It works fine for me Quote Link to comment Share on other sites More sharing options...
GiantPandaSak Posted February 12, 2020 Author Share Posted February 12, 2020 21 hours ago, Gunman said: @GiantPandaSakNo it's not broken. Something in your parameters is breaking it. Only thing I can input is it's not broken and maybe try putting -world high up in the parameter list. Ive tried every possible order its the only flag thats not working 1 Quote Link to comment Share on other sites More sharing options...
Gunman Posted February 12, 2020 Share Posted February 12, 2020 1 hour ago, GiantPandaSak said: Ive tried every possible order its the only flag thats not working Then it's something else because it works for me Quote Link to comment Share on other sites More sharing options...
GiantPandaSak Posted February 12, 2020 Author Share Posted February 12, 2020 Quote Link to comment Share on other sites More sharing options...
Onayr Posted March 21, 2020 Share Posted March 21, 2020 Any luck @GiantPandaSak? I am facing a similar issue where the cli run osbot isn't changing the world to what I pick. Here's the line I am running java -jar $osbotDir -debug 5005 -login $osbotUsername:$osbotPassword -bot $email:$password:0000 -script $scriptName:$email -world 301 Quote Link to comment Share on other sites More sharing options...
Naked Posted March 21, 2020 Share Posted March 21, 2020 (edited) I've seen things with cli not work for various reasons. I'd suggest maybe re-ordering the args. Here is mine that works great args = ['java', '-jar', 'osbot.jar', '-login', f'{OSBOT_USER}:{OSBOT_PASS}', '-bot', f'{email}:{password}:0000', '-script', f'{SCRIPT_NAME}:{email}-{type}', '-proxy', f'{ip}:{port}:{user}:{password}', '-world', f'{world}'] Edit: Small note - print the line and look carefully that everything is correct and what the parser should expect. I once set `-world 0` and it gave an init error. That was a bitch of a bug. Hope that helps Edited March 21, 2020 by Naked Quote Link to comment Share on other sites More sharing options...
splatbug Posted March 22, 2020 Share Posted March 22, 2020 On 3/20/2020 at 7:25 PM, Naked said: I've seen things with cli not work for various reasons. I'd suggest maybe re-ordering the args. Here is mine that works great args = ['java', '-jar', 'osbot.jar', '-login', f'{OSBOT_USER}:{OSBOT_PASS}', '-bot', f'{email}:{password}:0000', '-script', f'{SCRIPT_NAME}:{email}-{type}', '-proxy', f'{ip}:{port}:{user}:{password}', '-world', f'{world}'] Edit: Small note - print the line and look carefully that everything is correct and what the parser should expect. I once set `-world 0` and it gave an init error. That was a bitch of a bug. Hope that helps what he said Quote Link to comment Share on other sites More sharing options...
Onayr Posted March 23, 2020 Share Posted March 23, 2020 I ended up getting too frustrated with it and wrote an extension onto Explv's login handler that would pick a random free world for me. I appreciate the help though! Quote Link to comment Share on other sites More sharing options...
hilight Posted April 7, 2020 Share Posted April 7, 2020 Any chance you could share that extension? Quote Link to comment Share on other sites More sharing options...
Khaleesi Posted April 7, 2020 Share Posted April 7, 2020 Try putting world more in front Quote Link to comment Share on other sites More sharing options...
powerrangeralt Posted April 7, 2020 Share Posted April 7, 2020 World also worked fine for me Quote Link to comment Share on other sites More sharing options...