Can't call method "usable"

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

Moderators: Moderators, Developers

Message
Author
User avatar
help_us
Testers Team
Testers Team
Posts: 106
Joined: 04 Apr 2008, 21:53
Noob?: No
Location: Asia
Contact:

Can't call method "usable"

#1 Post by help_us »

Code: Select all

OpenKore version what-will-become-2.1
@ai_seq = route
Network state = 5
Network handler = Network::DirectConnection
SVN revision: 7820
No loaded plugins.

Error message:
Can't call method "usable" on unblessed reference at src/Commands.pm line 4267.

Stack trace:
Can't call method "usable" on unblessed reference at src/Commands.pm line 4267.
 at src/Commands.pm line 4267
	Commands::cmdStorage_list(undef) called at src/Commands.pm line 4224
	Commands::cmdStorage('storage', undef) called at src/Commands.pm line 285
	Commands::run('storage') called at src/functions.pl line 963
	main::parseInput('storage') called at src/functions.pl line 63
	main::mainLoop() called at src/Interface.pm line 75
	Interface::mainLoop('Interface::Console::Win32=HASH(0x2f24884)') called at openkore.pl line 97
	main::__start() called at start.pl line 136

Died at this line:
  		my $item = $storage{$storageID[$i]};
* 		if ($item->usable) {
  			push @useable, $item;
Image
Image

smallvill3
Plain Yogurt
Plain Yogurt
Posts: 79
Joined: 14 Apr 2010, 23:44
Noob?: No
Location: Kuala Lumpur

Crash on "storage" | mRO | r7820

#2 Post by smallvill3 »

Code: Select all

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

Error message:
Can't call method "usable" on unblessed reference at src/Commands.pm line 4267.

Stack trace:
Can't call method "usable" on unblessed reference at src/Commands.pm line 4267.
 at src/Commands.pm line 4267
	Commands::cmdStorage_list(undef) called at src/Commands.pm line 4224
	Commands::cmdStorage('storage', undef) called at src/Commands.pm line 285
	Commands::run('storage') called at src/functions.pl line 963
	main::parseInput('storage') called at src/functions.pl line 63
	main::mainLoop() called at src/Interface.pm line 75
	Interface::mainLoop('Interface::Console::Win32=HASH(0x286ee5c)') called at openkore.pl line 97
	main::__start() called at start.pl line 136

Died at this line:
  		my $item = $storage{$storageID[$i]};
* 		if ($item->usable) {
  			push @useable, $item;

using "storage" after completing storing item at kafra would crash the bot.
Image
The one and ONLY Bottable Ragnarok Server. Join us now! | 3x/3x/3x | Pre-Renewal | Openkore Supported | Official Game-Play
Website | Registration | Facebook | Forum | RMS

EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: Can't call method "usable"

#3 Post by EternalHarvest »

Fixed.

hea28ven
Noob
Noob
Posts: 1
Joined: 12 Aug 2011, 17:15
Noob?: No

Re: Can't call method "usable"

#4 Post by hea28ven »

EternalHarvest wrote:Fixed.
Is it? I'm still getting the same error. :|

Harubi
Noob
Noob
Posts: 6
Joined: 10 Feb 2011, 08:33
Noob?: No

Re: Can't call method "usable"

#5 Post by Harubi »

I'm getting the problem still too.

For some reason, everytime my bot finishes storing, the bot just crashes.
Maybe it has something to do with the eden group items that i have in my inventory.

What's going wrong?

Post Reply