Error message:
Invalid arguments.
Stack trace:
Trace begun at src\Task\Route.pm line 80
Task::Route::new('Task::Route', 'x', 0, 'y', 23, 'maxDistance', undef, 'maxTime', 5, 'distFromGoal', undef, 'pyDistFromGoal', undef, 'avoidWalls', '', 'notifyUponArrival', undef) called at src\AI.pm line 506
AI::ai_route('nyd_dun01', 0, 23, 'maxRouteTime', 5, 'attackID', 'M-bM-^QM-U^F', 'noMapRoute', 1, 'noAvoidWalls', 1) called at src\AI\Attack.pm line 543
AI::Attack::main at src\AI\Attack.pm line 97
AI::Attack::process at src\AI\CoreLogic.pm line 77
AI::CoreLogic::iterate at src\functions.pl line 624
main::mainLoop_initialized at src\functions.pl line 70
main::mainLoop at src\Interface.pm line 75
Interface::mainLoop('Interface::Console::Win32=HASH(0x3f242f4)') called at openkore.pl line 96
main::__start at start.pl line 125
Died at this line:
* if ($args{x} == 0 || $args{y} == 0) {
ArgumentException->throw(error => "Invalid arguments.");
以上是從error.txt找出來的...通常掛到一半就會發生這個錯誤,之後就要求把程式關掉了...請問是什麼原因呢? |