Skip to content

5.5.4.70032 and sniff-verified opcodes - #1

Closed
KaputterKerl wants to merge 2 commits into
gonzo1247:554Versionfrom
KaputterKerl:mop-70032-confirmed
Closed

KaputterKerl wants to merge 2 commits into
gonzo1247:554Versionfrom
KaputterKerl:mop-70032-confirmed

Conversation

@KaputterKerl

@KaputterKerl KaputterKerl commented Oct 3, 2026 •

Copy link
Copy Markdown

Adds build 5.5.4.70032 on top of TrinityCore#994 and sets the 89 opcodes that could be verified on it.

  • Fix the opcode table lookup: the 5.5.4 builds resolve to V5_5_4_67849, but the table was selected with V5_5_4_68042, so it was never loaded.
  • Add build 5.5.4.70032 and remove a duplicate guild parser.
  • Set 89 opcodes (53 client, 36 server) for quest and gossip, login, ping and time sync, emotes, movement, spell casts, attack, loot, vendor and inventory. The old values were 5.5.3 placeholders.

Checked against six sniffs of the Worgen starting zone, four of them with a log of the actions and their times. An opcode was only changed if its content matched known data (quest ids, guids of creatures in the sniff, counters that pair up, the emote that was typed, looted money, and so on). Anything that only matched by structure is left out.

Notes: the values are verified on 70032 only and the table is shared with the other 5.5.4 builds. The movement info and cast spell handlers still leave trailing bytes on 5.5.4 packets, this only fixes the opcode values.

Fix the 5.5.4 opcode table lookup (the defining build is 67849, not
68042), add build 70032, remove a duplicate guild parser and set 89
opcodes that were verified against sniffs on 70032.
{ Opcode.CMSG_QUEST_GIVER_CHOOSE_REWARD, 0x3F0026 }, // verified on 5.5.4.70032
{ Opcode.CMSG_QUEST_GIVER_REQUEST_REWARD, 0x3F0027 }, // verified on 5.5.4.70032
{ Opcode.CMSG_QUEST_GIVER_STATUS_QUERY, 0x3F0028 }, // verified on 5.5.4.70032
{ Opcode.CMSG_LOOT_UNIT, 0x3F00C1 }, // verified on 5.5.4.70032

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm almost sure 0x3F00C1 is CMSG_SET_SELECTION

@KaputterKerl

Copy link
Copy Markdown
Author

You're right, thanks for catching this. 0x3F00C1 is CMSG_SET_SELECTION on this build: it is sent with a creature guid when targeting and with an empty guid when the target is cleared, and it never leads to a loot window.

The real CMSG_LOOT_UNIT is most likely 0x3E00C6. It carries the creature guid and is answered by SMSG_LOOT_RESPONSE (0x4600BF) about 120 ms later. It also fits between the other loot values in that block (CMSG_LOOT_MONEY 0x3E00C7, CMSG_LOOT_ITEM 0x3E00C8, CMSG_LOOT_RELEASE 0x3E00CA).

CMSG_SET_SELECTION is 0x3F00C1 (target guid, empty guid clears the
target). CMSG_LOOT_UNIT is 0x3E00C6 (creature guid, answered by
SMSG_LOOT_RESPONSE).
@KaputterKerl
KaputterKerl deleted the mop-70032-confirmed branch October 21, 2026 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants