I am not sure what method disastrousconsequences.com uses for the current game query, but I figured how to get the current wave number and number of monsters left using the query protocall.
I think the most common way to query a server is to send a udp packet saying "\status\" to port 7787
you can use "\info\" to get a more abbreviated server status.
"\players\" to get a detailed player listing
To get the wave number use "\game_property\WaveNum\"
To get the number of monsters use "\game_property\NumMonsters\"
if you are using linux you can use this command:
Code:
echo -n "\\game_property\\NumMonsters\\\\game_property\\WaveNum\\\\players\\" | nc -uw 1 127.0.0.1 7787
where 127.0.0.1 is the local ip, change it to the ip address of the server you want to query.
notice you can give multiple commands if you separate them with two backslashes (four is shown because you have to escape the backslash)
also the wavenumber starts at 0 so you have to add 1 to make it correct.