WarriorMod: Clanwar manager
WarriorMod is a serverside MetaMod plugin allowing you to very comfortably play a ClanWar and have it managed completely automatically.
This plugin is outdated, please use this version: http://forums.alliedmods.net/showthread.php?t=64768 This plugin allows an admin to focus what a ClanWar is really about: Gaming. You just have to type a single command (yes, one command!) to make your server exec the configs, record a demo, change sv_password, disable fadetoblack, run a complete ClanWar, and write the results into MySQL, depending on what you want. By choosing the command you type to start the war, you set what the plugin will do before it actually comes to gaming ;) IMPORTANT Do not misunderstand me: You do NOT need a MySQL server to be able to use this plugin. It's only a gimmick! The plugin is available for download right here: Downloads You can use the following commands on server console or via rcon: war_start
Like above, except that the knife round will be skipped. war_go_knife Like war_start, except the knife round starts immediately and no-one will be asked, "Are you ready?" war_go_live No asking, no knife round, immediately get to business ^_^ war_reset If anyone messes sh!t up or ppl leave or whatever, use this command to tell my plugin that the war was cancelled. If you do not do this, starting another war will get a bit messy. war_kickban_t / war_kickban_ct Kicks and bans one of the two teams immediately by SteamID, so you don't have to walk through the whole mani menu for 5 players, but only use this command. What this does depends on the value set in war_bantime. The plugin will count rounds during war, displaying the number of rounds played, number of rounds to play, and the current score. While in War, ppl will not be able to change teams, unless teamchange is needed. By that time, WarriorMod actually swaps people automatically to the opposite team, waits for everyone to choose their skin, and goes live again. You can integrate my plugin into Mani Admin Plugin's menu. To do that, just copy and paste the following lines into $MOD/cfg/mani_admin_plugin/rconlist.txt: Code:
"[WAR] Rdy? -> Knife" war_start Config There are the following CVars: war_rounds How many rounds do you want to play? For example, 12 means MR12, 15 means MR15. Freely decidable. Default: 12 war_record Set to 1 if you want a demo to be recorded, otherwise 0. Default: 1 war_fadetoblack ESL config sets mp_fadetoblack to 1. Most ppl don't like this, so my plugin sets mp_fadetoblack to the value that's given here, after ESL config was loaded, so set to 0 if you want FTB to be off. Default: 0 war_pausable Same as war_fadetoblack regarding sv_pausable. Default: 0 war_AskRdyB4Live Set this to 1 if you want the plugin to display the "Ready?" question once again before going Live. Default: 0 war_changepassword Set to 1 if you want sv_password changed during config. It will be replaced with a randomly generated string. Default: 0 war_bantime Defines what war_kickban_(c)t does. Set to:
Set to 1 if you want the results to be written to MySQL. Default: 0 war_mysql_host Set to your MySQL server's hostname. It will not appear in HLSW or something. Default: none war_mysql_user Set to your MySQL username. Default: none war_mysql_pass Set to your MySQL password. Default: none war_mysql_db Set to your MySQL database. Default: srcds war_mysql_table Two tables will be created, one with the name given here, one named <name>_players. Set the name here. Default: wars Those CVars have to be set in server.cfg in order to work correctly. Users will not be able to view the Mysql cvars through HLSW or something. Downloads You can download various compiles of the plugin and its Source Code here: http://www.extreme-gaming-clan.de/in...te=files&cat=2 Greetz |
Re: WarriorMod: Clanwar manager
Looks nice, but I have a little problem..
It needs libmysqlclient.so.14 So I did a yum install, and it installed mysql5 ( libmysqlclient.so.15 ) hum.. ok, try a ln -s, and no go. Made sure it was in the path, but still no good. yum remove mysql download mysql4.1, rpm -Uvh mysql server / client / compat... Check, and it installed .14. Meta refresh.... Failed to load plugin addons/WarriorMod/Warrior_mm /usr/lib/libmysqlclient.so.14 'mysql_4.1' not found. So, does this really require the lib? Could you recompile with 15? Could you recompile without DB support? Have any solutions for me to help getting it going as is? Also, where is the config kept for the server settings in war mode? Is it kept in a DB? How do I change the settings for different requirements? Thanks! Chumly |
Re: WarriorMod: Clanwar manager
Quote:
I need to update the Makefile indeed to compile against a later version. As I'm currently developing Version 1.6.8, having some internal changes, this will come in the next update. Quote:
The Plugin simply exec's eslXonX.cfg, where X matches the number of players. in 4on4, esl5on5.cfg is used. After this has been exec'ed, sv_pausable and mp_fadetoblack are set according to the values defined in the cvars. for now, you can only change these. I'm about to implement a config file where you can set all the commands you like, but that's going to take a little while :) Greetz |
Re: WarriorMod: Clanwar manager
Quote:
Dann wird keine libmysqlclient.so benötigt :wink: |
Re: WarriorMod: Clanwar manager
1337...
I intended to change the Stay/Leave and rdy "votes" a little to be real votes, but I guess I'll just release the version as it is right now to get these updates into the release version... Greetz :D |
Re: WarriorMod: Clanwar manager
Yes, static linking is much better, and like I said, I already tried a symbolic link... didn't work.
Could you also include the esl config files, or at least post a link to them? Have you already updated the download file? ( could you post a version number? ) Thanks! Chumly |
Re: WarriorMod: Clanwar manager
I've just updated :)
Greetz |
Re: WarriorMod: Clanwar manager
link doesn't seem to work.
Have another one? |
Re: WarriorMod: Clanwar manager
I've updated the libmysqlclient version I used from 14 to 15. Please download and test the new package...
Quote:
I'll put the configs for download somewhere on my clan's home page tomorrow, and post the link here. <edit> Sorry Testing the plugin lib myself, I found that in fact, it doesn't even load. So I've linked against the .so again instead of the .a, now it loads again. :/ If you have DLed the package since I've made this post, please donwload again... sorry for the inconvenience. </edit> Greetz |
Re: WarriorMod: Clanwar manager
Hi!
Ok, I'm back to messing around with this stuff again... I have a fresh install, MM:S, Mani 1.2r, EST .417a, and eventscripts 1.3.0.006... Everything working fine.... Now, I try to load the warrior mod bin file, and I get MM listing it as a fail. But I dont get any error messages to the console. Any ideas? Thanks! Chumly |
All times are GMT -4. The time now is 21:35. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.