diff options
author | Haruna <haru@dotalux.com> | 2014-11-15 17:04:09 +0100 |
---|---|---|
committer | Haruna <haru@dotalux.com> | 2014-11-15 17:04:09 +0100 |
commit | a6f077063eeff08ee27ae5170de1bb5cf4b2defb (patch) | |
tree | 9bb5ab158230301e604918883ce6d06c31890341 /src/plugins/HPMHooking/HPMHooking_char.HookingPoints.inc | |
parent | 77b88fe80b907122b24d698938538c22e029d25f (diff) | |
parent | 7f9fa7f59a82682fb139be4301e9a12a99644a19 (diff) | |
download | hercules-a6f077063eeff08ee27ae5170de1bb5cf4b2defb.tar.gz hercules-a6f077063eeff08ee27ae5170de1bb5cf4b2defb.tar.bz2 hercules-a6f077063eeff08ee27ae5170de1bb5cf4b2defb.tar.xz hercules-a6f077063eeff08ee27ae5170de1bb5cf4b2defb.zip |
Merge pull request #388 from 4144/charplugins
char server plugins
Diffstat (limited to 'src/plugins/HPMHooking/HPMHooking_char.HookingPoints.inc')
-rw-r--r-- | src/plugins/HPMHooking/HPMHooking_char.HookingPoints.inc | 451 |
1 files changed, 450 insertions, 1 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking_char.HookingPoints.inc b/src/plugins/HPMHooking/HPMHooking_char.HookingPoints.inc index 11c3b86a7..b1b64af18 100644 --- a/src/plugins/HPMHooking/HPMHooking_char.HookingPoints.inc +++ b/src/plugins/HPMHooking/HPMHooking_char.HookingPoints.inc @@ -5,6 +5,455 @@ // as it will get overwritten. struct HookingPointData HookingPoints[] = { +/* chr */ + { HP_POP(chr->waiting_disconnect, HP_chr_waiting_disconnect) }, + { HP_POP(chr->delete_char_sql, HP_chr_delete_char_sql) }, + { HP_POP(chr->create_online_char_data, HP_chr_create_online_char_data) }, + { HP_POP(chr->set_account_online, HP_chr_set_account_online) }, + { HP_POP(chr->set_account_offline, HP_chr_set_account_offline) }, + { HP_POP(chr->set_char_charselect, HP_chr_set_char_charselect) }, + { HP_POP(chr->set_char_online, HP_chr_set_char_online) }, + { HP_POP(chr->set_char_offline, HP_chr_set_char_offline) }, + { HP_POP(chr->db_setoffline, HP_chr_db_setoffline) }, + { HP_POP(chr->db_kickoffline, HP_chr_db_kickoffline) }, + { HP_POP(chr->set_login_all_offline, HP_chr_set_login_all_offline) }, + { HP_POP(chr->set_all_offline, HP_chr_set_all_offline) }, + { HP_POP(chr->set_all_offline_sql, HP_chr_set_all_offline_sql) }, + { HP_POP(chr->create_charstatus, HP_chr_create_charstatus) }, + { HP_POP(chr->mmo_char_tosql, HP_chr_mmo_char_tosql) }, + { HP_POP(chr->memitemdata_to_sql, HP_chr_memitemdata_to_sql) }, + { HP_POP(chr->inventory_to_sql, HP_chr_inventory_to_sql) }, + { HP_POP(chr->mmo_chars_fromsql, HP_chr_mmo_chars_fromsql) }, + { HP_POP(chr->mmo_char_fromsql, HP_chr_mmo_char_fromsql) }, + { HP_POP(chr->mmo_char_sql_init, HP_chr_mmo_char_sql_init) }, + { HP_POP(chr->char_slotchange, HP_chr_char_slotchange) }, + { HP_POP(chr->rename_char_sql, HP_chr_rename_char_sql) }, + { HP_POP(chr->check_char_name, HP_chr_check_char_name) }, + { HP_POP(chr->make_new_char_sql, HP_chr_make_new_char_sql) }, + { HP_POP(chr->divorce_char_sql, HP_chr_divorce_char_sql) }, + { HP_POP(chr->count_users, HP_chr_count_users) }, + { HP_POP(chr->mmo_char_tobuf, HP_chr_mmo_char_tobuf) }, + { HP_POP(chr->mmo_char_send099d, HP_chr_mmo_char_send099d) }, + { HP_POP(chr->mmo_char_send_ban_list, HP_chr_mmo_char_send_ban_list) }, + { HP_POP(chr->mmo_char_send_slots_info, HP_chr_mmo_char_send_slots_info) }, + { HP_POP(chr->mmo_char_send_characters, HP_chr_mmo_char_send_characters) }, + { HP_POP(chr->char_married, HP_chr_char_married) }, + { HP_POP(chr->char_child, HP_chr_char_child) }, + { HP_POP(chr->char_family, HP_chr_char_family) }, + { HP_POP(chr->disconnect_player, HP_chr_disconnect_player) }, + { HP_POP(chr->authfail_fd, HP_chr_authfail_fd) }, + { HP_POP(chr->request_account_data, HP_chr_request_account_data) }, + { HP_POP(chr->auth_ok, HP_chr_auth_ok) }, + { HP_POP(chr->ping_login_server, HP_chr_ping_login_server) }, + { HP_POP(chr->parse_fromlogin_connection_state, HP_chr_parse_fromlogin_connection_state) }, + { HP_POP(chr->auth_error, HP_chr_auth_error) }, + { HP_POP(chr->parse_fromlogin_auth_state, HP_chr_parse_fromlogin_auth_state) }, + { HP_POP(chr->parse_fromlogin_account_data, HP_chr_parse_fromlogin_account_data) }, + { HP_POP(chr->parse_fromlogin_login_pong, HP_chr_parse_fromlogin_login_pong) }, + { HP_POP(chr->changesex, HP_chr_changesex) }, + { HP_POP(chr->parse_fromlogin_changesex_reply, HP_chr_parse_fromlogin_changesex_reply) }, + { HP_POP(chr->parse_fromlogin_account_reg2, HP_chr_parse_fromlogin_account_reg2) }, + { HP_POP(chr->parse_fromlogin_ban, HP_chr_parse_fromlogin_ban) }, + { HP_POP(chr->parse_fromlogin_kick, HP_chr_parse_fromlogin_kick) }, + { HP_POP(chr->update_ip, HP_chr_update_ip) }, + { HP_POP(chr->parse_fromlogin_update_ip, HP_chr_parse_fromlogin_update_ip) }, + { HP_POP(chr->parse_fromlogin_accinfo2_failed, HP_chr_parse_fromlogin_accinfo2_failed) }, + { HP_POP(chr->parse_fromlogin_accinfo2_ok, HP_chr_parse_fromlogin_accinfo2_ok) }, + { HP_POP(chr->parse_fromlogin, HP_chr_parse_fromlogin) }, + { HP_POP(chr->request_accreg2, HP_chr_request_accreg2) }, + { HP_POP(chr->global_accreg_to_login_start, HP_chr_global_accreg_to_login_start) }, + { HP_POP(chr->global_accreg_to_login_send, HP_chr_global_accreg_to_login_send) }, + { HP_POP(chr->global_accreg_to_login_add, HP_chr_global_accreg_to_login_add) }, + { HP_POP(chr->read_fame_list, HP_chr_read_fame_list) }, + { HP_POP(chr->send_fame_list, HP_chr_send_fame_list) }, + { HP_POP(chr->update_fame_list, HP_chr_update_fame_list) }, + { HP_POP(chr->loadName, HP_chr_loadName) }, + { HP_POP(chr->parse_frommap_datasync, HP_chr_parse_frommap_datasync) }, + { HP_POP(chr->parse_frommap_skillid2idx, HP_chr_parse_frommap_skillid2idx) }, + { HP_POP(chr->map_received_ok, HP_chr_map_received_ok) }, + { HP_POP(chr->send_maps, HP_chr_send_maps) }, + { HP_POP(chr->parse_frommap_map_names, HP_chr_parse_frommap_map_names) }, + { HP_POP(chr->send_scdata, HP_chr_send_scdata) }, + { HP_POP(chr->parse_frommap_request_scdata, HP_chr_parse_frommap_request_scdata) }, + { HP_POP(chr->parse_frommap_set_users_count, HP_chr_parse_frommap_set_users_count) }, + { HP_POP(chr->parse_frommap_set_users, HP_chr_parse_frommap_set_users) }, + { HP_POP(chr->save_character_ack, HP_chr_save_character_ack) }, + { HP_POP(chr->parse_frommap_save_character, HP_chr_parse_frommap_save_character) }, + { HP_POP(chr->select_ack, HP_chr_select_ack) }, + { HP_POP(chr->parse_frommap_char_select_req, HP_chr_parse_frommap_char_select_req) }, + { HP_POP(chr->change_map_server_ack, HP_chr_change_map_server_ack) }, + { HP_POP(chr->parse_frommap_change_map_server, HP_chr_parse_frommap_change_map_server) }, + { HP_POP(chr->parse_frommap_remove_friend, HP_chr_parse_frommap_remove_friend) }, + { HP_POP(chr->char_name_ack, HP_chr_char_name_ack) }, + { HP_POP(chr->parse_frommap_char_name_request, HP_chr_parse_frommap_char_name_request) }, + { HP_POP(chr->parse_frommap_change_email, HP_chr_parse_frommap_change_email) }, + { HP_POP(chr->ban, HP_chr_ban) }, + { HP_POP(chr->unban, HP_chr_unban) }, + { HP_POP(chr->ask_name_ack, HP_chr_ask_name_ack) }, + { HP_POP(chr->parse_frommap_change_account, HP_chr_parse_frommap_change_account) }, + { HP_POP(chr->parse_frommap_fame_list, HP_chr_parse_frommap_fame_list) }, + { HP_POP(chr->parse_frommap_divorce_char, HP_chr_parse_frommap_divorce_char) }, + { HP_POP(chr->parse_frommap_ragsrvinfo, HP_chr_parse_frommap_ragsrvinfo) }, + { HP_POP(chr->parse_frommap_set_char_offline, HP_chr_parse_frommap_set_char_offline) }, + { HP_POP(chr->parse_frommap_set_all_offline, HP_chr_parse_frommap_set_all_offline) }, + { HP_POP(chr->parse_frommap_set_char_online, HP_chr_parse_frommap_set_char_online) }, + { HP_POP(chr->parse_frommap_build_fame_list, HP_chr_parse_frommap_build_fame_list) }, + { HP_POP(chr->parse_frommap_save_status_change_data, HP_chr_parse_frommap_save_status_change_data) }, + { HP_POP(chr->send_pong, HP_chr_send_pong) }, + { HP_POP(chr->parse_frommap_ping, HP_chr_parse_frommap_ping) }, + { HP_POP(chr->map_auth_ok, HP_chr_map_auth_ok) }, + { 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) }, + { HP_POP(chr->search_mapserver, HP_chr_search_mapserver) }, + { HP_POP(chr->mapif_init, HP_chr_mapif_init) }, + { HP_POP(chr->lan_subnetcheck, HP_chr_lan_subnetcheck) }, + { HP_POP(chr->delete2_ack, HP_chr_delete2_ack) }, + { HP_POP(chr->delete2_accept_actual_ack, HP_chr_delete2_accept_actual_ack) }, + { HP_POP(chr->delete2_accept_ack, HP_chr_delete2_accept_ack) }, + { HP_POP(chr->delete2_cancel_ack, HP_chr_delete2_cancel_ack) }, + { HP_POP(chr->delete2_req, HP_chr_delete2_req) }, + { HP_POP(chr->delete2_accept, HP_chr_delete2_accept) }, + { HP_POP(chr->delete2_cancel, HP_chr_delete2_cancel) }, + { HP_POP(chr->send_account_id, HP_chr_send_account_id) }, + { HP_POP(chr->parse_char_connect, HP_chr_parse_char_connect) }, + { HP_POP(chr->send_map_info, HP_chr_send_map_info) }, + { HP_POP(chr->send_wait_char_server, HP_chr_send_wait_char_server) }, + { HP_POP(chr->search_default_maps_mapserver, HP_chr_search_default_maps_mapserver) }, + { HP_POP(chr->parse_char_select, HP_chr_parse_char_select) }, + { HP_POP(chr->creation_failed, HP_chr_creation_failed) }, + { HP_POP(chr->creation_ok, HP_chr_creation_ok) }, + { HP_POP(chr->parse_char_create_new_char, HP_chr_parse_char_create_new_char) }, + { HP_POP(chr->delete_char_failed, HP_chr_delete_char_failed) }, + { HP_POP(chr->delete_char_ok, HP_chr_delete_char_ok) }, + { HP_POP(chr->parse_char_delete_char, HP_chr_parse_char_delete_char) }, + { HP_POP(chr->parse_char_ping, HP_chr_parse_char_ping) }, + { HP_POP(chr->allow_rename, HP_chr_allow_rename) }, + { HP_POP(chr->parse_char_rename_char, HP_chr_parse_char_rename_char) }, + { HP_POP(chr->parse_char_rename_char2, HP_chr_parse_char_rename_char2) }, + { HP_POP(chr->rename_char_ack, HP_chr_rename_char_ack) }, + { HP_POP(chr->parse_char_rename_char_confirm, HP_chr_parse_char_rename_char_confirm) }, + { HP_POP(chr->captcha_notsupported, HP_chr_captcha_notsupported) }, + { HP_POP(chr->parse_char_request_captcha, HP_chr_parse_char_request_captcha) }, + { HP_POP(chr->parse_char_check_captcha, HP_chr_parse_char_check_captcha) }, + { HP_POP(chr->parse_char_delete2_req, HP_chr_parse_char_delete2_req) }, + { HP_POP(chr->parse_char_delete2_accept, HP_chr_parse_char_delete2_accept) }, + { HP_POP(chr->parse_char_delete2_cancel, HP_chr_parse_char_delete2_cancel) }, + { HP_POP(chr->login_map_server_ack, HP_chr_login_map_server_ack) }, + { HP_POP(chr->parse_char_login_map_server, HP_chr_parse_char_login_map_server) }, + { HP_POP(chr->parse_char_pincode_check, HP_chr_parse_char_pincode_check) }, + { HP_POP(chr->parse_char_pincode_window, HP_chr_parse_char_pincode_window) }, + { HP_POP(chr->parse_char_pincode_change, HP_chr_parse_char_pincode_change) }, + { HP_POP(chr->parse_char_pincode_first_pin, HP_chr_parse_char_pincode_first_pin) }, + { HP_POP(chr->parse_char_request_chars, HP_chr_parse_char_request_chars) }, + { HP_POP(chr->change_character_slot_ack, HP_chr_change_character_slot_ack) }, + { HP_POP(chr->parse_char_move_character, HP_chr_parse_char_move_character) }, + { HP_POP(chr->parse_char_unknown_packet, HP_chr_parse_char_unknown_packet) }, + { HP_POP(chr->parse_char, HP_chr_parse_char) }, + { HP_POP(chr->broadcast_user_count, HP_chr_broadcast_user_count) }, + { HP_POP(chr->send_accounts_tologin_sub, HP_chr_send_accounts_tologin_sub) }, + { HP_POP(chr->send_accounts_tologin, HP_chr_send_accounts_tologin) }, + { HP_POP(chr->check_connect_login_server, HP_chr_check_connect_login_server) }, + { HP_POP(chr->online_data_cleanup_sub, HP_chr_online_data_cleanup_sub) }, + { HP_POP(chr->online_data_cleanup, HP_chr_online_data_cleanup) }, + { HP_POP(chr->lan_config_read, HP_chr_lan_config_read) }, + { HP_POP(chr->sql_config_read, HP_chr_sql_config_read) }, + { HP_POP(chr->config_dispatch, HP_chr_config_dispatch) }, + { HP_POP(chr->config_read, HP_chr_config_read) }, +/* geoip */ + { HP_POP(geoip->getcountry, HP_geoip_getcountry) }, + { HP_POP(geoip->final, HP_geoip_final) }, + { HP_POP(geoip->init, HP_geoip_init) }, +/* inter_auction */ + { HP_POP(inter_auction->count, HP_inter_auction_count) }, + { HP_POP(inter_auction->save, HP_inter_auction_save) }, + { HP_POP(inter_auction->create, HP_inter_auction_create) }, + { HP_POP(inter_auction->end_timer, HP_inter_auction_end_timer) }, + { HP_POP(inter_auction->delete_, HP_inter_auction_delete_) }, + { HP_POP(inter_auction->fromsql, HP_inter_auction_fromsql) }, + { HP_POP(inter_auction->parse_frommap, HP_inter_auction_parse_frommap) }, + { HP_POP(inter_auction->sql_init, HP_inter_auction_sql_init) }, + { HP_POP(inter_auction->sql_final, HP_inter_auction_sql_final) }, +/* inter_elemental */ + { HP_POP(inter_elemental->sql_init, HP_inter_elemental_sql_init) }, + { HP_POP(inter_elemental->sql_final, HP_inter_elemental_sql_final) }, + { HP_POP(inter_elemental->parse_frommap, HP_inter_elemental_parse_frommap) }, +/* inter_guild */ + { HP_POP(inter_guild->save_timer, HP_inter_guild_save_timer) }, + { HP_POP(inter_guild->removemember_tosql, HP_inter_guild_removemember_tosql) }, + { HP_POP(inter_guild->tosql, HP_inter_guild_tosql) }, + { HP_POP(inter_guild->fromsql, HP_inter_guild_fromsql) }, + { HP_POP(inter_guild->castle_tosql, HP_inter_guild_castle_tosql) }, + { HP_POP(inter_guild->castle_fromsql, HP_inter_guild_castle_fromsql) }, + { HP_POP(inter_guild->exp_parse_row, HP_inter_guild_exp_parse_row) }, + { HP_POP(inter_guild->CharOnline, HP_inter_guild_CharOnline) }, + { HP_POP(inter_guild->CharOffline, HP_inter_guild_CharOffline) }, + { HP_POP(inter_guild->sql_init, HP_inter_guild_sql_init) }, + { HP_POP(inter_guild->db_final, HP_inter_guild_db_final) }, + { HP_POP(inter_guild->sql_final, HP_inter_guild_sql_final) }, + { HP_POP(inter_guild->search_guildname, HP_inter_guild_search_guildname) }, + { HP_POP(inter_guild->check_empty, HP_inter_guild_check_empty) }, + { HP_POP(inter_guild->nextexp, HP_inter_guild_nextexp) }, + { HP_POP(inter_guild->checkskill, HP_inter_guild_checkskill) }, + { HP_POP(inter_guild->calcinfo, HP_inter_guild_calcinfo) }, + { HP_POP(inter_guild->sex_changed, HP_inter_guild_sex_changed) }, + { HP_POP(inter_guild->charname_changed, HP_inter_guild_charname_changed) }, + { HP_POP(inter_guild->parse_frommap, HP_inter_guild_parse_frommap) }, + { HP_POP(inter_guild->leave, HP_inter_guild_leave) }, + { HP_POP(inter_guild->broken, HP_inter_guild_broken) }, +/* inter_homunculus */ + { HP_POP(inter_homunculus->sql_init, HP_inter_homunculus_sql_init) }, + { HP_POP(inter_homunculus->sql_final, HP_inter_homunculus_sql_final) }, + { HP_POP(inter_homunculus->parse_frommap, HP_inter_homunculus_parse_frommap) }, +/* inter */ + { HP_POP(inter->msg_txt, HP_inter_msg_txt) }, + { HP_POP(inter->msg_config_read, HP_inter_msg_config_read) }, + { HP_POP(inter->do_final_msg, HP_inter_do_final_msg) }, + { HP_POP(inter->job_name, HP_inter_job_name) }, + { HP_POP(inter->vmsg_to_fd, HP_inter_vmsg_to_fd) }, + { HP_POP(inter->savereg, HP_inter_savereg) }, + { HP_POP(inter->accreg_fromsql, HP_inter_accreg_fromsql) }, + { HP_POP(inter->config_read, HP_inter_config_read) }, + { HP_POP(inter->vlog, HP_inter_vlog) }, + { HP_POP(inter->init_sql, HP_inter_init_sql) }, + { HP_POP(inter->mapif_init, HP_inter_mapif_init) }, + { HP_POP(inter->check_ttl_wisdata_sub, HP_inter_check_ttl_wisdata_sub) }, + { HP_POP(inter->check_ttl_wisdata, HP_inter_check_ttl_wisdata) }, + { HP_POP(inter->check_length, HP_inter_check_length) }, + { HP_POP(inter->parse_frommap, HP_inter_parse_frommap) }, + { HP_POP(inter->final, HP_inter_final) }, +/* inter_mail */ + { HP_POP(inter_mail->sql_init, HP_inter_mail_sql_init) }, + { HP_POP(inter_mail->sql_final, HP_inter_mail_sql_final) }, + { HP_POP(inter_mail->parse_frommap, HP_inter_mail_parse_frommap) }, + { HP_POP(inter_mail->fromsql, HP_inter_mail_fromsql) }, + { HP_POP(inter_mail->savemessage, HP_inter_mail_savemessage) }, + { HP_POP(inter_mail->loadmessage, HP_inter_mail_loadmessage) }, + { HP_POP(inter_mail->DeleteAttach, HP_inter_mail_DeleteAttach) }, + { HP_POP(inter_mail->sendmail, HP_inter_mail_sendmail) }, +/* inter_mercenary */ + { HP_POP(inter_mercenary->owner_fromsql, HP_inter_mercenary_owner_fromsql) }, + { HP_POP(inter_mercenary->owner_tosql, HP_inter_mercenary_owner_tosql) }, + { HP_POP(inter_mercenary->owner_delete, HP_inter_mercenary_owner_delete) }, + { HP_POP(inter_mercenary->sql_init, HP_inter_mercenary_sql_init) }, + { HP_POP(inter_mercenary->sql_final, HP_inter_mercenary_sql_final) }, + { HP_POP(inter_mercenary->parse_frommap, HP_inter_mercenary_parse_frommap) }, +/* inter_party */ + { HP_POP(inter_party->check_lv, HP_inter_party_check_lv) }, + { HP_POP(inter_party->calc_state, HP_inter_party_calc_state) }, + { HP_POP(inter_party->tosql, HP_inter_party_tosql) }, + { HP_POP(inter_party->fromsql, HP_inter_party_fromsql) }, + { HP_POP(inter_party->sql_init, HP_inter_party_sql_init) }, + { HP_POP(inter_party->sql_final, HP_inter_party_sql_final) }, + { HP_POP(inter_party->search_partyname, HP_inter_party_search_partyname) }, + { HP_POP(inter_party->check_exp_share, HP_inter_party_check_exp_share) }, + { HP_POP(inter_party->check_empty, HP_inter_party_check_empty) }, + { HP_POP(inter_party->parse_frommap, HP_inter_party_parse_frommap) }, + { HP_POP(inter_party->leave, HP_inter_party_leave) }, + { HP_POP(inter_party->CharOnline, HP_inter_party_CharOnline) }, + { HP_POP(inter_party->CharOffline, HP_inter_party_CharOffline) }, +/* inter_pet */ + { HP_POP(inter_pet->tosql, HP_inter_pet_tosql) }, + { HP_POP(inter_pet->fromsql, HP_inter_pet_fromsql) }, + { HP_POP(inter_pet->sql_init, HP_inter_pet_sql_init) }, + { HP_POP(inter_pet->sql_final, HP_inter_pet_sql_final) }, + { HP_POP(inter_pet->delete_, HP_inter_pet_delete_) }, + { HP_POP(inter_pet->parse_frommap, HP_inter_pet_parse_frommap) }, +/* inter_quest */ + { HP_POP(inter_quest->parse_frommap, HP_inter_quest_parse_frommap) }, +/* inter_storage */ + { HP_POP(inter_storage->tosql, HP_inter_storage_tosql) }, + { HP_POP(inter_storage->fromsql, HP_inter_storage_fromsql) }, + { HP_POP(inter_storage->guild_storage_tosql, HP_inter_storage_guild_storage_tosql) }, + { HP_POP(inter_storage->guild_storage_fromsql, HP_inter_storage_guild_storage_fromsql) }, + { HP_POP(inter_storage->sql_init, HP_inter_storage_sql_init) }, + { HP_POP(inter_storage->sql_final, HP_inter_storage_sql_final) }, + { HP_POP(inter_storage->delete_, HP_inter_storage_delete_) }, + { HP_POP(inter_storage->guild_storage_delete, HP_inter_storage_guild_storage_delete) }, + { HP_POP(inter_storage->parse_frommap, HP_inter_storage_parse_frommap) }, +/* loginif */ + { HP_POP(loginif->reset, HP_loginif_reset) }, + { HP_POP(loginif->check_shutdown, HP_loginif_check_shutdown) }, + { HP_POP(loginif->on_disconnect, HP_loginif_on_disconnect) }, + { HP_POP(loginif->on_ready, HP_loginif_on_ready) }, + { HP_POP(loginif->block_account, HP_loginif_block_account) }, + { HP_POP(loginif->ban_account, HP_loginif_ban_account) }, + { HP_POP(loginif->unban_account, HP_loginif_unban_account) }, + { HP_POP(loginif->changesex, HP_loginif_changesex) }, + { HP_POP(loginif->auth, HP_loginif_auth) }, + { HP_POP(loginif->send_users_count, HP_loginif_send_users_count) }, + { HP_POP(loginif->connect_to_server, HP_loginif_connect_to_server) }, +/* mapif */ + { HP_POP(mapif->ban, HP_mapif_ban) }, + { HP_POP(mapif->server_init, HP_mapif_server_init) }, + { HP_POP(mapif->server_destroy, HP_mapif_server_destroy) }, + { HP_POP(mapif->server_reset, HP_mapif_server_reset) }, + { HP_POP(mapif->on_disconnect, HP_mapif_on_disconnect) }, + { HP_POP(mapif->on_parse_accinfo, HP_mapif_on_parse_accinfo) }, + { HP_POP(mapif->char_ban, HP_mapif_char_ban) }, + { HP_POP(mapif->sendall, HP_mapif_sendall) }, + { HP_POP(mapif->sendallwos, HP_mapif_sendallwos) }, + { HP_POP(mapif->send, HP_mapif_send) }, + { HP_POP(mapif->send_users_count, HP_mapif_send_users_count) }, + { HP_POP(mapif->auction_message, HP_mapif_auction_message) }, + { HP_POP(mapif->auction_sendlist, HP_mapif_auction_sendlist) }, + { HP_POP(mapif->parse_auction_requestlist, HP_mapif_parse_auction_requestlist) }, + { HP_POP(mapif->auction_register, HP_mapif_auction_register) }, + { HP_POP(mapif->parse_auction_register, HP_mapif_parse_auction_register) }, + { HP_POP(mapif->auction_cancel, HP_mapif_auction_cancel) }, + { HP_POP(mapif->parse_auction_cancel, HP_mapif_parse_auction_cancel) }, + { HP_POP(mapif->auction_close, HP_mapif_auction_close) }, + { HP_POP(mapif->parse_auction_close, HP_mapif_parse_auction_close) }, + { HP_POP(mapif->auction_bid, HP_mapif_auction_bid) }, + { HP_POP(mapif->parse_auction_bid, HP_mapif_parse_auction_bid) }, + { HP_POP(mapif->elemental_save, HP_mapif_elemental_save) }, + { HP_POP(mapif->elemental_load, HP_mapif_elemental_load) }, + { HP_POP(mapif->elemental_delete, HP_mapif_elemental_delete) }, + { HP_POP(mapif->elemental_send, HP_mapif_elemental_send) }, + { HP_POP(mapif->parse_elemental_create, HP_mapif_parse_elemental_create) }, + { HP_POP(mapif->parse_elemental_load, HP_mapif_parse_elemental_load) }, + { HP_POP(mapif->elemental_deleted, HP_mapif_elemental_deleted) }, + { HP_POP(mapif->parse_elemental_delete, HP_mapif_parse_elemental_delete) }, + { HP_POP(mapif->elemental_saved, HP_mapif_elemental_saved) }, + { HP_POP(mapif->parse_elemental_save, HP_mapif_parse_elemental_save) }, + { HP_POP(mapif->guild_created, HP_mapif_guild_created) }, + { HP_POP(mapif->guild_noinfo, HP_mapif_guild_noinfo) }, + { HP_POP(mapif->guild_info, HP_mapif_guild_info) }, + { HP_POP(mapif->guild_memberadded, HP_mapif_guild_memberadded) }, + { HP_POP(mapif->guild_withdraw, HP_mapif_guild_withdraw) }, + { HP_POP(mapif->guild_memberinfoshort, HP_mapif_guild_memberinfoshort) }, + { HP_POP(mapif->guild_broken, HP_mapif_guild_broken) }, + { HP_POP(mapif->guild_message, HP_mapif_guild_message) }, + { HP_POP(mapif->guild_basicinfochanged, HP_mapif_guild_basicinfochanged) }, + { HP_POP(mapif->guild_memberinfochanged, HP_mapif_guild_memberinfochanged) }, + { HP_POP(mapif->guild_skillupack, HP_mapif_guild_skillupack) }, + { HP_POP(mapif->guild_alliance, HP_mapif_guild_alliance) }, + { HP_POP(mapif->guild_position, HP_mapif_guild_position) }, + { HP_POP(mapif->guild_notice, HP_mapif_guild_notice) }, + { HP_POP(mapif->guild_emblem, HP_mapif_guild_emblem) }, + { HP_POP(mapif->guild_master_changed, HP_mapif_guild_master_changed) }, + { HP_POP(mapif->guild_castle_dataload, HP_mapif_guild_castle_dataload) }, + { HP_POP(mapif->parse_CreateGuild, HP_mapif_parse_CreateGuild) }, + { HP_POP(mapif->parse_GuildInfo, HP_mapif_parse_GuildInfo) }, + { HP_POP(mapif->parse_GuildAddMember, HP_mapif_parse_GuildAddMember) }, + { HP_POP(mapif->parse_GuildLeave, HP_mapif_parse_GuildLeave) }, + { HP_POP(mapif->parse_GuildChangeMemberInfoShort, HP_mapif_parse_GuildChangeMemberInfoShort) }, + { HP_POP(mapif->parse_BreakGuild, HP_mapif_parse_BreakGuild) }, + { HP_POP(mapif->parse_GuildMessage, HP_mapif_parse_GuildMessage) }, + { HP_POP(mapif->parse_GuildBasicInfoChange, HP_mapif_parse_GuildBasicInfoChange) }, + { HP_POP(mapif->parse_GuildMemberInfoChange, HP_mapif_parse_GuildMemberInfoChange) }, + { HP_POP(mapif->parse_GuildPosition, HP_mapif_parse_GuildPosition) }, + { HP_POP(mapif->parse_GuildSkillUp, HP_mapif_parse_GuildSkillUp) }, + { HP_POP(mapif->parse_GuildDeleteAlliance, HP_mapif_parse_GuildDeleteAlliance) }, + { HP_POP(mapif->parse_GuildAlliance, HP_mapif_parse_GuildAlliance) }, + { HP_POP(mapif->parse_GuildNotice, HP_mapif_parse_GuildNotice) }, + { HP_POP(mapif->parse_GuildEmblem, HP_mapif_parse_GuildEmblem) }, + { HP_POP(mapif->parse_GuildCastleDataLoad, HP_mapif_parse_GuildCastleDataLoad) }, + { HP_POP(mapif->parse_GuildCastleDataSave, HP_mapif_parse_GuildCastleDataSave) }, + { HP_POP(mapif->parse_GuildMasterChange, HP_mapif_parse_GuildMasterChange) }, + { HP_POP(mapif->homunculus_created, HP_mapif_homunculus_created) }, + { HP_POP(mapif->homunculus_deleted, HP_mapif_homunculus_deleted) }, + { HP_POP(mapif->homunculus_loaded, HP_mapif_homunculus_loaded) }, + { HP_POP(mapif->homunculus_saved, HP_mapif_homunculus_saved) }, + { HP_POP(mapif->homunculus_renamed, HP_mapif_homunculus_renamed) }, + { HP_POP(mapif->homunculus_save, HP_mapif_homunculus_save) }, + { HP_POP(mapif->homunculus_load, HP_mapif_homunculus_load) }, + { HP_POP(mapif->homunculus_delete, HP_mapif_homunculus_delete) }, + { HP_POP(mapif->homunculus_rename, HP_mapif_homunculus_rename) }, + { HP_POP(mapif->parse_homunculus_create, HP_mapif_parse_homunculus_create) }, + { HP_POP(mapif->parse_homunculus_delete, HP_mapif_parse_homunculus_delete) }, + { HP_POP(mapif->parse_homunculus_load, HP_mapif_parse_homunculus_load) }, + { HP_POP(mapif->parse_homunculus_save, HP_mapif_parse_homunculus_save) }, + { HP_POP(mapif->parse_homunculus_rename, HP_mapif_parse_homunculus_rename) }, + { HP_POP(mapif->mail_sendinbox, HP_mapif_mail_sendinbox) }, + { HP_POP(mapif->parse_mail_requestinbox, HP_mapif_parse_mail_requestinbox) }, + { HP_POP(mapif->parse_mail_read, HP_mapif_parse_mail_read) }, + { HP_POP(mapif->mail_sendattach, HP_mapif_mail_sendattach) }, + { HP_POP(mapif->mail_getattach, HP_mapif_mail_getattach) }, + { HP_POP(mapif->parse_mail_getattach, HP_mapif_parse_mail_getattach) }, + { HP_POP(mapif->mail_delete, HP_mapif_mail_delete) }, + { HP_POP(mapif->parse_mail_delete, HP_mapif_parse_mail_delete) }, + { HP_POP(mapif->mail_new, HP_mapif_mail_new) }, + { HP_POP(mapif->mail_return, HP_mapif_mail_return) }, + { HP_POP(mapif->parse_mail_return, HP_mapif_parse_mail_return) }, + { HP_POP(mapif->mail_send, HP_mapif_mail_send) }, + { HP_POP(mapif->parse_mail_send, HP_mapif_parse_mail_send) }, + { HP_POP(mapif->mercenary_save, HP_mapif_mercenary_save) }, + { HP_POP(mapif->mercenary_load, HP_mapif_mercenary_load) }, + { HP_POP(mapif->mercenary_delete, HP_mapif_mercenary_delete) }, + { HP_POP(mapif->mercenary_send, HP_mapif_mercenary_send) }, + { HP_POP(mapif->parse_mercenary_create, HP_mapif_parse_mercenary_create) }, + { HP_POP(mapif->parse_mercenary_load, HP_mapif_parse_mercenary_load) }, + { HP_POP(mapif->mercenary_deleted, HP_mapif_mercenary_deleted) }, + { HP_POP(mapif->parse_mercenary_delete, HP_mapif_parse_mercenary_delete) }, + { HP_POP(mapif->mercenary_saved, HP_mapif_mercenary_saved) }, + { HP_POP(mapif->parse_mercenary_save, HP_mapif_parse_mercenary_save) }, + { HP_POP(mapif->party_created, HP_mapif_party_created) }, + { HP_POP(mapif->party_noinfo, HP_mapif_party_noinfo) }, + { HP_POP(mapif->party_info, HP_mapif_party_info) }, + { HP_POP(mapif->party_memberadded, HP_mapif_party_memberadded) }, + { HP_POP(mapif->party_optionchanged, HP_mapif_party_optionchanged) }, + { HP_POP(mapif->party_withdraw, HP_mapif_party_withdraw) }, + { HP_POP(mapif->party_membermoved, HP_mapif_party_membermoved) }, + { HP_POP(mapif->party_broken, HP_mapif_party_broken) }, + { HP_POP(mapif->party_message, HP_mapif_party_message) }, + { HP_POP(mapif->parse_CreateParty, HP_mapif_parse_CreateParty) }, + { HP_POP(mapif->parse_PartyInfo, HP_mapif_parse_PartyInfo) }, + { HP_POP(mapif->parse_PartyAddMember, HP_mapif_parse_PartyAddMember) }, + { HP_POP(mapif->parse_PartyChangeOption, HP_mapif_parse_PartyChangeOption) }, + { HP_POP(mapif->parse_PartyLeave, HP_mapif_parse_PartyLeave) }, + { HP_POP(mapif->parse_PartyChangeMap, HP_mapif_parse_PartyChangeMap) }, + { HP_POP(mapif->parse_BreakParty, HP_mapif_parse_BreakParty) }, + { HP_POP(mapif->parse_PartyMessage, HP_mapif_parse_PartyMessage) }, + { HP_POP(mapif->parse_PartyLeaderChange, HP_mapif_parse_PartyLeaderChange) }, + { HP_POP(mapif->pet_created, HP_mapif_pet_created) }, + { HP_POP(mapif->pet_info, HP_mapif_pet_info) }, + { HP_POP(mapif->pet_noinfo, HP_mapif_pet_noinfo) }, + { HP_POP(mapif->save_pet_ack, HP_mapif_save_pet_ack) }, + { HP_POP(mapif->delete_pet_ack, HP_mapif_delete_pet_ack) }, + { HP_POP(mapif->create_pet, HP_mapif_create_pet) }, + { HP_POP(mapif->load_pet, HP_mapif_load_pet) }, + { HP_POP(mapif->save_pet, HP_mapif_save_pet) }, + { HP_POP(mapif->delete_pet, HP_mapif_delete_pet) }, + { HP_POP(mapif->parse_CreatePet, HP_mapif_parse_CreatePet) }, + { HP_POP(mapif->parse_LoadPet, HP_mapif_parse_LoadPet) }, + { HP_POP(mapif->parse_SavePet, HP_mapif_parse_SavePet) }, + { HP_POP(mapif->parse_DeletePet, HP_mapif_parse_DeletePet) }, + { HP_POP(mapif->quests_fromsql, HP_mapif_quests_fromsql) }, + { HP_POP(mapif->quest_delete, HP_mapif_quest_delete) }, + { HP_POP(mapif->quest_add, HP_mapif_quest_add) }, + { HP_POP(mapif->quest_update, HP_mapif_quest_update) }, + { HP_POP(mapif->quest_save_ack, HP_mapif_quest_save_ack) }, + { HP_POP(mapif->parse_quest_save, HP_mapif_parse_quest_save) }, + { HP_POP(mapif->send_quests, HP_mapif_send_quests) }, + { HP_POP(mapif->parse_quest_load, HP_mapif_parse_quest_load) }, + { HP_POP(mapif->load_guild_storage, HP_mapif_load_guild_storage) }, + { HP_POP(mapif->save_guild_storage_ack, HP_mapif_save_guild_storage_ack) }, + { HP_POP(mapif->parse_LoadGuildStorage, HP_mapif_parse_LoadGuildStorage) }, + { HP_POP(mapif->parse_SaveGuildStorage, HP_mapif_parse_SaveGuildStorage) }, + { HP_POP(mapif->itembound_ack, HP_mapif_itembound_ack) }, + { HP_POP(mapif->parse_ItemBoundRetrieve_sub, HP_mapif_parse_ItemBoundRetrieve_sub) }, + { HP_POP(mapif->parse_ItemBoundRetrieve, HP_mapif_parse_ItemBoundRetrieve) }, + { HP_POP(mapif->parse_accinfo, HP_mapif_parse_accinfo) }, + { HP_POP(mapif->parse_accinfo2, HP_mapif_parse_accinfo2) }, + { HP_POP(mapif->broadcast, HP_mapif_broadcast) }, + { HP_POP(mapif->wis_message, HP_mapif_wis_message) }, + { HP_POP(mapif->wis_response, HP_mapif_wis_response) }, + { HP_POP(mapif->wis_end, HP_mapif_wis_end) }, + { HP_POP(mapif->account_reg_reply, HP_mapif_account_reg_reply) }, + { HP_POP(mapif->disconnectplayer, HP_mapif_disconnectplayer) }, + { HP_POP(mapif->parse_broadcast, HP_mapif_parse_broadcast) }, + { HP_POP(mapif->parse_WisRequest, HP_mapif_parse_WisRequest) }, + { HP_POP(mapif->parse_WisReply, HP_mapif_parse_WisReply) }, + { HP_POP(mapif->parse_WisToGM, HP_mapif_parse_WisToGM) }, + { HP_POP(mapif->parse_Registry, HP_mapif_parse_Registry) }, + { HP_POP(mapif->parse_RegistryRequest, HP_mapif_parse_RegistryRequest) }, + { HP_POP(mapif->namechange_ack, HP_mapif_namechange_ack) }, + { HP_POP(mapif->parse_NameChangeRequest, HP_mapif_parse_NameChangeRequest) }, /* pincode */ { HP_POP(pincode->handle, HP_pincode_handle) }, { HP_POP(pincode->decrypt, HP_pincode_decrypt) }, @@ -18,4 +467,4 @@ struct HookingPointData HookingPoints[] = { { HP_POP(pincode->config_read, HP_pincode_config_read) }, }; -int HookingPointsLenMax = 20; +int HookingPointsLenMax = 42; |