SMSG AUTH CHALLENGE: Difference between revisions
Jump to navigation
Jump to search
(Add info about being unencrypted) |
(Add SMSG header template) |
||
Line 2: | Line 2: | ||
It is one of only two world packets with unencrypted headers, the other being [[CMSG_AUTH_SESSION]]. | It is one of only two world packets with unencrypted headers, the other being [[CMSG_AUTH_SESSION]]. | ||
{{SMSG_Header}} | |||
{| class="wikitable" | {| class="wikitable" | ||
Line 11: | Line 13: | ||
! Description | ! Description | ||
|- | |- | ||
| 0x0 || 4 / Little || uint32 || | | 0x0 || 4 / Little || uint32 || server_seed || Used for calculation proving that client knows session key. | ||
|} | |} |
Revision as of 18:53, 23 May 2021
SMSG_AUTH_CHALLENGE is a World Packet that initiates the connection between the client and the world server.
It is one of only two world packets with unencrypted headers, the other being CMSG_AUTH_SESSION.
Offset | Size / Endianness | Type | Name | Description |
---|---|---|---|---|
0x0 | 2 / Big | uint16 | size | Size of the packet including the opcode field. |
0x2 | 2 / Little | uint16 | opcode | Opcode for the packet. Determines the structure of the body. |
Offset | Size / Endianness | Type | Name | Description |
---|---|---|---|---|
0x0 | 4 / Little | uint32 | server_seed | Used for calculation proving that client knows session key. |