summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/plugins/HPMHooking/HPMHooking.Defs.inc4
-rw-r--r--src/plugins/HPMHooking/HPMHooking_char.HPMHooksCore.inc4
-rw-r--r--src/plugins/HPMHooking/HPMHooking_char.HookingPoints.inc1
-rw-r--r--src/plugins/HPMHooking/HPMHooking_char.Hooks.inc26
-rw-r--r--src/plugins/HPMHooking/HPMHooking_map.HPMHooksCore.inc4
-rw-r--r--src/plugins/HPMHooking/HPMHooking_map.HookingPoints.inc1
-rw-r--r--src/plugins/HPMHooking/HPMHooking_map.Hooks.inc26
7 files changed, 0 insertions, 66 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking.Defs.inc b/src/plugins/HPMHooking/HPMHooking.Defs.inc
index d2b03c16c..ae425e35c 100644
--- a/src/plugins/HPMHooking/HPMHooking.Defs.inc
+++ b/src/plugins/HPMHooking/HPMHooking.Defs.inc
@@ -592,8 +592,6 @@ typedef void (*HPMHOOK_pre_chr_parse_frommap_auth_request) (int *fd, int *id);
typedef void (*HPMHOOK_post_chr_parse_frommap_auth_request) (int fd, int id);
typedef void (*HPMHOOK_pre_chr_parse_frommap_update_ip) (int *fd, int *id);
typedef void (*HPMHOOK_post_chr_parse_frommap_update_ip) (int fd, int id);
-typedef void (*HPMHOOK_pre_chr_parse_frommap_request_stats_report) (int *fd);
-typedef void (*HPMHOOK_post_chr_parse_frommap_request_stats_report) (int fd);
typedef void (*HPMHOOK_pre_chr_parse_frommap_scdata_update) (int *fd);
typedef void (*HPMHOOK_post_chr_parse_frommap_scdata_update) (int fd);
typedef void (*HPMHOOK_pre_chr_parse_frommap_scdata_delete) (int *fd);
@@ -832,8 +830,6 @@ typedef bool (*HPMHOOK_pre_chrif_divorce) (int *partner_id1, int *partner_id2);
typedef bool (*HPMHOOK_post_chrif_divorce) (bool retVal___, int partner_id1, int partner_id2);
typedef bool (*HPMHOOK_pre_chrif_removefriend) (int *char_id, int *friend_id);
typedef bool (*HPMHOOK_post_chrif_removefriend) (bool retVal___, int char_id, int friend_id);
-typedef void (*HPMHOOK_pre_chrif_send_report) (char **buf, int *len);
-typedef void (*HPMHOOK_post_chrif_send_report) (char *buf, int len);
typedef bool (*HPMHOOK_pre_chrif_flush) (void);
typedef bool (*HPMHOOK_post_chrif_flush) (bool retVal___);
typedef void (*HPMHOOK_pre_chrif_skillid2idx) (int *fd);
diff --git a/src/plugins/HPMHooking/HPMHooking_char.HPMHooksCore.inc b/src/plugins/HPMHooking/HPMHooking_char.HPMHooksCore.inc
index d81709ff3..be39bf2ea 100644
--- a/src/plugins/HPMHooking/HPMHooking_char.HPMHooksCore.inc
+++ b/src/plugins/HPMHooking/HPMHooking_char.HPMHooksCore.inc
@@ -234,8 +234,6 @@ struct {
struct HPMHookPoint *HP_chr_parse_frommap_auth_request_post;
struct HPMHookPoint *HP_chr_parse_frommap_update_ip_pre;
struct HPMHookPoint *HP_chr_parse_frommap_update_ip_post;
- struct HPMHookPoint *HP_chr_parse_frommap_request_stats_report_pre;
- struct HPMHookPoint *HP_chr_parse_frommap_request_stats_report_post;
struct HPMHookPoint *HP_chr_parse_frommap_scdata_update_pre;
struct HPMHookPoint *HP_chr_parse_frommap_scdata_update_post;
struct HPMHookPoint *HP_chr_parse_frommap_scdata_delete_pre;
@@ -1773,8 +1771,6 @@ struct {
int HP_chr_parse_frommap_auth_request_post;
int HP_chr_parse_frommap_update_ip_pre;
int HP_chr_parse_frommap_update_ip_post;
- int HP_chr_parse_frommap_request_stats_report_pre;
- int HP_chr_parse_frommap_request_stats_report_post;
int HP_chr_parse_frommap_scdata_update_pre;
int HP_chr_parse_frommap_scdata_update_post;
int HP_chr_parse_frommap_scdata_delete_pre;
diff --git a/src/plugins/HPMHooking/HPMHooking_char.HookingPoints.inc b/src/plugins/HPMHooking/HPMHooking_char.HookingPoints.inc
index 26ee54453..3ba47102c 100644
--- a/src/plugins/HPMHooking/HPMHooking_char.HookingPoints.inc
+++ b/src/plugins/HPMHooking/HPMHooking_char.HookingPoints.inc
@@ -132,7 +132,6 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(chr->map_auth_failed, HP_chr_map_auth_failed) },
{ HP_POP(chr->parse_frommap_auth_request, HP_chr_parse_frommap_auth_request) },
{ HP_POP(chr->parse_frommap_update_ip, HP_chr_parse_frommap_update_ip) },
- { HP_POP(chr->parse_frommap_request_stats_report, HP_chr_parse_frommap_request_stats_report) },
{ HP_POP(chr->parse_frommap_scdata_update, HP_chr_parse_frommap_scdata_update) },
{ HP_POP(chr->parse_frommap_scdata_delete, HP_chr_parse_frommap_scdata_delete) },
{ HP_POP(chr->parse_frommap, HP_chr_parse_frommap) },
diff --git a/src/plugins/HPMHooking/HPMHooking_char.Hooks.inc b/src/plugins/HPMHooking/HPMHooking_char.Hooks.inc
index fdec7feea..a15eccc0c 100644
--- a/src/plugins/HPMHooking/HPMHooking_char.Hooks.inc
+++ b/src/plugins/HPMHooking/HPMHooking_char.Hooks.inc
@@ -2788,32 +2788,6 @@ void HP_chr_parse_frommap_update_ip(int fd, int id) {
}
return;
}
-void HP_chr_parse_frommap_request_stats_report(int fd) {
- int hIndex = 0;
- if (HPMHooks.count.HP_chr_parse_frommap_request_stats_report_pre > 0) {
- void (*preHookFunc) (int *fd);
- *HPMforce_return = false;
- for (hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_frommap_request_stats_report_pre; hIndex++) {
- preHookFunc = HPMHooks.list.HP_chr_parse_frommap_request_stats_report_pre[hIndex].func;
- preHookFunc(&fd);
- }
- if (*HPMforce_return) {
- *HPMforce_return = false;
- return;
- }
- }
- {
- HPMHooks.source.chr.parse_frommap_request_stats_report(fd);
- }
- if (HPMHooks.count.HP_chr_parse_frommap_request_stats_report_post > 0) {
- void (*postHookFunc) (int fd);
- for (hIndex = 0; hIndex < HPMHooks.count.HP_chr_parse_frommap_request_stats_report_post; hIndex++) {
- postHookFunc = HPMHooks.list.HP_chr_parse_frommap_request_stats_report_post[hIndex].func;
- postHookFunc(fd);
- }
- }
- return;
-}
void HP_chr_parse_frommap_scdata_update(int fd) {
int hIndex = 0;
if (HPMHooks.count.HP_chr_parse_frommap_scdata_update_pre > 0) {
diff --git a/src/plugins/HPMHooking/HPMHooking_map.HPMHooksCore.inc b/src/plugins/HPMHooking/HPMHooking_map.HPMHooksCore.inc
index cbfaf1b65..b976d9601 100644
--- a/src/plugins/HPMHooking/HPMHooking_map.HPMHooksCore.inc
+++ b/src/plugins/HPMHooking/HPMHooking_map.HPMHooksCore.inc
@@ -430,8 +430,6 @@ struct {
struct HPMHookPoint *HP_chrif_divorce_post;
struct HPMHookPoint *HP_chrif_removefriend_pre;
struct HPMHookPoint *HP_chrif_removefriend_post;
- struct HPMHookPoint *HP_chrif_send_report_pre;
- struct HPMHookPoint *HP_chrif_send_report_post;
struct HPMHookPoint *HP_chrif_flush_pre;
struct HPMHookPoint *HP_chrif_flush_post;
struct HPMHookPoint *HP_chrif_skillid2idx_pre;
@@ -6749,8 +6747,6 @@ struct {
int HP_chrif_divorce_post;
int HP_chrif_removefriend_pre;
int HP_chrif_removefriend_post;
- int HP_chrif_send_report_pre;
- int HP_chrif_send_report_post;
int HP_chrif_flush_pre;
int HP_chrif_flush_post;
int HP_chrif_skillid2idx_pre;
diff --git a/src/plugins/HPMHooking/HPMHooking_map.HookingPoints.inc b/src/plugins/HPMHooking/HPMHooking_map.HookingPoints.inc
index 5fdfd9e03..19fd8498e 100644
--- a/src/plugins/HPMHooking/HPMHooking_map.HookingPoints.inc
+++ b/src/plugins/HPMHooking/HPMHooking_map.HookingPoints.inc
@@ -236,7 +236,6 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(chrif->changesex, HP_chrif_changesex) },
{ HP_POP(chrif->divorce, HP_chrif_divorce) },
{ HP_POP(chrif->removefriend, HP_chrif_removefriend) },
- { HP_POP(chrif->send_report, HP_chrif_send_report) },
{ HP_POP(chrif->flush, HP_chrif_flush) },
{ HP_POP(chrif->skillid2idx, HP_chrif_skillid2idx) },
{ HP_POP(chrif->sd_to_auth, HP_chrif_sd_to_auth) },
diff --git a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
index 02cf68bd2..007a1c004 100644
--- a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
+++ b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
@@ -5499,32 +5499,6 @@ bool HP_chrif_removefriend(int char_id, int friend_id) {
}
return retVal___;
}
-void HP_chrif_send_report(char *buf, int len) {
- int hIndex = 0;
- if (HPMHooks.count.HP_chrif_send_report_pre > 0) {
- void (*preHookFunc) (char **buf, int *len);
- *HPMforce_return = false;
- for (hIndex = 0; hIndex < HPMHooks.count.HP_chrif_send_report_pre; hIndex++) {
- preHookFunc = HPMHooks.list.HP_chrif_send_report_pre[hIndex].func;
- preHookFunc(&buf, &len);
- }
- if (*HPMforce_return) {
- *HPMforce_return = false;
- return;
- }
- }
- {
- HPMHooks.source.chrif.send_report(buf, len);
- }
- if (HPMHooks.count.HP_chrif_send_report_post > 0) {
- void (*postHookFunc) (char *buf, int len);
- for (hIndex = 0; hIndex < HPMHooks.count.HP_chrif_send_report_post; hIndex++) {
- postHookFunc = HPMHooks.list.HP_chrif_send_report_post[hIndex].func;
- postHookFunc(buf, len);
- }
- }
- return;
-}
bool HP_chrif_flush(void) {
int hIndex = 0;
bool retVal___ = false;