Actually, I now saw even more entries:
Answer for the first request:
[2017.09.14-09.54.02:448][450]UGameSparksModuleLog: WebSocket callback: {"@class":".AuthenticationResponse","authToken":"86fde8c1-aa32-412c-b9a4-a0b4988067c6","displayName":"Cellieeeee","newPlayer":false,"requestId":"d_1505382841_0","scriptData":{"playerData":{"allCustomizables":[{ "shortcode" : "male_base" , "type" : "body"},{ "shortcode" : "female_base" , "type" : "body"}],"playerInventory":[{ "playerID" : "59ba5161c243d0052178bb53" , "customizable" : { "shortcode" : "female_base" , "type" : "body"}},{ "playerID" : "59ba5161c243d0052178bb53" , "customizable" : { "shortcode" : "male_base" , "type" : "body"}}],"currentCustomizables":[{"type":"body","shortcode":"male_base"}]}},"userId":"59ba5161c243d0052178bb53"}
Then after a short time:
[2017.09.14-09.54.02:457][451]UGameSparksModuleLog: WebSocket callback: {"@class":".AuthenticationResponse","error":{"requestId":"ALREADY_PROCESSED"},"newPlayer":false,"requestId":"d_1505382753_0"} [2017.09.14-09.54.02:457][451]UGameSparksModuleLog: New UserId init persistent queue [2017.09.14-09.54.02:458][451]UGameSparksModuleLog: Removed request from persistent queue [2017.09.14-09.54.02:458][451]UGameSparksModuleLog: Send immediate request: { "@class": ".SteamConnectRequest", "sessionTicket": "140000007CB2F24A64F010E05EAC910A010010019442BA59180000000100000002000000E5E6868D00000000063A3B0002000000B200000032000000040000005EAC910A01001001E2BD0A00E5E6868DB100A8C0000000003C4DBA59BCFCD55901000E190300000000007330BB2FA30C1D8663C48DF8ECA05809BCBA14048D5C1095DF955581427CB2E01F2FDEBDE71D489102A0CA2E8E4CAB435CF46D84959C2579789B2D24A5206F65A327716A08506F49835A0040D3DABAC18C0C7715625E902555E324AF891EC4B3483E057F3D01C391F9E29DD20493518016F5702427E7F6565E0874D4EEF0ED58", "switchIfPossible": true, "syncDisplayName": true, "requestId": "d_1505382841_0" }
With response:
[2017.09.14-09.54.02:857][572]UGameSparksModuleLog: WebSocket callback: {"@class":".AuthenticationResponse","authToken":"ef7b78e8-6ca5-49c7-816e-c265ff8ad7be","displayName":"Cellieeeee","newPlayer":false,"requestId":"d_1505382841_0","scriptData":{"playerData":{"allCustomizables":[{ "shortcode" : "male_base" , "type" : "body"},{ "shortcode" : "female_base" , "type" : "body"}],"playerInventory":[{ "playerID" : "59ba5161c243d0052178bb53" , "customizable" : { "shortcode" : "female_base" , "type" : "body"}},{ "playerID" : "59ba5161c243d0052178bb53" , "customizable" : { "shortcode" : "male_base" , "type" : "body"}}],"currentCustomizables":[{"type":"body","shortcode":"male_base"}]}},"userId":"59ba5161c243d0052178bb53"} [2017.09.14-09.54.02:857][572]UGameSparksModuleLog: Received auth token [2017.09.14-09.54.02:857][572]UGameSparksModuleLog: New UserId init persistent queue
Why is this happening so often? I only authenticate the Players ONCE in the GameInstance.
Cedric Neukirchen
Hey there,
it might be on my end, but did anyone notice login requests etc being send twice?
I already saw that, even without actually issuing a request to login, GameSparks does it automatically?
Is there some boolean I can switch to turn this off? If not, can someone direct me to the place in the code?
I'm open to fix it directly in my code.
Here is my log when loggin in:
The login process in Blueprints is currently:
"Disconnect From GameSparks" -> "Connect To GameSparks" -> "If Available (connected), Authenticate via Steam".
Nothing more. Also checked if the code calls twice, but it's not.
Any idea?