Error after updating ServerType0.pm

Philippines

Moderators: waferbaron, Moderators

Forum rules
This server is currently not maintained and tables folder (including connection info) is outdated. Read the wiki for instructions on how to update those information. Please contribute your updated info. Contact Cozzie to join the team as a regular server supporter.
beowulf
Noob
Noob
Posts: 1
Joined: 03 Nov 2010, 05:57
Noob?: No

Error after updating ServerType0.pm

#1 Post by beowulf »

I got this error after I updated ServerType0.pm

from http://openkore.svn.sourceforge.net/

Code: Select all

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

Error message:
'/' must follow a numeric type in unpack at src/Network/Receive/ServerType0.pm line 7844.

Stack trace:
'/' must follow a numeric type in unpack at src/Network/Receive/ServerType0.pm line 7844.
 at src/Network/Receive/ServerType0.pm line 7844
	Network::Receive::ServerType0::special_item_obtain('Network::Receive::pRO=HASH(0x51645ec)', 'HASH(0x5748a84)') called at src/Network/Receive.pm line 193
	Network::Receive::parse('Network::Receive::pRO=HASH(0x51645ec)', '\x{fd}\x{7}9\x{0}\x{1}i\x{2}\x{18}^skkidie^\x{0}-\x{0}\x{0}r Sidekick\x{0}\x{18}Mimic\x{0}rd\x{0}r\x{0}s\x{0}m\x{0}\x{0}\x{5}\x{0}\x{0}\x{0}\x{f}\x{0}\x{0}\x{0}') called at src/functions.pl line 1320
	main::parseIncomingMessage('\x{fd}\x{7}9\x{0}\x{1}i\x{2}\x{18}^skkidie^\x{0}-\x{0}\x{0}r Sidekick\x{0}\x{18}Mimic\x{0}rd\x{0}r\x{0}s\x{0}m\x{0}\x{0}\x{5}\x{0}\x{0}\x{0}\x{f}\x{0}\x{0}\x{0}') called at src/functions.pl line 690
	main::mainLoop_initialized() called at src/functions.pl line 69
	main::mainLoop() called at src/Interface.pm line 75
	Interface::mainLoop('Interface::Console::Win32=HASH(0x2959c44)') called at openkore.pl line 97
	main::__start() called at start.pl line 129

Died at this line:
  	} elsif ($args->{type} == TYPE_MONSTER_ITEM) {
* 		@{$args}{qw(monster_name)} = unpack 'C/Z', $args->{etc};
  		
rwnath
The Way Of Human
The Way Of Human
Posts: 194
Joined: 03 Nov 2010, 05:50
Noob?: No
Location: The Philippines

Re: Error after updating ServerType0.pm

#2 Post by rwnath »

BTW, I forgot to include that the ServerType0.pm is the one at the "receive" network subfolder

And the bot dies if I don't exit the program immediately.
Image
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: Error after updating ServerType0.pm

#3 Post by EternalHarvest »