Difference between revisions of "LoginClientToken"

From SWGANH Wiki
Jump to: navigation, search
(Sample Packet)
(Variable Descriptions)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{PageHeader|Server Packet|LoginClientToken (AAB296C6)}}
 
+
 
{| border="0" width="90%" cellpadding=6
 
{| border="0" width="90%" cellpadding=6
 
|-
 
|-
Line 6: Line 5:
 
===Struct===
 
===Struct===
 
----
 
----
 
+
{| align="center"
 +
|-
 +
||
 
{| class="wikitable"
 
{| class="wikitable"
 
|{{short}}||'''Operand_Count'''
 
|{{short}}||'''Operand_Count'''
Line 18: Line 19:
 
|{{a_string}}||'''UserName'''
 
|{{a_string}}||'''UserName'''
 
|}
 
|}
 
+
|}
 
===Variable Descriptions===
 
===Variable Descriptions===
 
----
 
----
Line 38: Line 39:
 
:The string name of the user account.
 
:The string name of the user account.
 
:This is equivalent to Station_Name.
 
:This is equivalent to Station_Name.
 +
 +
'''Note:'''
 +
:The session key has to do with saving the profile name to the profiles folder
 +
:also has to do with saving the account name for use in relogging in after an
 +
:extended period of time at the character selection screen.
 +
 
|valign=top|
 
|valign=top|
 +
 
===Tags===
 
===Tags===
 
----
 
----
Line 48: Line 56:
 
|-
 
|-
 
|}
 
|}
 
 
|}
 
|}
  
 
----
 
----
 
==Sample Code==
 
 
<pre>
 
Insert Code Snippet Here...
 
</pre>
 
  
 
==Sample Packet==
 
==Sample Packet==
Line 71: Line 72:
  
  
20 00 00 00 15 00 00 00 |
+
20 00 00 00 15 00 00 00
0E D6 93 DE D2 EF BF 8E |
+
0E D6 93 DE D2 EF BF 8E
A1 AC D2 EE 4C 55 BE 30 |
+
A1 AC D2 EE 4C 55 BE 30  
5F BE LU 23 0D B4 AB 58 |Session_Key
+
5F BE 23 0D B4 AB 58 F9      //Session_Key
F9 62 69 79 67 E8 10 6E |
+
62 69 79 67 E8 10 6E D3  
D3 86 9B 3A 4A 1A 72 A1 |
+
86 9B 3A 4A 1A 72 A1 FA
FA 8F 96 FF 9F A5 62 5A |
+
8F 96 FF 9F A5 62 5A 29
29 11 00 00  
+
11 00 00 00
  
  

Latest revision as of 18:16, 27 December 2007

Server Packet - LoginClientToken (AAB296C6)

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 Operand_Count
INT Opcode
B_STRING Session_Key
INT UserID
A_STRING UserName

Variable Descriptions


Opperand_Count = 4

Opcode = AAB296C6


  • Session_Key:
B_STRING: Has INT for Size, and 1 byte per character.
This can have variable size. It gets re-sent by client on ClientIdMsg.
Use this to validate sessions between login/zone server.
  • User_ID::
The ID number of the user.
This is equivalent to station_ID.
  • UserName::
The string name of the user account.
This is equivalent to Station_Name.

Note:

The session key has to do with saving the profile name to the profiles folder
also has to do with saving the account name for use in relogging in after an
extended period of time at the character selection screen.

Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.


Sample Packet


04 00			//Operand_Count
C6 96 B2 AA		//Opcode LoginClientToken



3C 00 00 00		//Session_Key Size 60


20 00 00 00 15 00 00 00
0E D6 93 DE D2 EF BF 8E
A1 AC D2 EE 4C 55 BE 30 
5F BE 23 0D B4 AB 58 F9       //Session_Key
62 69 79 67 E8 10 6E D3 
86 9B 3A 4A 1A 72 A1 FA
8F 96 FF 9F A5 62 5A 29
11 00 00 00


00 00 00 00 00 		//UserID

05 00			//String Size 5
6D 75 67 6C 79		//mugly

00 26 6D	        //comp flag, crc