Jump to content

Disable auto login in script


dc0qdguZU8R50JJu

Recommended Posts

Hi all,

I'm trying to log out my bot on certain criteria with the following line:

getLogoutTab().logOut()

This works fine. However, the OSBot Random Solver Auto Login kicks in and logs the account back in. How can I prevent this?

Note: I would still like to be able to use the auto login on other occasions.

Link to comment
Share on other sites

4 minutes ago, dc0qdguZU8R50JJu said:

How can I prevent this?

Note: I would still like to be able to use the auto login on other occasions.

If you disable the built-in login handler, then you have to write your own login handler in order to get automatically logged in again.

You disable it by launching the client through CMD/Terminal like this

java -jar OSBot.jar -allow norandoms

 

Link to comment
Share on other sites

52 minutes ago, Medusa said:

If you disable the built-in login handler, then you have to write your own login handler in order to get automatically logged in again.

You disable it by launching the client through CMD/Terminal like this


java -jar OSBot.jar -allow norandoms

 

Perfect, thanks!

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