Sorry, if my english is very bad. =p
When I first try to start this program, it show like this:
Invalid Coordinates specified for lockmap, coordinates are unwalkable.
But, I have wrote the lock map the config pad. Its prt_fild08.
If I write where and I push enter it show like this:
Location <> ,y
There's no name of the map.
After that, I try to att a monster with manual by write "a 0".
It cause an error like this.
OpenKore version 2.0.6.1
@ai_seq = attack
Network state = 5
Network handler = Network::DirectConnection
SVN revision: unknown
No loaded plugins.
Error message:
Can't call method "name" on an undefined value at src/Task/Route.pm line 92.
Stack trace:
Can't call method "name" on an undefined value at src/Task/Route.pm line 92.
at src/Task/Route.pm line 92
Task::Route::new('Task::Route', 'x', 323, 'y', 259, 'maxDistance', 'undef', 'maxTime', 4, ...) called at src/AI.pm line 505
AI::ai_route('undef', 323, 259, 'maxRouteTime', 4, 'attackID', '!\x{4}\'\x{7}', 'noMapRoute', 1, ...) called at src/AI/Attack.pm line 539
AI::Attack::main() called at src/AI/Attack.pm line 97
AI::Attack::process() called at src/AI/CoreLogic.pm line 77
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(0x21426b0)') called at openkore.pl line 96
main::__start() called at start.pl line 119
Died at this line:
* $self->{dest}{map} = $field->name();
$self->{dest}{pos}{x} = $args{x};
Eror in maps, lockmap, and att monster.
Moderators: Moderators, Developers
-
- Super Moderators
- Posts: 801
- Joined: 06 May 2008, 12:47
- Noob?: No
Re: Eror in maps, lockmap, and att monster.
do you have the fields folder/files in the main openkore folder?
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!
One ST_kRO to bring them all and in the darkness bind them...
Mount Doom awaits us, fellowship of OpenKore!
-
- Super Moderators
- Posts: 801
- Joined: 06 May 2008, 12:47
- Noob?: No
Re: Eror in maps, lockmap, and att monster.
Method call on undefined value that should be an object of class Field.
Seems like we really need some exception handling on failing to create a field from a name?
Seems like we really need some exception handling on failing to create a field from a name?
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!
One ST_kRO to bring them all and in the darkness bind them...
Mount Doom awaits us, fellowship of OpenKore!