help with error

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

Moderators: Moderators, Developers

peewee13
Noob
Noob
Posts: 1
Joined: 20 Feb 2010, 21:12
Noob?: Yes

help with error

#1 Post by peewee13 »

helo.how do i resolve this issue.detailed please - im a newbie.:)

Error message:
Assertion ('HASH(0x2f97588)' must be of class 'Actor::You') failed!
at D:/0pRObot/openkore-2.0.7/src/deps/Carp/Assert.pm line 271
Carp::Assert::assert('', '\'HASH(0x2f97588)\' must be of class \'Actor::You\'') called at src/Utils/Assert.pm line 31
Utils::Assert::assertClass('HASH(0x2f97588)', 'Actor::You') called at src/Misc.pm line 229
Misc::checkValidity('Packet: stat_info') called at src/Network/Receive.pm line 478
Network::Receive::parse('Network::Receive::ServerType22=HASH(0x157c040)', '\x{b0}\x{0})\x{0}M\x{0}\x{0}\x{0}') called at src/functions.pl line 1203
main::parseIncomingMessage('\x{b0}\x{0})\x{0}M\x{0}\x{0}\x{0}') called at src/functions.pl line 548
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(0x2487d94)') called at openkore.pl line 96
main::__start() called at start.pl line 119

Stack trace:
Assertion ('HASH(0x2f97588)' must be of class 'Actor::You') failed!
at D:/0pRObot/openkore-2.0.7/src/deps/Carp/Assert.pm line 271
Carp::Assert::assert('', '\'HASH(0x2f97588)\' must be of class \'Actor::You\'') called at src/Utils/Assert.pm line 31
Utils::Assert::assertClass('HASH(0x2f97588)', 'Actor::You') called at src/Misc.pm line 229
Misc::checkValidity('Packet: stat_info') called at src/Network/Receive.pm line 478
Network::Receive::parse('Network::Receive::ServerType22=HASH(0x157c040)', '\x{b0}\x{0})\x{0}M\x{0}\x{0}\x{0}') called at src/functions.pl line 1203
main::parseIncomingMessage('\x{b0}\x{0})\x{0}M\x{0}\x{0}\x{0}') called at src/functions.pl line 548
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(0x2487d94)') called at openkore.pl line 96
main::__start() called at start.pl line 119
at D:/0pRObot/openkore-2.0.7/src/deps/Carp/Assert.pm line 271
Carp::Assert::assert('', '\'HASH(0x2f97588)\' must be of class \'Actor::You\'') called at src/Utils/Assert.pm line 31
Utils::Assert::assertClass('HASH(0x2f97588)', 'Actor::You') called at src/Misc.pm line 229
Misc::checkValidity('Packet: stat_info') called at src/Network/Receive.pm line 478
Network::Receive::parse('Network::Receive::ServerType22=HASH(0x157c040)', '\x{b0}\x{0})\x{0}M\x{0}\x{0}\x{0}') called at src/functions.pl line 1203
main::parseIncomingMessage('\x{b0}\x{0})\x{0}M\x{0}\x{0}\x{0}') called at src/functions.pl line 548
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(0x2487d94)') called at openkore.pl line 96
main::__start() called at start.pl line 119
User avatar
kLabMouse
Administrator
Administrator
Posts: 1301
Joined: 24 Apr 2008, 12:02

Re: help with error

#2 Post by kLabMouse »

First of all. the numbered ServerTypes are not used anymore.
Second. That bug may be because you misused ServerType.
Third. For Official servers, there is Named ServerTypes.
and Last. Always Update to latest SVN version. (Or on 2.1 release to latest Stable version).