Difference between revisions of "CharacterSheetResponseMessage"

From SWGANH Wiki
Jump to: navigation, search
(Struct)
m (Protected "CharacterSheetResponseMessage": Page is complete. [edit=sysop:move=sysop])
 
(25 intermediate revisions by 2 users not shown)
Line 12: Line 12:
 
|{{int}}|'''Op Code'''
 
|{{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'''
 
|-
 
|-
 
|{{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'''
 
|-
 
|-
 
|{{a_string}}|'''Bank Planet'''
 
|{{a_string}}|'''Bank Planet'''
 
|-
 
|-
|{{int}}|{{unknown}}
+
|{{float}}|'''Home Location X'''
 
|-
 
|-
|{{int}}|{{unknown}}
+
|{{float}}|'''Home Location Y'''
 
|-
 
|-
|{{int}}|{{unknown}}
+
|{{float}}|'''Home Location Z'''
 
|-
 
|-
|{{short}}|{{unknown}}
+
|{{a_string}}|'''Home Planet'''
 
|-
 
|-
|{{int}}|'''Unicode String Size'''
+
|{{u_string}}|'''Spouse Name'''
 
|-
 
|-
|{{u_string}}|'''Spouce's Name'''
+
|{{int}}|'''Lots Remaining'''
|-
+
|{{short}}|{{unknown}}
+
 
|-
 
|-
 
|{{int}}|'''Faction CRC'''
 
|{{int}}|'''Faction CRC'''
 
|-
 
|-
|{{int}}|{{unknown}}
+
|{{int}}|'''Faction Status'''
 
|}
 
|}
 
|}
 
|}
Line 55: Line 53:
 
----
 
----
  
Opperand_Count     = '''unknown''' missing?
+
Opperand_Count     = '''0D'''  
  
 
Opcode     = '''0x9B3A17C4'''
 
Opcode     = '''0x9B3A17C4'''
Line 64: Line 62:
 
* Bind Y: Y position of bind location
 
* Bind Y: Y position of bind location
 
* Bind Planet: Planet the player is bound to
 
* 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
 
* Bank Planet: Planet the player's bank is located on
* Sounce's Name: The name of the players spounce
+
* 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 CRC: CRC of the players associated faction
 +
* Faction Status: 00 = Neutral 01 = Covert 02 = Declaired
 +
|valign=top|
  
|valign=top|
 
 
===Tags===
 
===Tags===
 
----
 
----
Line 75: Line 81:
 
||{{ServerPacket}}
 
||{{ServerPacket}}
 
|-
 
|-
||{{50%}}
+
||{{100%}}
 
|-
 
|-
 
|}
 
|}
 
 
|}
 
|}
 
 
----
 
----
 
==Sample Code==
 
----
 
 
<pre>
 
Insert Code Snippet Here...
 
</pre>
 
  
 
==Sample Packet==
 
==Sample Packet==
  
 
<pre>
 
<pre>
C4 17 3A 9B  //CRC = 'CharacterSheetResponseMessage
+
0D 00        // Op Count
00 00 00 00
+
C4 17 3A 9B  // CharacterSheetResponseMessage
00 00 00 00
+
 
+
//Bind Location
+
00 00 FA C3  //Float(-500) X
+
00 00 E0 41  //Float(28) Y
+
00 A0 8C C5  //Float(-4500) Z
+
08 00  //INT(8)
+
63 6F 72 65 6C 6C 69 61  //'corellia'
+
 
+
00 00 00 00
+
 
00 00 00 00
 
00 00 00 00
 
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
  
//bank
 
08 00  //INT(8)
 
74 61 74 6F 6F 69 6E 65  //'tatooine'
 
00 00 00 00
 
00 00 00 00
 
00 00 00 00
 
00 00
 
 
//wife
 
0D 00 00 00  //UNICODE STRING SIZE(13)
 
49 00 6C 00 6C 00 69 00 73 00 61 00 20 00
 
44 00 61 00 65 00 6C 00 61 00 27 00 06 00 //UNICODE('Illisa Daela')
 
00 00
 
 
//faction
 
50 88 14 16  //CRC = 'rebel
 
00 00 00 00
 
 
</pre>
 
</pre>

Latest revision as of 23:08, 5 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