From 6f0b72f56d6ca3078e2a61b07046d797bb64a755 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 6 Dec 2018 01:12:38 +0300 Subject: Register all evol server to client packets in hercules. Also change hercules packets limit to allow all custom packets. --- src/elogin/init.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/elogin/init.c') diff --git a/src/elogin/init.c b/src/elogin/init.c index c3d3fb7..5f17a46 100644 --- a/src/elogin/init.c +++ b/src/elogin/init.c @@ -10,6 +10,7 @@ #include "common/HPMi.h" #include "common/memmgr.h" #include "common/mmo.h" +#include "common/packets.h" #include "common/socket.h" #include "common/strlib.h" #include "common/timer.h" @@ -47,6 +48,8 @@ HPExport void plugin_init (void) addPacket(0x027c, 91, elogin_parse_client_login2, hpParse_Login); addPacket(0x5000, 54, elogin_parse_change_paassword, hpParse_FromChar); addPacket(0x5003, 4, elogin_parse_serverexit, hpParse_FromChar); + packets->addLen(0x7531, -1); + packets->addLen(0x63, -1); addHookPre(login, client_login, elogin_client_login_pre); addHookPre(login, check_password, elogin_check_password_pre); -- cgit v1.2.3-70-g09d2