Messages
This subsection organizes messages by the name found in the assembly of the macOS game client. See the table before for a mapping from message type to message definition.
Message Header
The table below defines TQ's message header. The header is written to all messages first and contains the size of the message (aka. the message length minus the size of the footer) and the message type (a constant identifier for handling the message on the client and server).
Pos | Type | Description | Example |
---|---|---|---|
0 | UInt16 | Message Size | 60 |
2 | UInt16 | Message Type | 1001 |
Message Footer
The message footer in Conquer Online was added in patch 5018. The footer contains an 8-byte string identifying the sender of the message. If the client sent the message, the footer would be "TQClient"; else, it would be "TQServer".
Message Types
The table below is an abstract and directory of message types used in various patches of Conquer Online.