Fixed kick bug by letting the client reverse iterate over its cached player data when looking for a player name. Added several exceptions.
This commit is contained in:
+19
-15
@@ -52,21 +52,25 @@
|
||||
#define ERR_NET_INVALID_PLAYER_CARDS 108
|
||||
#define ERR_NET_INVALID_PLAYER_RESULTS 109
|
||||
#define ERR_NET_INVALID_GAME_NAME 110
|
||||
#define ERR_NET_UNKNOWN_GAME 111
|
||||
#define ERR_NET_INVALID_CHAT_TEXT 112
|
||||
#define ERR_NET_UNKNOWN_PLAYER_ID 113
|
||||
#define ERR_NET_NO_CURRENT_PLAYER 114
|
||||
#define ERR_NET_PLAYER_NOT_ACTIVE 115
|
||||
#define ERR_NET_PLAYER_KICKED 116
|
||||
#define ERR_NET_INVALID_PLAYER_COUNT 117
|
||||
#define ERR_NET_TOO_MANY_MANUAL_BLINDS 118
|
||||
#define ERR_NET_INVALID_AVATAR_FILE 119
|
||||
#define ERR_NET_AVATAR_TOO_LARGE 120
|
||||
#define ERR_NET_BUF_INVALID_SIZE 121
|
||||
#define ERR_NET_INVALID_REQUEST_ID 122
|
||||
#define ERR_NET_WRONG_AVATAR_SIZE 123
|
||||
#define ERR_NET_START_TIMEOUT 124
|
||||
#define ERR_NET_GAME_TERMINATION_FAILED 125
|
||||
#define ERR_NET_INVALID_GAME_ROUND 111
|
||||
#define ERR_NET_INVALID_SESSION 112
|
||||
#define ERR_NET_UNKNOWN_GAME 113
|
||||
#define ERR_NET_INVALID_CHAT_TEXT 114
|
||||
#define ERR_NET_UNKNOWN_PLAYER_ID 115
|
||||
#define ERR_NET_NO_CURRENT_PLAYER 116
|
||||
#define ERR_NET_PLAYER_NOT_ACTIVE 117
|
||||
#define ERR_NET_PLAYER_KICKED 118
|
||||
#define ERR_NET_INVALID_PLAYER_COUNT 119
|
||||
#define ERR_NET_TOO_MANY_MANUAL_BLINDS 120
|
||||
#define ERR_NET_INVALID_AVATAR_FILE 121
|
||||
#define ERR_NET_AVATAR_TOO_LARGE 122
|
||||
#define ERR_NET_BUF_INVALID_SIZE 123
|
||||
#define ERR_NET_INVALID_REQUEST_ID 124
|
||||
#define ERR_NET_WRONG_AVATAR_SIZE 125
|
||||
#define ERR_NET_START_TIMEOUT 126
|
||||
#define ERR_NET_GAME_TERMINATION_FAILED 127
|
||||
#define ERR_NET_INTERNAL_GAME_ERROR 128
|
||||
#define ERR_NET_DEALER_NOT_FOUND 129
|
||||
|
||||
#define ERR_IRC_INTERNAL 151
|
||||
#define ERR_IRC_CONNECT_FAILED 152
|
||||
|
||||
Reference in New Issue
Block a user