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 Programmatically Exit Client

Joined
Nov 6, 2013
Messages
16
Hey I'm currently using the system class to exit the client then run my bat files
but i get alot of timeout crap when i try to open it sometimes and this is because the system class is not a safe way to exit the client could you add an api method to exit the client safely.
 
Mod Automation
Joined
Jul 26, 2013
Messages
3,044
In other words, he wants to be able to exit the client from batch (presumably to programmatically restart it), but safely terminate the RuneMate session so he does not run out of available sessions. Is there any way we can interrupt the system exit and execute our shutdown hook before letting it continue @Cloud?
 
Mod Automation
Joined
Jul 26, 2013
Messages
3,044
System.exit should be calling the shutdown hook, which should sign you out.
From my conversation with him earlier, it's safe to assume that he is consistently not being signed out of his session. Can we debug this a little further?
 
Top