Jump to content

OSBot 2.3.41 - Response Codes, Widgets, Dialogues


Alek

Recommended Posts

Similar to MessageListener that listens for messages in-game, the LoginResponseCodeListener listens to response codes on the login screen. Below are a few of these codes:

 
INCORRECT_USERPASS
ACCOUNT_DISABLED
GAME_UPDATE
FULL_WORLD
STOLEN_ACCOUNT
BETA_WORLD
CUSTOMER_SUPPORT
BLOCKED_COMPUTER
 
As you can see, there are a variety of codes that both developers and script writers alike can use to improve your botting experience. Immediate implementation of these codes is apparent in the AutoLogin solver. When attempting to log into the game, the response code listener will check to see if such codes are received. If they are, they are evaluated for the best course of action such as:
 
1. If the world is full, wait a minute to try re-connecting. Do this a couple times and give up if there have been too many attempts.
2. If your account has been banned, don't try logging back in.
3. Error connecting to the server, try re-connecting in a few minutes.
 
Implementation (for scripters):
@Override
    public void onResponseCode(int code) throws InterruptedException { }

Also check the ResponseCode listing

 

 

Changelog:

 

@Alek's updates:
-Added LoginCallback
--LoginResponseCodeListener onResponseCode(int code)
--Added constants class ResponseCode
-Updated AutoLogin solver to handle various response codes
-Updated Dialogues class
 
@Maxi's updates:
-Added containingActions to Widgets
-Updated Trade API
 
Happy Botting
-The OSBot Staff
 
 
 
  • Like 7
Link to comment

 

Similar to MessageListener that listens for messages in-game, the LoginResponseCodeListener listens to response codes on the login screen. Below are a few of these codes:

 
INCORRECT_USERPASS
ACCOUNT_DISABLED
GAME_UPDATE
FULL_WORLD
STOLEN_ACCOUNT
BETA_WORLD
CUSTOMER_SUPPORT
BLOCKED_COMPUTER
 
As you can see, there are a variety of codes that both developers and script writers alike can use to improve your botting experience. Immediate implementation of these codes is apparent in the AutoLogin solver. When attempting to log into the game, the response code listener will check to see if such codes are received. If they are, they are evaluated for the best course of action such as:
 
1. If the world is full, wait a minute to try re-connecting. Do this a couple times and give up if there have been too many attempts.
2. If your account has been banned, don't try logging back in.
3. Error connecting to the server, try re-connecting in a few minutes.
 
Implementation (for scripters):
@Override
    public void onResponseCode(int code) throws InterruptedException { }

Also check the ResponseCode listing

 

 

Changelog:

 

@Alek's updates:
-Added LoginCallback
--LoginResponseCodeListener onResponseCode(int code)
--Added constants class ResponseCode
-Updated AutoLogin solver to handle various response codes
-Updated Dialogues class
 
@Maxi's updates:
-Added containingActions to Widgets
-Updated Trade API
 
Happy Botting
-The OSBot Staff

 

 

Nice update man!

Should be also a constant for non-member accounts trying to login to member worlds ;)

 

Thx for the update <3

Khaleesi

chats moving so fast no one will notice I'm gay

 

need to keep quoting it then xD

  • Like 1
Link to comment
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...