Can't call method "verb"

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

Moderators: Moderators, Developers

like2learn
Noob
Noob
Posts: 17
Joined: 06 May 2008, 23:53
Noob?: Yes

Can't call method "verb"

#1 Post by like2learn »

happen on my High Priest and soul linker but not my creator.
it is happen cause by packet receive (missing on recvpackets.txt) or something else?

Code: Select all

This program has encountered an unexpected problem. This is probably because
of a recent server update, a bug in this program, or in one of the plugins.
We apologize for this problem. You may get support from IRC or the forums.

A detailed error report has been saved to errors.txt. Before posting a bug
report, please try out the SVN version first. If you are already using the SVN
version, search the forums first to see if your problem had already been
solved,
or has already been reported. If you truly believe you have encountered a bug
in
the program, please include the contents of the errors.txt in your bug report,
or we may not be able to help you!

The error message is:
Can't call method "verb" on unblessed reference at src/Misc.pm line 2262.
Press ENTER to exit this program.
Error.txt

Code: Select all

OpenKore version 2.0.7 (Release Candidate) 
@ai_seq = 
Network state = 5
Network handler = Network::DirectConnection
SVN revision: 6828
No loaded plugins.

Error message:
Can't call method "verb" on unblessed reference at src/Misc.pm line 2262.

Stack trace:
Can't call method "verb" on unblessed reference at src/Misc.pm line 2262.
 at src/Misc.pm line 2262
	Misc::setStatus('HASH(0x2d7ba5c)', 0, 0, 0) called at src/Network/Receive.pm line 1276
	Network::Receive::actor_display('Network::Receive::ServerType8_2=HASH(0x162a1fc)', 'HASH(0x2db7e7c)') called at src/Network/Receive.pm line 477
	Network::Receive::parse('Network::Receive::ServerType8_2=HASH(0x162a1fc)', '|\x{0}\x{0}tz\x{92}\x{6}p\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}u\x{17}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{c}J\x{a7}\x{0}\x{0}') called at src/functions.pl line 1207
	main::parseIncomingMessage('|\x{0}\x{0}tz\x{92}\x{6}p\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}u\x{17}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{c}J\x{a7}\x{0}\x{0}') called at src/functions.pl line 549
	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(0x2387aa8)') called at openkore.pl line 96
	main::__start() called at start.pl line 119

Died at this line:
  	my $verbosity = $actor->{ID} eq $accountID ? 1 : 2;
* 	my $are = $actor->verb('are', 'is');
  	my $have = $actor->verb('have', 'has');

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

Re: Can't call method "verb"

#2 Post by kali »

When does the error happen? (as soon as you start the bot, 5minutes, etc.)

Try rolling back some SVN revisions and find out which revision does not show the problem.
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: Can't call method "verb"

#3 Post by kLabMouse »

MM. Somehow getByID($args->{ID}); returned Non Blessed Ref.
How that's possible?
User avatar
kLabMouse
Administrator
Administrator
Posts: 1301
Joined: 24 Apr 2008, 12:02

Re: Can't call method "verb"

#4 Post by kLabMouse »

Found Why It crashed:
The Actor::Slave::new will not really create blessed object.

At "AI::SlaveManager::AddSlave" the objects are blessed to non existing package.
Please add thus dummy packages. And fix "Actor::Slave::new" so "ActorType" is actually saved.
Technology
Super Moderators
Super Moderators
Posts: 801
Joined: 06 May 2008, 12:47
Noob?: No

Re: Can't call method "verb"

#5 Post by Technology »

nvm, i'll look at it again tomorrow.
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!
like2learn
Noob
Noob
Posts: 17
Joined: 06 May 2008, 23:53
Noob?: Yes

Re: Can't call method "verb"

#6 Post by like2learn »

@kali
it happen a few minute after i run my bot
so it not about receive packet?
Technology
Super Moderators
Super Moderators
Posts: 801
Joined: 06 May 2008, 12:47
Noob?: No

Re: Can't call method "verb"

#7 Post by Technology »

Test the latest svn and tell us whether the bug still occurs.
We might need a packet log if it does.
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!
like2learn
Noob
Noob
Posts: 17
Joined: 06 May 2008, 23:53
Noob?: Yes

Re: Can't call method "verb"

#8 Post by like2learn »

Code: Select all

