diff options
author | Stefan Beller <stefanbeller@googlemail.com> | 2011-08-06 03:24:45 +0200 |
---|---|---|
committer | Stefan Beller <stefanbeller@googlemail.com> | 2011-08-10 21:37:24 +0200 |
commit | 0820d6632b0ce5887c49d16929ac7903aa185fe4 (patch) | |
tree | 9e1d0b608b115371b6911a1a5b239a61c1ef7f50 /src/common | |
parent | e10c05a77923093aa2be00b9ca6e5976ca9951e6 (diff) | |
download | manaserv-0820d6632b0ce5887c49d16929ac7903aa185fe4.tar.gz manaserv-0820d6632b0ce5887c49d16929ac7903aa185fe4.tar.bz2 manaserv-0820d6632b0ce5887c49d16929ac7903aa185fe4.tar.xz manaserv-0820d6632b0ce5887c49d16929ac7903aa185fe4.zip |
login with random hash
The account server sends out a random number, which is
additionally used for hashing the password.
Reviewed by Bertram
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/manaserv_protocol.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/manaserv_protocol.h b/src/common/manaserv_protocol.h index df7efd18..dc7e47b4 100644 --- a/src/common/manaserv_protocol.h +++ b/src/common/manaserv_protocol.h @@ -57,6 +57,8 @@ enum { APMSG_LOGIN_RESPONSE = 0x0012, // B error, S updatehost, S Client data URL, B Character slots PAMSG_LOGOUT = 0x0013, // - APMSG_LOGOUT_RESPONSE = 0x0014, // B error + PAMSG_LOGIN_RNDTRGR = 0x0015, // S username + APMSG_LOGIN_RNDTRGR_RESPONSE = 0x0016, // S random seed PAMSG_CHAR_CREATE = 0x0020, // S name, B hair style, B hair color, B gender, B slot, {W stats}* APMSG_CHAR_CREATE_RESPONSE = 0x0021, // B error PAMSG_CHAR_DELETE = 0x0022, // B slot |