Code: Select all
SVN revision: 7367
Error message:
Can't call method "statusActive" on an undefined value at src/Misc.pm line 3872.
Stack trace:
Can't call method "statusActive" on an undefined value at src/Misc.pm line 3872.
at src/Misc.pm line 3871
Misc::checkPlayerCondition('partySkill_4_target', '****') called at src/AI/CoreLogic.pm line 2414
AI::CoreLogic::processPartySkillUse() called at src/AI/CoreLogic.pm line 164
AI::CoreLogic::iterate() called at src/functions.pl line 749
main::mainLoop_initialized() called at src/functions.pl line 69
main::mainLoop() called at src/Interface.pm line 75
Interface::mainLoop('Interface::Console::Simple=HASH(0x86c3868)') called at ./openkore.pl line 97
main::__start() called at ./openkore.pl line 187
Died at this line:
if ($config{$prefix . "_whenStatusInactive"}) {
* return 0 if $player->statusActive($config{$prefix . "_whenStatusInactive"});
}
Code: Select all
my $player = $playersList->getByID($id) || $slavesList->getByID($id);
Code: Select all
foreach my $ID ($accountID, @slavesID, @playersID) {