SMSG AUTH RESPONSE: Difference between revisions

From wowdev
Jump to navigation Jump to search
(Created page with "'''SMSG_AUTH_RESPONSE''' is a World Packet that initiates the connection between the client and the world server. It is a response to CMSG_AUTH_SESSION. {{SMSG_Heade...")
 
(Add link to CMSG_CHAR_ENUM)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''SMSG_AUTH_RESPONSE''' is a [[World Packet]] that initiates the connection between the client and the world server.
'''SMSG_AUTH_RESPONSE''' is a [[World Packet]] that initiates the connection between the client and the world server.


It is a response to [[CMSG_AUTH_SESSION]].
It is a response to [[CMSG_AUTH_SESSION]]. It is followed by a [[CMSG_CHAR_ENUM]] from the client.


{{SMSG_Header}}
{{SMSG_Header|opcode=0x1EE}}


{| class="wikitable"
{| class="wikitable"
Line 26: Line 26:
| 0x4 || 4 / Little || uint32 || billing_time ||  
| 0x4 || 4 / Little || uint32 || billing_time ||  
|-
|-
| 0x8 || 4 / Little || uint32 || billing_flags ||  
| 0x5 || 1 / - || uint8 || billing_flags ||  
|-
|-
| 0xc || 4 / Little || uint32 || billing_rested ||  
| 0x9 || 4 / Little || uint32 || billing_rested ||  
|}
|}


Line 42: Line 42:
|}
|}


[[Category:Packet]]
{{SMSG_Categories}}
[[Category:World_Packets]]
[[Category:Login]]
[[Category:Packet/Login]]

Latest revision as of 21:48, 10 July 2021

SMSG_AUTH_RESPONSE is a World Packet that initiates the connection between the client and the world server.

It is a response to CMSG_AUTH_SESSION. It is followed by a CMSG_CHAR_ENUM from the client.

SMSG Header
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.
Always 0x1EE.


Body
Offset Size / Endianness Type Name Description
0x0 4 / Little uint32 result A Account_Result_Values value.
If AUTH_OK or AUTH_WAIT_QUEUE the below fields are added.
Otherwise no additional fields are added.
AUTH_OK fields
Offset Size / Endianness Type Name Description
0x4 4 / Little uint32 billing_time
0x5 1 / - uint8 billing_flags
0x9 4 / Little uint32 billing_rested
AUTH_WAIT_QUEUE fields
Offset Size / Endianness Type Name Description
0x4 4 / Little uint32 queue_position