mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
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:
parent
e38c0213e4
commit
40c016ccdb
4 changed files with 58 additions and 20 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue