Jump to content

Best way to grab "Login liimit exceeded"?


Butters

Recommended Posts

1 hour ago, Deceiver said:

as deceiver said use the LoginResponseCodeListener. implement LoginResponseCodeListener and do getBot().addLoginListener(this); then overwrite the onresponse method so that whenever you get the responsecode 9 (which is login limit exceeded) you do whatever you were planning on doing.

ex:

 @ Override
    public final void onResponseCode(final int responseCode) throws InterruptedException {
    	if(responseCode == 9){
    		// do stuff here
    	}

    }

 

  • Like 1
Link to comment
Share on other sites

10 minutes ago, IDontEvenBot said:

as deceiver said use the LoginResponseCodeListener. implement LoginResponseCodeListener and do getBot().addLoginListener(this); then overwrite the onresponse method so that whenever you get the responsecode 9 (which is login limit exceeded) you do whatever you were planning on doing.

ex:


 @ Override
    public final void onResponseCode(final int responseCode) throws InterruptedException {
    	if(responseCode == 9){
    		// do stuff here
    	}

    }

 

Thanks a lot! Maybe have a list of all the response codes?

Link to comment
Share on other sites

10 minutes ago, nosepicker said:

Thanks a lot! Maybe have a list of all the response codes?

1 = Unexepected server responce please try using a different world.

2 = login to the game

3 = Invalid name/password

4 = banned username

5 = Account is already logged in try agian in 60 secs...

6 = Runescape has been updated! Please reload this page.

7 = This world is full. Please use a different world.

8 = Unable to connect. login server offline.

9 = Login limit exceeded. Too many connections from you address.

10 = Unable to connect. Bad session id.

11 = We suspect someone knows your password. Press 'change your password' on the front page.

12 = You need a members account to login to this world. Please subscribe, or use a different world.

13 = Could not complete login. Please try using a different world.

14 = The server is being updated. Please wait 1 minute and try again.

15 = Another server responce please try agian

16 = Too many incorrect longs from your address. Please wait 5 minutes before trying again.

17 = You are standing in a members-only area. To play on this world move to a free area first.

18 = Account locked as we suspect it has been stolen. Press 'recover a locked account' on front page.

19 = This world is running a closed beta. sorry invited players only. please use a different world.

20 = Invalid loginserver requested please try using a different world.

21 = You have only just left another world. your profile will be transferred in 4seconds.

22 = Malformed login packet. Please try agian.

23 = No reply from loginserver. Please wait 1minute and try again.

24 = Error loading your profile. please contact customer support.

25 = Unexepected loginserver response

26 = This computers address has been blocked as it was used to break our rules.

27 = Service unavailable.

 

Those are all the known ones. Credits to a user on here but forgot his name.

  • Like 4
Link to comment
Share on other sites

  • 3 weeks later...
On 9/1/2017 at 4:07 AM, IDontEB said:

1 = Unexepected server responce please try using a different world.

2 = login to the game

3 = Invalid name/password

4 = banned username

5 = Account is already logged in try agian in 60 secs...

6 = Runescape has been updated! Please reload this page.

7 = This world is full. Please use a different world.

8 = Unable to connect. login server offline.

9 = Login limit exceeded. Too many connections from you address.

10 = Unable to connect. Bad session id.

11 = We suspect someone knows your password. Press 'change your password' on the front page.

12 = You need a members account to login to this world. Please subscribe, or use a different world.

13 = Could not complete login. Please try using a different world.

14 = The server is being updated. Please wait 1 minute and try again.

15 = Another server responce please try agian

16 = Too many incorrect longs from your address. Please wait 5 minutes before trying again.

17 = You are standing in a members-only area. To play on this world move to a free area first.

18 = Account locked as we suspect it has been stolen. Press 'recover a locked account' on front page.

19 = This world is running a closed beta. sorry invited players only. please use a different world.

20 = Invalid loginserver requested please try using a different world.

21 = You have only just left another world. your profile will be transferred in 4seconds.

22 = Malformed login packet. Please try agian.

23 = No reply from loginserver. Please wait 1minute and try again.

24 = Error loading your profile. please contact customer support.

25 = Unexepected loginserver response

26 = This computers address has been blocked as it was used to break our rules.

27 = Service unavailable.

 

Those are all the known ones. Credits to a user on here but forgot his name.

Sticky this 

Link to comment
Share on other sites

4 minutes ago, Juggles said:

It should work. 
Why would you try to relog in a banned acc? 

4 is banned, that's the only one my method would NOT try and relog into. Would solve my problem of random disconnects and the client gives up because of unknown response code. Doesn't happen often but it's annoying.

Edited by sudoinit6
Link to comment
Share on other sites

5 hours ago, sudoinit6 said:

Actually I could see doing some useful things with other responses as well, on six shutdown all java.exe processes and relaunch current bots, that would solve the thursday problem....hmmmm

 

Yep you can do whatever you want with this info, as long the script starts :D

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