Login Packet: Difference between revisions

From wowdev
Jump to navigation Jump to search
m (Add categories)
(Add direct links to client/server packets and remove indirect links. This significantly reduces page bloat)
Line 17: Line 17:
! Value
! Value
! Description
! Description
! Client Link
! Server Link
|-
|-
!colspan="3"| Authentication
!colspan="5"| Authentication
|-
|-
| [[CMD_AUTH_LOGON_CHALLENGE]] || 0x00 || Intial information sent by client and then challenge by server.
| CMD_AUTH_LOGON_CHALLENGE || 0x00 || Intial information sent by client and then challenge by server. || [[CMD_AUTH_LOGON_CHALLENGE_Client|Client]] || [[CMD_AUTH_LOGON_CHALLENGE_Server|Server]]
|-
|-
| [[CMD_AUTH_LOGON_PROOF]] || 0x01 || Proof sent by client and then server.
| CMD_AUTH_LOGON_PROOF || 0x01 || Proof sent by client and then server. || [[CMD_AUTH_LOGON_PROOF_Client|Client]] || [[CMD_AUTH_LOGON_PROOF_Server|Server]]
|-
|-
| [[CMD_AUTH_RECONNECT_CHALLENGE]] || 0x02 || Reconnect challenge sent by client and then server.
| CMD_AUTH_RECONNECT_CHALLENGE || 0x02 || Reconnect challenge sent by client and then server. || [[CMD_AUTH_RECONNECT_CHALLENGE_Client|Client]] || [[CMD_AUTH_RECONNECT_CHALLENGE_Server|Server]]
|-
|-
| [[CMD_AUTH_RECONNECT_PROOF]] || 0x03 || Reconnect proof sent by client and then server.
| CMD_AUTH_RECONNECT_PROOF || 0x03 || Reconnect proof sent by client and then server. || [[CMD_AUTH_RECONNECT_PROOF_Client|Client]] || [[CMD_AUTH_RECONNECT_PROOF_Server|Server]]
|-
|-
!colspan="3"| Miscellaneous
!colspan="5"| Miscellaneous
|-
|-
| [[CMD_SURVEY_RESULT]] || 0x04 || Used for hardware survey.
| CMD_SURVEY_RESULT || 0x04 || Used for hardware survey. || [[CMD_SURVEY_RESULT_Client|Client]] || [[CMD_SURVEY_RESULT_Server|Server]]
|-
|-
!colspan="3"| Realmlist
!colspan="5"| Realmlist
|-
|-
| [[CMD_REALM_LIST]] || 0x10 || Realmlist request sent by client and realmlist information sent by server.
| CMD_REALM_LIST || 0x10 || Realmlist request sent by client and realmlist information sent by server. || [[CMD_REALM_LIST_Client|Client]] || [[CMD_REALM_LIST_Server|Server]]
|-
|-
!colspan="3"| Patching
!colspan="5"| Patching
|-
|-
| [[CMD_XFER_INITIATE]] || 0x30 || Used for patching.
| CMD_XFER_INITIATE || 0x30 || Used for patching. || [[CMD_XFER_INITIATE_Client|Client]] || [[CMD_XFER_INITIATE_Server|Server]]
|-
|-
| [[CMD_XFER_DATA]] || 0x31 || Used for patching.
| CMD_XFER_DATA || 0x31 || Used for patching. || [[CMD_XFER_DATA_Client|Client]] || [[CMD_XFER_DATA_Server|Server]]
|-
|-
| [[CMD_XFER_ACCEPT]] || 0x32 || Used for patching.
| CMD_XFER_ACCEPT || 0x32 || Used for patching. || [[CMD_XFER_ACCEPT_Client|Client]] || [[CMD_XFER_ACCEPT_Server|Server]]
|-
|-
| [[CMD_XFER_RESUME]] || 0x33 || Used for patching.
| CMD_XFER_RESUME || 0x33 || Used for patching. || [[CMD_XFER_RESUME_Client|Client]] || [[CMD_XFER_RESUME_Server|Server]]
|-
|-
| [[CMD_XFER_CANCEL]] || 0x34 || Used for patching.
| CMD_XFER_CANCEL || 0x34 || Used for patching. || [[CMD_XFER_CANCEL_Client|Client]] || [[CMD_XFER_CANCEL_Server|Server]]
|}
|}



Revision as of 20:06, 21 May 2021

Login packets are packets sent by the client to the authentication server as the first connection to the server infrastructure.

All packets start with an opcode field but do not use the same values as the World Packets. The only packets that can start a connection are CMD_AUTH_LOGON_CHALLENGE Client and CMD_AUTH_RECONNECT_CHALLENGE Client which share packet layout.

There are minor differences in the packets between WoW versions, but the layout seems to be stable around BC and later.

The login packets are internally referred to as grunt and the packet layouts hint at it being planned for use for games other than WoW.

The names here are used internally in the clients.

See Login for a higher level overview of the login process.

Opcodes
Name Value Description Client Link Server Link
Authentication
CMD_AUTH_LOGON_CHALLENGE 0x00 Intial information sent by client and then challenge by server. Client Server
CMD_AUTH_LOGON_PROOF 0x01 Proof sent by client and then server. Client Server
CMD_AUTH_RECONNECT_CHALLENGE 0x02 Reconnect challenge sent by client and then server. Client Server
CMD_AUTH_RECONNECT_PROOF 0x03 Reconnect proof sent by client and then server. Client Server
Miscellaneous
CMD_SURVEY_RESULT 0x04 Used for hardware survey. Client Server
Realmlist
CMD_REALM_LIST 0x10 Realmlist request sent by client and realmlist information sent by server. Client Server
Patching
CMD_XFER_INITIATE 0x30 Used for patching. Client Server
CMD_XFER_DATA 0x31 Used for patching. Client Server
CMD_XFER_ACCEPT 0x32 Used for patching. Client Server
CMD_XFER_RESUME 0x33 Used for patching. Client Server
CMD_XFER_CANCEL 0x34 Used for patching. Client Server