Jump to content

How do I deactivate and activate autologin?


Recommended Posts

Posted

I create some random times so that the bot does not work all day, but about 10h on average, for it I use a check that I do every second, changing the state of a boolean, said boolean I put it in the onLoop () as follows :

@Override
public int onLoop() throws InterruptedException{
	if(sleep) {
      
	}
};

If said boolean is "true" then the actions are executed.

When the time it seizes passes the time limit of the inactive account is disconnected successfully, the problem is that the bot starts session automatically.
How could I solve this?
Is there a way to tell the bot on the onLoop () to leave the account disconnected?

Posted
2 minutes ago, Muffins said:

 

You need java 8 to run osbot, you probably are running it using 9/10

1st - I initialize it with double click and start normal
2nd - I have "Java v8 u151"

Just now, trainux said:

1st - I initialize it with double click and start normal
2nd - I have "Java v8 u151"

Excuse me, I have java 10.

 

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