summaryrefslogtreecommitdiff
path: root/src/map/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-20 15:36:45 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-20 15:43:11 +0300
commit60097ba0d9a71ab575c89a3d0162bb4df1cdc0ff (patch)
tree5efde0a4146398172ec80273db1f3eba8a8d8e6e /src/map/init.c
parentc90ec19afcfc826a077ed300fc2a9f8347d9b1e6 (diff)
downloadevol-hercules-60097ba0d9a71ab575c89a3d0162bb4df1cdc0ff.tar.gz
evol-hercules-60097ba0d9a71ab575c89a3d0162bb4df1cdc0ff.tar.bz2
evol-hercules-60097ba0d9a71ab575c89a3d0162bb4df1cdc0ff.tar.xz
evol-hercules-60097ba0d9a71ab575c89a3d0162bb4df1cdc0ff.zip
Add support for online list packets.
Diffstat (limited to 'src/map/init.c')
-rw-r--r--src/map/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/init.c b/src/map/init.c
index e5dff10..78bd14d 100644
--- a/src/map/init.c
+++ b/src/map/init.c
@@ -110,6 +110,8 @@ HPExport void plugin_init (void)
addPacket(0xb0c, -1, map_parse_pet_say, hpClif_Parse);
addPacket(0xb0d, 3, map_parse_pet_emote, hpClif_Parse);
addPacket(0xb0e, 4, map_parse_set_status, hpClif_Parse);
+ addPacket(0xb0f, 2, map_parse_get_online_list, hpClif_Parse);
+
addHookPre("pc->readparam", epc_readparam_pre);
addHookPre("pc->setregistry", epc_setregistry);
addHookPre("pc->equipitem_pos", epc_equipitem_pos);