Crash when targeting Monster after my bot "froze"

This place is for Closed bug reports only. NOT for asking help!

Moderators: Moderators, Developers

anonymous5678
Noob
Noob
Posts: 1
Joined: 30 Jul 2009, 10:01
Noob?: Yes

Crash when targeting Monster after my bot "froze"

#1 Post by anonymous5678 »

first ill explain what i mean by freezing, the mob im attacking r fire/water/earth/wind crystals on the map pvp_n_2-2. the map also has the mvp drake on it. when it freezes what happens is the bot targets a new crystal to attack, moves to the crystal to attack it, but doesnt and just stands there doing nothing. i usually have to make the bot move using the move command to start him back up again. however if the bot and the monster are separated by 1 sell say. say im on cell 123 123 and the monster is on cell 123 125, if i type move 123 124 he will not move to the cell and stay on cell 123 123. i usually move the bot to the monster cell, in this case 123 125, to start him back up again.

now for the error

the error occurred after one of these freezes. i made the bot move to another location a drake that was on the map,(knew the location because of the command ml)and it targeted a wraith summoned by the drake and then proceeded to error.

Code: Select all

OpenKore version what-will-become-2.0.7 (SVN Version) 
@ai_seq = attack route
Network state = 5
Network handler = Network::DirectConnection
SVN revision: 6817
Loaded plugins:
  plugins/cmdOnLogin.pl (cmdOnLogin)
  plugins/macro.pl (macro)

Error message:
Invalid arguments.

Stack trace:
Trace begun at src\Task\Route.pm line 80
Task::Route::new('Task::Route', 'x', 0, 'y', 5, 'maxDistance', undef, 'maxTime', 4, 'distFromGoal', undef, 'pyDistFromGoal', undef, 'avoidWalls', '', 'notifyUponArrival', undef) called at src\AI.pm line 506
AI::ai_route('pvp_n_2-2', 0, 5, 'maxRouteTime', 4, 'attackID', 'p$M-b^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 596
main::mainLoop_initialized at src\functions.pl line 70
main::mainLoop at src\Interface.pm line 75
Interface::mainLoop('Interface::Console::Win32=HASH(0x2b37b94)') called at openkore.pl line 96
main::__start at start.pl line 119

Died at this line:
  
* 	if ($args{x} == 0 || $args{y} == 0) {
  		ArgumentException->throw(error => "Invalid arguments.");

thanx
Last edited by anonymous5678 on 30 Jul 2009, 14:55, edited 1 time in total.
Technology
Super Moderators
Super Moderators
Posts: 801
Joined: 06 May 2008, 12:47
Noob?: No

Re: Crash when targeting Monster after my bot "froze"

#2 Post by Technology »

Don't trash this topic please.
One ST0 to rule them all? One PE viewer to find them!
One ST_kRO to bring them all and in the darkness bind them...

Mount Doom awaits us, fellowship of OpenKore!
User avatar
kLabMouse
Administrator
Administrator
Posts: 1301
Joined: 24 Apr 2008, 12:02

Re: Crash when targeting Monster after my bot "froze"

#3 Post by kLabMouse »