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.

A Simple Login Handler

Featured Replies

  • Author

ezgif_com_crop.gif

 

 

Using a bare backbone of the login handler with nothing in my onLoop().

 

Not sure if OsBot client onResponseCode method is little janky atm or whats up but if your account is disabled or error response 'login limit exceeded' it'll repeatedly type your username/password shown above.

 

 

 

 

 

^ that should be handling it but for some reason it is not. Sorry to keep bugging! Just only getting banned when login limit exceeded and then it repeatedly types username / password :p

 

 

Having exactly the same problem. Any idea how to fix this?

 

I have added an extra check for disabled accounts, and tested it, it seems to work now, try the updated code in my post

Edited by Explv

  • 1 month later...

It types my login name and password whenever it has done loading the map when it walks a distance.

I've already placed a check using this method but it doesnt help.

public boolean isLoading() {
        return 
        getClient().getLoginState() == LoginState.LOADING || 
                getClient().getLoginState() == LoginState.LOADING_MAP;
    }

Plz help.

How can I check/listen for login failure i.e. incorrect login details, account invalid, account logged, etc.?

On 2/21/2017 at 4:50 PM, Adept said:

How can I check/listen for login failure i.e. incorrect login details, account invalid, account logged, etc.?

Would like to know this also, cause I think we don't have access to all of the response codes?

  • 3 weeks later...
On 28/12/2016 at 6:25 PM, Explv said:

 

 

 

I have added an extra check for disabled accounts, and tested it, it seems to work now, try the updated code in my post

can you make it so when it gets the error  'login limit exceeded from this address'

it loads a new world

  • 2 weeks later...
On 12/28/2016 at 0:25 PM, Explv said:

 

 

 

I have added an extra check for disabled accounts, and tested it, it seems to work now, try the updated code in my post

I added this to my scripts exactly as you showed in the example code and when I run the script to login it uses the normal login handler and none of the methods you provided are being run. What am I doing wrong?

9 hours ago, dmmslaver said:

I added this to my scripts exactly as you showed in the example code and when I run the script to login it uses the normal login handler and none of the methods you provided are being run. What am I doing wrong?

Are you disabling the OSBot auto-login? Launch your bots with CLI and include the "allow -norandom" command.

10 hours ago, Adept said:

Are you disabling the OSBot auto-login? Launch your bots with CLI and include the "allow -norandom" command.


Please add to OP for retards like I :feels:

  • 2 weeks later...

Is LoginResponseCodeListener broken or something? Doesn't seem to be getting called at all.

  • 1 month later...
On 4/9/2017 at 11:14 PM, Trees said:

Is LoginResponseCodeListener broken or something? Doesn't seem to be getting called at all.

Did you manage to get it working?

Edited by Adept

7 hours ago, Adept said:

Did you manage to get it working?

Not really. I'm not sure if I got it working or it's just returning 0. I just resorted to more pixel operations.

17 hours ago, Trees said:

Not really. I'm not sure if I got it working or it's just returning 0. I just resorted to more pixel operations.

Ended up doing the same thing. Thanks for taking the time to reply.

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.