SteamQueryNet icon indicating copy to clipboard operation
SteamQueryNet copied to clipboard

ServerInfo Players doesnt give true info

Open RestoreMonarchy opened this issue 4 years ago • 2 comments

Hey

GetServerInfoAsync returns ServerInfo model with false info about current server players (Players property).

When server is empty the Players property is equal to 255 if there's one player on it then 0 if 4 players on it then `3

image image image

RestoreMonarchy avatar Jun 06 '20 19:06 RestoreMonarchy

Hi, I also had a problem with MaxPlayers property. Most of the time it showed a correct number (checked it with https://www.battlemetrics.com/servers) but sometimes the number was wrong, e.g. if the server limit was 400 slots, then it showed 80. Once again, the problem might have been connected with the server itself or the library?

Coke21 avatar Jun 06 '20 22:06 Coke21

Using this library two years, no issies with getPlayers(), works fine for me.

EgoBrainProgrammer avatar Nov 11 '20 01:11 EgoBrainProgrammer