CMD AUTH RECONNECT CHALLENGE Server: Difference between revisions

From wowdev
Jump to navigation Jump to search
(Add introductory text)
m (Add link to opcode)
Line 14: Line 14:
!colspan="5"| Header
!colspan="5"| Header
|-
|-
| 0x0 || 1 / - || uint8 || command || RECON_CHALL (0x2)
| 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).
| 0x1 || 1 / - || uint8 || result || The fields below are only included if this is SUCCESS (0x0).

Revision as of 18:49, 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 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.