Difference between revisions of "CharacterSheetResponseMessage"

From SWGANH Wiki
Jump to: navigation, search
m (Protected "CharacterSheetResponseMessage": Page is complete. [edit=sysop:move=sysop])
 
(33 intermediate revisions by 4 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{PageHeader|Server Packet|CharacterSheetResponseMessage (9B3A17C4)}}
{|
+
|- align="center"
+
||{{PacketGuide}}
+
|-
+
|}
+
 
+
 
{| border="0" width="90%" cellpadding=6
 
{| border="0" width="90%" cellpadding=6
 
|-
 
|-
Line 11: Line 5:
 
===Struct===
 
===Struct===
 
----
 
----
 
+
{| align="center"
 +
|-
 +
||
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
|{{int}}|'''CharacterSheetResponseMessage'''
+
|{{int}}|'''Op Code'''
 
|-
 
|-
|{{int}}|{{unknown}}
+
|{{int}}|'''0'''
 
|-
 
|-
|{{int}}|{{unknown}}
+
|{{int}}|'''0'''
 
|-
 
|-
|{{float}}|'''Bind X'''
+
|{{float}}|'''Bind Location X'''
 
|-
 
|-
|{{float}}|'''Bind Z'''
+
|{{float}}|'''Bind Location Y'''
 
|-
 
|-
|{{float}}|'''Bind Y'''
+
|{{float}}|'''Bind Location Z'''
|-
+
|{{short}}|'''string size'''
+
 
|-
 
|-
 
|{{a_string}}|'''Bind Planet'''
 
|{{a_string}}|'''Bind Planet'''
 
|-
 
|-
|{{int}}|{{unknown}}
+
|{{int}}|'''Bank X Not used'''
 
|-
 
|-
|{{int}}|{{unknown}}
+
|{{int}}|'''Bank Y Not used'''
 
|-
 
|-
|{{int}}|{{unknown}}
+
|{{int}}|'''Bank Z Not used'''
 
|-
 
|-
|{{short}}|'''string size'''
+
|{{a_string}}|'''Bank Planet'''
 
|-
 
|-
|{{a_string}}|''Bank Planet
+
|{{float}}|'''Home Location X'''
 
|-
 
|-
|{{int}}|{{unknown}}
+
|{{float}}|'''Home Location Y'''
 
|-
 
|-
|{{int}}|{{unknown}}
+
|{{float}}|'''Home Location Z'''
 
|-
 
|-
|{{int}}|{{unknown}}
+
|{{a_string}}|'''Home Planet'''
 
|-
 
|-
|{{short}}|{{unknown}}
+
|{{u_string}}|'''Spouse Name'''
 
|-
 
|-
|{{int}}|'''Unicode String Size'''
+
|{{int}}|'''Lots Remaining'''
|-
+
|{{u_string}}|'''Spouce's Name'''
+
|-
+
|{{short}}|{{unknown}}
+
 
|-
 
|-
 
|{{int}}|'''Faction CRC'''
 
|{{int}}|'''Faction CRC'''
 
|-
 
|-
|{{int}}|{{unknown}}
+
|{{int}}|'''Faction Status'''
 +
|}
 
|}
 
|}
  
Line 62: Line 53:
 
----
 
----
  
Opperand_Count     = '''unknown''' missing?
+
Opperand_Count     = '''0D'''  
  
 
Opcode     = '''0x9B3A17C4'''
 
Opcode     = '''0x9B3A17C4'''
 
----
 
----
  
* Additional Descriptions go here...
+
* Bind X: X position of bind location
* --
+
* Bind Z: Z position of bind location
* ---
+
* Bind Y: Y position of bind location
* ----
+
* Bind Planet: Planet the player is bound to
 
+
* Bank X: Not used leave as 0
 +
* Bank Z: Not used leave as 0
 +
* Bank Y: Not used leave as 0
 +
* Bank Planet: Planet the player's bank is located on
 +
* Home X: X position of home location
 +
* Home Z: Z position of home location
 +
* Home Y: Y position of home location
 +
* Home Planet: Planet the player is Home to
 +
* Spouse Name: The name of the players spouse
 +
* Faction CRC: CRC of the players associated faction
 +
* Faction Status: 00 = Neutral 01 = Covert 02 = Declaired
 
|valign=top|
 
|valign=top|
 +
 
===Tags===
 
===Tags===
 
----
 
----
Line 79: Line 81:
 
||{{ServerPacket}}
 
||{{ServerPacket}}
 
|-
 
|-
||{{75%}}
+
||{{100%}}
 