OpenKore version what-will-become-2.1 (SVN Version) 
@ai_seq = 
Network state = 5
Network handler = Network::DirectConnection
SVN revision: 6836
No loaded plugins.

Error message:
Assertion failed!
 at C:/Documents and Settings/WINXP/Desktop/Downloading/home/openkore/svnsnapshots/openkore_ready/src/deps/Carp/Assert.pm line 271
	Carp::Assert::assert('') called at src/Misc.pm line 2261
	Misc::setStatus('HASH(0x2d96bb0)', 0, 0, 0) called at src/Network/Receive.pm line 1276
	Network::Receive::actor_display('Network::Receive::ServerType8_2=HASH(0x163b230)', 'HASH(0x2d990f4)') called at src/Network/Receive.pm line 477
	Network::Receive::parse('Network::Receive::ServerType8_2=HASH(0x163b230)', '|\x{0}\x{0}\x{bb}\x{10}\x{9a}\x{6}p\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}u\x{17}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{c}\x{8a}0\x{0}\x{0}') called at src/functions.pl line 1208
	main::parseIncomingMessage('|\x{0}\x{0}\x{bb}\x{10}\x{9a}\x{6}p\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}u\x{17}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{c}\x{8a}0\x{0}\x{0}') called at src/functions.pl line 550
	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(0x238d2cc)') called at openkore.pl line 96
	main::__start() called at start.pl line 119

Stack trace:
Assertion failed!
 at C:/Documents and Settings/WINXP/Desktop/Downloading/home/openkore/svnsnapshots/openkore_ready/src/deps/Carp/Assert.pm line 271
	Carp::Assert::assert('') called at src/Misc.pm line 2261
	Misc::setStatus('HASH(0x2d96bb0)', 0, 0, 0) called at src/Network/Receive.pm line 1276
	Network::Receive::actor_display('Network::Receive::ServerType8_2=HASH(0x163b230)', 'HASH(0x2d990f4)') called at src/Network/Receive.pm line 477
	Network::Receive::parse('Network::Receive::ServerType8_2=HASH(0x163b230)', '|\x{0}\x{0}\x{bb}\x{10}\x{9a}\x{6}p\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}u\x{17}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{c}\x{8a}0\x{0}\x{0}') called at src/functions.pl line 1208
	main::parseIncomingMessage('|\x{0}\x{0}\x{bb}\x{10}\x{9a}\x{6}p\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}u\x{17}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{c}\x{8a}0\x{0}\x{0}') called at src/functions.pl line 550
	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(0x238d2cc)') called at openkore.pl line 96
	main::__start() called at start.pl line 119
 at C:/Documents and Settings/WINXP/Desktop/Downloading/home/openkore/svnsnapshots/openkore_ready/src/deps/Carp/Assert.pm line 271
	Carp::Assert::assert('') called at src/Misc.pm line 2261
	Misc::setStatus('HASH(0x2d96bb0)', 0, 0, 0) called at src/Network/Receive.pm line 1276
	Network::Receive::actor_display('Network::Receive::ServerType8_2=HASH(0x163b230)', 'HASH(0x2d990f4)') called at src/Network/Receive.pm line 477
	Network::Receive::parse('Network::Receive::ServerType8_2=HASH(0x163b230)', '|\x{0}\x{0}\x{bb}\x{10}\x{9a}\x{6}p\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}u\x{17}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{c}\x{8a}0\x{0}\x{0}') called at src/functions.pl line 1208
	main::parseIncomingMessage('|\x{0}\x{0}\x{bb}\x{10}\x{9a}\x{6}p\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}u\x{17}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{0}\x{c}\x{8a}0\x{0}\x{0}') called at src/functions.pl line 550
	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(0x238d2cc)') called at openkore.pl line 96
	main::__start() called at start.pl line 119
this i get after i update my bot today
User avatar
kLabMouse
Administrator
Administrator
Posts: 1301
Joined: 24 Apr 2008, 12:02

Re: Can't call method "verb"

#9 Post by kLabMouse »

Hmm... Same bug.
Well. We need at least RAW packet Dump to Emulate it, and see what's happening.
like2learn
Noob
Noob
Posts: 17
Joined: 06 May 2008, 23:53
Noob?: Yes

Re: Can't call method "verb"

#10 Post by like2learn »

Image

okay here is image from bot
it happen everytime after receive packet 007C (on debug 2)