"Scan" : 20000, /* def = 20000 (20.0s), min = 10000 (10.0s) */ // wait a bit between scanning game servers to save processor
"Skip" : 10000, /* def = 10000 (10.0s), min = 5000 (5.0s) */ // wait a bit right after launching a game server instance to save processor
"UpdateMainFile" : "G:/STEAMCMDCZ/UPDATE_CZ", // if this file ever exists it will be removed and steam cmd launched
"UpdateKeyFile" : "G:/STEAMCMDCZ/STEAMAPPS/COMMON/HALF-LIFE/CZERO/STEAM.INF", // steam.inf file path
"AppId" : 80, // https://developer.valvesoftware.com/wiki/Dedicated_Servers_List /* https://developer.valvesoftware.com/wiki/Steam_Application_IDs */
"AwayUpdate" : 180000, /* def = 180000 (180.0s), min = 30000 (30.0s) */ // a computer user must be away for this long in order to start steam cmd or game servers
"KillSteamApp" : true, // kill steam app before steam cmd update and before srcds.exe or hlds.exe launch, if installed and running
"RunSteamApp" : true, // run steam app when all srcds.exe or hlds.exe instances are launched, if steam app is installed and not already running
"SteamCMD" :
{
"Path" : "G:/STEAMCMDCZ/STEAMCMD.EXE", /* '/' or '\\' */
"Args" : "+login anonymous +app_update 90 +app_set_config 90 mod czero +app_update 90 +exit" // no comma (last entry)
} // no comma (last entry)
}
v1.4 -> v1.5 : Fixed a bug which caused the application to terminate on invalid internet connection.
v1.5 -> v1.6 : Added a check for the TerminateProcess and WaitForSingleObject calls, to ensure these processes have really terminated.
Fixed a bug which made the Steam CMD application unable to launch in the case of UpdateMainFile missing. UpdateMainFile setting is optional.
v1.6 -> v1.7 : Disabled the C++ exceptions entirely to improve the execution performance.
Fixed a bug related to the TerminateProcess and WaitForSingleObject calls. While the Steam application is closed why would it be killed anymore.
v1.7 -> v1.8 : Final improvements.
v1.8 -> v2.0 : Fixed HLDS. The CreateProcessW call also needed the path (the location) of the HLDS.EXE file as a parameter.
v2.0 -> v3.0 : Fixed game servers being stuck on 60 FPS in Windows 11.
v3.0 -> v3.1 : Added Half-Life support.