Files
WoWee/tests/test_mail_packets.cpp
Kelsi 5056a5b7d1 fix(game): correct auction list entry layout per expansion
WotLK servers inspect 7 enchantment slots per auction entry (PRISMATIC
joined MAX_INSPECTED_ENCHANTMENT_SLOT in 3.x); the parser read 6, so
every field after the enchants shifted by 12 bytes and cascaded across
entries. Vanilla sends only a single permanent enchantId with no
duration/charges and no item-flags field, so the classic path over-read
12 bytes per entry, and its totalCount-only trailer never satisfied the
8-byte combined read. Layouts verified against vmangos, cmangos-tbc,
and AzerothCore BuildAuctionInfo; TBC (6 triplets + flags) was already
correct. Adds per-expansion parser regression tests.
2026-07-16 00:32:50 -07:00

11 KiB