September 2, 20178 yr I'm trying to figure out if my character is logged out. I have tried: getClient().isLoggedIn() and if (getClient().getLoginState() == Client.LoginState.LOGGED_OUT) {} They both return true when I'm logged in and return nothing when I'm logged out.
September 2, 20178 yr Author 1 minute ago, Alek said: Why do you need to know? So I can re-enable auto chat when I log back in.
September 2, 20178 yr 31 minutes ago, Deathiminent said: So I can re-enable auto chat when I log back in. Why not just detect if auto-chat is not enabled?
September 2, 20178 yr Author 7 minutes ago, Alek said: Why not just detect if auto-chat is not enabled? Yeah there are usually multiple solutions to a problem. I just assumed Client.isLoggedIn() would return false if I'm not logged in.
September 2, 20178 yr 20 minutes ago, Deathiminent said: Yeah there are usually multiple solutions to a problem. I just assumed Client.isLoggedIn() would return false if I'm not logged in. Scripts don't execute while you are logged out.
September 2, 20178 yr 3 minutes ago, Alek said: Scripts don't execute while you are logged out. I think he means while loading, if i am not being wrong 24 minutes ago, Deathiminent said: Yeah there are usually multiple solutions to a problem. I just assumed Client.isLoggedIn() would return false if I'm not logged in. Try to check for a widget for example health orb or something to know that it is fully loaded
Create an account or sign in to comment