CMD AUTH RECONNECT CHALLENGE Server
Jump to navigation
Jump to search
CMD_AUTH_RECONNECT_CHALLENGE_Server is a Login Packet sent by the server after receiving a CMD_AUTH_RECONNECT_CHALLENGE_Client. It is followed by a CMD_AUTH_RECONNECT_PROOF_Client from the client.
Packet Layout
Offset | Size / Endianness | Type | Name | Description |
---|---|---|---|---|
Header | ||||
0x0 | 1 / - | uint8 | command | 0x02 for CMD_AUTH_RECONNECT_CHALLENGE |
0x1 | 1 / - | uint8 | result | The fields below are only included if this is SUCCESS (0x0). |
Body | ||||
0x2 | 16 / Little | char[16] | challenge_data | Random data, used as challenge data. |
0x12 | 16 / - | char[16] | checksum_salt | No longer used by client after 1.12. Can be all zeros. |
Size
For all versions, if the result is not SUCCESS (0x00) the packet is 2 bytes. If the result is SUCCESS the packet is 34 bytes.