Raised This Month: $ Target: $400
 0% 

getting current version of game(appid)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
snelvuur
Veteran Member
Join Date: Jun 2008
Location: Netherlands
Old 01-05-2011 , 07:37   getting current version of game(appid)
Reply With Quote #1

All,

I am looking for a way to find the latest version of for example tf2 or css.

I know that you can query the master server, choose a server and then ask for a heartbeat. If it responds back with the master server restart you know that your version is outdated.

The bad part about this in my eyes is that i know its out of date but i still dont know the "new" version number. I want to match it with my servers and based upon that do a restart. Now if you have only a few servers thats just fine, but with loads of servers its still a time consuming process to check each server.

At the end if i have the new version number i only need to query my servers locally and do some magic.

I also thought about taking the news feed for the updates for tf2, but i dont see that in xml/json format. Anything that uses non-proper use i want to avoid since it can break in the future.

Any tips/help is appreciated.
__________________
Arguing with a fool only proves there are two
snelvuur is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:53.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode