Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Resolved [OSRS] Login handler doesn't work after disconnecting

Eyyyyy Macarena
Joined
Oct 24, 2018
Messages
58
The login handler only appears to work if you launch a bot whilst logged out.

If you disconnect and get booted to the login screen it will no longer fire, leaving you logged out but without stopping the bot.
 
Eyyyyy Macarena
Joined
Oct 24, 2018
Messages
58
Does the login handler activate at least?

It does if you start a bot while logged out. it just doesn't seem to work if you're botting, lose network connectivity and are booted to the OSRS login screen.

I just had a look through yesterday's logs - shared, RuneMate, RuneScape and Regal Agility (which I was using at the time), there are no log entries related to the login handler. I had my log level set to DEBUG which may be hiding them, however.
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
Interesting, the only way that would have occurred is if the login handler couldn't tell you were logged out.
 
Eyyyyy Macarena
Joined
Oct 24, 2018
Messages
58
Interesting, the only way that would have occurred is if the login handler couldn't tell you were logged out.

Hm, I would've assumed the bot determined whether you're logged in or not by doing something among the lines of if (someUIId == something) return true; else return false; If you're unable to recreate the problem maybe you can give me some details on how I can up the logging verbosity o maybe get something more useful?

In my case it was it was as simple as getting having a poor connection (Getting the "Connection lost. Attempting to reestablish" message in RS, failing and then the bot no longer logging back in). I highly doubt any bot, especially one of Awesomeman's ones, having any reason to turn off the login handler.

Maybe the login state is calculated during the first iteration, but can only be changed by the bot?
 
Top