summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorHercules.ws <Hercules@efficiently.awesome>2015-06-19 15:30:39 +0200
committerHerculesWSAPI <Hercules@efficiently.awesome>2015-06-19 15:30:39 +0200
commitcbb4020de7aa75fe87b0c3f93819e6336b94c9e3 (patch)
treec585d250d24b18cfd227797bbd2e39c6888956ab /src/plugins
parent9bc51d6b4ca04557b240640fb8d95a95081f504d (diff)
downloadhercules-cbb4020de7aa75fe87b0c3f93819e6336b94c9e3.tar.gz
hercules-cbb4020de7aa75fe87b0c3f93819e6336b94c9e3.tar.bz2
hercules-cbb4020de7aa75fe87b0c3f93819e6336b94c9e3.tar.xz
hercules-cbb4020de7aa75fe87b0c3f93819e6336b94c9e3.zip
HPM Hooks Update
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/HPMHooking/HPMHooking_char.GetSymbol.inc32
-rw-r--r--src/plugins/HPMHooking/HPMHooking_login.GetSymbol.inc2
-rw-r--r--src/plugins/HPMHooking/HPMHooking_map.GetSymbol.inc78
-rw-r--r--src/plugins/HPMHooking/HPMHooking_map.Hooks.inc8
4 files changed, 60 insertions, 60 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking_char.GetSymbol.inc b/src/plugins/HPMHooking/HPMHooking_char.GetSymbol.inc
index 6d6db24ae..af7df2980 100644
--- a/src/plugins/HPMHooking/HPMHooking_char.GetSymbol.inc
+++ b/src/plugins/HPMHooking/HPMHooking_char.GetSymbol.inc
@@ -4,19 +4,19 @@
// NOTE: This file was auto-generated and should never be manually edited,
// as it will get overwritten.
-if( !(chr = GET_SYMBOL("chr") ) ) return false;
-if( !(geoip = GET_SYMBOL("geoip") ) ) return false;
-if( !(inter_auction = GET_SYMBOL("inter_auction") ) ) return false;
-if( !(inter_elemental = GET_SYMBOL("inter_elemental") ) ) return false;
-if( !(inter_guild = GET_SYMBOL("inter_guild") ) ) return false;
-if( !(inter_homunculus = GET_SYMBOL("inter_homunculus") ) ) return false;
-if( !(inter = GET_SYMBOL("inter") ) ) return false;
-if( !(inter_mail = GET_SYMBOL("inter_mail") ) ) return false;
-if( !(inter_mercenary = GET_SYMBOL("inter_mercenary") ) ) return false;
-if( !(inter_party = GET_SYMBOL("inter_party") ) ) return false;
-if( !(inter_pet = GET_SYMBOL("inter_pet") ) ) return false;
-if( !(inter_quest = GET_SYMBOL("inter_quest") ) ) return false;
-if( !(inter_storage = GET_SYMBOL("inter_storage") ) ) return false;
-if( !(loginif = GET_SYMBOL("loginif") ) ) return false;
-if( !(mapif = GET_SYMBOL("mapif") ) ) return false;
-if( !(pincode = GET_SYMBOL("pincode") ) ) return false;
+if( !(chr = GET_SYMBOL("chr") ) ) return "chr";
+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( !(loginif = GET_SYMBOL("loginif") ) ) return "loginif";
+if( !(mapif = GET_SYMBOL("mapif") ) ) return "mapif";
+if( !(pincode = GET_SYMBOL("pincode") ) ) return "pincode";
diff --git a/src/plugins/HPMHooking/HPMHooking_login.GetSymbol.inc b/src/plugins/HPMHooking/HPMHooking_login.GetSymbol.inc
index 3348b5cde..fd9eeba8c 100644
--- a/src/plugins/HPMHooking/HPMHooking_login.GetSymbol.inc
+++ b/src/plugins/HPMHooking/HPMHooking_login.GetSymbol.inc
@@ -4,4 +4,4 @@
// NOTE: This file was auto-generated and should never be manually edited,
// as it will get overwritten.
-if( !(login = GET_SYMBOL("login") ) ) return false;
+if( !(login = GET_SYMBOL("login") ) ) return "login";
diff --git a/src/plugins/HPMHooking/HPMHooking_map.GetSymbol.inc b/src/plugins/HPMHooking/HPMHooking_map.GetSymbol.inc
index 6b1b84c69..88fe7745a 100644
--- a/src/plugins/HPMHooking/HPMHooking_map.GetSymbol.inc
+++ b/src/plugins/HPMHooking/HPMHooking_map.GetSymbol.inc
@@ -4,42 +4,42 @@
// NOTE: This file was auto-generated and should never be manually edited,
// as it will get overwritten.
-if( !(atcommand = GET_SYMBOL("atcommand") ) ) return false;
-if( !(battle = GET_SYMBOL("battle") ) ) return false;
-if( !(bg = GET_SYMBOL("battlegrounds") ) ) return false;
-if( !(buyingstore = GET_SYMBOL("buyingstore") ) ) return false;
-if( !(channel = GET_SYMBOL("channel") ) ) return false;
-if( !(chat = GET_SYMBOL("chat") ) ) return false;
-if( !(chrif = GET_SYMBOL("chrif") ) ) return false;
-if( !(clif = GET_SYMBOL("clif") ) ) return false;
-if( !(duel = GET_SYMBOL("duel") ) ) return false;
-if( !(elemental = GET_SYMBOL("elemental") ) ) return false;
-if( !(guild = GET_SYMBOL("guild") ) ) return false;
-if( !(gstorage = GET_SYMBOL("gstorage") ) ) return false;
-if( !(homun = GET_SYMBOL("homun") ) ) return false;
-if( !(instance = GET_SYMBOL("instance") ) ) return false;
-if( !(intif = GET_SYMBOL("intif") ) ) return false;
-if( !(ircbot = GET_SYMBOL("ircbot") ) ) return false;
-if( !(itemdb = GET_SYMBOL("itemdb") ) ) return false;
-if( !(logs = GET_SYMBOL("logs") ) ) return false;
-if( !(mail = GET_SYMBOL("mail") ) ) return false;
-if( !(map = GET_SYMBOL("map") ) ) return false;
-if( !(mapit = GET_SYMBOL("mapit") ) ) return false;
-if( !(mapreg = GET_SYMBOL("mapreg") ) ) return false;
-if( !(mercenary = GET_SYMBOL("mercenary") ) ) return false;
-if( !(mob = GET_SYMBOL("mob") ) ) return false;
-if( !(npc = GET_SYMBOL("npc") ) ) return false;
-if( !(party = GET_SYMBOL("party") ) ) return false;
-if( !(path = GET_SYMBOL("path") ) ) return false;
-if( !(pcg = GET_SYMBOL("pc_groups") ) ) return false;
-if( !(pc = GET_SYMBOL("pc") ) ) return false;
-if( !(pet = GET_SYMBOL("pet") ) ) return false;
-if( !(quest = GET_SYMBOL("quest") ) ) return false;
-if( !(script = GET_SYMBOL("script") ) ) return false;
-if( !(searchstore = GET_SYMBOL("searchstore") ) ) return false;
-if( !(skill = GET_SYMBOL("skill") ) ) return false;
-if( !(status = GET_SYMBOL("status") ) ) return false;
-if( !(storage = GET_SYMBOL("storage") ) ) return false;
-if( !(trade = GET_SYMBOL("trade") ) ) return false;
-if( !(unit = GET_SYMBOL("unit") ) ) return false;
-if( !(vending = GET_SYMBOL("vending") ) ) return false;
+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( !(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( !(logs = GET_SYMBOL("logs") ) ) return "logs";
+if( !(mail = GET_SYMBOL("mail") ) ) return "mail";
+if( !(map = GET_SYMBOL("map") ) ) return "map";
+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( !(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( !(skill = GET_SYMBOL("skill") ) ) return "skill";
+if( !(status = GET_SYMBOL("status") ) ) return "status";
+if( !(storage = GET_SYMBOL("storage") ) ) return "storage";
+if( !(trade = GET_SYMBOL("trade") ) ) return "trade";
+if( !(unit = GET_SYMBOL("unit") ) ) return "unit";
+if( !(vending = GET_SYMBOL("vending") ) ) return "vending";
diff --git a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
index eac60b8f4..c623747aa 100644
--- a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
+++ b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
@@ -12589,11 +12589,11 @@ void HP_clif_messageln(const int fd, const char *mes) {
}
return;
}
-void(*) bool HP_clif_process_message(struct map_session_data *sd, int format, char **name_, size_t *namelen_, char **message_, size_t *messagelen_) {
+bool HP_clif_process_message(struct map_session_data *sd, int format, char **name_, size_t *namelen_, char **message_, size_t *messagelen_) {
int hIndex = 0;
- void(*) bool retVal___ = NULL;
+ bool retVal___ = false;
if( HPMHooks.count.HP_clif_process_message_pre ) {
- void(*) bool (*preHookFunc) (struct map_session_data *sd, int *format, char **name_, size_t *namelen_, char **message_, size_t *messagelen_);
+ bool (*preHookFunc) (struct map_session_data *sd, int *format, char **name_, size_t *namelen_, char **message_, size_t *messagelen_);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_process_message_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_clif_process_message_pre[hIndex].func;
@@ -12608,7 +12608,7 @@ void(*) bool HP_clif_process_message(struct map_session_data *sd, int format, ch
retVal___ = HPMHooks.source.clif.process_message(sd, format, name_, namelen_, message_, messagelen_);
}
if( HPMHooks.count.HP_clif_process_message_post ) {
- void(*) bool (*postHookFunc) (void(*) bool retVal___, struct map_session_data *sd, int *format, char **name_, size_t *namelen_, char **message_, size_t *messagelen_);
+ bool (*postHookFunc) (bool retVal___, struct map_session_data *sd, int *format, char **name_, size_t *namelen_, char **message_, size_t *messagelen_);
for(hIndex = 0; hIndex < HPMHooks.count.HP_clif_process_message_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_clif_process_message_post[hIndex].func;
retVal___ = postHookFunc(retVal___, sd, &format, name_, namelen_, message_, messagelen_);