Edit on GitHub
This packet allows a client to reconnect to the login server using a previously issued session token. It is currently unclear how to cause a client to issue this message, but it succeeds on PangYa TH when issued directly.
When the client sends this packet, the server will either send an error code via the LoginService Server Login Packet packet, or it will follow with the normal set of packets sent after login, including a new session token and server list.
In hsreina/pangya-server
, the packet ID is TCLPID.PLAYER_RECONNECT
.
Name | Type | Summary |
---|---|---|
username | pstring | Username from original login. |
user_id | u4 | User ID from the original login. |
session_token | pstring | A session token issued in LoginService Server message 0x0010. |
meta:
id: loginservice_client_000b_reconnect
title: LoginService Client Reconnect
encoding: ASCII
endian: le
imports:
- ../../common/pstring
seq:
- id: username
type: pstring
- id: user_id
type: u4
- id: session_token
type: pstring
00000000
00000010
packetId = 110b 00 data > username > length = 707 00 data > username > data = pangbox70 61 6e 67 62 6f 78 data > userId = 4834514d2 c4 49 00 data > sessionToken > length = 707
00 data > sessionToken > data = 40d232f34 30 64 32 33 32 66 ....pangbox..I..
.40d232f