Page MenuHomeFeedback Tracker

Steam API latest version json is bugged
New, NormalPublic

Description

SYNOPSIS
On the official SteamCMD website, there is an autoupdating server script that works with "any" game. It checks the Steam API every minute and downloads a json formatted game schema and compares it to a previously downloaded game version. If they differ, it auto updates the game. This does not work for DayZ because the game version published stays the same within the Steam API Schema.

RESOURCES

DETAILS
Here is the current json presented by SteamAPI for DayZ:

{"game":{"gameName":"DayZ Server","gameVersion":"5","availableGameStats":{}}}

The information doesn't change, especially "gameVersion" so Steam enabled applications may not notice an update if they are reading from the API.

Here is the URL to access this information from the SteamAPI (using Batch/CMD %variable%):

http://api.steampowered.com/ISteamUserStats/GetSchemaForGame/v2/?key=%steamkey%&appid=%update_appid%&format=json

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Operating System Version
Professional
Category
Dedicated Server
Steps To Reproduce

Use the direct URL to the SteamAPI Schema provided and fill out %steamkey% and %update_appid% with a SteamAPI key and the DayZ server appid.

The script can also be tested in full, but it is not required to reproduce the Steam API issue. The script simply automates the process of launching the server, running update checks every minute, then shutting down the server to perform updates and relaunching the server.

Additional Information

None required

Event Timeline

Server is running on Windows Server 2016 Standard

Vitdom added a subscriber: Vitdom.Nov 10 2018, 10:09 PM