Difference between revisions of "EnumerateCharacterId"

From SWGANH Wiki
Jump to: navigation, search
(Tags)
(Struct)
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'''
+
|-
+
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Character_Count'''
+
 
|-
 
|-
 +
|{{int}}||'''Character_Count'''
 
|}
 
|}
:{
+
{{beginlist|characters|Character_Count}}
 
:{| class="wikitable"
 
:{| class="wikitable"
 +
|{{u_string}}||'''Name_String'''
 
|-
 
|-
|align="center" style="background:#8BD9A3; color:white;"|'''U_STRING'''||'''Name_String'''
+
|{{int}}||'''Race_Gender_CRC'''
|-
+
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Race_Gender_CRC'''
+
|-
+
|align="center" style="background:#3C4565; color:white;"|'''LONG'''||'''Character_ID'''
+
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Server_ID'''
+
|{{long}}||'''Character_ID'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Status (<font color=red>?</font>)'''
+
|{{int}}||'''Server_ID'''
 
|-
 
|-
 +
|{{int}}||'''Status (<font color=red>?</font>)'''
 
|}
 
|}
:}
+
{{endlist|characters}}
 +
 
 
===Variable Descriptions===
 
===Variable Descriptions===
 
----
 
----

Revision as of 09:26, 10 April 2007


Struct


SHORT Operand_Count
INT Opcode
INT Character_Count

<characters count=Character_Count>

U_STRING Name_String
INT Race_Gender_CRC
LONG Character_ID
INT Server_ID
INT Status (?)

<characters/>


Variable Descriptions


Opperand_Count = 2

Opcode = 65EA4574


  • Character_Count:
The number of characters present.

Name_String:

The name of the character. First and Last name separated by a space.
  • Race_Gender Values:
Note: Can be any CRC, These are the standard to be used
--------------------------------------------------------------
     CRC	  Common Name			CRC'd String

   060E51D5   -   human male		-
   04FEC8FA   -   trandoshan male	-
   32F6307A   -   twilek male		-
   9B81AD32   -   bothan male		-
   22727757   -   zabrak male		-
   CB8F1F9D   -   rodian male		-
   79BE87A9   -   moncal male		-
   2E3CE884   -   wookiee male		-
   1C95F5BC   -   sullstan male		-
   D3432345   -   ithorian male		-
   D4A72A70   -   human female		-
   64C24976   -   trandoshan female	-
   6F6EB65D   -   twilek female		-
   F6AB978F   -   bothan female		-
   421ABB7C   -   zabrak female		-
   299DC0DA   -   rodian female		-
   73D65B5F   -   moncal female		-
   1AAD09FA   -   wookiee female	-
   44739CC1   -   sullstan female	-
   E7DA1366   -   ithorian female	-
--------------------------------------------------------------
  • CharacterID:
The ObjID of the character.
  • ServerID:
The ID number of the server this character is on.
  • Status:
This variable doesn't appear to do anything. Most characters default to 1. However pre-pub9 Jedi may have used 2.

Tags


S→C This packet originates on the server.

75% This packet has been partially reversed.

Additional Tasks


  • Determine naming rules

Sample Code

Insert Code Snippet Here...

Sample Packet

Insert Sample Packet Here...