Difference between revisions of "ClientRandomNameRequest"

From SWGANH Wiki
Jump to: navigation, search
(Variable Descriptions)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{PageHeader|Client Packet|ClientRandomNameRequest (D6D1B6D1)}}
 
+
 
{| border="0" width="90%" cellpadding=6
 
{| border="0" width="90%" cellpadding=6
 
|-
 
|-
Line 6: Line 5:
 
===Struct===
 
===Struct===
 
----
 
----
 
+
{| align="center"
 +
|-
 +
||
 
{| 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:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''Player_Race_IFF'''
+
|{{a_string}}||'''Player_Race_IFF'''
 
|-
 
|-
 
|}
 
|}
 
+
|}
 
===Variable Descriptions===
 
===Variable Descriptions===
 
----
 
----
Line 41: Line 42:
 
|-
 
|-
 
|}
 
|}
 
 
|}
 
|}
  
 
----
 
----
 
==Sample Code==
 
----
 
 
<pre>
 
Insert Code Snippet Here...
 
</pre>
 
 
 
==Sample Packet==
 
==Sample Packet==
  
 
<pre>
 
<pre>
Insert Sample Packet Here...
+
02 00 // op Count
 +
D1 B6 D1 D6 // ClientRandomNameRequest
 +
25 00 // string count
 +
6F 62 6A 65 63 74 2F                      // object/
 +
63 72 65 61 74 75 72 65 2F                // creature
 +
70 6C 61 79 65 72 2F                      // /player/
 +
68 75 6D 61 6E 5F 6D 61 6C 65 2E 69 66 66  // human_male.iff
 
</pre>
 
</pre>

Latest revision as of 11:32, 10 January 2008

Client Packet - ClientRandomNameRequest (D6D1B6D1)

SWGANH Wiki is a repository of Star Wars Galaxies Developer information. This site is only meant to be used by SWGANH Developer team.

Struct


SHORT Opperand_Count
INT Opcode
A_STRING Player_Race_IFF

Variable Descriptions


Opperand_Count = 2

Opcode = D6D1B6D1

Player_Race_IFF_String: This string is the location of the race object of the new character.

"object/creature/player/*.iff"

Note: Do not confused with creature objects, or any other object types. These are located in the player objects folder. Used also in character listing and char creation.

Tags


C→S This packet originates on the client.

100% This packet has been completely reversed.


Sample Packet

02 00 // op Count
D1 B6 D1 D6 // ClientRandomNameRequest
25 00 // string count
6F 62 6A 65 63 74 2F                       // object/
63 72 65 61 74 75 72 65 2F                 // creature
70 6C 61 79 65 72 2F                       // /player/
68 75 6D 61 6E 5F 6D 61 6C 65 2E 69 66 66  // human_male.iff