Closed Pyperdok closed 5 years ago
Maybe it works for you, because steamworks starts the game, and I just imitate the launch (game Played method)
Are you using the node-steam-user library? I've tried using the library and the session ticket it generates is not correct, and thus does not work with DBD's api's since all they do is call AuthenticateUserTicket on steams backend, and generate a session if it is correct.
And call AuthenticateUserTicket is not enough for a ticket worked with dbd api? Or the structure of the ticket generated by (get auth session ticket) incorrect/outdated?
And for 1 year of using their api you get banned?
I've tested its seems to be correct, though something the library does makes it not verify correctly or something. I'm unsure, because I spoke to the creator of the a DBD stats website, and he generates the token using near enough the same structure, but with different data, though you can find a thread on his forum with someone asking about the token he generates here.
With your other question, the account I use with the API has not been banned, so I guess its safe to use, though I'd still recommend using an alt as fakes you playing the game.
I am trying to log in via node js using the steam-user library to generate a ticket (get Auth Session Ticket method). After generating, I try to send a POST request to their backend with the ticket and the request body that you use, but I get an error - Invalid Token