Raised This Month: $51 Target: $400
 12% 

Updater


Post New Thread Reply   
 
Thread Tools Display Modes
snelvuur
Veteran Member
Join Date: Jun 2008
Location: Netherlands
Old 12-28-2011 , 12:40   Re: Updater
Reply With Quote #111

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.
__________________
Arguing with a fool only proves there are two

Last edited by snelvuur; 12-31-2011 at 14:40.
snelvuur is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 01-03-2012 , 22:03   Re: Updater
Reply With Quote #112

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 ---
__________________
Dr. McKay is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 01-03-2012 , 22:26   Re: Updater
Reply With Quote #113

ha, I utilize this in all the plugins I release
TnTSCS is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 01-03-2012 , 22:57   Re: Updater
Reply With Quote #114

Quote:
Originally Posted by TnTSCS View Post
ha, I utilize this in all the plugins I release
Curses, they're all for CS:S.
__________________
Dr. McKay is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 01-04-2012 , 10:09   Re: Updater
Reply With Quote #115

Quote:
Originally Posted by Dr. McKay View Post
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.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 01-04-2012 at 10:10.
Powerlord is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 01-04-2012 , 10:20   Re: Updater
Reply With Quote #116

Quote:
Originally Posted by Powerlord View Post
That leaves [TF2] Force Holidays, which will likely add Updater support in its next release.
__________________

Last edited by Dr. McKay; 01-04-2012 at 10:21.
Dr. McKay is offline
Flyflo
Senior Member
Join Date: Jun 2008
Location: Grenoble, France
Old 01-06-2012 , 11:50   Re: Updater
Reply With Quote #117

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.
__________________
Flyflo is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 01-06-2012 , 12:01   Re: Updater
Reply With Quote #118

Quote:
Originally Posted by Flyflo View Post
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.
__________________
GoD-Tony is offline
Flyflo
Senior Member
Join Date: Jun 2008
Location: Grenoble, France
Old 01-06-2012 , 12:58   Re: Updater
Reply With Quote #119

Quote:
Originally Posted by GoD-Tony View Post
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
__________________
Flyflo is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 01-07-2012 , 01:43   Re: Updater
Reply With Quote #120

Quote:
Originally Posted by Flyflo View Post
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.
__________________
GoD-Tony is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:34.


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