diff options
-rw-r--r-- | src/net/eathena/gamerecv.cpp | 6 | ||||
-rw-r--r-- | src/net/eathena/gamerecv.h | 1 | ||||
-rw-r--r-- | src/net/eathena/packetsin.inc | 18 |
3 files changed, 25 insertions, 0 deletions
diff --git a/src/net/eathena/gamerecv.cpp b/src/net/eathena/gamerecv.cpp index a0e449621..c06e51569 100644 --- a/src/net/eathena/gamerecv.cpp +++ b/src/net/eathena/gamerecv.cpp @@ -84,4 +84,10 @@ void GameRecv::processMapAuthRefuse(Net::MessageIn &msg) UNIMPLEMENTEDPACKET; msg.readUInt8("error"); } + +void GameRecv::processPing2(Net::MessageIn &msg A_UNUSED) +{ + // do nothing +} + } // namespace EAthena diff --git a/src/net/eathena/gamerecv.h b/src/net/eathena/gamerecv.h index 8b83d4d36..9df03e040 100644 --- a/src/net/eathena/gamerecv.h +++ b/src/net/eathena/gamerecv.h @@ -36,6 +36,7 @@ namespace EAthena void processMapLogin(Net::MessageIn &msg); void processServerTick(Net::MessageIn &msg); void processMapAuthRefuse(Net::MessageIn &msg); + void processPing2(Net::MessageIn &msg); } // namespace GameRecv } // namespace EAthena diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc index b455bd9be..bf4236b97 100644 --- a/src/net/eathena/packetsin.inc +++ b/src/net/eathena/packetsin.inc @@ -1599,6 +1599,24 @@ if (packetVersionRe >= 20190130) packet(SMSG_SKILL_CASTING, 0x0b1a, 29, &BeingRecv::processSkillCasting3, 20190130); } +// 20190227 main +if (packetVersionMain >= 20190227) +{ + packet(SMSG_MAP_PING2, 0x0b1d, 2, &GameRecv::processPing2, 20190227); +} + +// 20190220 re +if (packetVersionRe >= 20190220) +{ + packet(SMSG_MAP_PING2, 0x0b1d, 2, &GameRecv::processPing2, 20190220); +} + +// 20190220 zero +if (packetVersionRe >= 20190220) +{ + packet(SMSG_MAP_PING2, 0x0b1d, 2, &GameRecv::processPing2, 20190220); +} + // 0 // evol always packets packet(SMSG_SERVER_VERSION_RESPONSE, 0x7531, -1, &LoginRecv::processServerVersion, 0); |