CMD AUTH RECONNECT CHALLENGE Server: Difference between revisions

From wowdev
Jump to navigation Jump to search
(Created page with " = Packet Layout = {| class="wikitable" |+ AuthReconnectionChallenge_Server ! Offset ! Size / Endianness ! Type ! Name ! Description |- !colspan="5"| Header |- | 0x0 || 1 / -...")
 
(Add introductory text)
Line 1: Line 1:
[[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 =
= Packet Layout =
Line 14: Line 16:
| 0x0 || 1 / - || uint8 || command || RECON_CHALL (0x2)
| 0x0 || 1 / - || uint8 || command || RECON_CHALL (0x2)
|-
|-
| 0x1 || 1 / - || uint8 || error || The fields below are only included if this is SUCCESS (0x0).
| 0x1 || 1 / - || uint8 || result || The fields below are only included if this is SUCCESS (0x0).
|-
|-
!colspan="5"| Body
!colspan="5"| Body
Line 22: Line 24:
| 0x12 || 16 / - || char[16] || checksum_salt || No longer used by client after 1.12. Can be all zeros.
| 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 [[Login_Packet_Results|SUCCESS]] (0x00) the packet is 2 bytes. If the result is SUCCESS the packet is 34 bytes.
{{Login Packet Categories}}

Revision as of 18:48, 31 May 2021

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

AuthReconnectionChallenge_Server
Offset Size / Endianness Type Name Description
Header
0x0 1 / - uint8 command RECON_CHALL (0x2)
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.