mirror of
https://github.com/PretendoNetwork/friends.git
synced 2026-09-14 06:15:35 -05:00
Set user PID
This commit is contained in:
@@ -26,7 +26,9 @@ func connect(packet *nex.PacketV0) {
|
||||
decryptedRequestData := requestDataEncryption.Decrypt(requestData)
|
||||
requestDataStream := nex.NewStreamIn(decryptedRequestData, nexServer)
|
||||
|
||||
_ = requestDataStream.ReadUInt32LE() // User PID
|
||||
userPID := requestDataStream.ReadUInt32LE() // User PID
|
||||
packet.Sender().SetPID(userPID)
|
||||
|
||||
_ = requestDataStream.ReadUInt32LE() //CID of secure server station url
|
||||
responseCheck := requestDataStream.ReadUInt32LE()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user