Raised This Month: $ Target: $400
 0% 

[ND] Commander Management (1.3.0, 2012-04-21)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
1Swat2KillThemAll
SourceMod Donor
Join Date: Nov 2009
Old 01-31-2012 , 13:57   Re: [ND] Commander Management (1.2.1, 2011-10-21)
Reply With Quote #6

Quote:
Originally Posted by xcal1bur View Post
this being updated?
Ay, but I forgot to subscribe to this thread.

Quote:
Originally Posted by Ultrix Prime View Post
Get plugin doesn't compile
Yes it does ;)
This was made when SM 1.4 wasn't released yet, which is why the web compiler wouldn't work.

Quote:
Originally Posted by Kateana View Post
Setting and demoting commanders often crash the server with no error.
"2011-10-20 (v1.2.0)

* Updated to use 'startmutiny' to force a commander to resign, and '_promote_to_commander' to promote a player."

I did not remove the legacy method (which can make the server crash when used at the wrong time) in its entirety, but rather disabled it at compile-time using "conditional compiling". I may have compiled the latest version with the wrong option though, meaning that line 93
Code:
#define PROBLEMS // No, don't do it. 0o
should have been
Code:
//#define PROBLEMS // No, don't do it. 0o
I've updated the plugin and I'm terribly sorry for the inconvenience :/

Quote:
Originally Posted by Kateana View Post
Documentation on setting it up for MySQL
The SQL setup (not necessarily MySQL) is quite straightforward; all you need to do is add an entry to databases.cfg and alter commander_management_nd.cfg.

e.g.
../nucleardawn/addons/sourcemod/configs/databases.cfg
Code:
"Databases"
{
    "driver_default"          "mysql"
    
    "default"
    {
        "driver"              "mysql"
        "host"                "localhost"
        "database"            "sourcemod"
        "user"                "root"
        "pass"                "iq3hjioea3"
        //"timeout"           "0"
        //"port"              "3306"
    }
    
    "storage-local"
    {
        "driver"              "sqlite"
        "database"            "sourcemod-local"
    }
}
../nucleardawn/cfg/sourcemod/commander_management_nd.cfg
Code:
"Config"
{
    "SQL"
    {
        "named_config"       "default"
    }
}
The plugin defaults to SQLite if commander_management_nd.cfg doesn't exist, "named_config" can't be read from it, or connecting to the specified database fails.

Quote:
Originally Posted by Kateana View Post
Convar to disable admin mutiny immunity
It uses command overrides instead of a console variable / config file. (Fixed documentation)
1Swat2KillThemAll is offline
 



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 14:16.


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