Difference between revisions of "ClientCreateCharacter"

From SWGANH Wiki
Jump to: navigation, search
(Variable Descriptions)
(Struct)
Line 9: Line 9:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
|align="center" style="background:#6C86BF; color:white;"|'''SHORT'''||'''Opperand_Count'''
+
|{{short}}||'''Opperand_Count'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Opcode'''
+
|{{int}}||'''Opcode'''
 
|-
 
|-
|align="center" style="background:#3EC166; color:white;"|'''C_STRING'''||'''CharCustomization'''
+
|{{c_string}}||'''CharCustomization'''
 
|-
 
|-
|align="center" style="background:#8BD9A3; color:white;"|'''U_STRING'''||'''CharName'''
+
|{{u_string}}||'''CharName'''
 
|-
 
|-
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''Player_Race_IFF'''
+
|{{a_string}}||'''Player_Race_IFF'''
 
|-
 
|-
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''StartLocation'''
+
|{{a_string}}||'''StartLocation'''
 
|-
 
|-
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''HairObject'''
+
|{{a_string}}||'''HairObject'''
 
|-
 
|-
|align="center" style="background:#3EC166; color:white;"|'''C_STRING'''||'''HairCustomization'''
+
|{{c_string}}||'''HairCustomization'''
 
|-
 
|-
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''StartProfession'''
+
|{{a_string}}||'''StartProfession'''
 
|-
 
|-
|align="center" style="background:#B3C0DE; color:white;"|'''BYTE'''||'''UnknownByte'''
+
|{{byte}}|{{unknown}}
 
|-
 
|-
|align="center" style="background:#3C5466; color:white;"|'''FLOAT'''||'''Height'''
+
|{{float}}||'''Height'''
 
|-
 
|-
|align="center" style="background:#8BD9A3; color:white;"|'''U_STRING'''||'''Biography'''
+
|{{u_string}}||'''Biography'''
 
|-
 
|-
|align="center" style="background:#B3C0DE; color:white;"|'''BYTE'''||'''Tutorial_Flag'''
+
|{{byte}}||'''Tutorial_Flag'''
 
|-
 
|-
 
|}
 
|}

Revision as of 06:16, 22 March 2007


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 ??
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...