Jump to content
McKay Development

Recommended Posts

Posted (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 by TexHik
Posted

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.

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...