summaryrefslogtreecommitdiff
path: root/src/net/manaserv/manaserv_protocol.h
diff options
context:
space:
mode:
authorStefan Beller <stefanbeller@googlemail.com>2011-08-06 03:25:31 +0200
committerStefan Beller <stefanbeller@googlemail.com>2011-08-10 21:32:50 +0200
commit5c5e17c0b200004c6d18a51e2c02fd21d710f04f (patch)
tree677f019f2d7c84abb51007e8860b8ee95d0b6913 /src/net/manaserv/manaserv_protocol.h
parent7342860e6c7b8d817410d886c7b89ff36e5c26f7 (diff)
downloadmana-client-5c5e17c0b200004c6d18a51e2c02fd21d710f04f.tar.gz
mana-client-5c5e17c0b200004c6d18a51e2c02fd21d710f04f.tar.bz2
mana-client-5c5e17c0b200004c6d18a51e2c02fd21d710f04f.tar.xz
mana-client-5c5e17c0b200004c6d18a51e2c02fd21d710f04f.zip
Client logs in with salted password now.
The password is salted by a random number sent by server. Reviewed by Bertram.
Diffstat (limited to 'src/net/manaserv/manaserv_protocol.h')
-rw-r--r--src/net/manaserv/manaserv_protocol.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/manaserv/manaserv_protocol.h b/src/net/manaserv/manaserv_protocol.h
index 66da57df..27d7c7b8 100644
--- a/src/net/manaserv/manaserv_protocol.h
+++ b/src/net/manaserv/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