ClientCreateCharacter

From SWGANH Wiki
Revision as of 01:09, 19 December 2006 by Snow (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Struct


SHORT Opperand_Count
INT Opcode
C_STRING CharCustomization
U_STRING CharName
A_STRING Player_Race_IFF
A_STRING StartLocation
A_STRING HairObject
C_STRING HairCustomization
A_STRING StartProfession
BYTE UnknownByte
FLOAT Height
U_STRING Biography
BYTE Tutorial_Flag

Variable Descriptions


Opperand_Count = 0C

Opcode = B97F3074


  • CharCustomization:

A customization string used to store a characters physical customizations. Stored as binary data.

  • CharName:

A unicode string composed of the first name and surname seperated by a space.

  • Player_Race_IFF:

The path and filename of the object file templete for the specified race. Must be of type creature/player.

"object/creature/player/[race_gender].iff"

  • StartLocation:

The string specifying the start location of players. The server will override this feature, unless it is figured out how to load the UI for changing it.

TODO: Find how to change StartLocation.

  • Char_HairObject:

The path and filename of the object file templete for the hair type selected. Must be an appropriate templete.

"object/tangible/hair/[race]/hair_[race_gender]_s[ID].iff"

  • HairCustomization:

A customization string used to store the hair customization. Will be stored in the server as binary data.

  • StartProfession:

A string of the root starting profession of the character. See skill tree for more information.

  • UnknownByte:

Unknown Purpose, never seen 01.

TODO: Figure out the purpose of this byte.

  • Height:

A floating point value of the characters height or scale.

  • Biography:

A unicode string that stores a players biography written at char creation.

  • Tutorial_Flag:

This flag is 01 when the tutorial option is checked, 0 otherwise. If 01, start the player with the tutorial system.


Tags


C→S This packet originates on the client.

75% This packet has been partially reversed.


Sample Code


Insert Code Snippet Here...

Sample Packet

Insert Sample Packet Here...