summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-04-08 21:25:23 +0300
committerAndrei Karas <akaras@inbox.ru>2019-04-08 21:25:23 +0300
commitb874b5400e9f0306dba09c6b44e295e306bcb823 (patch)
tree1870ae95a70bd2bba29a25ffd2c745fcf7263f77 /src/net
parent28fa4b87f677d518ac83f105a44da839d6b63bfa (diff)
downloadplus-b874b5400e9f0306dba09c6b44e295e306bcb823.tar.gz
plus-b874b5400e9f0306dba09c6b44e295e306bcb823.tar.bz2
plus-b874b5400e9f0306dba09c6b44e295e306bcb823.tar.xz
plus-b874b5400e9f0306dba09c6b44e295e306bcb823.zip
Add packet SMSG_MAP_PING2 0x0b1d
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/gamerecv.cpp6
-rw-r--r--src/net/eathena/gamerecv.h1
-rw-r--r--src/net/eathena/packetsin.inc18
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);