From 733a2935c4b057eb1c9124726306c07751be1212 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 26 Apr 2019 19:41:46 +0300 Subject: In char server register packet 0x970 with changed size Packet not hooked directly, but code wait packet with non standard size. --- src/echar/init.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/echar/init.c b/src/echar/init.c index 5d55735..d42542c 100644 --- a/src/echar/init.c +++ b/src/echar/init.c @@ -56,6 +56,7 @@ HPExport void plugin_init (void) addPacket(0x5002, 4, echar_parse_map_serverexit, hpParse_FromMap); packets->addLen(0xb17 + evolPacketOffset, 19); + packets->addLen(0x970, 36); addHookPre(chr, parse_char_create_new_char, echar_parse_char_create_new_char); addHookPre(chr, creation_failed, echar_creation_failed); -- cgit v1.2.3-70-g09d2