Difference between revisions of "LoginClientToken"

From SWGANH Wiki
Jump to: navigation, search
(Sample Packet)
(Sample Packet)
Line 70: Line 70:
  
 
3C 00 00 00 //Session_Key Size 60
 
3C 00 00 00 //Session_Key Size 60
 +
  
 
20 00 00 00 15 00 00 00 |
 
20 00 00 00 15 00 00 00 |
Line 79: Line 80:
 
FA 8F 96 FF 9F A5 62 5A |
 
FA 8F 96 FF 9F A5 62 5A |
 
29 11 00 00  
 
29 11 00 00  
 +
  
 
00 00 00 00 00 //AccountID
 
00 00 00 00 00 //AccountID

Revision as of 14:11, 21 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

00 09			//DATA A
00 00			//Sequence
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 LU 23 0D B4 AB 58 |Session_Key
F9 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 		//AccountID

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

00 26 6D	        //comp flag, crc