Jump to content

Sleep When Disconnected


Recommended Posts

Posted

I'm currently working on a runecrafting script and it works pretty well. However, I don't have the best wifi and I disconnect once every hour or two. When I disconnect the bot tries to log back in, but when it does it gets a message on the login screen and stops running. Is there a way to get the bot to sleep for a couple minutes when it disconnects to allow my wifi to re-connect to the internet, then log back in and continue botting?

Posted
6 hours ago, Alek said:

It waits 5 minutes and attempts to log in 2-3 times, therefore it waits a total of 15 minutes.

I recreated the issue by starting a script and disconnecting my computer from wifi. Once the account fully disconnects the auto login tries to log in once, then it gets "Error connecting to server." and stops the script immediately.

Posted
59 minutes ago, Jack Shep said:

I recreated the issue by starting a script and disconnecting my computer from wifi. Once the account fully disconnects the auto login tries to log in once, then it gets "Error connecting to server." and stops the script immediately.

Make your own login handler

Posted
8 hours ago, Chris said:

Make your own login handler

Is that the easiest way to go about it? I'm rather new to writing scripts and login handlers look quite intimidating. If there's no simpler way, I will definitely try and learn and understand them, but if there is an easier way I'd much rather go down that route.

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