Jump to content

A Simple Login Handler


Explv

Recommended Posts

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
  • Like 2
Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 3 weeks later...
  • 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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...

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