Jump to content

CLI not reading all parameters


Recommended Posts

Posted

Hey there,

I'm having a bit of problems with using parameters in my script, as you can see in the CLI below the script should have 2 parameters (param1 & param2).

java -cp "lib/*" org.osbot.Boot -login user:pass -bot user:pass:pin -proxy ip:port:user:pass -allow lowcpu -world 386 -script scriptname:param1,param2

(In the lib folder I have a mysql connector & the osbot jar, obviously user & pass & stuff like that are filled in in the actual CLI)

I'm encountering 2 weird problems:

1. This log only prints out one of the parameters (param1), it never processes the second parameter for some reason.

log(getParameters());


2. For some reason it doesn't find my proxy anymore. Previously the proxy would show at the left top of my client, but now it just shows [0]:

45ae618185bf471366d7f8d4a075099c.png


Hopefully someone can help me & tell me what I'm doing wrong!
Thanks in advance,
Hybris - Janne

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...