summaryrefslogtreecommitdiff
path: root/src/net/eathena/packetsout.inc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-19 17:53:18 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-19 17:53:18 +0300
commitd83619031b9e2cf4588de4cdf9969cd069158fc6 (patch)
treed21602e77e373d8ce885626e559d2012fe83186a /src/net/eathena/packetsout.inc
parent2a6e9be672bca68c43b6ca030a14000d9d5d3e13 (diff)
downloadmanaverse-d83619031b9e2cf4588de4cdf9969cd069158fc6.tar.gz
manaverse-d83619031b9e2cf4588de4cdf9969cd069158fc6.tar.bz2
manaverse-d83619031b9e2cf4588de4cdf9969cd069158fc6.tar.xz
manaverse-d83619031b9e2cf4588de4cdf9969cd069158fc6.zip
Add missing login server packets and add comments to some packets.
Diffstat (limited to 'src/net/eathena/packetsout.inc')
-rw-r--r--src/net/eathena/packetsout.inc15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/net/eathena/packetsout.inc b/src/net/eathena/packetsout.inc
index c72e14499..706d2633b 100644
--- a/src/net/eathena/packetsout.inc
+++ b/src/net/eathena/packetsout.inc
@@ -23,8 +23,15 @@
// 0
packet(CMSG_SERVER_VERSION_REQUEST, 0x7530, 0, nullptr);
-packet(CMSG_LOGIN_REGISTER, 0x0064, 0, nullptr);
-packet(CMSG_LOGIN_REGISTER2, 0x027c, 0, nullptr);
+packet(CMSG_LOGIN_REGISTER, 0x0064, 0, lclif->p->parse_CA_LOGIN);
+packet(CMSG_LOGIN_REGISTER2, 0x01dd, 0, lclif->p->parse_CA_LOGIN2);
+packet(CMSG_LOGIN_REGISTER3, 0x01fa, 0, lclif->p->parse_CA_LOGIN3);
+packet(CMSG_LOGIN_REGISTER4, 0x027c, 0, lclif->p->parse_CA_LOGIN4);
+packet(CMSG_LOGIN_REGISTER_PCBANG, 0x0277, 0, lclif->p->parse_CA_LOGIN_PCBANG);
+packet(CMSG_LOGIN_REGISTER_HAN, 0x02b0, 0, lclif->p->parse_CA_LOGIN_HAN);
+packet(CMSG_LOGIN_REGISTER_SSO, 0x0825, -1, lclif->p->parse_CA_SSO_LOGIN_REQ);
+packet(CMSG_LOGIN_REGISTER_KEY, 0x01db, 0, lclif->p->parse_CA_REQ_HASH);
+
packet(CMSG_NAME_REQUEST, 0x0094, 6, clif->pGetCharNameRequest);
packet(CMSG_CHAR_PASSWORD_CHANGE, 0x0061, 0, nullptr);
@@ -39,7 +46,9 @@ packet(CMSG_CHAR_CHANGE_SLOT, 0x08d4, 0, nullptr);
packet(CMSG_MAP_SERVER_CONNECT, 0x089c, 19, clif->pWantToConnection);
packet(CMSG_MAP_PING, 0x007e, 6, clif->pTickSend);
-packet(CMSG_LOGIN_PING, 0x0200, 0, nullptr);
+packet(CMSG_LOGIN_PING, 0x0200, 0, lclif->p->parse_CA_CONNECT_INFO_CHANGED);
+packet(CMSG_LOGIN_HASH_CHECK, 0x0204, 0, lclif->p->parse_CA_EXE_HASHCHECK);
+
packet(CMSG_CHAR_PING, 0x0187, 0, nullptr);
packet(CMSG_MAP_LOADED, 0x007d, 2, clif->pLoadEndAck);
packet(CMSG_CLIENT_QUIT, 0x018A, 4, clif->pQuitGame);