From bb5f144ce9e58def9706e4fa15e5d2d676566c8b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 14 May 2019 03:51:45 +0300 Subject: Add packet SMSG_MAP_LOAD_CONFIRM 0x0b1b --- src/net/eathena/gamerecv.cpp | 5 +++++ src/net/eathena/gamerecv.h | 1 + src/net/eathena/packetsin.inc | 18 ++++++++++++++++++ 3 files changed, 24 insertions(+) (limited to 'src/net') diff --git a/src/net/eathena/gamerecv.cpp b/src/net/eathena/gamerecv.cpp index c06e51569..a27703235 100644 --- a/src/net/eathena/gamerecv.cpp +++ b/src/net/eathena/gamerecv.cpp @@ -90,4 +90,9 @@ void GameRecv::processPing2(Net::MessageIn &msg A_UNUSED) // do nothing } +void GameRecv::processLoadConfirm(Net::MessageIn &msg A_UNUSED) +{ + UNIMPLEMENTEDPACKET; +} + } // namespace EAthena diff --git a/src/net/eathena/gamerecv.h b/src/net/eathena/gamerecv.h index 9df03e040..d4c000d44 100644 --- a/src/net/eathena/gamerecv.h +++ b/src/net/eathena/gamerecv.h @@ -37,6 +37,7 @@ namespace EAthena void processServerTick(Net::MessageIn &msg); void processMapAuthRefuse(Net::MessageIn &msg); void processPing2(Net::MessageIn &msg); + void processLoadConfirm(Net::MessageIn &msg); } // namespace GameRecv } // namespace EAthena diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc index d8ca8a620..b3e442f9f 100644 --- a/src/net/eathena/packetsin.inc +++ b/src/net/eathena/packetsin.inc @@ -1653,6 +1653,24 @@ if (packetVersionRe >= 20190220) packet(SMSG_MAP_PING2, 0x0b1d, 2, &GameRecv::processPing2, 20190220); } +// 20190320 re +if (packetVersionRe >= 20190320) +{ + packet(SMSG_MAP_LOAD_CONFIRM, 0x0b1b, 2, &GameRecv::processLoadConfirm, 20190320); +} + +// 20190403 main +if (packetVersionMain >= 20190403) +{ + packet(SMSG_MAP_LOAD_CONFIRM, 0x0b1b, 2, &GameRecv::processLoadConfirm, 20190403); +} + +// 20190410 zero +if (packetVersionZero >= 20190410) +{ + packet(SMSG_MAP_LOAD_CONFIRM, 0x0b1b, 2, &GameRecv::processLoadConfirm, 20190410); +} + // 0 // evol always packets packet(SMSG_SERVER_VERSION_RESPONSE, 0x7531, -1, &LoginRecv::processServerVersion, 0); -- cgit v1.2.3-70-g09d2