Yepoleb / python-a2s

A2S Query API for Python
MIT License
151 stars 17 forks source link

Is 255 limit on a2s.player or only on a2s.info ? #24

Closed plosnaceruzia closed 3 years ago

plosnaceruzia commented 3 years ago

At https://www.battlemetrics.com/servers/rust they have more than 255 players - names - stats and I can get max 255 using a2s.player. (Game RUST)

Yepoleb commented 3 years ago

It's for both. The BattleMetrics site probably uses a server plugin to get more accurate data.

Yepoleb commented 3 years ago

Just checked again, looks like they use RCON https://www.battlemetrics.com/subscription/rcon

plosnaceruzia commented 3 years ago

image some servers do not use their rcon and they track every player There they have 300+ ppl with time: Screenshot_2021-01-13 13 01 Rusty AU NZ Uber 5X LootPlus Kits TP Events QuickSmelt - BattleMetrics


server with rcon: image

plosnaceruzia commented 3 years ago

Or is there a way to get people list from lowest to the highest number - duration?

Yepoleb commented 3 years ago

Looks like at least the player numbers are sent in the server tags as mp___ and ´cp___`, but I could not figure out how the players are queried. Whatever Rust is doing is nonstandard and I don't really want to research it at the moment.

plosnaceruzia commented 3 years ago

image red - qued yellow - online - connected players pink - max players

I still do not know how battlemetrics get players from the lowest play duration.

plosnaceruzia commented 3 years ago

image I can not get anything newer than 255. player duration

and they have a looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooot lower duration

image

plosnaceruzia commented 3 years ago

btw thx

plosnaceruzia commented 3 years ago

You were right the current server use BM rcon thank you for your time.