Vice City: Multiplayer

Server Development => Scripting and Server Management => Snippet Showroom => Topic started by: Fuzzie on Dec 27, 2014, 03:10 AM

Title: Alternative Settings Script r1
Post by: Fuzzie on Dec 27, 2014, 03:10 AM
Alternative Settings Script
revision 1


Don't like using the server.cfg and the squirrel .conf file? Here's an alternative for you! This script is a re-write of the Squirrel 0.3z server configuration file to a Squirrel script. Remember, this is just an alternative. The choice is up to you.

Installation is simple. All you need is the script which can be downloaded from the link below and the Squirrel Plugin (https://bitbucket.org/stormeus/0.4-squirrel/downloads). Then include this script in the callback onScriptLoad(). If everything is done right, it should work.

function onScriptLoad(){
dofile( "settings.nut" );
LoadSettings();
}

Happy Coding!

Download Link (http://www.mediafire.com/download/2c0qi1tsijciluc/AlternativeSettings.zip)

Note: Several things can't be moved over to the script, eg: Port, so they have to be done in the server.cfg file.
Title: Re: Alternative Settings Script r1
Post by: Nothing on Dec 27, 2014, 04:24 AM
Nice,
Title: Re: Alternative Settings Script r1
Post by: . on Dec 27, 2014, 05:10 AM
You know there's a chance that Mediafire will remove that link if they desire so. Why not post the code here since it's so simple or maybe on Pastebin if you wish to keep the formatting.
Title: Re: Alternative Settings Script r1
Post by: Sebastian on Dec 27, 2014, 09:41 AM
I like it, good job. ;)
Title: Re: Alternative Settings Script r1
Post by: MacTavish on Dec 27, 2014, 12:29 PM
Good Job
Title: Re: Alternative Settings Script r1
Post by: Fuzzie on Dec 27, 2014, 03:16 PM
Quote from: S.L.C on Dec 27, 2014, 05:10 AMYou know there's a chance that Mediafire will remove that link if they desire so. Why not post the code here since it's so simple or maybe on Pastebin if you wish to keep the formatting.
I will take that into consideration but since my file that was uploaded in 2012 hasn't been removed, I don't think I'll make the switch quite soon.
Title: Re: Alternative Settings Script r1
Post by: MatheuS on Dec 27, 2014, 03:52 PM
Nice Fuzzie! ;D