Fix online equipment slot mapping, auto-equip packet, and backpack slot offsets

Correct PLAYER_FIELD_INV_SLOT_HEAD default from 322 to 324 (UNIT_END+0xB0)
which was shifting every equipment slot by one position. Fix auto-detection
to validate against known 3.3.5a base. Change CMSG_AUTOEQUIP_ITEM to send
uint8 bag+slot instead of uint64 GUID, and add slot offset 23 for backpack
items in both auto-equip and use-item packets.
This commit is contained in:
Kelsi 2026-02-06 19:13:38 -08:00
parent e38c0213e4
commit 40c016ccdb
4 changed files with 58 additions and 20 deletions

View file

@ -1134,7 +1134,7 @@ public:
/** CMSG_AUTOEQUIP_ITEM packet builder */
class AutoEquipItemPacket {
public:
static network::Packet build(uint64_t itemGuid);
static network::Packet build(uint8_t srcBag, uint8_t srcSlot);
};
/** CMSG_LOOT_RELEASE packet builder */