diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-04-26 19:41:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-04-26 19:41:46 +0300 |
commit | 733a2935c4b057eb1c9124726306c07751be1212 (patch) | |
tree | d42a93b598dbd300ef015f97c6239e23fa7151e1 /src | |
parent | c4c178cc653c97338c2d4ba890713c728722bc01 (diff) | |
download | evol-hercules-s20190513.tar.gz evol-hercules-s20190513.tar.bz2 evol-hercules-s20190513.tar.xz evol-hercules-s20190513.zip |
In char server register packet 0x970 with changed sizes20190513
Packet not hooked directly, but code wait packet with non standard size.
Diffstat (limited to 'src')
-rw-r--r-- | src/echar/init.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |