The CMake documentation explicitly states that file(GLOB ...) is not
recommended to collect source files for a build, but it doesn't
mention what the recommended method actually is.
Specifying every
redix: does the precision really need to be part of the snapshots? can't the server just always send 3 digits and make that visual precision be a client feature instead?
The precision which is needed heavily depends on the mod so I thinks it's better to let the server owner decide. Ddrace would be okay with seconds. Fastcap needs milliseconds =\ the race snapitem usually does not change so it is only sent once anyway
Is there any way to parse an teeworlds log file and see how many players are currently online? :/ i thought every "player is ready" message gets followed by a "client dropped" but i ran this script http://149.202.127.134:8080/Pk against my full server that is running since weeks and i got -35 online players xD
21:29
seems like players can drop without being ready o.O
ready=$(grep -cP '^[.{19}][server]: player has entered the game. ClientID=' "$logfile")
drop=$(grep -cP '^[.{19}][server]: leave player=' "$logfile")
hm now i get 10000 connected players :/
A concept for a Teeworlds Server Data retrieving Bot that also functions as a Discord bot in order to search for online players or active game types. - jxsl13/TeeworldsDiscordBot