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 Scripts crash 5 Minutes into starting the client

Status
Not open for further replies.
ANTI-NWO
Joined
Jun 17, 2018
Messages
66
huh, I thought the login handler could be disabled, but looks like it's not in the docs



what on earth are you talking about lol, i was saying serene's move there was sketchy. I was proven wrong though.

on the other hand, try restarting your router and see if it happens again. Your internet connection might be disconnecting for a couple seconds at a time, which means you would still be using internet and can still access sites and stuff, but it would be long enough to disconnect runescape and kill the bot.

I will do, thank you for that sir
 
cuppa.drink(java);
Joined
Mar 13, 2018
Messages
7,099
huh, I thought the login handler could be disabled, but looks like it's not in the docs

Something like this works, but it's marked as deprecated so I'm not sure the proper practice

Code:
GameEvents.OSRS.LOGIN_HANDLER.disable((CuppaMyBot) Environment.getBot());
 
( ͡° ͜ʖ ͡°)
Joined
Mar 30, 2015
Messages
2,410
@CuppaJava @Snufalufugus

seems like there's a non deprecated way to do it too,

Code:
GameEvents.UNIVERSAL.LOGIN_HANDLER.disable()

shouldn't this be favored over stopping the bot outright?

No. If I disable it and they forget settings, the bot still runs and charges them, they'll just be logged out while they're being charged. Best to just stop it completely if they take too long.
 
cuppa.drink(java);
Joined
Mar 13, 2018
Messages
7,099
@CuppaJava @Snufalufugus

seems like there's a non deprecated way to do it too,

Code:
GameEvents.UNIVERSAL.LOGIN_HANDLER.disable()

shouldn't this be favored over stopping the bot outright?
I think the thinking is that stopping the bot outright is better than having the user accidentally leave it paused/not set up all day.
 
No. If I disable it and they forget settings, the bot still runs and charges them, they'll just be logged out while they're being charged. Best to just stop it completely if they take too long.
Jinx, you owe me a soda :rolleyes:
 
Joined
May 30, 2018
Messages
203
No. If I disable it and they forget settings, the bot still runs and charges them, they'll just be logged out while they're being charged. Best to just stop it completely if they take too long.

wouldn't it be better practice to have it disable the login handler, re-enable it when settings are filled, and only stop the bot at maybe 55 minutes or so to avoid charging the next hour? This way they can still get (almost) their hour's worth if they remember it at like 6 or 8 minutes or so.
 
( ͡° ͜ʖ ͡°)
Joined
Mar 30, 2015
Messages
2,410
wouldn't it be better practice to have it disable the login handler, re-enable it when settings are filled, and only stop the bot at maybe 55 minutes or so to avoid charging the next hour? This way they can still get (almost) their hour's worth if they remember it at like 6 or 8 minutes or so.

Yeah sure that could work too. The way I set it up makes it a lot more apparent though. In yours, imagine someone coming back 30 minutes later and seeing an instance running but their character logged out. I'd get messages saying "bot is broken, just logs me out." Just think of this thread as an example of the likelihood of that happening lol.

I put it to 5 mins so that when they come back (whenever that is), they can immediately see that the bot instance isn't running. But yeah either way, that force-stop accounts for a very small amount of sessions ended, and my bots are designed to be able to press save/load so you shouldn't need to take 5 minutes+ to enter setup stuff.
 
Last edited:
RuneMate Staff
Joined
Oct 2, 2015
Messages
3,224
Locking this thread as it is just turning in to a shit flinging contest and going off-topic.

@airmaxbarber as you are having issues with @Serene's NMZ bot, please post all future correspondence in the forum thread for that bot.

I won't be opening any .rar files, and I'm sure others feel the same way. So for future reference please upload the .txt files as attachments directly or copy/paste their contents on to a site like Pastebin.

I'm not sure what more can be discussed though; either @Serene's NMZ bot is having problems, in which case you post a detailed bug report, steps to reproduce the error and supporting log files in the forum thread, along with proof of your payments to @Serene which can be found here: https://www.runemate.com/community/adcredits/

Or

The issue is at your end, eg: a network connection issue, something that is out of @Serene's control and therefore @Serene wouldn't be responsible for refunding you.
 
Status
Not open for further replies.
Top