summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-05-14 03:51:45 +0300
committerAndrei Karas <akaras@inbox.ru>2019-05-14 03:51:45 +0300
commitbb5f144ce9e58def9706e4fa15e5d2d676566c8b (patch)
tree11fd441a884e8fb27332f0bd89860d28861ed069
parentce2ebe2ea9d3a95368fd194018ad3524dab19411 (diff)
downloadmanaplus-bb5f144ce9e58def9706e4fa15e5d2d676566c8b.tar.gz
manaplus-bb5f144ce9e58def9706e4fa15e5d2d676566c8b.tar.bz2
manaplus-bb5f144ce9e58def9706e4fa15e5d2d676566c8b.tar.xz
manaplus-bb5f144ce9e58def9706e4fa15e5d2d676566c8b.zip
Add packet SMSG_MAP_LOAD_CONFIRM 0x0b1b
-rw-r--r--src/net/eathena/gamerecv.cpp5
-rw-r--r--src/net/eathena/gamerecv.h1
-rw-r--r--src/net/eathena/packetsin.inc18
3 files changed, 24 insertions, 0 deletions
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);