Just a heads up that this is going to change when we release the SteamPipe 
update.

All version numbers will be simple integers (they are actually the P4 revision 
numbers of the build).  The a.b.c.d format is gone.

The ClientVersion and ServerVersion will update with every build.  The two 
numbers are actually redundant will always be equal.  (There is a historical 
reason to have two numbers that isn't interesting.)
As before, the PatchVersion will only change for mandatory updates.  On a 
mandatory update, all three versions will be bumped to the same value.  For an 
optional update, the ClientVersion and ServerVersion will get bumped, but 
PatchVersion will stick.  Thus, you should expect steam.inf to change on every 
update.

With the upcoming conversion of the Source engine games to SteamPipe, we will 
have the ability to release the server ahead of the client.  This introduces 
extra complexities because now you can be "out of date" because your version is 
too NEW to be listed.  So the WebAPI will need to be able to signal the server 
version currently available for download, as well as the range of versions that 
are acceptable.  (Or something like that.)  More details on that will be 
released when the time comes.  We're hoping to release the first server and 
client (as an opt-in beta) very soon.

From: [email protected] 
[mailto:[email protected]] On Behalf Of Adrian x
Sent: Monday, March 11, 2013 5:54 PM
To: Half-Life dedicated Win32 server mailing list
Subject: Re: [hlds] [hlds_linux] Get compile the build number of game servers 
in PHP

I agree, but in this way you can check the validity of the engine (its 
version), and my observation is that the smaller updates / amendments do not 
change the version number and build number, and only then that the API is not 
any ...

2013/3/12 Charlie <[email protected]<mailto:[email protected]>>
How we do it:

Make a Steam API call with AppID and the version you currently have (0 if 
you've never checked.) (TF2 for example: 
http://api.steampowered.com/ISteamApps/UpToDateCheck/v0001?appid=440&version=0&format=json)

Grab $request->response->required_version for whatever the AppID is that you 
want to check.

If it's a game we haven't checked before, we store the AppID and required 
version.

If we have a current version already on record, we check if 
$request->response->up_to_date == FALSE.

If it's not up to date, we update and store the new required version for future 
update checks.



On Mon, Mar 11, 2013 at 12:31 PM, Adrian x 
<[email protected]<mailto:[email protected]>> wrote:
I do not mean to download the build number downloaded version, just download 
the version that is available for download from the Steam servers to be able to 
check whether there is newer than the one we have on the disk without 
downloading.

2013/3/11 Fletcher Dunn 
<[email protected]<mailto:[email protected]>>
The engine gets that info from steam.inf.

-----Original Message-----
From: 
[email protected]<mailto:[email protected]>
 
[mailto:[email protected]<mailto:[email protected]>]
 On Behalf Of Sebastian Staudt
Sent: Monday, March 11, 2013 2:39 AM
To: Half-Life dedicated Win32 server mailing list
Cc: Half-Life dedicated Linux server mailing list
Subject: Re: [hlds_linux] [hlds] Get compile the build number of game servers 
in PHP

Maybe parsing the version information from the `status` output via RCON is more 
reliable.


2013/3/11 Jesse Molina <[email protected]<mailto:[email protected]>>

>
> On this subject, is there any way to determine the local version of
> the installed srcds server?  I find the steam.inf files are unreliable
> and only
> TF2 has the current client/server version in it that I could compare
> against the WebAPI.
>
> Is there a better way of determining when srcds servers should be
> updated other than the WebAPI?  I looked into Steam Condenser this
> weekend but really didn't see anything interesting.
>
> Advice from anyone who has already automated this this would be
> appreciated.
>
>
>
>
> Adrian x wrote:
>
>> Unfortunately, that stops me is the fact I have no way of checking
>> whether a new update came out and download the exact number. Although
>> api provides "ISteamApps / UpToDateCheck" which is the ability to
>> check the current version of the game engine required, but will not
>> let me in any way to check whether it was updated game engine.
>>
>>
> --
> # Jesse Molina
> # Mail = [email protected]<mailto:[email protected]>
> # Cell = 1-602-323-7608<tel:1-602-323-7608>
>
>
>
> ______________________________**_________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> https://list.valvesoftware.**com/cgi-bin/mailman/listinfo/**hlds<https
> ://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds<http://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds>>
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds

Reply via email to