summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-17 23:48:07 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-17 23:48:07 +0300
commit0553dd864952dbe373427f54695b4369f734f8df (patch)
tree91f580ed2d2a850dfa4905afcc90459b9ea8ba22
parent505329e744efad304fe2f5ec0ed395187c9ceef1 (diff)
downloadmanaverse-0553dd864952dbe373427f54695b4369f734f8df.tar.gz
manaverse-0553dd864952dbe373427f54695b4369f734f8df.tar.bz2
manaverse-0553dd864952dbe373427f54695b4369f734f8df.tar.xz
manaverse-0553dd864952dbe373427f54695b4369f734f8df.zip
Change non shuffle packets for 2016 packet versions.
-rw-r--r--src/net/eathena/gamerecv.cpp2
-rw-r--r--src/net/eathena/packetsin.inc6
2 files changed, 7 insertions, 1 deletions
diff --git a/src/net/eathena/gamerecv.cpp b/src/net/eathena/gamerecv.cpp
index 33d740c82..865ed5820 100644
--- a/src/net/eathena/gamerecv.cpp
+++ b/src/net/eathena/gamerecv.cpp
@@ -57,7 +57,7 @@ void GameRecv::processMapLogin(Net::MessageIn &msg)
x, y, direction);
if (msg.getVersion() >= 20080102)
msg.readInt16("font");
- if (msg.getVersion() >= 20141022)
+ if (msg.getVersion() >= 20141022 && msg.getVersion() < 20160330)
msg.readUInt8("sex");
mLastHost &= 0xffffff;
diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc
index bc0bcf9a6..5259b0e7a 100644
--- a/src/net/eathena/packetsin.inc
+++ b/src/net/eathena/packetsin.inc
@@ -881,6 +881,12 @@ if (packetVersion >= 20150805)
packet(SMSG_SELECT_CART, 0x097f, -1, &InventoryRecv::processSelectCart, 20150805);
}
+// 20160330
+if (packetVersion >= 20160330)
+{
+ packet(SMSG_MAP_LOGIN_SUCCESS, 0x02eb, 13, &GameRecv::processMapLogin, 20080102);
+}
+
// 0
// evol always packets
packet(SMSG_SERVER_VERSION_RESPONSE, 0x7531, -1, &LoginRecv::processServerVersion, 0);