[Question] packet structure


I’m trying to learn how the server sends the player data and chat messages to the player.

While I got most important things that I wanted, there are still some things that I don’t get at all.


(I’ve attached a picture - it’s more readable than explaining on plain text imo)

As you can see. I’m totally clueless when it comes to the bytes on red background. I also found that something similar is attached to the chat messages.

The other thing I know so far that the byte at 0x04 (07) is changing - on my local machine it was always “01”, however on remote server it gave me “07”. What is this for?

Whole player packets (along with npc/objects) seems to be in some kind of frame too. Is there any documented structure of it?

Could somebody push me in the right direction, please?

All the info you want can be found in https://github.com/TrinityCore/WowPacketParser

The 3.3.5 SMSG_MESSAGECHAT handler is in https://github.com/TrinityCore/WowPacketParser/blob/master/WowPacketParser/Parsing/Parsers/ChatHandler.cs#L76

Looks promising so far. Thanks!

Actually, is there anywhere the packet sniffer for 3.3.5a? So I could use that tool along with the parser, rather than digging in the massive amount of code for what I’m actually looking for.