Thread: Updater
View Single Post
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 11-12-2011 , 03:18   Re: Updater
Reply With Quote #4

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