AVA2 unlock P4: sash (mt_sash windows/slot/tooltips, sash module, CHR_EQUIPPART_SASH, item_scale)
Client side of metin2-server FEATURE-AVA2-UNLOCK P4: HEADER_CG_SASH 211 / HEADER_GC_SASH 215, a fifth awPart WORD in the character packets (old servers break), the sash part attached by scale per job/sex, the combine and absorb windows in script mt_sash, and quest tools/server/sash on 20016. The ava2items pack keeps the four grade-4 sashes plus their effects, acce window images and item_scale.txt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
0d2a9ebe36
commit
4d7306792e
@@ -43,7 +43,7 @@ inline constexpr int ID_MAX_NUM = 30; // Packet.h -> login[31]
|
||||
inline constexpr int PASS_MAX_NUM = 16; // -> passwd[17]
|
||||
inline constexpr int PRIVATE_CODE_LENGTH = 8;
|
||||
inline constexpr int POINT_MAX_NUM = 255; // common/length.h:58
|
||||
inline constexpr int CHR_EQUIPPART_NUM = 4; // ARMOR/WEAPON/HEAD/HAIR
|
||||
inline constexpr int CHR_EQUIPPART_NUM = 5; // ARMOR/WEAPON/HEAD/HAIR + AVA2 SASH (metin2-server P4)
|
||||
inline constexpr int LOGIN_STATUS_MAX_LEN = 8; // -> szStatus[9]
|
||||
inline constexpr int KEY_AGREEMENT_MAX_DATA_LEN = 256;
|
||||
inline constexpr int ITEM_SOCKET_MAX_NUM = 3; // common/item_length.h
|
||||
@@ -645,7 +645,7 @@ struct GCCharacterAdd2 { // packet_add_char2 — name + parts + guild
|
||||
uint32_t mount_vnum;
|
||||
};
|
||||
static_assert(sizeof(GCCharacterAdd2) ==
|
||||
1 + 4 + (CHARACTER_NAME_MAX_LEN + 1) + 4 + 12 + 1 + 2 + 8 + 1 + 1 + 1 + 8 + 1 + 4 + 2 + 1 + 4); // 120
|
||||
1 + 4 + (CHARACTER_NAME_MAX_LEN + 1) + 4 + 12 + 1 + 2 + 2 * CHR_EQUIPPART_NUM + 1 + 1 + 1 + 8 + 1 + 4 + 2 + 1 + 4); // 122
|
||||
|
||||
struct GCCharacterDel { uint8_t header; uint32_t vid; };
|
||||
static_assert(sizeof(GCCharacterDel) == 5);
|
||||
@@ -873,7 +873,7 @@ struct GCCharacterUpdate { // packet_update_char (header 19)
|
||||
uint8_t pk_mode;
|
||||
uint32_t mount_vnum;
|
||||
};
|
||||
static_assert(sizeof(GCCharacterUpdate) == 1 + 4 + 8 + 1 + 1 + 1 + 8 + 4 + 2 + 1 + 4); // 35
|
||||
static_assert(sizeof(GCCharacterUpdate) == 1 + 4 + 2 * CHR_EQUIPPART_NUM + 1 + 1 + 1 + 8 + 4 + 2 + 1 + 4); // 37
|
||||
|
||||
struct GCStun { uint8_t header; uint32_t vid; }; // header 13
|
||||
struct GCDead { uint8_t header; uint32_t vid; }; // header 14
|
||||
@@ -1036,7 +1036,7 @@ struct GCCharAddInfo {
|
||||
uint8_t pk_mode;
|
||||
uint32_t mount_vnum;
|
||||
};
|
||||
static_assert(sizeof(GCCharAddInfo) == 1 + 4 + (CHARACTER_NAME_MAX_LEN + 1) + 8 + 1 + 4 + 4 + 2 + 1 + 4); // 54
|
||||
static_assert(sizeof(GCCharAddInfo) == 1 + 4 + (CHARACTER_NAME_MAX_LEN + 1) + 2 * CHR_EQUIPPART_NUM + 1 + 4 + 4 + 2 + 1 + 4); // 56
|
||||
|
||||
// --- GC skills / quickslots ---
|
||||
struct PlayerSkill3 { // TPlayerSkill (common/tables.h) — time_t is 32-bit on the -m32 server
|
||||
|
||||
Reference in New Issue
Block a user