summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-08-06 08:24:21 +0300
committerAndrei Karas <akaras@inbox.ru>2018-08-22 06:33:28 +0300
commit4ad2108e53c32c767afe9c25ae47fb1584bc3822 (patch)
tree8572ced9d0c7bea5c4595f5a33efdcd568312450 /src
parente73bc865155c275994d24a87e54b7e5ae327493d (diff)
downloadhercules-4ad2108e53c32c767afe9c25ae47fb1584bc3822.tar.gz
hercules-4ad2108e53c32c767afe9c25ae47fb1584bc3822.tar.bz2
hercules-4ad2108e53c32c767afe9c25ae47fb1584bc3822.tar.xz
hercules-4ad2108e53c32c767afe9c25ae47fb1584bc3822.zip
Fix some packets sizes.
Was used wrong size from known two sizes.
Diffstat (limited to 'src')
-rw-r--r--src/map/packets.h20
1 files changed, 2 insertions, 18 deletions
diff --git a/src/map/packets.h b/src/map/packets.h
index 94da86b9e..1d1046e8a 100644
--- a/src/map/packets.h
+++ b/src/map/packets.h
@@ -1759,7 +1759,7 @@ packet(0x96e,-1,clif->ackmergeitems);
#if PACKETVER >= 20100413
//packet(0x081A,10);
packet(0x0820,11);
- //packet(0x0821,2);
+ packet(0x0821,2);
//packet(0x0822,9);
//packet(0x0823,-1);
#endif
@@ -3994,9 +3994,6 @@ packet(0x96e,-1,clif->ackmergeitems);
packet(0x0af2,40,clif->pDull/*,XXX*/);
packet(0x0af3,-1,clif->pDull/*,XXX*/);
// changed packet sizes
-#ifndef PACKETVER_RE
- packet(0x0821,102,clif->pDull/*,XXX*/); // AC_OTP_USER
-#endif
#endif
#ifdef PACKETVER_ZERO
@@ -4011,11 +4008,6 @@ packet(0x96e,-1,clif->ackmergeitems);
#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
@@ -4091,14 +4083,6 @@ packet(0x96e,-1,clif->ackmergeitems);
#endif
#endif // PACKETVER_ZERO
-#ifdef PACKETVER_RE
-// 2018-04-04cRagexeRE
-#if PACKETVER >= 20180404
-// changed packet sizes
- packet(0x0821,102,clif->pDull/*,XXX*/); // AC_OTP_USER
-#endif
-#endif
-
#ifndef PACKETVER_ZERO
// 2018-04-18aRagexe, 2018-04-18bRagexeRE
#if PACKETVER >= 20180418
@@ -4138,7 +4122,7 @@ packet(0x96e,-1,clif->ackmergeitems);
// 2018-06-05bRagexe, 2018-06-05bRagexeRE, 2018-06-05bRagexe_zero
#if PACKETVER >= 20180605
// new packets
- packet(0x0afd,155);
+ packet(0x0afd,-1);
packet(0x0afe,-1,clif->pDull/*,XXX*/);
packet(0x0aff,-1,clif->pDull/*,XXX*/);
// changed packet sizes