apa Posted September 8, 2015 Share Posted September 8, 2015 I can't seem to find any classes in the API that'll help detecting if the client is logged in or not. I need to use it to check if user is logged in, if it is, do some stuff, then logout, if it isn't, login with account(0). repeat and increase the index each login across an array of a few accounts. I'm not sure how to do this with the API, its been awhile since i've used the API and widgets or anything like that don't seem to be useful. Thanks. Quote Link to comment Share on other sites More sharing options...
Muffins Posted September 8, 2015 Share Posted September 8, 2015 LOGGED_INpublic static final Client.LoginState LOGGED_IN Enum Client.LoginState ? Quote Link to comment Share on other sites More sharing options...
apa Posted September 8, 2015 Author Share Posted September 8, 2015 LOGGED_INpublic static final Client.LoginState LOGGED_IN Enum Client.LoginState ? Thank you! I missed this one. Would you happen to know of any class that would override the auto login (RS3 bots usually have it enabled by default) and allow me to target parts of the login screen? I'm used to having full access to reflection. Quote Link to comment Share on other sites More sharing options...
Joseph Posted September 8, 2015 Share Posted September 8, 2015 (edited) LOGGED_INpublic static final Client.LoginState LOGGED_IN Enum Client.LoginState ? client.isLoggedIn(); //returns a boolean noob why no give give the boolean method Edited September 8, 2015 by Joseph Quote Link to comment Share on other sites More sharing options...
Muffins Posted September 8, 2015 Share Posted September 8, 2015 noob why no give give the boolean method client.isLoggedIn(); //returns a boolean pls i just copied from the api 1 Quote Link to comment Share on other sites More sharing options...
FrostBug Posted September 9, 2015 Share Posted September 9, 2015 Thank you! I missed this one. Would you happen to know of any class that would override the auto login (RS3 bots usually have it enabled by default) and allow me to target parts of the login screen? I'm used to having full access to reflection. What do you mean by "target parts of the login screen" You can override the auto-login event (change conditions or remove its trigger) Quote Link to comment Share on other sites More sharing options...