Camulorix 21 Jul, 2015 @ 6:53am
SteamCMD app_status unreliable for update information
Hi,

I am hosting an Ark Survival Evolved dedicated server. The developers update the game fairly often and at different times. So I got the idea of an automatic update check using SteamCMD.

Sadly the command app_status tells me only that it is fully installed and not that there is an update available (even if there is one). Is there a way to force SteamCMD to get the latest information about a game without updating the game in the process?

The game is installed into another directory which I always set through force_install_dir before I execute app_status

I also posted on the general steam forums but they could not help me:
https://steamhost.cn/steamcommunity_com/discussions/forum/1/541906348057708000/
< >
Showing 1-2 of 2 comments
Tinni 3 Jun, 2016 @ 7:31pm 
Hi,
you can get the current build ID on the steam servers via "app_info_print #ID".
But take into account, due a nice bug[github.com] you cannot pipe it into anything except TTY.

The build ID of your local installation can be found in the manifest file (%SERVER_INSTALL_DIR%/steamapps/manifest_#APP_ID.acf under windows).

If you want to write an auto updater, I found two solutions:
- Use steam WebAPI like GetScheme or isUpToDate. But it seems, that not all games support this web API (also, some needs the client app_id insteand of the server app_id as parameter:spazdunno:)
- extract the steam server build ID from steamCMD cache file (%STEAMCMD%/appcache/appinfo.vdf under windows)

I started a private project[github.com] which implements the second approach and has a roughly implementation of the first one. The project still needs some tests + never compiled/tested under linux yet.
Suicideboss 10 Jul, 2016 @ 10:45am 
Hi,
you can get the current build ID on the steam servers via "app_info_print #ID".
But take into account, due a nice bug[github.com] you cannot pipe it into anything except TTY.

The build ID of your local installation can be found in the manifest file (%SERVER_INSTALL_DIR%/steamapps/manifest_#APP_ID.acf under windows).

If you want to write an auto updater, I found two solutions:
- Use steam WebAPI like GetScheme or isUpToDate. But it seems, that not all games support this web API (also, some needs the client app_id insteand of the server app_id as parameter)
- extract the steam server build ID from steamCMD cache file (%STEAMCMD%/appcache/appinfo.vdf under windows)

I started a private project[github.com] which implements the second approach and has a roughly implementation of the first one. The project still needs some tests + never compiled/tested under linux yet.
#1
Showing 1-1 of 1 comments
< >
Showing 1-2 of 2 comments
Per page: 1530 50