May 21, 20187 yr 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?
May 21, 20187 yr stop(true); will end the script and logout and not log you back in. So you could add a timer and if timer > timeAlloted, stop(true); Besides this, to actually stop the autologin, youd need to launch in CLI with -norandoms and use a custom login hander.
May 21, 20187 yr Author 14 minutes ago, Muffins said: Besides this, to actually stop the autologin, youd need to launch in CLI with -norandoms and use a custom login hander. Interesting, how can I start it that way? Any posts where they talk about a personalized start?
May 21, 20187 yr 4 minutes ago, trainux said: Interesting, how can I start it that way? Any posts where they talk about a personalized start? https://osbot.org/forum/topic/118831-cli-commands-table/
May 21, 20187 yr Author 45 minutes ago, Muffins said: https://osbot.org/forum/topic/118831-cli-commands-table/ Why do you throw this error at me?
May 21, 20187 yr 3 minutes ago, trainux said: Why do you throw this error at me? You need java 8 to run osbot, you probably are running it using 9/10
May 21, 20187 yr Author 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.
May 21, 20187 yr 22 minutes ago, trainux said: 1st - I initialize it with double click and start normal 2nd - I have "Java v8 u151" Excuse me, I have java 10. delete 10, launch with 8
May 21, 20187 yr Author 1 hour ago, Muffins said: You need java 8 to run osbot, you probably are running it using 9/10 Already initialized by command. But it does not disable autologin. Look: Demonstration image of the error
May 21, 20187 yr 1 minute ago, trainux said: Already initialized by command. But it does not disable autologin. Look: Demonstration image of the error if you looked at the table you would have seen the command is -allow norandoms and not just -norandoms
May 21, 20187 yr Author 6 minutes ago, Muffins said: if you looked at the table you would have seen the command is -allow norandoms and not just -norandoms I try this: java -jar "osbot 2.5.8.jar" -debug 5005 -allow norandoms But I get the same, run the autologin.
May 21, 20187 yr 5 minutes ago, trainux said: I try this: java -jar "osbot 2.5.8.jar" -debug 5005 -allow norandoms But I get the same, run the autologin. i can assure you it works.
May 21, 20187 yr Author 4 minutes ago, Muffins said: i can assure you it works. Will that "?" sign appearing in the command have something to do with it? imagen
May 21, 20187 yr 1 minute ago, trainux said: Will that "?" sign appearing in the command have something to do with it? imagen yes you need to remove the "?"
May 21, 20187 yr Author 8 minutes ago, Muffins said: yes you need to remove the "?" I do not really know where that sign came from, where he copied it from, it was without sign and he stuck it and that sign appeared, he thought it was normal. Solved, now to try to customize the login. Thank you.
Create an account or sign in to comment