I run a number of game servers on a Linux host, including srcds games like TF2 and CSGO.
I recently started hosting a Starbound server (AppID 211820), but I have a problem.
I need to know when a game update has been released so that I can update the server and restart it.
I have an automatic update script for srcds games like TF2 and CSGO, because Valve has their WebAPI configured. The script automatically detects when a new server version is out and goes through the process of warning players to get off the server, shuts it down, updates, and starts it back up again.
For TF2, I can query the UpToDateCheck API via a URL, like here:
It is very easy for me to parse the version and determine if an update has been released.
Unfortunately, Starbound does not yet support this, and I am not able to get much information out of the WebAPI, even with an authenticated account key.
Is there any way for me to figure out when updates to this application have been released? If so, what tools/APIs can I use to access that information?
How can I determine the current version of an application? This seems like it would be something trivial and one of the most basic pieces of information that someone would need to know, but Valve doesn't seem to make this easy.
Maybe you can ping Starbound devs and see if they can "enable" said API method?
That would be the ideal scenario, but I can't get their attention on this. They have a million screaming neckbearded hipster eighteen year olds shitposting all over their forums, they don't have email addresses posted and I'm not rude enough to get more forceful about it.
I know it's an ugly and perhaps an useless solution, but how about parsing developers web for "STABLE" patch-notes:
Of course, the way how developers announce new updates can change at any moment, so your implementation may be deprecated at any moment...
Another solution could check BuildId for public branch of Starbound depots:
I suppose that BuildId will change with updates, but I'm not sure...
Would love to know this too so that I could implement a similar solution for other games.
You are currently replying to another tree, would you like to make a top level comment? Reply
In order to reply to this thread,
you must login via Steam.