AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] SteamWorks.ext Update Check (https://forums.alliedmods.net/showthread.php?t=269826)

KyleS 08-10-2015 22:26

[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.

Maxximou5 08-11-2015 01:57

Re: [ANY] SteamWorks.ext Update Check
 
Excellent, this makes automation that much easier for us lazies. Have some bacon! :bacon!:

Dr. McKay 08-12-2015 11:44

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.

wazer 09-16-2015 00:08

Re: [ANY] SteamWorks.ext Update Check
 
Quote:

Originally Posted by KyleS (Post 2331846)
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.


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?

KyleS 09-16-2015 00:12

Re: [ANY] SteamWorks.ext Update Check
 
Quote:

Originally Posted by wazer (Post 2343364)
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?

You need the SteamWorks.ext include file to compile this plugin.

wazer 09-16-2015 13:11

Re: [ANY] SteamWorks.ext Update Check
 
Quote:

Originally Posted by KyleS (Post 2343367)
You need the SteamWorks.ext include file to compile this plugin.


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

Dr. McKay 09-16-2015 14:07

Re: [ANY] SteamWorks.ext Update Check
 
Quote:

Originally Posted by wazer (Post 2343585)
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

Don't use the "Get Plugin" link, download the smx file instead.

misterG 09-16-2015 15:17

Re: [ANY] SteamWorks.ext Update Check
 
Will this auto update your server without an update script ?

wazer 09-16-2015 22:31

Re: [ANY] SteamWorks.ext Update Check
 
Quote:

Originally Posted by KyleS (Post 2343367)
You need the SteamWorks.ext include file to compile this plugin.

Hello KyleS

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

wazer 09-17-2015 00:45

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.