Jump to content

CLI not reading all parameters


Hybris

Recommended Posts

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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