Quote:
Originally Posted by xcal1bur
this being updated?
|
Ay, but I forgot to subscribe to this thread.
Quote:
Originally Posted by Ultrix Prime
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
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
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
Convar to disable admin mutiny immunity
|
It uses
command overrides instead of a console variable / config file. (Fixed documentation)