SMSG LOGIN VERIFY WORLD

From wowdev
Jump to navigation Jump to search

SMSG_CHAR_CREATE is a World Packet that is sent after a successful CMSG_PLAYER_LOGIN from the client. It tells the client which map to use for when loading the player via SMSG_UPDATE_OBJECT.

Packet Layout

SMSG Header
Offset Size / Endianness Type Name Description
0x0 2 / Big uint16 size Size of the packet including the opcode field.
Always 20.
0x2 2 / Little uint16 opcode Opcode for the packet.
Determines the structure of the body.
Always 0x03A.


Body
Offset Size / Endianness Type Name Description
0x0 4 / Little uint32 map Map the client should load. Gotten from WorldMapArea.MapId in the DBC.
0x4 4 / Little float position_x
0x8 4 / Little float position_x
0xc 4 / Little float position_x
0x10 4 / Little float orientation