summaryrefslogtreecommitdiff
path: root/src/map/packets.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-03-11 15:27:30 +0100
committerGitHub <noreply@github.com>2018-03-11 15:27:30 +0100
commitc46b6d59644675c7c037238afb609f42230a9977 (patch)
tree85c44038733db83d243794b7cad34d1bdc98dcf1 /src/map/packets.h
parentfd137c535f646f066520868ae65543989d590d51 (diff)
parent4f9223991eb2029c1069d57eab219c303db42217 (diff)
downloadhercules-c46b6d59644675c7c037238afb609f42230a9977.tar.gz
hercules-c46b6d59644675c7c037238afb609f42230a9977.tar.bz2
hercules-c46b6d59644675c7c037238afb609f42230a9977.tar.xz
hercules-c46b6d59644675c7c037238afb609f42230a9977.zip
Merge pull request #1983 from 4144/updatepackets
Update packets and keys for clients up to 20180221.
Diffstat (limited to 'src/map/packets.h')
-rw-r--r--src/map/packets.h23
1 files changed, 22 insertions, 1 deletions
diff --git a/src/map/packets.h b/src/map/packets.h
index 4c41a7e8f..462efd31b 100644
--- a/src/map/packets.h
+++ b/src/map/packets.h
@@ -3995,11 +3995,15 @@ packet(0x96e,-1,clif->ackmergeitems);
packet(0x0af3,-1,clif->pDull/*,XXX*/);
packet(0x0af4,11,clif->pDull/*,XXX*/);
// changed packet sizes
- packet(0x0821,102); // AC_OTP_USER
packet(0x0ae6,10,clif->pDull/*,XXX*/);
#endif
#endif // PACKETVER_ZERO
+#if PACKETVER >= 20180131
+// changed packet sizes
+ packet(0x0821,102); // AC_OTP_USER
+#endif
+
#ifdef PACKETVER_ZERO
// 2018-02-07bRagexe_zero
#if PACKETVER >= 20180207
@@ -4022,5 +4026,22 @@ packet(0x96e,-1,clif->ackmergeitems);
#endif
#endif // PACKETVER_ZERO
+#ifdef PACKETVER_RE
+// 2018-02-21aRagexeRE
+#if PACKETVER >= 20180221
+// new packets
+// changed packet sizes
+ packet(0x0206,35); // ZC_FRIENDS_STATE
+#endif
+#endif // PACKETVER_RE
+
+#ifndef PACKETVER_ZERO
+// 2018-03-07bRagexe
+#if PACKETVER >= 20180307
+// new packets
+// changed packet sizes
+ packet(0x0206,35); // ZC_FRIENDS_STATE
+#endif
+#endif // PACKETVER_ZERO
#endif /* MAP_PACKETS_H */