diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2006-01-04 21:06:07 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2006-01-04 21:06:07 +0000 |
commit | 0417f123f1975202900ed0b3ec1bb8362f9f1567 (patch) | |
tree | 5d51c3478b0921184a950ae5847627b3f96b05ab /src/defines.h | |
parent | 65c5f32f9622583bd158d3baa52056cb3b7be4f6 (diff) | |
download | manaserv-0417f123f1975202900ed0b3ec1bb8362f9f1567.tar.gz manaserv-0417f123f1975202900ed0b3ec1bb8362f9f1567.tar.bz2 manaserv-0417f123f1975202900ed0b3ec1bb8362f9f1567.tar.xz manaserv-0417f123f1975202900ed0b3ec1bb8362f9f1567.zip |
Implemented server response handling to the test client. Fixed a bug that made the Email change not possible. Changed some protocol value to have a litte neater client code. Added FreeBSD fix idea from icy to server code.
Diffstat (limited to 'src/defines.h')
-rw-r--r-- | src/defines.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/defines.h b/src/defines.h index a997ace9..43841ffe 100644 --- a/src/defines.h +++ b/src/defines.h @@ -98,11 +98,9 @@ enum { SMSG_UNREGISTER_RESPONSE = 0x0004, CMSG_LOGIN = 0x0010, CMSG_ENCRYPTED_LOGIN = 0x0011, - SMSG_LOGIN_ERROR = 0x0012, - SMSG_LOGIN_CONFIRM = 0x0013, - CMSG_LOGOUT = 0x0014, - SMSG_LOGOUT_ERROR = 0x0015, - SMSG_LOGOUT_CONFIRM = 0x0016, + SMSG_LOGIN_RESPONSE = 0x0012, + CMSG_LOGOUT = 0x0013, + SMSG_LOGOUT_RESPONSE = 0x0014, CMSG_CHAR_CREATE = 0x0020, SMSG_CHAR_CREATE_RESPONSE = 0x0021, CMSG_CHAR_DELETE = 0x0022, @@ -178,8 +176,7 @@ enum { // Logout return values enum { LOGOUT_OK = 0, - LOGOUT_UNSUCCESSFULL, - LOGOUT_UNKNOWN + LOGOUT_UNSUCCESSFULL }; // Account register return values @@ -206,6 +203,7 @@ enum { CREATE_INVALID_NAME, CREATE_INVALID_HAIR, CREATE_INVALID_SEX, + CREATE_INVALID_RAW_STATS, CREATE_EXISTS_NAME, CREATE_TOO_MUCH_CHARACTERS, CREATE_NOLOGIN |