diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-10 01:03:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-10 01:03:32 +0300 |
commit | cb10231838c918dbf380899a947599331818a4bc (patch) | |
tree | 7f92446dd65643a81d7ddf0419ff1c4c60be73be /src/echar/init.c | |
parent | 725fb53014ab7d48d43d69f0c1ca21354ef8619c (diff) | |
download | evol-hercules-cb10231838c918dbf380899a947599331818a4bc.tar.gz evol-hercules-cb10231838c918dbf380899a947599331818a4bc.tar.bz2 evol-hercules-cb10231838c918dbf380899a947599331818a4bc.tar.xz evol-hercules-cb10231838c918dbf380899a947599331818a4bc.zip |
Add gm command for send restart events to all servers.
For now it support only one char and one map server.
For support this actions need use hercules wrapper.
Diffstat (limited to 'src/echar/init.c')
-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 e876065..c8b7e0b 100644 --- a/src/echar/init.c +++ b/src/echar/init.c @@ -51,6 +51,7 @@ HPExport void plugin_init (void) { addPacket(0x0061, 50, echar_parse_change_paassword, hpParse_Char); addPacket(0x5001, 7, echar_parse_login_password_change_ack, hpParse_FromLogin); + addPacket(0x5002, 4, echar_parse_map_serverexit, hpParse_FromMap); addHookPre(chr, parse_char_create_new_char, echar_parse_char_create_new_char); addHookPre(chr, creation_failed, echar_creation_failed); |