'ello,
I am running a CoD4 server with MAM on a CentOS 6 server and every now and then, manuadminmod will crash and write this in the logfile:
Code
107:31 [20.01.13 21:14:07] PHP-Error: Notice in /adminmod/classes/mod.class.php:803 => Undefined offset: 11
107:31 [20.01.13 21:14:07] PHP-Error: Notice in /adminmod/classes/mod.class.php:803 => Undefined offset: 10
107:31 [20.01.13 21:14:07] PHP-Error: Notice in /adminmod/classes/mod.class.php:803 => Undefined offset: 9
107:31 [20.01.13 21:14:07] PHP-Error: Notice in /adminmod/classes/mod.class.php:803 => Undefined offset: 8
107:31 [20.01.13 21:14:07] PHP-Error: Notice in /adminmod/classes/mod.class.php:803 => Undefined offset: 7
107:31 [20.01.13 21:14:07] PHP-Error: Notice in /adminmod/classes/mod.class.php:803 => Undefined offset: 6
107:31 [20.01.13 21:14:07] PHP-Error: Notice in /adminmod/classes/mod.class.php:803 => Undefined offset: 5
107:31 [20.01.13 21:14:07] PHP-Error: Notice in /adminmod/classes/mod.class.php:803 => Undefined offset: 4
107:31 [20.01.13 21:14:07] PHP-Error: Notice in /adminmod/classes/mod.class.php:803 => Undefined offset: 4
107:31 [20.01.13 21:14:07] PHP-Error: Notice in /adminmod/classes/mod.class.php:803 => Undefined offset: 3
107:31 [20.01.13 21:14:07] PHP-Error: Notice in /adminmod/classes/mod.class.php:803 => Undefined offset: 2
107:31 [20.01.13 21:14:07] PHP-Error: Notice in /adminmod/classes/mod.class.php:803 => Undefined offset: 1
107:31 [20.01.13 21:14:07] Notice: Player XXX PID was changed from 0 to , GUID: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
107:31 [20.01.13 21:14:07] PHP-Error: Notice in /adminmod/classes/mod.class.php:825 => Undefined index:
[20-Jan-2013 21:14:07] PHP Fatal error: Call to a member function update() on a non-object in XXX/adminmod/classes/mod.class.php on line 825
Alles anzeigen
Line 803 of mod.class.php:
PHP
list($victim_guid, $victim_pid, $victim_team, $victim_name, $killer_guid, $killer_pid, $killer_team, $killer_name, $weapon, $damage, $image, $bodypart) = $parts;
Line 825 of mod.class.php:
which is a part of this "if" stack:
PHP
if ($killer_pid != -1) {
$this->players[$killer_guid]->update($killer_pid, $killer_name);
if (!in_array($this->getGame(), $noteamupdate)) {
$this->players[$killer_guid]->setTeam($killer_team);
}
}
which is a part of the actionKill ($parts) public function.
I am clueless :confused: