Unity-Technologies / qstat

New official qstat repository
Artistic License 2.0
121 stars 33 forks source link

Servers with type 'xonotics' returning empty players randomly #88

Closed morecofe closed 3 years ago

morecofe commented 5 years ago

Hi, that is a hard one to reproduce but you might be able by querying the same server several times or with intervals. While the returned result has 'numplayers' 7 for e.g. it randomly returns an empty array of players (regardless of a crowded server having more than 5 real players). Proven this happens when you type two commands consequently. Last command returns with retries:1 and players empty.

illwieckz commented 5 years ago

I wonder if it's an issue on xonotic side or not, for months I discovered that I get a timeout something like 90% of the time while querying xonotic servers. See my server page that relies on qstast, the xonotic servers are usually displayed in orange with no information because of timeout.

stevenh commented 5 years ago

That sounds like a server side issue, have you tried increasing the timeout / retries!

morecofe commented 5 years ago

I confirm increasing retries to 5 helped (not the timeout) and returned players. I was expecting at least 'timeout' status when this failed but it's always 'online' in both cases.