put these characters in badnames?....
to do it..
Manumod folder---->Cod4---->Plugins---->Open badnames and add the charactors in that notepad file which u dont want in names..
put these characters in badnames?....
to do it..
Manumod folder---->Cod4---->Plugins---->Open badnames and add the charactors in that notepad file which u dont want in names..
You mean this?
^1Welcome To ^2 |KH| Clan Server
^5Play Fair ^0And ^7Have Fun
^1Respect All ^2Admins,Players,Members
^1This Server is Hosted And Powered By Killers Of Hell
^1|KH| Clan Founder Is ^3|KH|Dr.ThAraX
^2|KH| Clan Leader Is ^1|KH|R@ng3r
^3|KH| Stands For ^1Killers ^0Of ^1Hell
^2Recuritment Is Open ^3Join Us Now!
^3Type ^1!online ^3cammand for online admin ^7& ^2Rules ^1For Rules.
if yes, go to manumod folder -->cod4-->plugins--->Banner
no, i use custom_public its works fine on without Promod but when i start promod server and manu mod , so like when round starts, manu mod says WELCOMe and other things, but whne someone kills first it says nothing, just like it quited, and after 5 mins it bangs up with : DEATH drew first blood, Death is on killing spree Online admins : Death , R@NGER then it says nothing for other few mins then again it do same. Why?
yeah as i said on top how to use it on promod?? its not working like, it stop working for mint... then it sudden says welcome and other things...?
fixed it just needed to add PARAMS="" in end :D,
btw thanks MaM team now.
thats what i get now
this is beta 3 file, i install 0.12 after this error, if this error can be fixed so i will use this version, but like days ago u said mam.0.12 is without any bugs so i tried to install that
ok so pingkick PHP file :
<?php
/**
* ManuAdminMod
*
* This is a powerful and platform independent software for administrating game servers of various kinds.
* If you need help with installing or using this software, please visit our website at: [url]www.ManuAdminMod.de[/url]
* If you want to obtain additional permissions extending the license, contact us at: [email=Webmaster@ManuAdminMod.de]Webmaster@ManuAdminMod.de[/email]
*
* @copyright [url]www.ManuAdminMod.de[/url]
* @license [url]http://www.creativecommons.org/licenses/by-nc-nd/4.0/[/url] Creative Commons BY-NC-ND 4.0
* @version 1.0.0-Beta+3
**/
namespace MAM\Plugins\Pingkick;
use MAM\Daemon\Api\PluginHandler as PluginHandler;
/**
* Kicks players whos ping is to high.
*
* PLUGIN: Pingkicker
* ================
*
* ATTENTION: This ofunction might not work correctly cause of a bug in the CoD
* RCON response
*
* CONFIG:
* -------
* [pingkicker]
* enabled = 1 ;Enable plugin
* maxping = 150 ;Maximum ping that a player can have
* checkinterval = 30 ;Check pings every X secounds
* warnstokick = 2 ;Warns until kick
* mode = "tempban" ;kick/ban/tempban
* kickreason = "Your ping is to high" ;Reason of a kick
*
* NAMESPACE: pingkicker
* Functions:
* pingkicker_main
* pingkicker_playerInit
*
* Vars:
* $pingkicker_lastcheck
*
* @author ManuAdminMod
*/
class PingKick extends PluginHandler {
/**
* Unixtimestamp of the last check
*
* @var int
*/
private $pingkicker_lastcheck;
/**
* Constructor
*/
public function __construct() {
parent::__construct();
$this->pingkicker_lastcheck = time();
//Init Players because playerJoined isn't called at startup
array_map(array($this, "pingkicker_playerInit"), array_keys($this->players));
}
/**
* Inits the plugin
*
* This function initiates the plugin. This means that it register commands
* default values, and events. It's important that every plugin has this function
* Otherwise the plugin exists but can't be used
*/
protected function initPlugin() {
parent::initPlugin();
$this->mod->setDefaultCV("pingkicker", "enabled", 0);
$this->mod->setDefaultCV("pingkicker", "maxping", 150);
$this->mod->setDefaultCV("pingkicker", "checkinterval", 30);
$this->mod->setDefaultCV("pingkicker", "warnstokick", 2);
$this->mod->setDefaultCV("pingkicker", "mode", "tempban");
$this->mod->setDefaultCV("pingkicker", "kickreason", "Your ping is to high");
$this->mod->registerEvent("playerJoined", "pingkicker_playerInit", $this);
$this->mod->registerEvent("everyTime", "pingkicker_main", $this);
$this->mod->registerEvent("nextMap", "pingkicker_reset", $this); //Do not check while the clients are loading the map
}
/**
* CHecks if ping is to high and kicks a player
*
* @return void
*/
function pingkicker_main() {
if (!$this->mod->getCV("pingkicker", "enabled")) {
return;
}
if (time() - $this->pingkicker_lastcheck < $this->mod->getCV("pingkicker", "checkinterval")) {
return;
}
$this->pingkicker_lastcheck = time();
$playerlist = $this->rcon->rconPlayerList();
foreach ($playerlist as $value) {
if (!array_key_exists($value["guid"], $this->players)) {
continue;
}
if ($value["ping"] <= $this->mod->getCV("pingkicker", "maxping")) {
$this->players[$value["guid"]]->pingkicker_warns = 0;
} else {
if ($this->players[$value["guid"]]->isProtected())
continue;
$this->players[$value["guid"]]->pingkicker_warns ++;
if ($this->players[$value["guid"]]->pingkicker_warns >= $this->mod->getCV("pingkicker", "warnstokick")) {
switch ($this->mod->getCV("pingkicker", "mode")) {
case "tempban":
$this->players[$value["guid"]]->tempBan($this->mod->getCV("pingkicker", "kickreason"));
break;
case "kick":
$this->players[$value["guid"]]->kick($this->mod->getCV("pingkicker", "kickreason"));
break;
case "ban":
$this->players[$value["guid"]]->ban($this->mod->getCV("pingkicker", "kickreason"));
break;
}
} else {
$this->players[$value["guid"]]->say($this->mod->getLngString("warningPingToHigh"));
$this->logging->notice("Player '" . $this->players[$value["guid"]]->getName() . "' has been warned for his high ping (" . $value["ping"] . "), PID: " . $this->players[$value["guid"]]->getPID() . ", GUID:" . $value["guid"]);
}
}
}
}
/**
* Inits a player
*
* @param String $guid Guid of executing player
*/
function pingkicker_playerInit($guid) {
$this->players[$guid]->pingkicker_warns = 0;
}
/**
* Resets the check
*/
function pingkicker_reset() {
$this->pingkicker_lastcheck = time() + 30;
}
}
Alles anzeigen
and when i go to config-->cod4---->plugins it dont have PingKick , only banner , bad words, bad name
ok so i checked mam.cfg and find out that "=" was missing from PHPPARMS,
but when i download again, and setted to this
it gives me another error (check picture plz.
tahts my bat in 0.12
@echo off
for /f "delims=" %%i in (mam.cfg) do (set "%%i")
:start
%PHP:"=% %PHPPARAMS:"=% daemon.php -- -configdir "%CFGDIR:"=%" -logdir "%LOGDIR:"=%" %PARAMS:"=%
goto start
{
"mam.plugins.pingkick": {
"information": {
"name": "Pingkick",
"description": "Kicks a Player with a Ping higher then X.",
"author": "ManuAdminMod",
"website": "http://www.manuadminmod.de",
"date": "01.06.2014",
"version": "1.0.0"
},
"compatibility": {
"miniversion": "1.0.0",
"games": {
"bf4": "0",
"cod2": "1",
"cod4": "1",
"cod5": "1",
"codx": "1"
}
}
}
}
it was running fine from 2 days but suddenly it gived me this eror
hello, today after having problems with beta 3, i tried to install mam 0.12 but i setup everthing correctly and when i start MaM.bat it says , Please check Picture..
and mirko if you dont mind , i need to tell that now my manu mod always restarts , Log file
[27.06.14 19:49:14] Notice: Modstuff: The IP for the serverlist is private IP. Skip reporting
[27.06.14 19:49:16] Notice: New version of ManuAdminMod available (1.0.0-Beta+4), please update by visiting manuadminmod.de
[27.06.14 19:49:16] Info: == Loading plugins and commands ==
[27.06.14 19:49:16] Warning: ConfigVar [antiteamkill]start NOT set, using default: '0'
[27.06.14 19:49:16] Notice: - Loading Plugin 'Antiteamkill' (v1.0.0) by ManuAdminMod
[27.06.14 19:49:16] Notice: - Loading Plugin 'Badwords' (v1.0.0) by ManuAdminMod
[27.06.14 19:49:16] Notice: - Loading Plugin 'Banner' (v1.0.0) by ManuAdminMod
[27.06.14 19:49:16] Notice: - Loading Plugin 'Basic Commands' (v1.0.0) by ManuAdminMod
[27.06.14 19:49:16] Notice: - Loading Plugin 'Customcommands' (v1.0.0) by ManuAdminMod
[27.06.14 19:49:16] Notice: - Loading Plugin 'Funmessages' (v1.0.0) by ManuAdminMod
[27.06.14 19:49:16] Notice: - Loading Plugin 'Guidcheck' (v1.0.0) by ManuAdminMod
[27.06.14 19:49:16] Notice: - Loading Plugin 'Mapvote' (v1.0.0) by ManuAdminMod
[27.06.14 19:49:16] Notice: - Loading Plugin 'Nameprotection' (v1.0.0) by ManuAdminMod
[27.06.14 19:49:16] Notice: - Loading Plugin 'Pingkick' (v1.0.0) by ManuAdminMod
[27.06.14 19:49:17] Warning: Punkbuster: PB is disabled on this server (sv_punkbuster = 0), please enable it before using this plugin
[27.06.14 19:49:17] Notice: - Loading Plugin 'Punkbuster' (v1.0.0) by ManuAdminMod
[27.06.14 19:49:17] Notice: - Loading Plugin 'Spreemessages' (v1.0.0) by ManuAdminMod
[27.06.14 19:49:17] Notice: - Loading Plugin 'Statistics' (v1.0.0) by ManuAdminMod
[27.06.14 19:49:17] Notice: - Loading Plugin 'TCP' (v1.0.0) by ManuAdminMod
[27.06.14 19:49:17] Notice: - Loading Plugin 'Vote' (v1.0.0) by ManuAdminMod
[27.06.14 19:49:17] Notice: - Loading Plugin 'Warns' (v1.0.0) by ManuAdminMod
[27.06.14 19:49:17] Notice: - Loading Plugin 'Weaponrestrictions' (v1.0.0) by ManuAdminMod
[27.06.14 19:49:17] Notice: - Loading Plugin 'Welcomemessages' (v1.0.0) by ManuAdminMod
[27.06.14 19:49:17] Info: == Finished loading plugins (18) plugins) ==
[27.06.14 19:49:17] Info: !! Finished initialisation
[27.06.14 19:49:17] Info: === Start processing loglines... ===
[27.06.14 19:49:18] Notice: Heartbeat has been sent to serverlist at manuadminmod.de: Success
[27.06.14 19:49:19] Notice: Banner message was sent: ^2This server is hosted by ^1>|SyN|< Clan
[27.06.14 19:49:20] Warning: ConfigVar [antiteamkill]enabled NOT set, using default: '0'
[27.06.14 19:49:46] Notice: Notice in :\Games\Cod4 and Cod4 files\Call.of.Duty.4.Modern.Warfare.Full-Rip\Call of Duty 4 - Modern Warfare\main\mam_1.0.0-beta+3\1.0.0-Beta+3\plugins\pingkick\pingkick.php:108 => Undefined variable: players
[27-Jun-2014 19:49:46 Europe/Berlin] PHP Notice: Undefined variable: players in D:\Games\Cod4 and Cod4 files\Call.of.Duty.4.Modern.Warfare.Full-Rip\Call of Duty 4 - Modern Warfare\main\mam_1.0.0-beta+3\1.0.0-Beta+3\plugins\pingkick\pingkick.php on line 108
[27.06.14 19:49:46] Warning: Warning in :\Games\Cod4 and Cod4 files\Call.of.Duty.4.Modern.Warfare.Full-Rip\Call of Duty 4 - Modern Warfare\main\mam_1.0.0-beta+3\1.0.0-Beta+3\plugins\pingkick\pingkick.php:108 => array_key_exists() expects parameter 2 to be array, null given
[27-Jun-2014 19:49:46 Europe/Berlin] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in D:\Games\Cod4 and Cod4 files\Call.of.Duty.4.Modern.Warfare.Full-Rip\Call of Duty 4 - Modern Warfare\main\mam_1.0.0-beta+3\1.0.0-Beta+3\plugins\pingkick\pingkick.php on line 108
[27.06.14 19:49:46] Notice: Notice in :\Games\Cod4 and Cod4 files\Call.of.Duty.4.Modern.Warfare.Full-Rip\Call of Duty 4 - Modern Warfare\main\mam_1.0.0-beta+3\1.0.0-Beta+3\plugins\pingkick\pingkick.php:108 => Undefined variable: players
[27-Jun-2014 19:49:46 Europe/Berlin] PHP Notice: Undefined variable: players in D:\Games\Cod4 and Cod4 files\Call.of.Duty.4.Modern.Warfare.Full-Rip\Call of Duty 4 - Modern Warfare\main\mam_1.0.0-beta+3\1.0.0-Beta+3\plugins\pingkick\pingkick.php on line 108
[27.06.14 19:49:46] Warning: Warning in :\Games\Cod4 and Cod4 files\Call.of.Duty.4.Modern.Warfare.Full-Rip\Call of Duty 4 - Modern Warfare\main\mam_1.0.0-beta+3\1.0.0-Beta+3\plugins\pingkick\pingkick.php:108 => array_key_exists() expects parameter 2 to be array, null given
[27-Jun-2014 19:49:46 Europe/Berlin] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in D:\Games\Cod4 and Cod4 files\Call.of.Duty.4.Modern.Warfare.Full-Rip\Call of Duty 4 - Modern Warfare\main\mam_1.0.0-beta+3\1.0.0-Beta+3\plugins\pingkick\pingkick.php on line 108
[27.06.14 19:49:46] Notice: Notice in :\Games\Cod4 and Cod4 files\Call.of.Duty.4.Modern.Warfare.Full-Rip\Call of Duty 4 - Modern Warfare\main\mam_1.0.0-beta+3\1.0.0-Beta+3\plugins\pingkick\pingkick.php:108 => Undefined variable: players
[27-Jun-2014 19:49:46 Europe/Berlin] PHP Notice: Undefined variable: players in D:\Games\Cod4 and Cod4 files\Call.of.Duty.4.Modern.Warfare.Full-Rip\Call of Duty 4 - Modern Warfare\main\mam_1.0.0-beta+3\1.0.0-Beta+3\plugins\pingkick\pingkick.php on line 108
[27.06.14 19:49:46] Warning: Warning in :\Games\Cod4 and Cod4 files\Call.of.Duty.4.Modern.Warfare.Full-Rip\Call of Duty 4 - Modern Warfare\main\mam_1.0.0-beta+3\1.0.0-Beta+3\plugins\pingkick\pingkick.php:108 => array_key_exists() expects parameter 2 to be array, null given
[27-Jun-2014 19:49:46 Europe/Berlin] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in D:\Games\Cod4 and Cod4 files\Call.of.Duty.4.Modern.Warfare.Full-Rip\Call of Duty 4 - Modern Warfare\main\mam_1.0.0-beta+3\1.0.0-Beta+3\plugins\pingkick\pingkick.php on line 108
[27.06.14 19:49:46] Notice: Notice in :\Games\Cod4 and Cod4 files\Call.of.Duty.4.Modern.Warfare.Full-Rip\Call of Duty 4 - Modern Warfare\main\mam_1.0.0-beta+3\1.0.0-Beta+3\plugins\pingkick\pingkick.php:108 => Undefined variable: players
[27-Jun-2014 19:49:46 Europe/Berlin] PHP Notice: Undefined variable: players in D:\Games\Cod4 and Cod4 files\Call.of.Duty.4.Modern.Warfare.Full-Rip\Call of Duty 4 - Modern Warfare\main\mam_1.0.0-beta+3\1.0.0-Beta+3\plugins\pingkick\pingkick.php on line 108
[27.06.14 19:49:46] Warning: Warning in :\Games\Cod4 and Cod4 files\Call.of.Duty.4.Modern.Warfare.Full-Rip\Call of Duty 4 - Modern Warfare\main\mam_1.0.0-beta+3\1.0.0-Beta+3\plugins\pingkick\pingkick.php:108 => array_key_exists() expects parameter 2 to be array, null given
[27-Jun-2014 19:49:46 Europe/Berlin] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in D:\Games\Cod4 and Cod4 files\Call.of.Duty.4.Modern.Warfare.Full-Rip\Call of Duty 4 - Modern Warfare\main\mam_1.0.0-beta+3\1.0.0-Beta+3\plugins\pingkick\pingkick.php on line 108
[27.06.14 19:49:46] Notice: Notice in :\Games\Cod4 and Cod4 files\Call.of.Duty.4.Modern.Warfare.Full-Rip\Call of Duty 4 - Modern Warfare\main\mam_1.0.0-beta+3\1.0.0-Beta+3\plugins\pingkick\pingkick.php:108 => Undefined variable: players
[27-Jun-2014 19:49:46 Europe/Berlin] PHP Notice: Undefined variable: players in D:\Games\Cod4 and Cod4 files\Call.of.Duty.4.Modern.Warfare.Full-Rip\Call of Duty 4 - Modern Warfare\main\mam_1.0.0-beta+3\1.0.0-Beta+3\plugins\pingkick\pingkick.php on line 108
[27.06.14 19:49:46] Warning: Warning in :\Games\Cod4 and Cod4 files\Call.of.Duty.4.Modern.Warfare.Full-Rip\Call of Duty 4 - Modern Warfare\main\mam_1.0.0-beta+3\1.0.0-Beta+3\plugins\pingkick\pingkick.php:108 => array_key_exists() expects parameter 2 to be array, null given
[27-Jun-2014 19:49:46 Europe/Berlin] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in D:\Games\Cod4 and Cod4 files\Call.of.Duty.4.Modern.Warfare.Full-Rip\Call of Duty 4 - Modern Warfare\main\mam_1.0.0-beta+3\1.0.0-Beta+3\plugins\pingkick\pingkick.php on line 108
[27.06.14 19:49:46] Notice: Notice in :\Games\Cod4 and Cod4 files\Call.of.Duty.4.Modern.Warfare.Full-Rip\Call of Duty 4 - Modern Warfare\main\mam_1.0.0-beta+3\1.0.0-Beta+3\plugins\pingkick\pingkick.php:108 => Undefined variable: players
[27-Jun-2014 19:49:46 Europe/Berlin] PHP Notice: Undefined variable: players in D:\Games\Cod4 and Cod4 files\Call.of.Duty.4.Modern.Warfare.Full-Rip\Call of Duty 4 - Modern Warfare\main\mam_1.0.0-beta+3\1.0.0-Beta+3\plugins\pingkick\pingkick.php on line 108
[27.06.14 19:49:46] Warning: Warning in :\Games\Cod4 and Cod4 files\Call.of.Duty.4.Modern.Warfare.Full-Rip\Call of Duty 4 - Modern Warfare\main\mam_1.0.0-beta+3\1.0.0-Beta+3\plugins\pingkick\pingkick.php:108 => array_key_exists() expects parameter 2 to be array, null given
[27-Jun-2014 19:49:46 Europe/Berlin] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in D:\Games\Cod4 and Cod4 files\Call.of.Duty.4.Modern.Warfare.Full-Rip\Call of Duty 4 - Modern Warfare\main\mam_1.0.0-beta+3\1.0.0-Beta+3\plugins\pingkick\pingkick.php on line 108
[27.06.14 19:50:05] Notice: Player '»O][G« ™Fr3@k' changed name to 'O][G Fr3@k', PID: 12, GUID: e4b4872bede74bfa339633d7d6a193c1
Alles anzeigen
yeah how i can make everyone see online admins, i cant make everyone Master
^________________________^ Glad to know it worked
oh o.o i dont know about TCP console ,,, but i know how to set your self as admin ,
1: in your manuAdminMod folder , go to Configs folder then go in Cod4 server,
2:open admin.cfg file, it will be like this :
; This file will be overwritten by the mod automatically
; Do not make any comments inhere
; Use the generator to generate a valid file: http://gw-2.de/miniscripts/cod_config/adminmod/admin.php
[123456789012345678901234567890ab]
group = "master"
names = "dummy,dummie"
protected = 1
3:then you need to open cod4, start new server , Dedicated Lan,Internet, dont select No,
4: it will open console and minimize the game, then you have to open Cod4 again (dont close console) and join your server by 'JoinGame' then when map is loaded and everything ,
5:type in console Status, it will give code and your game name,
Copy code, and paste it like this :
; This file will be overwritten by the mod automatically
; Do not make any comments inhere
; Use the generator to generate a valid file: http://gw-2.de/miniscripts/cod_config/adminmod/admin.php
[YourCodeHere]
group = "master"
names = "YourGameName"
protected = 1
say thanks to maM team ^__^ , who thought me (sorry for spelling mistakes -.- google translator.)
is it working ? ^_____^
im sorry dennis for telling him... V.v if its wrong to,
So gums ,
dont touch MaM.bat ...
2: in MaM.Cfg , in your mam.cfg , type : C:/php/php.exe
and if your Php is located in local disk D then : D:/php/php.exe
3: if you messed with your MaM.bat editing , copy paste this? @echo off
for /f "delims=" %%i in (mam.cfg) do (set "%%i")
:start
%PHP:"=% %PHPPARAMS:"=% daemon.php -- -configdir "%CFGDIR:"=%" -logdir "%LOGDIR:"=%" %PARAMS:"=%
goto start