summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorhemagx <hemagx2@gmail.com>2016-03-28 21:54:46 +0200
committerHaru <haru@dotalux.com>2016-04-16 07:38:31 +0200
commitd60ef91d8355f117c1ad5209b3f43647b9656892 (patch)
tree6cd5c3de31116b04a9b57ef0ad1edc1947c4c410 /tools
parent9defceef6a3371d09b580ac8f2cffd0476033ea6 (diff)
downloadhercules-d60ef91d8355f117c1ad5209b3f43647b9656892.tar.gz
hercules-d60ef91d8355f117c1ad5209b3f43647b9656892.tar.bz2
hercules-d60ef91d8355f117c1ad5209b3f43647b9656892.tar.xz
hercules-d60ef91d8355f117c1ad5209b3f43647b9656892.zip
Rewrite client interface for login server (part 3)
Rewritten login clif parser, using a packet db Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/HPMHookGen/HPMHookGen.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/HPMHookGen/HPMHookGen.pl b/tools/HPMHookGen/HPMHookGen.pl
index 9b6fcdf8b..74cc0f863 100755
--- a/tools/HPMHookGen/HPMHookGen.pl
+++ b/tools/HPMHookGen/HPMHookGen.pl
@@ -237,6 +237,8 @@ sub parse($$) {
$rtinit = ' = HCS_STATUS_FAIL';
} elsif ($x =~ /^enum\s+bg_queue_types$/) { # Known enum bg_queue_types
$rtinit = ' = BGQT_INVALID';
+ } elsif ($x =~ /^enum\s+parsefunc_rcode$/) { # Known enum parsefunc_rcode
+ $rtinit = ' = PACKET_UNKNOWN';
} elsif ($x =~ /^(?:enum\s+)?DBOptions$/) { # Known enum DBOptions
$rtinit = ' = DB_OPT_BASE';
} elsif ($x eq 'DBComparator' or $x eq 'DBHasher' or $x eq 'DBReleaser') { # DB function pointers