next up previous contents
Next: Disconnect Notification [0x01] Up: Game Packets Structure Previous: Game Packets Structure   Contents

Create Character [0x00]

This message is sent from UO client when user selects to create a new character. Since this packet comes with character's initial attributes, it's important to check for consistency before using information contained in there.
Create Character (104 bytes)
BYTE cmd
BYTE[4] pattern1 (0xedededed)
BYTE[4] pattern2 (0xffffffff)
BYTE pattern3 (0x00)
BYTE[30] char name
BYTE[30] char password
BYTE sex (0=male, 1=female)
BYTE str
BYTE dex
BYTE int
BYTE skill1
BYTE skill1value
BYTE skill2
BYTE skill2value
BYTE skill3
BYTE skill3value
BYTE[2] skinColor
BYTE[2] hairStyle
BYTE[2] hairColor
BYTE[2] facial hair
BYTE[2] facial hair color
BYTE[2] location // from starting list
BYTE[2] unknown1
BYTE[2] slot
BYTE[4] clientIP
BYTE[2] shirt color
BYTE[2] pants color
Notes: Str, dex and int should always sum to 65. Str, dex and int should always be between 10 and 45, inclusive. Skill1, skill2, and skill3 should never be the same value. Skill1, skill2, and skill3 should always be between 0 and 45, inclusive.5.1 Skill1value, skill2value, and skill3value should always sum to 100. Skill1value, skill2value, and skill3value should always be between 0 and 50, inclusive. SkinColor should always be between 0x3EA and 0x422, exclusive. HairColor and facialHairColor should always be between 0x44E and 0x4AD, exclusive. HairStyle should be between 0x203B and 0x204A, exclusive, and it should also exclude 0x203D to 0x2044, exclusive. FacialHairStyle should be between 0x203E and 0x204D Shirt color and Pants color need bounds checking too.

Thiago A Correa 2001-06-09