Added error code and message for server maintenance.

This commit is contained in:
lotodore
2007-10-12 15:35:58 +00:00
parent 6cf0d8777a
commit b833b05787
4 changed files with 36 additions and 22 deletions
+23 -22
View File
@@ -43,28 +43,29 @@
#define ERR_SOCK_INVALID_TYPE 20
// The following errors are game errors.
#define ERR_NET_VERSION_NOT_SUPPORTED 101
#define ERR_NET_SERVER_FULL 102
#define ERR_NET_INVALID_PASSWORD 103
#define ERR_NET_INVALID_PASSWORD_STR 104
#define ERR_NET_PLAYER_NAME_IN_USE 105
#define ERR_NET_INVALID_PLAYER_NAME 106
#define ERR_NET_INVALID_PLAYER_CARDS 107
#define ERR_NET_INVALID_PLAYER_RESULTS 108
#define ERR_NET_INVALID_GAME_NAME 109
#define ERR_NET_UNKNOWN_GAME 110
#define ERR_NET_INVALID_CHAT_TEXT 111
#define ERR_NET_UNKNOWN_PLAYER_ID 112
#define ERR_NET_NO_CURRENT_PLAYER 113
#define ERR_NET_PLAYER_NOT_ACTIVE 114
#define ERR_NET_PLAYER_KICKED 117
#define ERR_NET_INVALID_PLAYER_COUNT 118
#define ERR_NET_TOO_MANY_MANUAL_BLINDS 119
#define ERR_NET_INVALID_AVATAR_FILE 120
#define ERR_NET_AVATAR_TOO_LARGE 121
#define ERR_NET_BUF_INVALID_SIZE 122
#define ERR_NET_INVALID_REQUEST_ID 123
#define ERR_NET_WRONG_AVATAR_SIZE 124
#define ERR_NET_START_TIMEOUT 125
#define ERR_NET_SERVER_MAINTENANCE 102
#define ERR_NET_SERVER_FULL 103
#define ERR_NET_INVALID_PASSWORD 104
#define ERR_NET_INVALID_PASSWORD_STR 105
#define ERR_NET_PLAYER_NAME_IN_USE 106
#define ERR_NET_INVALID_PLAYER_NAME 107
#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_IRC_INTERNAL 151
#define ERR_IRC_CONNECT_FAILED 152