summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-08-07 15:45:54 +0200
committerHaru <haru@dotalux.com>2015-08-13 17:16:26 +0200
commitf638141b258f879fd25a08fc85998adc25991b42 (patch)
treeeb92dffddfa5911ba5af896fe4ce064ed10550da
parentcfdd748c30319e696fca98e9a6f51a37c513a3be (diff)
downloadhercules-f638141b258f879fd25a08fc85998adc25991b42.tar.gz
hercules-f638141b258f879fd25a08fc85998adc25991b42.tar.bz2
hercules-f638141b258f879fd25a08fc85998adc25991b42.tar.xz
hercules-f638141b258f879fd25a08fc85998adc25991b42.zip
HPM Hooks Update
Signed-off-by: Haru <haru@dotalux.com>
-rw-r--r--src/common/HPMDataCheck.h7
-rw-r--r--src/common/HPMSymbols.inc.h222
-rw-r--r--src/plugins/HPMHooking/HPMHooking_char.GetSymbol.inc38
-rw-r--r--src/plugins/HPMHooking/HPMHooking_login.GetSymbol.inc22
-rw-r--r--src/plugins/HPMHooking/HPMHooking_map.GetSymbol.inc61
5 files changed, 229 insertions, 121 deletions
diff --git a/src/common/HPMDataCheck.h b/src/common/HPMDataCheck.h
index f7b1fcb98..70382354d 100644
--- a/src/common/HPMDataCheck.h
+++ b/src/common/HPMDataCheck.h
@@ -6,6 +6,13 @@
#ifndef HPM_DATA_CHECK_H
#define HPM_DATA_CHECK_H
+#if !defined(HERCULES_CORE) && !defined(HPMHOOKGEN)
+HPExport const char *HPM_shared_symbols(int server_type)
+{
+#include "common/HPMSymbols.inc.h"
+ return NULL;
+}
+#endif // ! HERCULES_CORE && ! HPMHOOKGEN
HPExport const struct s_HPMDataCheck HPMDataCheck[] = {
#ifdef CHAR_CHAR_H
diff --git a/src/common/HPMSymbols.inc.h b/src/common/HPMSymbols.inc.h
new file mode 100644
index 000000000..28bb7c59e
--- /dev/null
+++ b/src/common/HPMSymbols.inc.h
@@ -0,0 +1,222 @@
+// Copyright (c) Hercules Dev Team, licensed under GNU GPL.
+// See the LICENSE file
+//
+// NOTE: This file was auto-generated and should never be manually edited,
+// as it will get overwritten.
+
+#ifdef COMMON_UTILS_H /* HCache */
+if ((server_type&(SERVER_TYPE_ALL)) && !HPM_SYMBOL("HCache", HCache)) return "HCache";
+#endif // COMMON_UTILS_H
+#ifdef MAP_ATCOMMAND_H /* atcommand */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("atcommand", atcommand)) return "atcommand";
+#endif // MAP_ATCOMMAND_H
+#ifdef MAP_BATTLE_H /* battle */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("battle", battle)) return "battle";
+#endif // MAP_BATTLE_H
+#ifdef MAP_BATTLEGROUND_H /* bg */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("battlegrounds", bg)) return "battlegrounds";
+#endif // MAP_BATTLEGROUND_H
+#ifdef MAP_BUYINGSTORE_H /* buyingstore */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("buyingstore", buyingstore)) return "buyingstore";
+#endif // MAP_BUYINGSTORE_H
+#ifdef MAP_CHANNEL_H /* channel */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("channel", channel)) return "channel";
+#endif // MAP_CHANNEL_H
+#ifdef CHAR_CHAR_H /* chr */
+if ((server_type&(SERVER_TYPE_CHAR)) && !HPM_SYMBOL("chr", chr)) return "chr";
+#endif // CHAR_CHAR_H
+#ifdef MAP_CHAT_H /* chat */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("chat", chat)) return "chat";
+#endif // MAP_CHAT_H
+#ifdef MAP_CHRIF_H /* chrif */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("chrif", chrif)) return "chrif";
+#endif // MAP_CHRIF_H
+#ifdef MAP_CLIF_H /* clif */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("clif", clif)) return "clif";
+#endif // MAP_CLIF_H
+#ifdef COMMON_CORE_H /* cmdline */
+if ((server_type&(SERVER_TYPE_ALL)) && !HPM_SYMBOL("cmdline", cmdline)) return "cmdline";
+#endif // COMMON_CORE_H
+#ifdef COMMON_CONSOLE_H /* console */
+if ((server_type&(SERVER_TYPE_ALL)) && !HPM_SYMBOL("console", console)) return "console";
+#endif // COMMON_CONSOLE_H
+#ifdef COMMON_DB_H /* DB */
+if ((server_type&(SERVER_TYPE_ALL)) && !HPM_SYMBOL("DB", DB)) return "DB";
+#endif // COMMON_DB_H
+#ifdef MAP_DUEL_H /* duel */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("duel", duel)) return "duel";
+#endif // MAP_DUEL_H
+#ifdef MAP_ELEMENTAL_H /* elemental */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("elemental", elemental)) return "elemental";
+#endif // MAP_ELEMENTAL_H
+#ifdef CHAR_GEOIP_H /* geoip */
+if ((server_type&(SERVER_TYPE_CHAR)) && !HPM_SYMBOL("geoip", geoip)) return "geoip";
+#endif // CHAR_GEOIP_H
+#ifdef MAP_GUILD_H /* guild */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("guild", guild)) return "guild";
+#endif // MAP_GUILD_H
+#ifdef MAP_STORAGE_H /* gstorage */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("gstorage", gstorage)) return "gstorage";
+#endif // MAP_STORAGE_H
+#ifdef MAP_HOMUNCULUS_H /* homun */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("homun", homun)) return "homun";
+#endif // MAP_HOMUNCULUS_H
+#ifdef MAP_INSTANCE_H /* instance */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("instance", instance)) return "instance";
+#endif // MAP_INSTANCE_H
+#ifdef CHAR_INT_AUCTION_H /* inter_auction */
+if ((server_type&(SERVER_TYPE_CHAR)) && !HPM_SYMBOL("inter_auction", inter_auction)) return "inter_auction";
+#endif // CHAR_INT_AUCTION_H
+#ifdef CHAR_INT_ELEMENTAL_H /* inter_elemental */
+if ((server_type&(SERVER_TYPE_CHAR)) && !HPM_SYMBOL("inter_elemental", inter_elemental)) return "inter_elemental";
+#endif // CHAR_INT_ELEMENTAL_H
+#ifdef CHAR_INT_GUILD_H /* inter_guild */
+if ((server_type&(SERVER_TYPE_CHAR)) && !HPM_SYMBOL("inter_guild", inter_guild)) return "inter_guild";
+#endif // CHAR_INT_GUILD_H
+#ifdef CHAR_INT_HOMUN_H /* inter_homunculus */
+if ((server_type&(SERVER_TYPE_CHAR)) && !HPM_SYMBOL("inter_homunculus", inter_homunculus)) return "inter_homunculus";
+#endif // CHAR_INT_HOMUN_H
+#ifdef CHAR_INTER_H /* inter */
+if ((server_type&(SERVER_TYPE_CHAR)) && !HPM_SYMBOL("inter", inter)) return "inter";
+#endif // CHAR_INTER_H
+#ifdef CHAR_INT_MAIL_H /* inter_mail */
+if ((server_type&(SERVER_TYPE_CHAR)) && !HPM_SYMBOL("inter_mail", inter_mail)) return "inter_mail";
+#endif // CHAR_INT_MAIL_H
+#ifdef CHAR_INT_MERCENARY_H /* inter_mercenary */
+if ((server_type&(SERVER_TYPE_CHAR)) && !HPM_SYMBOL("inter_mercenary", inter_mercenary)) return "inter_mercenary";
+#endif // CHAR_INT_MERCENARY_H
+#ifdef CHAR_INT_PARTY_H /* inter_party */
+if ((server_type&(SERVER_TYPE_CHAR)) && !HPM_SYMBOL("inter_party", inter_party)) return "inter_party";
+#endif // CHAR_INT_PARTY_H
+#ifdef CHAR_INT_PET_H /* inter_pet */
+if ((server_type&(SERVER_TYPE_CHAR)) && !HPM_SYMBOL("inter_pet", inter_pet)) return "inter_pet";
+#endif // CHAR_INT_PET_H
+#ifdef CHAR_INT_QUEST_H /* inter_quest */
+if ((server_type&(SERVER_TYPE_CHAR)) && !HPM_SYMBOL("inter_quest", inter_quest)) return "inter_quest";
+#endif // CHAR_INT_QUEST_H
+#ifdef CHAR_INT_STORAGE_H /* inter_storage */
+if ((server_type&(SERVER_TYPE_CHAR)) && !HPM_SYMBOL("inter_storage", inter_storage)) return "inter_storage";
+#endif // CHAR_INT_STORAGE_H
+#ifdef MAP_INTIF_H /* intif */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("intif", intif)) return "intif";
+#endif // MAP_INTIF_H
+#ifdef MAP_IRC_BOT_H /* ircbot */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("ircbot", ircbot)) return "ircbot";
+#endif // MAP_IRC_BOT_H
+#ifdef MAP_ITEMDB_H /* itemdb */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("itemdb", itemdb)) return "itemdb";
+#endif // MAP_ITEMDB_H
+#ifdef COMMON_CONF_H /* libconfig */
+if ((server_type&(SERVER_TYPE_ALL)) && !HPM_SYMBOL("libconfig", libconfig)) return "libconfig";
+#endif // COMMON_CONF_H
+#ifdef MAP_LOG_H /* logs */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("logs", logs)) return "logs";
+#endif // MAP_LOG_H
+#ifdef LOGIN_LOGIN_H /* login */
+if ((server_type&(SERVER_TYPE_LOGIN)) && !HPM_SYMBOL("login", login)) return "login";
+#endif // LOGIN_LOGIN_H
+#ifdef CHAR_LOGINIF_H /* loginif */
+if ((server_type&(SERVER_TYPE_CHAR)) && !HPM_SYMBOL("loginif", loginif)) return "loginif";
+#endif // CHAR_LOGINIF_H
+#ifdef MAP_MAIL_H /* mail */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("mail", mail)) return "mail";
+#endif // MAP_MAIL_H
+#ifdef COMMON_MALLOC_H /* iMalloc */
+if ((server_type&(SERVER_TYPE_ALL)) && !HPM_SYMBOL("iMalloc", iMalloc)) return "iMalloc";
+#endif // COMMON_MALLOC_H
+#ifdef MAP_MAP_H /* map */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("map", map)) return "map";
+#endif // MAP_MAP_H
+#ifdef CHAR_MAPIF_H /* mapif */
+if ((server_type&(SERVER_TYPE_CHAR)) && !HPM_SYMBOL("mapif", mapif)) return "mapif";
+#endif // CHAR_MAPIF_H
+#ifdef COMMON_MAPINDEX_H /* mapindex */
+if ((server_type&(SERVER_TYPE_MAP|SERVER_TYPE_CHAR)) && !HPM_SYMBOL("mapindex", mapindex)) return "mapindex";
+#endif // COMMON_MAPINDEX_H
+#ifdef MAP_MAP_H /* mapit */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("mapit", mapit)) return "mapit";
+#endif // MAP_MAP_H
+#ifdef MAP_MAPREG_H /* mapreg */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("mapreg", mapreg)) return "mapreg";
+#endif // MAP_MAPREG_H
+#ifdef MAP_MERCENARY_H /* mercenary */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("mercenary", mercenary)) return "mercenary";
+#endif // MAP_MERCENARY_H
+#ifdef MAP_MOB_H /* mob */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("mob", mob)) return "mob";
+#endif // MAP_MOB_H
+#ifdef MAP_NPC_H /* npc */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("npc", npc)) return "npc";
+#endif // MAP_NPC_H
+#ifdef COMMON_NULLPO_H /* nullpo */
+if ((server_type&(SERVER_TYPE_ALL)) && !HPM_SYMBOL("nullpo", nullpo)) return "nullpo";
+#endif // COMMON_NULLPO_H
+#ifdef MAP_PARTY_H /* party */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("party", party)) return "party";
+#endif // MAP_PARTY_H
+#ifdef MAP_PATH_H /* path */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("path", path)) return "path";
+#endif // MAP_PATH_H
+#ifdef MAP_PC_GROUPS_H /* pcg */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("pc_groups", pcg)) return "pc_groups";
+#endif // MAP_PC_GROUPS_H
+#ifdef MAP_PC_H /* pc */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("pc", pc)) return "pc";
+#endif // MAP_PC_H
+#ifdef MAP_PET_H /* pet */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("pet", pet)) return "pet";
+#endif // MAP_PET_H
+#ifdef CHAR_PINCODE_H /* pincode */
+if ((server_type&(SERVER_TYPE_CHAR)) && !HPM_SYMBOL("pincode", pincode)) return "pincode";
+#endif // CHAR_PINCODE_H
+#ifdef MAP_QUEST_H /* quest */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("quest", quest)) return "quest";
+#endif // MAP_QUEST_H
+#ifdef MAP_SCRIPT_H /* script */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("script", script)) return "script";
+#endif // MAP_SCRIPT_H
+#ifdef MAP_SEARCHSTORE_H /* searchstore */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("searchstore", searchstore)) return "searchstore";
+#endif // MAP_SEARCHSTORE_H
+#ifdef COMMON_SHOWMSG_H /* showmsg */
+if ((server_type&(SERVER_TYPE_ALL)) && !HPM_SYMBOL("showmsg", showmsg)) return "showmsg";
+#endif // COMMON_SHOWMSG_H
+#ifdef MAP_SKILL_H /* skill */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("skill", skill)) return "skill";
+#endif // MAP_SKILL_H
+#ifdef COMMON_SOCKET_H /* sockt */
+if ((server_type&(SERVER_TYPE_ALL)) && !HPM_SYMBOL("sockt", sockt)) return "sockt";
+#endif // COMMON_SOCKET_H
+#ifdef COMMON_SQL_H /* SQL */
+if ((server_type&(SERVER_TYPE_ALL)) && !HPM_SYMBOL("SQL", SQL)) return "SQL";
+#endif // COMMON_SQL_H
+#ifdef MAP_STATUS_H /* status */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("status", status)) return "status";
+#endif // MAP_STATUS_H
+#ifdef MAP_STORAGE_H /* storage */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("storage", storage)) return "storage";
+#endif // MAP_STORAGE_H
+#ifdef COMMON_STRLIB_H /* StrBuf */
+if ((server_type&(SERVER_TYPE_ALL)) && !HPM_SYMBOL("StrBuf", StrBuf)) return "StrBuf";
+#endif // COMMON_STRLIB_H
+#ifdef COMMON_STRLIB_H /* strlib */
+if ((server_type&(SERVER_TYPE_ALL)) && !HPM_SYMBOL("strlib", strlib)) return "strlib";
+#endif // COMMON_STRLIB_H
+#ifdef COMMON_STRLIB_H /* sv */
+if ((server_type&(SERVER_TYPE_ALL)) && !HPM_SYMBOL("sv", sv)) return "sv";
+#endif // COMMON_STRLIB_H
+#ifdef COMMON_SYSINFO_H /* sysinfo */
+if ((server_type&(SERVER_TYPE_ALL)) && !HPM_SYMBOL("sysinfo", sysinfo)) return "sysinfo";
+#endif // COMMON_SYSINFO_H
+#ifdef COMMON_TIMER_H /* timer */
+if ((server_type&(SERVER_TYPE_ALL)) && !HPM_SYMBOL("timer", timer)) return "timer";
+#endif // COMMON_TIMER_H
+#ifdef MAP_TRADE_H /* trade */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("trade", trade)) return "trade";
+#endif // MAP_TRADE_H
+#ifdef MAP_UNIT_H /* unit */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("unit", unit)) return "unit";
+#endif // MAP_UNIT_H
+#ifdef MAP_VENDING_H /* vending */
+if ((server_type&(SERVER_TYPE_MAP)) && !HPM_SYMBOL("vending", vending)) return "vending";
+#endif // MAP_VENDING_H
diff --git a/src/plugins/HPMHooking/HPMHooking_char.GetSymbol.inc b/src/plugins/HPMHooking/HPMHooking_char.GetSymbol.inc
deleted file mode 100644
index b4cbd606f..000000000
--- a/src/plugins/HPMHooking/HPMHooking_char.GetSymbol.inc
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright (c) Hercules Dev Team, licensed under GNU GPL.
-// See the LICENSE file
-//
-// NOTE: This file was auto-generated and should never be manually edited,
-// as it will get overwritten.
-
-if( !(HCache = GET_SYMBOL("HCache") ) ) return "HCache";
-if( !(chr = GET_SYMBOL("chr") ) ) return "chr";
-if( !(cmdline = GET_SYMBOL("cmdline") ) ) return "cmdline";
-if( !(console = GET_SYMBOL("console") ) ) return "console";
-if( !(DB = GET_SYMBOL("DB") ) ) return "DB";
-if( !(geoip = GET_SYMBOL("geoip") ) ) return "geoip";
-if( !(inter_auction = GET_SYMBOL("inter_auction") ) ) return "inter_auction";
-if( !(inter_elemental = GET_SYMBOL("inter_elemental") ) ) return "inter_elemental";
-if( !(inter_guild = GET_SYMBOL("inter_guild") ) ) return "inter_guild";
-if( !(inter_homunculus = GET_SYMBOL("inter_homunculus") ) ) return "inter_homunculus";
-if( !(inter = GET_SYMBOL("inter") ) ) return "inter";
-if( !(inter_mail = GET_SYMBOL("inter_mail") ) ) return "inter_mail";
-if( !(inter_mercenary = GET_SYMBOL("inter_mercenary") ) ) return "inter_mercenary";
-if( !(inter_party = GET_SYMBOL("inter_party") ) ) return "inter_party";
-if( !(inter_pet = GET_SYMBOL("inter_pet") ) ) return "inter_pet";
-if( !(inter_quest = GET_SYMBOL("inter_quest") ) ) return "inter_quest";
-if( !(inter_storage = GET_SYMBOL("inter_storage") ) ) return "inter_storage";
-if( !(libconfig = GET_SYMBOL("libconfig") ) ) return "libconfig";
-if( !(loginif = GET_SYMBOL("loginif") ) ) return "loginif";
-if( !(iMalloc = GET_SYMBOL("iMalloc") ) ) return "iMalloc";
-if( !(mapif = GET_SYMBOL("mapif") ) ) return "mapif";
-if( !(mapindex = GET_SYMBOL("mapindex") ) ) return "mapindex";
-if( !(nullpo = GET_SYMBOL("nullpo") ) ) return "nullpo";
-if( !(pincode = GET_SYMBOL("pincode") ) ) return "pincode";
-if( !(showmsg = GET_SYMBOL("showmsg") ) ) return "showmsg";
-if( !(sockt = GET_SYMBOL("sockt") ) ) return "sockt";
-if( !(SQL = GET_SYMBOL("SQL") ) ) return "SQL";
-if( !(StrBuf = GET_SYMBOL("StrBuf") ) ) return "StrBuf";
-if( !(strlib = GET_SYMBOL("strlib") ) ) return "strlib";
-if( !(sv = GET_SYMBOL("sv") ) ) return "sv";
-if( !(sysinfo = GET_SYMBOL("sysinfo") ) ) return "sysinfo";
-if( !(timer = GET_SYMBOL("timer") ) ) return "timer";
diff --git a/src/plugins/HPMHooking/HPMHooking_login.GetSymbol.inc b/src/plugins/HPMHooking/HPMHooking_login.GetSymbol.inc
deleted file mode 100644
index ec126d089..000000000
--- a/src/plugins/HPMHooking/HPMHooking_login.GetSymbol.inc
+++ /dev/null
@@ -1,22 +0,0 @@
-// Copyright (c) Hercules Dev Team, licensed under GNU GPL.
-// See the LICENSE file
-//
-// NOTE: This file was auto-generated and should never be manually edited,
-// as it will get overwritten.
-
-if( !(HCache = GET_SYMBOL("HCache") ) ) return "HCache";
-if( !(cmdline = GET_SYMBOL("cmdline") ) ) return "cmdline";
-if( !(console = GET_SYMBOL("console") ) ) return "console";
-if( !(DB = GET_SYMBOL("DB") ) ) return "DB";
-if( !(libconfig = GET_SYMBOL("libconfig") ) ) return "libconfig";
-if( !(login = GET_SYMBOL("login") ) ) return "login";
-if( !(iMalloc = GET_SYMBOL("iMalloc") ) ) return "iMalloc";
-if( !(nullpo = GET_SYMBOL("nullpo") ) ) return "nullpo";
-if( !(showmsg = GET_SYMBOL("showmsg") ) ) return "showmsg";
-if( !(sockt = GET_SYMBOL("sockt") ) ) return "sockt";
-if( !(SQL = GET_SYMBOL("SQL") ) ) return "SQL";
-if( !(StrBuf = GET_SYMBOL("StrBuf") ) ) return "StrBuf";
-if( !(strlib = GET_SYMBOL("strlib") ) ) return "strlib";
-if( !(sv = GET_SYMBOL("sv") ) ) return "sv";
-if( !(sysinfo = GET_SYMBOL("sysinfo") ) ) return "sysinfo";
-if( !(timer = GET_SYMBOL("timer") ) ) return "timer";
diff --git a/src/plugins/HPMHooking/HPMHooking_map.GetSymbol.inc b/src/plugins/HPMHooking/HPMHooking_map.GetSymbol.inc
deleted file mode 100644
index 5f8ab313c..000000000
--- a/src/plugins/HPMHooking/HPMHooking_map.GetSymbol.inc
+++ /dev/null
@@ -1,61 +0,0 @@
-// Copyright (c) Hercules Dev Team, licensed under GNU GPL.
-// See the LICENSE file
-//
-// NOTE: This file was auto-generated and should never be manually edited,
-// as it will get overwritten.
-
-if( !(HCache = GET_SYMBOL("HCache") ) ) return "HCache";
-if( !(atcommand = GET_SYMBOL("atcommand") ) ) return "atcommand";
-if( !(battle = GET_SYMBOL("battle") ) ) return "battle";
-if( !(bg = GET_SYMBOL("battlegrounds") ) ) return "battlegrounds";
-if( !(buyingstore = GET_SYMBOL("buyingstore") ) ) return "buyingstore";
-if( !(channel = GET_SYMBOL("channel") ) ) return "channel";
-if( !(chat = GET_SYMBOL("chat") ) ) return "chat";
-if( !(chrif = GET_SYMBOL("chrif") ) ) return "chrif";
-if( !(clif = GET_SYMBOL("clif") ) ) return "clif";
-if( !(cmdline = GET_SYMBOL("cmdline") ) ) return "cmdline";
-if( !(console = GET_SYMBOL("console") ) ) return "console";
-if( !(DB = GET_SYMBOL("DB") ) ) return "DB";
-if( !(duel = GET_SYMBOL("duel") ) ) return "duel";
-if( !(elemental = GET_SYMBOL("elemental") ) ) return "elemental";
-if( !(guild = GET_SYMBOL("guild") ) ) return "guild";
-if( !(gstorage = GET_SYMBOL("gstorage") ) ) return "gstorage";
-if( !(homun = GET_SYMBOL("homun") ) ) return "homun";
-if( !(instance = GET_SYMBOL("instance") ) ) return "instance";
-if( !(intif = GET_SYMBOL("intif") ) ) return "intif";
-if( !(ircbot = GET_SYMBOL("ircbot") ) ) return "ircbot";
-if( !(itemdb = GET_SYMBOL("itemdb") ) ) return "itemdb";
-if( !(libconfig = GET_SYMBOL("libconfig") ) ) return "libconfig";
-if( !(logs = GET_SYMBOL("logs") ) ) return "logs";
-if( !(mail = GET_SYMBOL("mail") ) ) return "mail";
-if( !(iMalloc = GET_SYMBOL("iMalloc") ) ) return "iMalloc";
-if( !(map = GET_SYMBOL("map") ) ) return "map";
-if( !(mapindex = GET_SYMBOL("mapindex") ) ) return "mapindex";
-if( !(mapit = GET_SYMBOL("mapit") ) ) return "mapit";
-if( !(mapreg = GET_SYMBOL("mapreg") ) ) return "mapreg";
-if( !(mercenary = GET_SYMBOL("mercenary") ) ) return "mercenary";
-if( !(mob = GET_SYMBOL("mob") ) ) return "mob";
-if( !(npc = GET_SYMBOL("npc") ) ) return "npc";
-if( !(nullpo = GET_SYMBOL("nullpo") ) ) return "nullpo";
-if( !(party = GET_SYMBOL("party") ) ) return "party";
-if( !(path = GET_SYMBOL("path") ) ) return "path";
-if( !(pcg = GET_SYMBOL("pc_groups") ) ) return "pc_groups";
-if( !(pc = GET_SYMBOL("pc") ) ) return "pc";
-if( !(pet = GET_SYMBOL("pet") ) ) return "pet";
-if( !(quest = GET_SYMBOL("quest") ) ) return "quest";
-if( !(script = GET_SYMBOL("script") ) ) return "script";
-if( !(searchstore = GET_SYMBOL("searchstore") ) ) return "searchstore";
-if( !(showmsg = GET_SYMBOL("showmsg") ) ) return "showmsg";
-if( !(skill = GET_SYMBOL("skill") ) ) return "skill";
-if( !(sockt = GET_SYMBOL("sockt") ) ) return "sockt";
-if( !(SQL = GET_SYMBOL("SQL") ) ) return "SQL";
-if( !(status = GET_SYMBOL("status") ) ) return "status";
-if( !(storage = GET_SYMBOL("storage") ) ) return "storage";
-if( !(StrBuf = GET_SYMBOL("StrBuf") ) ) return "StrBuf";
-if( !(strlib = GET_SYMBOL("strlib") ) ) return "strlib";
-if( !(sv = GET_SYMBOL("sv") ) ) return "sv";
-if( !(sysinfo = GET_SYMBOL("sysinfo") ) ) return "sysinfo";
-if( !(timer = GET_SYMBOL("timer") ) ) return "timer";
-if( !(trade = GET_SYMBOL("trade") ) ) return "trade";
-if( !(unit = GET_SYMBOL("unit") ) ) return "unit";
-if( !(vending = GET_SYMBOL("vending") ) ) return "vending";