From c53f8a099151f2e8c26c0ab36f35d34256c0d6cb Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 7 Aug 2020 09:26:17 -0300 Subject: This is Hercules v2019.08.25 --- src/common/HPMDataCheck.h | 7 ++-- src/common/packets/packets2019_len_main.h | 54 ++++++++++++++++++++++++++++--- src/common/packets/packets2019_len_re.h | 54 ++++++++++++++++++++++++++++--- src/common/packets/packets2019_len_zero.h | 49 +++++++++++++++++++++++++--- 4 files changed, 147 insertions(+), 17 deletions(-) (limited to 'src/common') diff --git a/src/common/HPMDataCheck.h b/src/common/HPMDataCheck.h index d63ed7b99..96fea8fe0 100644 --- a/src/common/HPMDataCheck.h +++ b/src/common/HPMDataCheck.h @@ -52,7 +52,6 @@ HPExport const struct s_HPMDataCheck HPMDataCheck[] = { #define CHAR_GEOIP_H #endif // CHAR_GEOIP_H #ifdef CHAR_INTER_H - { "WisData", sizeof(struct WisData), SERVER_TYPE_CHAR }, { "inter_interface", sizeof(struct inter_interface), SERVER_TYPE_CHAR }, #else #define CHAR_INTER_H @@ -681,6 +680,7 @@ HPExport const struct s_HPMDataCheck HPMDataCheck[] = { { "PACKET_ZC_ADD_ITEM_TO_MAIL", sizeof(struct PACKET_ZC_ADD_ITEM_TO_MAIL), SERVER_TYPE_MAP }, { "PACKET_ZC_ADD_ITEM_TO_STORE", sizeof(struct PACKET_ZC_ADD_ITEM_TO_STORE), SERVER_TYPE_MAP }, { "PACKET_ZC_ADD_MEMBER_TO_GROUP", sizeof(struct PACKET_ZC_ADD_MEMBER_TO_GROUP), SERVER_TYPE_MAP }, + { "PACKET_ZC_ADD_SKILL", sizeof(struct PACKET_ZC_ADD_SKILL), SERVER_TYPE_MAP }, { "PACKET_ZC_BAN_LIST", sizeof(struct PACKET_ZC_BAN_LIST), SERVER_TYPE_MAP }, { "PACKET_ZC_BAN_LIST_sub", sizeof(struct PACKET_ZC_BAN_LIST_sub), SERVER_TYPE_MAP }, { "PACKET_ZC_CASH_ITEM_DELETE", sizeof(struct PACKET_ZC_CASH_ITEM_DELETE), SERVER_TYPE_MAP }, @@ -716,6 +716,7 @@ HPExport const struct s_HPMDataCheck HPMDataCheck[] = { { "PACKET_ZC_NOTIFY_UNREADMAIL", sizeof(struct PACKET_ZC_NOTIFY_UNREADMAIL), SERVER_TYPE_MAP }, { "PACKET_ZC_NOTIFY_WEAPONITEMLIST", sizeof(struct PACKET_ZC_NOTIFY_WEAPONITEMLIST), SERVER_TYPE_MAP }, { "PACKET_ZC_NOTIFY_WEAPONITEMLIST_sub", sizeof(struct PACKET_ZC_NOTIFY_WEAPONITEMLIST_sub), SERVER_TYPE_MAP }, + { "PACKET_ZC_NPC_MARKET_PURCHASE_RESULT_sub", sizeof(struct PACKET_ZC_NPC_MARKET_PURCHASE_RESULT_sub), SERVER_TYPE_MAP }, { "PACKET_ZC_OPEN_UI", sizeof(struct PACKET_ZC_OPEN_UI), SERVER_TYPE_MAP }, { "PACKET_ZC_OVERWEIGHT_PERCENT", sizeof(struct PACKET_ZC_OVERWEIGHT_PERCENT), SERVER_TYPE_MAP }, { "PACKET_ZC_PC_CASH_POINT_ITEMLIST", sizeof(struct PACKET_ZC_PC_CASH_POINT_ITEMLIST), SERVER_TYPE_MAP }, @@ -735,6 +736,8 @@ HPExport const struct s_HPMDataCheck HPMDataCheck[] = { { "PACKET_ZC_SEARCH_STORE_INFO_ACK", sizeof(struct PACKET_ZC_SEARCH_STORE_INFO_ACK), SERVER_TYPE_MAP }, { "PACKET_ZC_SEARCH_STORE_INFO_ACK_sub", sizeof(struct PACKET_ZC_SEARCH_STORE_INFO_ACK_sub), SERVER_TYPE_MAP }, { "PACKET_ZC_SKILL_SCALE", sizeof(struct PACKET_ZC_SKILL_SCALE), SERVER_TYPE_MAP }, + { "PACKET_ZC_SKILLINFO_LIST", sizeof(struct PACKET_ZC_SKILLINFO_LIST), SERVER_TYPE_MAP }, + { "PACKET_ZC_SKILLINFO_UPDATE2", sizeof(struct PACKET_ZC_SKILLINFO_UPDATE2), SERVER_TYPE_MAP }, { "PACKET_ZC_SPRITE_CHANGE", sizeof(struct PACKET_ZC_SPRITE_CHANGE), SERVER_TYPE_MAP }, { "PACKET_ZC_STATUS_CHANGE_ACK", sizeof(struct PACKET_ZC_STATUS_CHANGE_ACK), SERVER_TYPE_MAP }, { "PACKET_ZC_STYLE_CHANGE_RES", sizeof(struct PACKET_ZC_STYLE_CHANGE_RES), SERVER_TYPE_MAP }, @@ -744,6 +747,7 @@ HPExport const struct s_HPMDataCheck HPMDataCheck[] = { { "PACKET_ZC_WARPLIST", sizeof(struct PACKET_ZC_WARPLIST), SERVER_TYPE_MAP }, { "PACKET_ZC_WARPLIST_sub", sizeof(struct PACKET_ZC_WARPLIST_sub), SERVER_TYPE_MAP }, { "PACKET_ZC_WRITE_MAIL_RESULT", sizeof(struct PACKET_ZC_WRITE_MAIL_RESULT), SERVER_TYPE_MAP }, + { "SKILLDATA", sizeof(struct SKILLDATA), SERVER_TYPE_MAP }, { "ZC_INVENTORY_END", sizeof(struct ZC_INVENTORY_END), SERVER_TYPE_MAP }, { "ZC_INVENTORY_START", sizeof(struct ZC_INVENTORY_START), SERVER_TYPE_MAP }, { "ZC_PROGRESS_ACTOR", sizeof(struct ZC_PROGRESS_ACTOR), SERVER_TYPE_MAP }, @@ -790,7 +794,6 @@ HPExport const struct s_HPMDataCheck HPMDataCheck[] = { { "packet_monster_hp", sizeof(struct packet_monster_hp), SERVER_TYPE_MAP }, { "packet_notify_bounditem", sizeof(struct packet_notify_bounditem), SERVER_TYPE_MAP }, { "packet_npc_market_purchase", sizeof(struct packet_npc_market_purchase), SERVER_TYPE_MAP }, - { "packet_npc_market_result_ack", sizeof(struct packet_npc_market_result_ack), SERVER_TYPE_MAP }, { "packet_package_item_announce", sizeof(struct packet_package_item_announce), SERVER_TYPE_MAP }, { "packet_party_leader_changed", sizeof(struct packet_party_leader_changed), SERVER_TYPE_MAP }, { "packet_quest_add_header", sizeof(struct packet_quest_add_header), SERVER_TYPE_MAP }, diff --git a/src/common/packets/packets2019_len_main.h b/src/common/packets/packets2019_len_main.h index bfcb7c159..949aae804 100644 --- a/src/common/packets/packets2019_len_main.h +++ b/src/common/packets/packets2019_len_main.h @@ -4312,7 +4312,9 @@ packetLen(0x0b02, 26) // AC_REFUSE_LOGIN4 packetLen(0x0b03, -1) // ZC_EQUIPWIN_MICROSCOPE_V7 // Packet: 0x0b04 -#if PACKETVER >= 20190605 +#if PACKETVER >= 20190807 +packetLen(0x0b04, 90) +#elif PACKETVER >= 20190605 packetLen(0x0b04, 72) #elif PACKETVER >= 20190109 packetLen(0x0b04, 80) @@ -4521,17 +4523,17 @@ packetLen(0x0b30, -1) // Packet: 0x0b31 #if PACKETVER >= 20190619 -packetLen(0x0b31, 17) +packetLen(0x0b31, 17) // ZC_ADD_SKILL #endif // Packet: 0x0b32 #if PACKETVER >= 20190619 -packetLen(0x0b32, -1) +packetLen(0x0b32, -1) // ZC_SKILLINFO_LIST #endif // Packet: 0x0b33 #if PACKETVER >= 20190619 -packetLen(0x0b33, 17) +packetLen(0x0b33, 17) // ZC_SKILLINFO_UPDATE2 #endif // Packet: 0x0b34 @@ -4662,9 +4664,51 @@ packetLen(0x0b4c, 2) #endif // Packet: 0x0b4d -#if PACKETVER >= 20190724 +#if PACKETVER >= 20190807 +packetLen(0x0b4d, -1) +#elif PACKETVER >= 20190724 packetLen(0x0b4d, 6) #endif +// Packet: 0x0b4e +#if PACKETVER >= 20190807 +packetLen(0x0b4e, -1) +#endif + +// Packet: 0x0b4f +#if PACKETVER >= 20190807 +packetLen(0x0b4f, 2) +#endif + +// Packet: 0x0b50 +#if PACKETVER >= 20190807 +packetLen(0x0b50, 2) +#endif + +// Packet: 0x0b51 +#if PACKETVER >= 20190807 +packetLen(0x0b51, 2) +#endif + +// Packet: 0x0b52 +#if PACKETVER >= 20190807 +packetLen(0x0b52, 2) +#endif + +// Packet: 0x0b53 +#if PACKETVER >= 20190821 +packetLen(0x0b53, 52) +#endif + +// Packet: 0x0b54 +#if PACKETVER >= 20190821 +packetLen(0x0b54, 8) +#endif + +// Packet: 0x0b55 +#if PACKETVER >= 20190821 +packetLen(0x0b55, -1) +#endif + #endif /* COMMON_PACKETS2019_LEN_MAIN_H */ diff --git a/src/common/packets/packets2019_len_re.h b/src/common/packets/packets2019_len_re.h index 33aa7a524..c31a10191 100644 --- a/src/common/packets/packets2019_len_re.h +++ b/src/common/packets/packets2019_len_re.h @@ -4318,7 +4318,9 @@ packetLen(0x0b02, 26) // AC_REFUSE_LOGIN4 packetLen(0x0b03, -1) // ZC_EQUIPWIN_MICROSCOPE_V7 // Packet: 0x0b04 -#if PACKETVER >= 20190605 +#if PACKETVER >= 20190807 +packetLen(0x0b04, 90) +#elif PACKETVER >= 20190605 packetLen(0x0b04, 72) #elif PACKETVER >= 20190109 packetLen(0x0b04, 80) @@ -4533,17 +4535,17 @@ packetLen(0x0b30, -1) // Packet: 0x0b31 #if PACKETVER >= 20190619 -packetLen(0x0b31, 17) +packetLen(0x0b31, 17) // ZC_ADD_SKILL #endif // Packet: 0x0b32 #if PACKETVER >= 20190619 -packetLen(0x0b32, -1) +packetLen(0x0b32, -1) // ZC_SKILLINFO_LIST #endif // Packet: 0x0b33 #if PACKETVER >= 20190619 -packetLen(0x0b33, 17) +packetLen(0x0b33, 17) // ZC_SKILLINFO_UPDATE2 #endif // Packet: 0x0b34 @@ -4674,9 +4676,51 @@ packetLen(0x0b4c, 2) #endif // Packet: 0x0b4d -#if PACKETVER >= 20190724 +#if PACKETVER >= 20190807 +packetLen(0x0b4d, -1) +#elif PACKETVER >= 20190724 packetLen(0x0b4d, 6) #endif +// Packet: 0x0b4e +#if PACKETVER >= 20190807 +packetLen(0x0b4e, -1) +#endif + +// Packet: 0x0b4f +#if PACKETVER >= 20190807 +packetLen(0x0b4f, 2) +#endif + +// Packet: 0x0b50 +#if PACKETVER >= 20190807 +packetLen(0x0b50, 2) +#endif + +// Packet: 0x0b51 +#if PACKETVER >= 20190807 +packetLen(0x0b51, 2) +#endif + +// Packet: 0x0b52 +#if PACKETVER >= 20190807 +packetLen(0x0b52, 2) +#endif + +// Packet: 0x0b53 +#if PACKETVER >= 20190821 +packetLen(0x0b53, 52) +#endif + +// Packet: 0x0b54 +#if PACKETVER >= 20190821 +packetLen(0x0b54, 8) +#endif + +// Packet: 0x0b55 +#if PACKETVER >= 20190821 +packetLen(0x0b55, -1) +#endif + #endif /* COMMON_PACKETS2019_LEN_RE_H */ diff --git a/src/common/packets/packets2019_len_zero.h b/src/common/packets/packets2019_len_zero.h index 7b9310cf2..abe81796c 100644 --- a/src/common/packets/packets2019_len_zero.h +++ b/src/common/packets/packets2019_len_zero.h @@ -4312,7 +4312,9 @@ packetLen(0x0b02, 26) // AC_REFUSE_LOGIN4 packetLen(0x0b03, -1) // ZC_EQUIPWIN_MICROSCOPE_V7 // Packet: 0x0b04 -#if PACKETVER >= 20190605 +#if PACKETVER >= 20190814 +packetLen(0x0b04, 90) +#elif PACKETVER >= 20190605 packetLen(0x0b04, 72) #elif PACKETVER >= 20190116 packetLen(0x0b04, 80) @@ -4513,17 +4515,17 @@ packetLen(0x0b30, -1) // Packet: 0x0b31 #if PACKETVER >= 20190626 -packetLen(0x0b31, 17) +packetLen(0x0b31, 17) // ZC_ADD_SKILL #endif // Packet: 0x0b32 #if PACKETVER >= 20190626 -packetLen(0x0b32, -1) +packetLen(0x0b32, -1) // ZC_SKILLINFO_LIST #endif // Packet: 0x0b33 #if PACKETVER >= 20190626 -packetLen(0x0b33, 17) +packetLen(0x0b33, 17) // ZC_SKILLINFO_UPDATE2 #endif // Packet: 0x0b34 @@ -4654,9 +4656,46 @@ packetLen(0x0b4c, 2) #endif // Packet: 0x0b4d -#if PACKETVER >= 20190724 +#if PACKETVER >= 20190814 +packetLen(0x0b4d, -1) +#elif PACKETVER >= 20190724 packetLen(0x0b4d, 6) #endif +// Packet: 0x0b4e +#if PACKETVER >= 20190814 +packetLen(0x0b4e, -1) +#endif + +// Packet: 0x0b4f +#if PACKETVER >= 20190814 +packetLen(0x0b4f, 2) +#endif + +// Packet: 0x0b50 +#if PACKETVER >= 20190814 +packetLen(0x0b50, 2) +#endif + +// Packet: 0x0b51 +#if PACKETVER >= 20190814 +packetLen(0x0b51, 2) +#endif + +// Packet: 0x0b52 +#if PACKETVER >= 20190814 +packetLen(0x0b52, 2) +#endif + +// Packet: 0x0b53 +#if PACKETVER >= 20190814 +packetLen(0x0b53, 52) +#endif + +// Packet: 0x0b54 +#if PACKETVER >= 20190814 +packetLen(0x0b54, 8) +#endif + #endif /* COMMON_PACKETS2019_LEN_ZERO_H */ -- cgit v1.2.3-70-g09d2