Page MenuHomeFeedback Tracker

Servers with more than ~ 125 players show 0 players connected
New, WishlistPublic

Description

Servers with more than ~ 125 players show that there are 0 players connected:
Proof:

https://i.gyazo.com/39007bcf382e0ba6a9060e317702c7ac.png

According to steam protocol, the number of player is encoded in a byte (0 - 255).
So i guess that you store the result of the request in a signed char (-128 - 127) so servers with more than 127 players show 0 players.

https://developer.valvesoftware.com/wiki/Server_queries#Response_Format_2

Gametracker is able to show the real number of players so the problem is not in the reply but in the way you display the result.

Thank you {F27183}

Details

Legacy ID
3445020066
Severity
None
Resolution
Open
Reproducibility
Always
Category
Server Browser Steam

Event Timeline

Manzarek set Category to Server Browser Steam.Oct 3 2015, 9:29 PM
Manzarek set Reproducibility to Always.
Manzarek set Severity to None.
Manzarek set Resolution to Open.
Manzarek set Legacy ID to 3445020066.May 8 2016, 12:52 PM
Manzarek added a subscriber: Manzarek.

The remote tab show the correct number tho

so you answer everyone but me?

Day 5: Dear diary, it's been five days since i reported this bug and it is still unnoticed, i'll keep checking everyday in the hope of a reply. I am not giving up !

Hello,

I've tested it on the current stable version and I get correct values, can you please confirm that the issue is still present? Is it in in-game or Steam browser?

I've attached a screen from in-game browser.

There was an issue with number of players on Steam side. The protocol is using 1B value but it was returned by the Steam SDK as signed. We knew about it, we handled the negative values in the game and calculated correct number. The wrong number was still shown in server browser in the Steam client. Looks like the issue was acknowledged by Steam as in current Steam client since server browser shows correct values.

Hello,
It seems that it is now fixed.
Thank you George of the jungle