2.0.6.1 | Path finding error

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

Moderators: Moderators, Developers

Message
Author
fall3nm0nk
Noob
Noob
Posts: 1
Joined: 09 Feb 2009, 15:30
Noob?: Yes

2.0.6.1 | Path finding error

#1 Post by fall3nm0nk »

OpenKore version 2.0.6.1
@ai_seq = route attack
Network state = 5
Network handler = Network::DirectConnection
SVN revision: unknown
Loaded plugins:
plugins/macro.pl (macro)

Error message:
Died at src/Utils/PathFinding.pm line 95.

Stack trace:
Died at src/Utils/PathFinding.pm line 95.
at src/Utils/PathFinding.pm line 95
PathFinding::reset('PathFinding=SCALAR(0x4eac8b8)', 'start', 'HASH(0x4e18140)', 'dest', 'HASH(0x4e76178)', 'field', 'Field=HASH(0x4ea618c)', 'weights', '\x{ff}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}...', ...) called at src/Utils/PathFinding.pm line 47
PathFinding::new('PathFinding', 'start', 'HASH(0x4e18140)', 'dest', 'HASH(0x4e76178)', 'field', 'Field=HASH(0x4ea618c)', 'weights', '\x{ff}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}\x{1}...', ...) called at src/Task/Route.pm line 393
Task::Route::getRoute('Task::Route=HASH(0x3af716c)', 'ARRAY(0x4d6aa40)', 'Field=HASH(0x4ea618c)', 'HASH(0x4e51398)', 'HASH(0x4eac498)', '') called at src/Task/Route.pm line 162
Task::Route::iterate('Task::Route=HASH(0x3af716c)') called at src/AI/CoreLogic.pm line 738
AI::CoreLogic::processTask('route', 'onError', 'CODE(0x3e5dbc8)') called at src/AI/CoreLogic.pm line 88
AI::CoreLogic::iterate() called at src/functions.pl line 593
main::mainLoop_initialized() called at src/functions.pl line 70
main::mainLoop() called at src/Interface.pm line 75
Interface::mainLoop('Interface::Console::Win32=HASH(0x400ec44)') called at openkore.pl line 96
main::__start() called at start.pl line 119

Died at this line:
$args{timeout} = 1500 unless $args{timeout};
* die if (!$args{field}{dstMap});
return $class->_reset($args{distance_map}, $args{weights}, $args{width}, $args{height},


I seem to get this error message whenever I go to maps that have a lot of holes in them. For example, whenever I teleport to any of the turtle dun maps (so far i tried each of the lower levels) my bot wouldn't be able to use random walk. Then I tried changing the config to have it randomly teleport around the map looking for a monster instead. When I found a monster it would crash trying to approach it.

kali
OpenKore Monk
OpenKore Monk
Posts: 457
Joined: 04 Apr 2008, 10:10

Re: 2.0.6.1 | Path finding error

#2 Post by kali »

It would seem you are missing your .distfiles
Got your topic trashed by a mod?

Trashing topics is one click, and moving a topic to its proper forum is a lot harder. You expend the least effort in deciding where to post, mods expend the least effort by trashing.

Have a nice day.

User avatar
kLabMouse
Administrator
Administrator
Posts: 1301
Joined: 24 Apr 2008, 12:02

Re: 2.0.6.1 | Path finding error

#3 Post by kLabMouse »

Tried to fix in r7530

P.S. This bug may happen if $field global var is 'undef'. and that one is another bug.

Moved to Fixed list.

Post Reply