Difference between revisions of "ClientRandomNameResponse"

From SWGANH Wiki
Jump to: navigation, search
 
Line 8: Line 8:
  
 
{| class="wikitable"
 
{| class="wikitable"
 +
|{{short}}||'''Operand_Count'''
 
|-
 
|-
|align="center" style="background:#6C86BF; color:white;"|'''SHORT'''||'''Operand_Count'''
+
|{{int}}||'''Opcode'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Opcode'''
+
|{{a_string}}||'''Player_Race_IFF'''
 
|-
 
|-
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''Player_Race_IFF'''
+
|{{u_string}}||'''RandomName'''
 
|-
 
|-
|align="center" style="background:#8BD9A3; color:white;"|'''U_STRING'''||'''RandomName'''
+
|{{a_string}}||'''STFFile'''
 
|-
 
|-
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''STFFile'''
+
|{{int}}|{{unknown}}
|-
+
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''<font color=red>Unknown</font>'''
+
|-
+
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''Approval_String'''
+
 
|-
 
|-
 +
|{{a_string}}||'''Approval_String'''
 
|}
 
|}
  

Revision as of 07:40, 10 April 2007


Struct


SHORT Operand_Count
INT Opcode
A_STRING Player_Race_IFF
U_STRING RandomName
A_STRING STFFile
INT ??
A_STRING Approval_String

Variable Descriptions


Opperand_Count = 4

Opcode = E85FB868


  • Player_Race_IFF:
This string is the TRE game directory location of the race object of type Player.
"object/creature/player/*.iff"

Note: Not to be confused with creature objects, or any other object types.

  • RandomName:
Unicode string of the generated Name. Space seperates First Name and Surname
  • STFFile:
The name of the .STR file used to store the string to display. For this packet use "ui"
  • Unknown:
Always used 0. Data is not used by Client in ASM.
Is between most of the STFFile variables.
  • Approval_Type:
"name_approved" Allows you to use the name.

Note: must be "name_approved" for generated name to take.

Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.


Sample Code

Insert Code Snippet Here...

Sample Packet

Insert Sample Packet Here...