Jump to content

CLI -world flag isn't working


Recommended Posts

Posted (edited)

I am attempting to run scripts from the CLI in a unix environment. My bot accounts are F2P, so I need to switch the world to a F2P world in order for them to login. I have attempted to use the -world flag to accomplish this, but it doesn't work. The osbot client starts, and then instead of trying to change the world it just immediately goes to log in, fails because it's always a member's world, and then gives up. The CLI code I'm running is below.

java -jar [my osbot jar] -login [my osbot username]:[my osbot pass] -bot [bot email]:[bot pass]:0000 -script [my script]:null -world 301

As you can see, I include the "-world 301" flag at the end. I have managed to pause the script before it tries to log in and changed the world to a F2P one and then it logs in successfully.

Edit: I should also mention I'm using osbot 2.5.42.jar

Edited by PlumpRump
  • 4 months later...
Posted

I'm having the same issue, if you have a look in the bot log's, it will say something weird like 

[DEBUG][Bot #1][08/09 11:35:13 PM]: Loading RS world : 313a

In the example above I was trying to load -world 440

I'm running macOS High Sierra, this bug is very odd! 

  • 6 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...