Difference between revisions of "ClientIdMsg"

From SWGANH Wiki
Jump to: navigation, search
(Details)
(Sample Code)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{PageHeader|Client Packet|ClientIdMsg (D5899226)}}
 
+
 
{| border="0" width="90%" cellpadding=6
 
{| border="0" width="90%" cellpadding=6
 
|-
 
|-
Line 6: Line 5:
 
===Struct===
 
===Struct===
 
----
 
----
 
+
{| align="center"
 +
|-
 +
||
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 17: Line 18:
 
|{{b_string}}||'''Session_Hash'''
 
|{{b_string}}||'''Session_Hash'''
 
|-
 
|-
 +
|}
 
|}
 
|}
  
Line 29: Line 31:
  
 
'''Note''': ''B_STRING has a size of 4, but 1 character per byte. Only found in session_hash.''
 
'''Note''': ''B_STRING has a size of 4, but 1 character per byte. Only found in session_hash.''
 +
 +
'''Note''': This packet can be used to pass information from the login server to the zone server
  
 
|valign=top|
 
|valign=top|
 
 
  
 
===Tags===
 
===Tags===
Line 52: Line 54:
  
 
<pre>
 
<pre>
Insert Code Snippet Here...
+
 
 +
Original sample (see work below)
 +
 
 +
0000:  04 00 26 92 89 D5 00 00 00 00 38 00 00 00 20 00    ..&.......8.....
 +
0010:  00 00 15 00 00 00 AF 53 60 76 66 CD E0 58 B4 85    .......S`vf..X..
 +
0020:  DC F5 60 A2 BE 44 53 C2 E3 CA 47 20 DC 6A 7E 23    ..`..DS...G..j~#
 +
0030:  FB C0 13 C9 6D BC B3 91 47 79 FB 22 90 47 35 93    ....m...Gy.".G5.
 +
0040:  30 31 36 4F 4E C8 0E 00 32 30 31 31 31 31 33 30    016ON...20111130
 +
0050:  2D 31 35 3A 34 36                                  -15:46
 +
 
 +
 
 +
 
 +
 
 +
 
 
</pre>
 
</pre>
  
Line 58: Line 73:
  
 
<pre>
 
<pre>
Insert Sample Packet Here...
+
 
 +
Ongoing piece of work by cAble (Nge packet reverser)
 +
 
 +
 
 +
04 00 #Operand
 +
26 92 89 D5 #Opcode
 +
00 00 00 00 #getGameBitsToClear
 +
38 00 00 00 #Token
 +
20 00 00 00
 +
 
 +
15 00 00 00
 +
 
 +
 
 +
AF 53 60 76 66 CD E0 58 B4 85 DC F5 60 A2 BE 44 53 C2 E3 CA 47 20 DC 6A 7E 23
 +
FB C0 13 C9 6D BC B3 91 47 79 FB 22 90 47 35 93
 +
30 31 36 4F 4E C8 0E 00 32 30 31 31 31 31 33 30
 +
2D 31 35 3A 34 36
 +
 
 +
 
 +
 
 +
 
 
</pre>
 
</pre>

Latest revision as of 07:36, 1 January 2014

Client Packet - ClientIdMsg (D5899226)

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 ??
INT Opcode
B_STRING Session_Hash

Variable Descriptions


Opperand_Count = 3

Opcode = D5899226

This is the same Hash passed to the client in LoginClientToken packet. It is used to "transfer" across the servers.

Note: B_STRING has a size of 4, but 1 character per byte. Only found in session_hash.

Note: This packet can be used to pass information from the login server to the zone server

Tags


C→S This packet originates on the client.

75% This packet has been partially reversed.


Sample Code



Original sample (see work below)

0000:   04 00 26 92 89 D5 00 00 00 00 38 00 00 00 20 00    ..&.......8.....
0010:   00 00 15 00 00 00 AF 53 60 76 66 CD E0 58 B4 85    .......S`vf..X..
0020:   DC F5 60 A2 BE 44 53 C2 E3 CA 47 20 DC 6A 7E 23    ..`..DS...G..j~#
0030:   FB C0 13 C9 6D BC B3 91 47 79 FB 22 90 47 35 93    ....m...Gy.".G5.
0040:   30 31 36 4F 4E C8 0E 00 32 30 31 31 31 31 33 30    016ON...20111130
0050:   2D 31 35 3A 34 36                                  -15:46





Sample Packet


Ongoing piece of work by cAble (Nge packet reverser) 


04 00 #Operand
26 92 89 D5 #Opcode
00 00 00 00 #getGameBitsToClear 
38 00 00 00 #Token
20 00 00 00 

15 00 00 00 


AF 53 60 76 66 CD E0 58 B4 85 DC F5 60 A2 BE 44 53 C2 E3 CA 47 20 DC 6A 7E 23
FB C0 13 C9 6D BC B3 91 47 79 FB 22 90 47 35 93
30 31 36 4F 4E C8 0E 00 32 30 31 31 31 31 33 30
2D 31 35 3A 34 36