November 17, 20187 yr Hi everyone, I'm trying to get my farming/birdhouse scripts to logout and sleep for a certain amount of time before re initializing the AutoLogin function. At the current moment I have just been having it chill in bank and change tabs every few minutes. So I tried using something like this: logoutTab.logout(); sleep(3000000); //3m is 50mins in milliseconds So right after it logs out, it tries to log back in with the auto logger (before completing the rest of the loop with the sleep). Has anyone done this successfully? Am I missing something? Edit: would be great if we could get a logoutSleep(int seconds) method for the logoutTab api. Seems like something that would be useful to most scripters Edited November 17, 20187 yr by DylanSRT
November 17, 20187 yr 11 minutes ago, DylanSRT said: Hi everyone, I'm trying to get my farming/birdhouse scripts to logout and sleep for a certain amount of time before re initializing the AutoLogin function. At the current moment I have just been having it chill in bank and change tabs every few minutes. So I tried using something like this: logoutTab.logout(); sleep(3000000); //3m is 50mins in milliseconds So right after it logs out, it tries to log back in with the auto logger (before completing the rest of the loop with the sleep). Has anyone done this successfully? Am I missing something? Edit: would be great if we could get a logoutSleep(int seconds) method for the logoutTab api. Seems like something that would be useful to most scripters You have to override the default login handler with something like this Then use the CLI to launch the script with -allow norandoms
November 18, 20187 yr Yes as @jca pointed out, you will need to use CLI and then create your own login handler to log back in after X amount of time. Here is the full CLI table
November 20, 20187 yr Author @jca @Juggles Unfortunately, I only use mirror mode. There is no way to launch a mirror mode client through cli is there? wish they supported mirror mode more
November 20, 20187 yr 26 minutes ago, DylanSRT said: @jca @Juggles Unfortunately, I only use mirror mode. There is no way to launch a mirror mode client through cli is there? wish they supported mirror mode more Correct, mirror mode does not support CLI.
Create an account or sign in to comment