theace0296 / steamworks-node

A wrapper library to call the steamworks API from NodeJS.
MIT License
24 stars 2 forks source link

How to use the SteamWorks.SteamMatchmakingServers.GetServerDetails function? #5

Open AlexAnimateMp4 opened 2 years ago

AlexAnimateMp4 commented 2 years ago

I searched in the Steam documentation, in the source code, in other Github repositories... No answer to my question, so I put it here.

theace0296 commented 2 years ago

You have to get a server list request object to pass to that function. The functions that return one of those are listed here: https://partner.steamgames.com/doc/api/ISteamMatchmakingServers

AlexAnimateMp4 commented 2 years ago

For 2 Days I have been trying to get information about a server from the Steam SDK. I got to know how to use the function I wanted. I realized that the "ISteamMatchmakingServers" method uses the steam server browser. This one never really worked, I would even say that it is deprecated. The alternative ? The Steam Web API. The API is functional, easy to use, but at a big disadvantage. To connect to this API, you need an authentication key. Even if this information is public, it is required to have one. If any of you know how to retrieve information from a server of any game with the Steam SDK, I would appreciate this valuable information.