Explv Posted December 28, 2016 Author Share Posted December 28, 2016 (edited) 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 December 28, 2016 by Explv 2 Quote Link to comment Share on other sites More sharing options...
dokato Posted February 13, 2017 Share Posted February 13, 2017 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. Quote Link to comment Share on other sites More sharing options...
Adept Posted February 21, 2017 Share Posted February 21, 2017 How can I check/listen for login failure i.e. incorrect login details, account invalid, account logged, etc.? Quote Link to comment Share on other sites More sharing options...
Butters Posted February 24, 2017 Share Posted February 24, 2017 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? Quote Link to comment Share on other sites More sharing options...
Seraphic Posted February 24, 2017 Share Posted February 24, 2017 This is a good help for new scripters. Keep it up man. Quote Link to comment Share on other sites More sharing options...
Juggles Posted March 18, 2017 Share Posted March 18, 2017 Using this in my script now for muling. Really appreciate this snippet Quote Link to comment Share on other sites More sharing options...
Prozen Posted March 18, 2017 Share Posted March 18, 2017 Very nice snippet, thanks. Quote Link to comment Share on other sites More sharing options...
Lewis Posted March 21, 2017 Share Posted March 21, 2017 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 Quote Link to comment Share on other sites More sharing options...
dmmslaver Posted March 31, 2017 Share Posted March 31, 2017 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? Quote Link to comment Share on other sites More sharing options...
Adept Posted March 31, 2017 Share Posted March 31, 2017 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. Quote Link to comment Share on other sites More sharing options...
dmmslaver Posted March 31, 2017 Share Posted March 31, 2017 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 Quote Link to comment Share on other sites More sharing options...
Trees Posted April 9, 2017 Share Posted April 9, 2017 Is LoginResponseCodeListener broken or something? Doesn't seem to be getting called at all. Quote Link to comment Share on other sites More sharing options...
Adept Posted May 15, 2017 Share Posted May 15, 2017 (edited) 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 May 15, 2017 by Adept Quote Link to comment Share on other sites More sharing options...
Trees Posted May 16, 2017 Share Posted May 16, 2017 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. 1 Quote Link to comment Share on other sites More sharing options...
Adept Posted May 16, 2017 Share Posted May 16, 2017 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. Quote Link to comment Share on other sites More sharing options...