[ANY] SteamWorks.ext Update Check
2 Attachment(s)
This requires SteamWorks.ext.
The plugin is pretty simple, takes the values from steam.inf and queries the Valve SteamWorks WebAPI. Towards the point for when your server is out of date, it fires the forward SteamWorks_RestartRequested. The plugin is to overcome a significant shortcoming in the Valve SteamWorks API, due to a lack of callback. To be fair though, we are doing things a little off label... The plugin will check for updates every 2 minutes. 208 downloads. |
Re: [ANY] SteamWorks.ext Update Check
Excellent, this makes automation that much easier for us lazies. Have some bacon! :bacon!:
|
Re: [ANY] SteamWorks.ext Update Check
You could use format=vdf and parse the response as KeyValues. I would think that it would also benefit from using version_is_listable (or up_to_date) instead of checking if versions match.
|
Re: [ANY] SteamWorks.ext Update Check
Quote:
Your plugin failed to compile! Read the errors below: SourcePawn Compiler 1.7.1 Copyright (c) 1997-2006 ITB CompuPhase Copyright (c) 2004-2014 AlliedModders LLC /home/groups/sourcemod/upload_tmp/php2URQJh.sp(3) : fatal error 182: cannot read from file: "SteamWorks" Compilation aborted. 1 Error. Can you look into t his? |
Re: [ANY] SteamWorks.ext Update Check
Quote:
|
Re: [ANY] SteamWorks.ext Update Check
Quote:
This was when i pressed the "Get Plugin" button. http://i.imgur.com/7oWhlWW.png On a side note, this addon breaks my server, it says there's an update every 2 minutes, after a player has joined up. Even tho everything is pure and dandy updated. Can you look into this? I just reinstalled everything and made sure everything was latest versions, yet it still said it was out of date. Im using the latest version found here http://users.alliedmods.net/~kyles/b...01-windows.zip http://i.imgur.com/erv8ori.png |
Re: [ANY] SteamWorks.ext Update Check
Quote:
|
Re: [ANY] SteamWorks.ext Update Check
Will this auto update your server without an update script ?
|
Re: [ANY] SteamWorks.ext Update Check
Quote:
Could you check my post, if you missed it. It says my server needs an update but there's no update to get, within 2 minutes of restart by the updatecheck.smx it goes into loop again saying update needed. https://forums.alliedmods.net/showpo...85&postcount=6 |
Re: [ANY] SteamWorks.ext Update Check
If you check up on version, show in picture you will notice that this is indeed latest version, but it still wants to update?
http://i.imgur.com/aHTdOl3.png |
All times are GMT -4. The time now is 12:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.