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

Updater


Post New Thread Reply   
 
Thread Tools Display Modes
Thrawn2
Veteran Member
Join Date: Apr 2009
Old 10-31-2011 , 15:22   Re: Updater
Reply With Quote #61

does https work for updater configs?
__________________
einmal mit profis arbeiten. einmal.
Thrawn2 is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 10-31-2011 , 15:23   Re: Updater
Reply With Quote #62

Quote:
Originally Posted by Thrawn2 View Post
does https work for updater configs?
I don't think so, but I could be wrong.
__________________
Dr. McKay is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 10-31-2011 , 15:24   Re: Updater
Reply With Quote #63

Quote:
Originally Posted by Thrawn2 View Post
does https work for updater configs?
No. Only HTTP (port 80) is guaranteed to work across all extensions.
__________________

Last edited by GoD-Tony; 10-31-2011 at 15:28.
GoD-Tony is offline
danielmyst777
AlliedModders Donor
Join Date: Aug 2010
Location: Virginia
Old 11-01-2011 , 09:53   Re: Updater
Reply With Quote #64

I'm currently using this with SMAC and everytime I download the builds off of the smac dev. site, they get overridden by updater with a prior build that updater recognizes as the "most recent". How can I stop it from overriding these builds I download?
__________________
danielmyst777 is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 11-01-2011 , 15:24   Re: Updater
Reply With Quote #65

As Tony explained to me in a different post, the updater assumes you want the latest official release so it will grab those and overwrite what you have.

If you're only using this plugin with SMAC, and you want to use dev builds, then disable Updater... unless there's a cvar to disable updates for certain plugins that use Updater
TnTSCS is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 11-01-2011 , 20:43   Re: Updater
Reply With Quote #66

Quote:
Originally Posted by TnTSCS View Post
As Tony explained to me in a different post, the updater assumes you want the latest official release so it will grab those and overwrite what you have.

If you're only using this plugin with SMAC, and you want to use dev builds, then disable Updater... unless there's a cvar to disable updates for certain plugins that use Updater
To the best of my knowledge, Updater itself doesn't have a cvar to disable certain plugins, but you could request that the SMAC team implement it.
__________________
Dr. McKay is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 11-01-2011 , 23:17   Re: Updater
Reply With Quote #67

Instead of disabling Updater, I guess you could set sm_updater to 1 so that it only logs if an update is available - then, after you're done testing what it is you're testing with SMAC, just change sm_updater back to 3 or whatever you had it previously set to.
TnTSCS is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 11-02-2011 , 03:54   Re: Updater
Reply With Quote #68

If you plan on testing dev builds of any plugin that uses Updater, you should just disable Updater for that time. I think it's best to leave it that way without adding extra configuration.
__________________
GoD-Tony is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 11-11-2011 , 22:07   Re: Updater
Reply With Quote #69

Quote:
Originally Posted by GoD-Tony View Post
If you have released a plugin that uses Updater, post a link to it in this thread. I'd like to take a look at it!
Very well. I added Updater feature to my SniperRestrict plugin

Let me know if I did something wrong or if I could do something better

I use DropBox to host my files it's free and it works

On a side note. I had put SMAC in a sub folder (SECURITY) and when it updated, it placed the updated SMAC files in the PLUGINS folder and left the old ones in the PLUGINS\SECURITY folder - I had two of each SMAC plugin running

Last edited by TnTSCS; 11-11-2011 at 22:08.
TnTSCS is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 11-12-2011 , 03:18   Re: Updater
Reply With Quote #70

Quote:
Originally Posted by TnTSCS View Post
Very well. I added Updater feature to my SniperRestrict plugin

Let me know if I did something wrong or if I could do something better

I use DropBox to host my files it's free and it works
Looks good, and I'm sure others will find the dropbox idea useful too.

Quote:
Originally Posted by TnTSCS View Post
On a side note. I had put SMAC in a sub folder (SECURITY) and when it updated, it placed the updated SMAC files in the PLUGINS folder and left the old ones in the PLUGINS\SECURITY folder - I had two of each SMAC plugin running
Ouch, I may have to add a variable to use with the Updater file format. Something like this:
Code:
"Files"
{
  "Plugin"  "Path_SM/plugins/{this}.smx"
  "Source"  "Path_SM/scripting/plugin.sp"
}
The web path would be directly in the plugins directory, and then the local path would be wherever they stored it.
__________________
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 21:11.


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