From 3043cc52039de3b478268db6491e22822f41765f Mon Sep 17 00:00:00 2001 From: Kelsi Date: Fri, 6 Feb 2026 09:14:16 -0800 Subject: [PATCH] Fix loot and gossip opcode values for 3.3.5a MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Corrected CMSG_AUTOSTORE_LOOT_ITEM (0x162→0x108), CMSG_LOOT_RELEASE (0x15E→0x15F), SMSG_LOOT_REMOVED (0x163→0x162), SMSG_LOOT_MONEY_NOTIFY (0x164→0x163), and gossip opcodes (CMSG_GOSSIP_HELLO 0x17C→0x17B, CMSG_GOSSIP_SELECT_OPTION 0x17E→0x17C, SMSG_GOSSIP_COMPLETE 0x17F→0x17E). Added missing CMSG_LOOT_MONEY (0x15E). --- include/game/opcodes.hpp | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/include/game/opcodes.hpp b/include/game/opcodes.hpp index d4d2161b..7cb52b82 100644 --- a/include/game/opcodes.hpp +++ b/include/game/opcodes.hpp @@ -116,20 +116,21 @@ enum class Opcode : uint16_t { MSG_RAID_TARGET_UPDATE = 0x321, // ---- Phase 5: Loot ---- + CMSG_AUTOSTORE_LOOT_ITEM = 0x108, CMSG_LOOT = 0x15D, - CMSG_LOOT_RELEASE = 0x15E, + CMSG_LOOT_MONEY = 0x15E, + CMSG_LOOT_RELEASE = 0x15F, SMSG_LOOT_RESPONSE = 0x160, SMSG_LOOT_RELEASE_RESPONSE = 0x161, - CMSG_AUTOSTORE_LOOT_ITEM = 0x162, - SMSG_LOOT_REMOVED = 0x163, - SMSG_LOOT_MONEY_NOTIFY = 0x164, + SMSG_LOOT_REMOVED = 0x162, + SMSG_LOOT_MONEY_NOTIFY = 0x163, SMSG_LOOT_CLEAR_MONEY = 0x165, // ---- Phase 5: NPC Gossip ---- - CMSG_GOSSIP_HELLO = 0x17C, + CMSG_GOSSIP_HELLO = 0x17B, + CMSG_GOSSIP_SELECT_OPTION = 0x17C, SMSG_GOSSIP_MESSAGE = 0x17D, - CMSG_GOSSIP_SELECT_OPTION = 0x17E, - SMSG_GOSSIP_COMPLETE = 0x17F, + SMSG_GOSSIP_COMPLETE = 0x17E, SMSG_NPC_TEXT_UPDATE = 0x180, // ---- Phase 5: Vendor ----