mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-07-31 01:41:14 -04:00
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.
11 KiB
11 KiB