Jump to content

Logging In


apa

Recommended Posts

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.

Link to comment
Share on other sites

 

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

Link to comment
Share on other sites

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)

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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