summaryrefslogtreecommitdiff
path: root/src/char/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/char/init.c')
-rw-r--r--src/char/init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/char/init.c b/src/char/init.c
index 262a463..6c8e34d 100644
--- a/src/char/init.c
+++ b/src/char/init.c
@@ -60,6 +60,9 @@ HPExport void plugin_init (void)
loginif = GET_SYMBOL("loginif");
mapif = GET_SYMBOL("mapif");
+ addPacket(0x0061, 50, echar_parse_change_paassword, hpParse_Char);
+ addPacket(0x5001, 7, echar_parse_login_password_change_ack, hpParse_FromLogin);
+
addHookPre("chr->parse_char_login_map_server", echar_parse_char_login_map_server);
addHookPre("chr->parse_char_create_new_char", echar_parse_char_create_new_char);
//addHookPre("chr->parse_char_ping", echar_parse_char_ping);