Thread: Auto updater
View Single Post
Author Message
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 04-30-2007 , 18:42   Auto updater
Reply With Quote #1

Current version: 0.1.0.1

Source
Binary
Config (goes in addons\sourcemod\configs)

Notes:
This plugin requires the downloader extension. (at least revision 6)

Changes:
Added sm_addplugin <pluginid> <pluginname>

At every map change, the plugin reads the config file (configs\autoupdate.cfg). Using the plugin ID and revision, it determines if there are any updates available. If there are, they are downloaded and will be updated for the next map change.

This all depends on the plugin author being willing to upload the compiled versions to my web site.. http://plugins.devicenull.org (Yes, it looks terrible).

Assuming the plugin you want is listed on the web site, it is trivial to install it: Copy down it's ID number, and use the following command via rcon: "sm_addplugin IDNUMBER NAME" where NAME is a short name you want for the plugin. The plugin will become active on the next map change, assuming everything works correctly.

Note to moderators: Do not approve this. This functionality is coming in a better way eventually.
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/

Last edited by devicenull; 07-01-2007 at 14:36.
devicenull is offline