TexHik Posted Sunday at 08:36 PM Report Share Posted Sunday at 08:36 PM (edited) I'm using https://github.com/DoctorMcKay/node-steam-user lib to generate session tickets for specific game in steam. Flow on my client is simple: client.logOn() client.setPersona(SteamUser.EPersonaState.Online) client.gamesPlayed(target_game_appId, true) client.cancelAuthSessionTickets(target_game_appId); client.endAuthSessions(target_game_appId) let ticketToken = await act_acc.steamClient.createAuthSessionTicket(target_game_appId); Then i send this ticket to my game server, where my custom plugin handles it, with this flow: SteamServer.BeginAuthSession(ticketToken, steamid); SteamServer.UpdatePlayer(steamId, username, 0); After this, i get on server OnValidateAuthTicketResponse event with code 0 - Ok for this steamid. But after a minute or so, OnValidateAuthTicketResponse event fires agait for same steamid with code 5 - VACCheckTimedOut. How can i fix this, or why does it happens? When i joins the server with native game client its working fine, and no second event is fired. Rodney, help please Edited Sunday at 08:40 PM by TexHik Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted Monday at 03:24 AM Report Share Posted Monday at 03:24 AM You would need to implement the client side of VAC, in its entirety, flawlessly. Good luck! Quote Link to comment Share on other sites More sharing options...
TexHik Posted Monday at 07:13 AM Author Report Share Posted Monday at 07:13 AM Is there any examples, or api of vac? I cant find any api or examples of vac in steamworks, but game developers somehow implementing it? Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted Monday at 02:45 PM Report Share Posted Monday at 02:45 PM Game developers don't implement VAC; the Steam client takes care of that fully. Game devs just opt into using it, at which point the Steam backend starts sending modules for the Steam client to execute properly and return responses for. Quote Link to comment Share on other sites More sharing options...
TexHik Posted Tuesday at 07:00 AM Author Report Share Posted Tuesday at 07:00 AM Thank you)) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.