UO Protocol 0x1B

Login Confirmation (37 bytes)

This is sent by the server to confirm a login on a shard: Char Location, body type and some other unknown stuff.

BYTE cmd
UINT player id (serial)
UINT unknown1
USHORT bodyType
USHORT xLoc
USHORT yLoc
BYTE 0x00
SBYTE zLoc
BYTE direction
BYTE[2] unknown2
BYTE[4] unknown3 (usually has FF somewhere in it)
BYTE[4] unknown4
BYTE flag byte         or(?) MapWidth-8
BYTE highlight color   or(?) MapHeight
BYTE unknown5
USHORT unknown6
UINT unknown7