Jump to content

Logging In


Recommended Posts

Posted

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.

Posted

 

  • LOGGED_IN
    public 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.

Posted

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)

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...