Eror in maps, lockmap, and att monster.

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

Moderators: Moderators, Developers

Message
Author
asrdc
Noob
Noob
Posts: 1
Joined: 03 Oct 2008, 08:51
Noob?: Yes

Eror in maps, lockmap, and att monster.

#1 Post by asrdc »

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 <> :x,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};

Technology
Super Moderators
Super Moderators
Posts: 801
Joined: 06 May 2008, 12:47
Noob?: No

Re: Eror in maps, lockmap, and att monster.

#2 Post by Technology »

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!

sli
Perl Monk
Perl Monk
Posts: 810
Joined: 04 Apr 2008, 17:26
Noob?: No

Re: Eror in maps, lockmap, and att monster.

#3 Post by sli »

Location <> :x,y
What the hell?
cs : ee : realist

Technology
Super Moderators
Super Moderators
Posts: 801
Joined: 06 May 2008, 12:47
Noob?: No

Re: Eror in maps, lockmap, and att monster.

#4 Post by Technology »

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?
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!

Post Reply