Re: [Csgo_servers] Getting current server version via API?

2017-01-26 Thread Sven 'Chaos' Pachnit
Thank you, I didn’t know about this endpoint.

I guess I will use this one but for the record I found an alternative way but 
it’s CS:GO specific.

https://api.steampowered.com/ICSGOServers_730/GetGameServersStatus/v1/?key=%API_KEY%

This gives you the health information that is displayed by steamstat.us but 
also the current version.


Cheers!


Am 26.01.2017 um 16:14 schrieb Nicholas Hastings :

> As I just said, use the client app id, 730. This is what the server also uses 
> at runtime. App 740 is only used to acquire the files for it.
> 
> -- 
> Nicholas Hastings
> AlliedMods.net
> 
> 
> 
>> Maxwell Cody Thursday, January 26, 2017 10:11 AM
>> UpToDateCheck does not work on app 740.
>> 
>> ___
>> Csgo_servers mailing list
>> Csgo_servers@list.valvesoftware.com
>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers
>> Nicholas Hastings Thursday, January 26, 2017 10:10 AM
>> https://api.steampowered.com/ISteamApps/UpToDateCheck/v1?appid=730=1
>> 
>> Use the UpToDateCheck Web API with the client app id and the current version 
>> you have (from steam.inf, PatchVersion). It will tell you whether your 
>> version is able to be listed on the master, and what the current, minimum 
>> required version is.
>> 
>> 
>> 
>> 
>> ___
>> Csgo_servers mailing list
>> Csgo_servers@list.valvesoftware.com
>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers
>> Sven 'Chaos' Pachnit Thursday, January 26, 2017 10:07 AM
>> Hey guys,
>> 
>> Since I don’t want to completely automate updating my servers I’m looking 
>> for some way to fetch the current server version in some way.
>> The only way I have at the moment is to notice that my game has updated or 
>> look at the log for „Your server has to restart to get the most recent 
>> version…“.
>> 
>> Unfortunately the Steam web API doesn’t return a thing for appid 740:
>> 
>> [10] pry(main)> SteamApi.get_schema_for_game(730)["gameVersion"]
>> => "238"
>> [11] pry(main)> SteamApi.get_schema_for_game(740)["gameVersion"]
>> => nil
>> 
>> The version information I fetch via RCON looks like this:
>> 
>> version : 1.35.6.5/13565 426/6641
>> 
>> I assume it’s "version/build something/something“.
>> 
>> Any idea?
>> 
>> 
>> Cheers!
>> ___
>> Csgo_servers mailing list
>> Csgo_servers@list.valvesoftware.com
>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers
> 
> ___
> Csgo_servers mailing list
> Csgo_servers@list.valvesoftware.com
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers

___
Csgo_servers mailing list
Csgo_servers@list.valvesoftware.com
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers

Re: [Csgo_servers] Getting current server version via API?

2017-01-26 Thread Nicholas Hastings
As I just said, use the client app id, 730. This is what the server also
uses at runtime. App 740 is only used to acquire the files for it.

-- 
Nicholas Hastings
AlliedMods.net 



> Maxwell Cody 
> Thursday, January 26, 2017 10:11 AM
> UpToDateCheck does not work on app 740.
>
> ___
> Csgo_servers mailing list
> Csgo_servers@list.valvesoftware.com
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers
> Nicholas Hastings 
> Thursday, January 26, 2017 10:10 AM
> https://api.steampowered.com/ISteamApps/UpToDateCheck/v1?appid=730=1
>
> Use the UpToDateCheck Web API with the client app id and the current
> version you have (from steam.inf, PatchVersion). It will tell you
> whether your version is able to be listed on the master, and what the
> current, minimum required version is.
>
>
>
>
> ___
> Csgo_servers mailing list
> Csgo_servers@list.valvesoftware.com
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers
> Sven 'Chaos' Pachnit 
> Thursday, January 26, 2017 10:07 AM
> Hey guys,
>
> Since I don’t want to completely automate updating my servers I’m
> looking for some way to fetch the current server version in some way.
> The only way I have at the moment is to notice that my game has
> updated or look at the log for „Your server has to restart to get the
> most recent version…“.
>
> Unfortunately the Steam web API doesn’t return a thing for appid 740:
>
> [10] pry(main)> SteamApi.get_schema_for_game(730)["gameVersion"]
> => "238"
> [11] pry(main)> SteamApi.get_schema_for_game(740)["gameVersion"]
> => nil
>
> The version information I fetch via RCON looks like this:
>
> version : 1.35.6.5/13565 426/6641
>
> I assume it’s "version/build something/something“.
>
> Any idea?
>
>
> Cheers!
> ___
> Csgo_servers mailing list
> Csgo_servers@list.valvesoftware.com
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers

