i have created a PHP Script with the help of GameQ.
https://github.com/Austinb/GameQ
I have added the CS:GO Protocol for it! Its a easy script. And the function
to check the version:
// check version
> function checkVersion($game, $version) {
> switch($game) {
> case "csgo":
> $version = str_replace('.', '', $version);
> $get_data = json_decode(file_get_contents("
> http://api.steampowered.com/ISteamApps/UpToDateCheck/v0001?appid=730&version=".$version),
> true);
> return $get_data["response"]["up_to_date"];
> break;
> case "css":
> $version = str_replace('.', '', $version);
> $get_data = json_decode(file_get_contents("
> http://api.steampowered.com/ISteamApps/UpToDateCheck/v0001?appid=240&version=".$version),
> true);
> return $get_data["response"]["up_to_date"];
> break;
> case "l4d2":
> $version = str_replace('.', '', $version);
> $get_data = json_decode(file_get_contents("
> http://api.steampowered.com/ISteamApps/UpToDateCheck/v0001?appid=550&version=".$version),
> true);
> return $get_data["response"]["up_to_date"];
> break;
> case "mc":
> // not finished
> break;
> default: return "not_supported";
> }
> }
2012/8/24 Philipp Heuer <[email protected]>
> Is there a way to get the Server Version?
>
> I want to get the content version of a server to compare them whit the
> newest over the steam api.
> But how i do i get the content version whitout starting an update?
>
> I would realy be greatefull for some help
>
> _______________________________________________
> Csgo_servers mailing list
> [email protected]
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers
>
_______________________________________________
Csgo_servers mailing list
[email protected]
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers