summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena')
-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);