LoginClientToken

From SWGANH Wiki
Jump to: navigation, search

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