___
Csgo_servers mailing list
Csgo_servers@list.valvesoftware.com
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers

Re: [Csgo_servers] Getting current server version via API?

2017-01-26 Thread Maxwell Cody
UpToDateCheck does not work on app 740.

On Jan 26, 2017 9:10 AM, "Nicholas Hastings" 
wrote:

> https://api.steampowered.com/ISteamApps/UpToDateCheck/v1?
> appid=730=1
>
> Use the UpToDateCheck Web API with the client app id and the current
> version you have (from steam.inf, PatchVersion). It will tell you whether
> your version is able to be listed on the master, and what the current,
> minimum required version is.
>
> --
> Nicholas Hastings
> AlliedMods.net 
>
>
>
> Sven 'Chaos' Pachnit 
> Thursday, January 26, 2017 10:07 AM
> Hey guys,
>
> Since I don’t want to completely automate updating my servers I’m looking
> for some way to fetch the current server version in some way.
> The only way I have at the moment is to notice that my game has updated or
> look at the log for „Your server has to restart to get the most recent
> version…“.
>
> Unfortunately the Steam web API doesn’t return a thing for appid 740:
>
> [10] pry(main)> SteamApi.get_schema_for_game(730)["gameVersion"]
> => "238"
> [11] pry(main)> SteamApi.get_schema_for_game(740)["gameVersion"]
> => nil
>
> The version information I fetch via RCON looks like this:
>
> version : 1.35.6.5/13565 426/6641
>
> I assume it’s "version/build something/something“.
>
> Any idea?
>
>
> Cheers!
> ___
> Csgo_servers mailing list
> Csgo_servers@list.valvesoftware.com
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers
>
>
>
> ___
> Csgo_servers mailing list
> Csgo_servers@list.valvesoftware.com
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers
>
___
Csgo_servers mailing list
Csgo_servers@list.valvesoftware.com
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers

Re: [Csgo_servers] Getting current server version via API?

2017-01-26 Thread Nicholas Hastings
https://api.steampowered.com/ISteamApps/UpToDateCheck/v1?appid=730=1

Use the UpToDateCheck Web API with the client app id and the current
version you have (from steam.inf, PatchVersion). It will tell you
whether your version is able to be listed on the master, and what the
current, minimum required version is.

-- 
Nicholas Hastings
AlliedMods.net 



> Sven 'Chaos' Pachnit 
> Thursday, January 26, 2017 10:07 AM
> Hey guys,
>
> Since I don’t want to completely automate updating my servers I’m
> looking for some way to fetch the current server version in some way.
> The only way I have at the moment is to notice that my game has
> updated or look at the log for „Your server has to restart to get the
> most recent version…“.
>
> Unfortunately the Steam web API doesn’t return a thing for appid 740:
>
> [10] pry(main)> SteamApi.get_schema_for_game(730)["gameVersion"]
> => "238"
> [11] pry(main)> SteamApi.get_schema_for_game(740)["gameVersion"]
> => nil
>
> The version information I fetch via RCON looks like this:
>
> version : 1.35.6.5/13565 426/6641
>
> I assume it’s "version/build something/something“.
>
> Any idea?
>
>
> Cheers!
> ___
> Csgo_servers mailing list
> Csgo_servers@list.valvesoftware.com
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers

___
Csgo_servers mailing list
Csgo_servers@list.valvesoftware.com
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers

[Csgo_servers] Getting current server version via API?

2017-01-26 Thread Sven 'Chaos' Pachnit
Hey guys,

Since I don’t want to completely automate updating my servers I’m looking for 
some way to fetch the current server version in some way.
The only way I have at the moment is to notice that my game has updated or look 
at the log for „Your server has to restart to get the most recent version…“.

Unfortunately the Steam web API doesn’t return a thing for appid 740:

[10] pry(main)> SteamApi.get_schema_for_game(730)["gameVersion"]
=> "238"
[11] pry(main)> SteamApi.get_schema_for_game(740)["gameVersion"]
=> nil

The version information I fetch via RCON looks like this:

version : 1.35.6.5/13565 426/6641

I assume it’s "version/build something/something“.

Any idea?


Cheers!
___
Csgo_servers mailing list
Csgo_servers@list.valvesoftware.com
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers