Character Creation ( 7.0.16.0 ) (0xF8)
- Status:
implemented - Direction:
Client - Length:
106 bytes - POL reference: https://docs.polserver.com/packets/index.php?Packet=0xF8
- Last modified in POL docs:
2011-10-25 14:22:22byTomi
Moongate Packet Classes
CharacterCreationPacket(Incoming, Fixed, length106) fromsrc/Moongate.Network.Packets/Incoming/Login/CharacterCreationPacket.cs
Current Moongate Behavior
Moongate currently has packet classes for this opcode.
Packet Build
| Type | Field |
|---|---|
BYTE[1] |
Command |
BYTE[4] |
pattern1 (0xedededed) |
BYTE[4] |
pattern2 (0xffffffff) |
BYTE[1] |
pattern3 (0x00) |
BYTE[30] |
char name |
BYTE[2] |
unknown0 |
BYTE[4] |
clientflag (see notes) |
BYTE[4] |
unknown1 |
BYTE[4] |
logincount |
BYTE[1] |
profession |
BYTE[15] |
unknown2 |
BYTE[1] |
sex (see notes) |
BYTE[1] |
str |
BYTE[1] |
dex |
BYTE[1] |
int |
BYTE[1] |
skill1 |
BYTE[1] |
skill1value |
BYTE[1] |
skill2 |
BYTE[1] |
skill2value |
BYTE[1] |
skill3 |
BYTE[1] |
skill3value |
BYTE[1] |
skill4 |
BYTE[1] |
skill4value |
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] |
unknown3 (Usually 0x00 in testing) |
BYTE[2] |
slot |
BYTE[4] |
clientIP |
BYTE[2] |
shirt color |
BYTE[2] |
pants color |
Subcommand Build
N/A
Notes
clientflag:
| Name | Value |
| --- | --- |
| t2a | 0x00 |
| renaissance | 0x01 |
| third dawn | 0x02 |
| lbr | 0x04 |
| aos | 0x08 |
| se | 0x10 |
| sa | 0x20 |
| uo3d | 0x40 |
| reserved | 0x80 |
| 3dclient | 0x100 |
Sex:
| Value | Meaning |
| --- | --- |
| 0 | Male Human |
| 1 | Female Human |
| 2 | Male Human |
| 3 | Female Human |
| 4 | Male Elf |
| 5 | Female Elf |
| 6 | Male Gargoyle |
| 7 | Female Gargoyle |
Str, dex and int should always sum to 65.
Str, dex and int should always be between 10 and 45, inclusive.
Skill1, skill2, skill3 and skill4 should never be the same value.
Skill1, skill2, skill3 and skill4 should always be between 0 and 45, inclusive.
Skill1value, skill2value, skill3value and skill4value should always sum to 100.
Skill1value, skill2value, skill3value and skill4value 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