Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Logging In

Featured Replies

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.

  • Author

 

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

 

  • LOGGED_IN
    public static final Client.LoginState LOGGED_IN 

 

Enum Client.LoginState

 

 

?

 

 

client.isLoggedIn(); //returns a boolean

noob why no give give the boolean method

Edited by Joseph

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

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.