Difference between revisions of "LoginClientToken"

From SWGANH Wiki
Jump to: navigation, search
 
(Struct)
Line 8: Line 8:
  
 
{| class="wikitable"
 
{| class="wikitable"
 +
|{{short}}||'''Operand_Count'''
 
|-
 
|-
|align="center" style="background:#6C86BF; color:white;"|'''SHORT'''||'''Operand_Count'''
+
|{{int}}||'''Opcode'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Opcode'''
+
|{{b_string}}||'''Session_Key'''
 
|-
 
|-
|align="center" style="background:#25733D; color:white;"|'''B_STRING'''||'''Session_Key'''
+
|{{int}}||'''UserID'''
|-
+
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''UserID'''
+
|-
+
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''UserName'''
+
 
|-
 
|-
 +
|{{a_string}}||'''UserName'''
 
|}
 
|}
  

Revision as of 09:40, 10 April 2007


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.

Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.


Sample Code

Insert Code Snippet Here...

Sample Packet

Insert Sample Packet Here...