Cant Call nameString

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

Moderators: Moderators, Developers

minx123
Noob
Noob
Posts: 1
Joined: 21 Jan 2010, 07:27
Noob?: Yes

Cant Call nameString

#1 Post by minx123 »

i want use autopot openkore..
but this happen to me..


Error message:
Can't call method "nameString" on unblessed reference at C:/Documents and Settings/PC-04/Desktop/openkore-2.0.7/src/Misc.pm line 3477.

Stack trace:
Can't call method "nameString" on unblessed reference at C:/Documents and Settings/PC-04/Desktop/openkore-2.0.7/src/Misc.pm line 3477
Misc::getActorName('w\x{87}\x{1e}\x{0}') called at C:/Documents and Settings/PC-04/Desktop/openkore-2.0.7/src/Misc.pm line 3485
Misc::getActorNames('w\x{87}\x{1e}\x{0}', 0, 'are', 'is') called at C:/Documents and Settings/PC-04/Desktop/openkore-2.0.7/src/Network/Receive.pm line 1300
Network::Receive::actor_status_active('Network::Receive::ServerType9=HASH(0x14658b0)', 'HASH(0x2c40c7c)') called at C:/Documents and Settings/PC-04/Desktop/openkore-2.0.7/src/Network/Receive.pm line 418
Network::Receive::parse('Network::Receive::ServerType9=HASH(0x14658b0)', '\x{96}\x{1}\x{c}\x{0}w\x{87}\x{1e}\x{0}\x{1}') called at C:/Documents and Settings/PC-04/Desktop/openkore-2.0.7/src/functions.pl line 1129
main::parseMsg('\x{96}\x{1}\x{c}\x{0}w\x{87}\x{1e}\x{0}\x{1}A\x{1}\x{e}\x{0}\x{0}\x{0}x\x{0}\x{0}\x{0}\x{16}\x{0}\x{0}\x{0}\x{b0}\x{0}2\x{0}Y\x{1}\x{0}\x{0}\x{b0}\x{0}5\x{0}v\x{0}\x{0}\x{0}\x{b0}\x{0}\x{0}\x{0}p\x{0}\x{0}\x{0}\x{96}\x{1}\x{a}\x{0}w\x{87}\x{1e}\x{0}\x{1}A\x{1}\x{d}\x{0}\x{0}...') called at C:/Documents and Settings/PC-04/Desktop/openkore-2.0.7/src/functions.pl line 506
main::mainLoop_initialized() called at C:/Documents and Settings/PC-04/Desktop/openkore-2.0.7/src/functions.pl line 66
main::mainLoop() called at C:/Documents and Settings/PC-04/Desktop/openkore-2.0.7/src/Interface.pm line 74
Interface::mainLoop('Interface::Console::Win32=HASH(0x20a5ee0)') called at openkore.pl line 96
main::__start() called at start.pl line 119

Died at this line:
my $hash = Actor::get($id);
* return $hash->nameString;
}



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

Re: Cant Call nameString

#2 Post by Technology »

ServerType9
what server uses that?

and why do you do put style tags on the text, it makes it (even) harder to read, just put it in code tags...
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!
User avatar
kLabMouse
Administrator
Administrator
Posts: 1301
Joined: 24 Apr 2008, 12:02

Re: Cant Call nameString

#3 Post by kLabMouse »

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

Re: Cant Call nameString

#4 Post by Technology »

Code: Select all

# Resolves a player or monster ID into a name
# Obsoleted by Actor module, don't use this!
sub getActorName {
	my $id = shift;

	if (!$id) {
		return 'Nothing';
	} else {
		my $hash = Actor::get($id);
		return $hash->nameString;
	}
}
note the comment
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!
User avatar
kLabMouse
Administrator
Administrator
Posts: 1301
Joined: 24 Apr 2008, 12:02

Re: Cant Call nameString

#5 Post by kLabMouse »

no-no. that's not a big deal. the key is "on unblessed reference".
Technology
Super Moderators
Super Moderators
Posts: 801
Joined: 06 May 2008, 12:47
Noob?: No

Re: Cant Call nameString

#6 Post by Technology »

minx123 wrote:i wan make auto pot for server smilero.
this high rate server.
and this the website,
http://www.smile.nickyzai.net/cp/
and how exactly does that irrelevant information contribute to the bug report?
this make me not wan to look at it...
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!