|-
 
|-
 
|}
 
|}
 
 
|}
 
|}
 
 
----
 
----
  
==Sample Code==
+
==Sample Packet==
----
+
  
 
<pre>
 
<pre>
Insert Code Snippet Here...
+
0D 00        // Op Count
</pre>
+
C4 17 3A 9B  // CharacterSheetResponseMessage
 +
00 00 00 00
 +
00 00 00 00
 +
00 00 FA C3  //Float (-500)  Bind X
 +
00 00 E0 41  //Float (28)    Bind Y
 +
00 A0 8C C5  //Float (-4500) Bind Z
 +
08 00                    // string count
 +
63 6F 72 65 6C 6C 69 61  // corellia
 +
00 00 00 00 // Bank X not used
 +
00 00 00 00 // Bank Y not used
 +
00 00 00 00 // Bank Z not used
 +
08 00                    // string count
 +
74 61 74 6F 6F 69 6E 65  // tatooine (bank Location)
 +
00 00 FA C3  //Float (-500)  Home X
 +
00 00 E0 41  //Float (28)    Home Y
 +
00 A0 8C C5  //Float (-4500) Home Z
 +
08 00                    // string count
 +
74 61 74 6F 6F 69 6E 65  // tatooine (home Location)
 +
0D 00 00 00                              // String count
 +
49 00 6C 00 6C 00 69 00 73 00 61 00 20 00 // I.l.l.i.s.a. .
 +
44 00 61 00 65 00 6C 00 61 00 27 00      // D.a.e.l.a.'.
 +
0a 00 00 00  // lots remaining
 +
50 88 14 16  // CRC = 'rebel
 +
00 00 00 00  // faction state 0/1/2
  
==Sample Packet==
 
 
<pre>
 
Insert Sample Packet Here...
 
 
</pre>
 
</pre>

Latest revision as of 00:08, 6 January 2008

Server Packet - CharacterSheetResponseMessage (9B3A17C4)

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

Struct


INT Op Code
INT 0
INT 0
FLOAT Bind Location X
FLOAT Bind Location Y
FLOAT Bind Location Z
A_STRING Bind Planet
INT Bank X Not used
INT Bank Y Not used
INT Bank Z Not used
A_STRING Bank Planet
FLOAT Home Location X
FLOAT Home Location Y
FLOAT Home Location Z
A_STRING Home Planet
U_STRING Spouse Name
INT Lots Remaining
INT Faction CRC
INT Faction Status

Variable Descriptions


Opperand_Count = 0D

Opcode = 0x9B3A17C4


  • Bind X: X position of bind location
  • Bind Z: Z position of bind location
  • Bind Y: Y position of bind location
  • Bind Planet: Planet the player is bound to
  • Bank X: Not used leave as 0
  • Bank Z: Not used leave as 0
  • Bank Y: Not used leave as 0
  • Bank Planet: Planet the player's bank is located on
  • Home X: X position of home location
  • Home Z: Z position of home location
  • Home Y: Y position of home location
  • Home Planet: Planet the player is Home to
  • Spouse Name: The name of the players spouse
  • Faction CRC: CRC of the players associated faction
  • Faction Status: 00 = Neutral 01 = Covert 02 = Declaired

Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.


Sample Packet

0D 00        // Op Count
C4 17 3A 9B  // CharacterSheetResponseMessage
00 00 00 00
00 00 00 00
00 00 FA C3  //Float (-500)  Bind X
00 00 E0 41  //Float (28)    Bind Y 
00 A0 8C C5  //Float (-4500) Bind Z
08 00                    // string count
63 6F 72 65 6C 6C 69 61  // corellia
00 00 00 00 // Bank X not used
00 00 00 00 // Bank Y not used
00 00 00 00 // Bank Z not used
08 00                    // string count
74 61 74 6F 6F 69 6E 65  // tatooine (bank Location)
00 00 FA C3  //Float (-500)  Home X
00 00 E0 41  //Float (28)    Home Y 
00 A0 8C C5  //Float (-4500) Home Z
08 00                    // string count
74 61 74 6F 6F 69 6E 65  // tatooine (home Location)
0D 00 00 00                               // String count
49 00 6C 00 6C 00 69 00 73 00 61 00 20 00 // I.l.l.i.s.a. .
44 00 61 00 65 00 6C 00 61 00 27 00       // D.a.e.l.a.'.
0a 00 00 00  // lots remaining
50 88 14 16  // CRC = 'rebel
00 00 00 00  // faction state 0/1/2