AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Updater (https://forums.alliedmods.net/showthread.php?t=169095)

snelvuur 12-28-2011 12:40

Re: Updater
 
I actually wanted to do something like "if error then set server to 'needs attention'" but if this is normal then that wont work. Is there a way to see that this is "normal" then?

@god-tony: Would it be possible with a cvar to say which type of method you have? (steamtools/curl/sockets) ? Defaulting to check for all 3, that way it would save a error message.

Dr. McKay 01-03-2012 22:03

Re: Updater
 
C'mon, guys, write some more plugins that use Updater! Literally every single autoupdating plugin on my server is one that I wrote.

Code:

> sm_updater_status
[Updater] -- Status Begin --
Plugins being monitored for updates:
  [0]  updater.smx
  [1]  teleportertools.smx // Will be released as soon as the TeleportCheck extension is fixed
  [2]  st_gamedesc_override.smx
  [3]  auto_steam_update.smx
  [4]  mutecheck.smx
  [5]  impersonate.smx
  [6]  shutdowncountdown.smx
  [7]  teamscores.smx
Last update check was 162.1 minutes ago.
[Updater] --- Status End ---


TnTSCS 01-03-2012 22:26

Re: Updater
 
ha, I utilize this in all the plugins I release :)

Dr. McKay 01-03-2012 22:57

Re: Updater
 
Quote:

Originally Posted by TnTSCS (Post 1624908)
ha, I utilize this in all the plugins I release :)

Curses, they're all for CS:S.

Powerlord 01-04-2012 10:09

Re: Updater
 
Quote:

Originally Posted by Dr. McKay (Post 1624905)
C'mon, guys, write some more plugins that use Updater! Literally every single autoupdating plugin on my server is one that I wrote.

I'm limited as to which ones I'd add auto-updating to.

MapChooser Extended and BuiltinVotes MapChooser are dependent on the BuiltinVotes Extension I also wrote. BVE 1.1 and MCE 1.8 required updating to BuiltinVotes 0.5.0 because of changes to the extension. This makes Updates to them unsuitable for auto-updating.

MapChooser Extended Sounds depends MapChooser Extended and will likely only be updated when MCE is updated.

Name Change Punisher is essentially never going to change again unless someone finds a major bug. Its functionality also exists in SMAC.

That leaves [TF2] Force Holidays, which will likely add Updater support in its next release.

Dr. McKay 01-04-2012 10:20

Re: Updater
 
Quote:

Originally Posted by Powerlord (Post 1625190)
That leaves [TF2] Force Holidays, which will likely add Updater support in its next release.

:D

Flyflo 01-06-2012 11:50

Re: Updater
 
I have a little problem with this plugin:

My update.txt (and updated files too) are hosted on GitHub and I access them via an URL that looks like https://raw.github.com/wathever[...]/update.txt
This plugin seems to first use the SteamTools extension to download the update.txt but I think it doesn't understand SSL.
If I use the cURL extension instead, everything works just fine.

Is it possible to make this plugin use cURL extension first so it works with https url ?
Thanks.

GoD-Tony 01-06-2012 12:01

Re: Updater
 
Quote:

Originally Posted by Flyflo (Post 1626704)
Is it possible to make this plugin use cURL extension first so it works with https url ?

Then the download will fail for servers that are only running SteamTools or Sockets. At this point I can't support a feature that will only work with one extension.

Flyflo 01-06-2012 12:58

Re: Updater
 
Quote:

Originally Posted by GoD-Tony (Post 1626716)
Then the download will fail for servers that are only running SteamTools or Sockets. At this point I can't support a feature that will only work with one extension.

Well, I don't really see the drawbacks of having either one more functionality or nothing more.
If I correctly understand you, if someday SteamTools is updated to support https, you wouldn't be happy because Socket's doesn't ?
Anyway, thanks for your fast answer :)

GoD-Tony 01-07-2012 01:43

Re: Updater
 
Quote:

Originally Posted by Flyflo (Post 1626750)
Well, I don't really see the drawbacks of having either one more functionality or nothing more.
If I correctly understand you, if someday SteamTools is updated to support https, you wouldn't be happy because Socket's doesn't ?
Anyway, thanks for your fast answer :)

With a closer look, SteamTools might support "https" URLs but without the security. If that's the case then support could be added to Updater for these URLs. I'll have to test it when I have time.


All times are GMT -4. The time now is 08:31.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.