How Do i Fix 'x' outside of string in unpack

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.
zheninjakid
Noob
Noob
Posts: 4
Joined: 04 Nov 2010, 08:43
Noob?: Yes

How Do i Fix 'x' outside of string in unpack

#1 Post by zheninjakid »

Heres a photo

Image


My server is New Chaos pRO


Version i use is openkore_ready
Heres the code

Code: Select all

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

Error message:
'x' outside of string in unpack at src/Network/Receive/ServerType0.pm line 7846.

Stack trace:
'x' outside of string in unpack at src/Network/Receive/ServerType0.pm line 7846.
 at src/Network/Receive/ServerType0.pm line 7846
	Network::Receive::ServerType0::special_item_obtain('Network::Receive::pRO=HASH(0x3872394)', 'HASH(0x3ef360c)') called at src/Network/Receive.pm line 193
	Network::Receive::parse('Network::Receive::pRO=HASH(0x3872394)', '\x{fd}\x{7}9\x{0}\x{1}i\x{2}\x{18}Shushi-Warashi\x{0}\x{0}ves]\x{0}-\x{0}\x{0}\x{18}Atroce\x{0}\x{1f}\x{f0}G\x{f9}\x{1f}(\x{c2}\x{d1}\x{1f}\x{6}\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}Shushi-Warashi\x{0}\x{0}ves]\x{0}-\x{0}\x{0}\x{18}Atroce\x{0}\x{1f}\x{f0}G\x{f9}\x{1f}(\x{c2}\x{d1}\x{1f}\x{6}\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(0x11cbabc)') called at openkore.pl line 97
	main::__start() called at start.pl line 129

Died at this line:
  		my $len = unpack 'C', $args->{etc};
* 		@{$args}{qw(monster_name)} = unpack "x Z$len", $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: How Do i Fix 'x' outside of string in unpack

#2 Post by rwnath »

This has already been fixed. Update your ServerType0.pm

http://openkore.svn.sourceforge.net/vie ... m?view=log
Image
zheninjakid
Noob
Noob
Posts: 4
Joined: 04 Nov 2010, 08:43
Noob?: Yes

Re: How Do i Fix 'x' outside of string in unpack

#3 Post by zheninjakid »

which one? i dont know im totally new to this XD
rwnath
The Way Of Human
The Way Of Human
Posts: 194
Joined: 03 Nov 2010, 05:50
Noob?: No
Location: The Philippines

Re: How Do i Fix 'x' outside of string in unpack

#4 Post by rwnath »

download this, extract and replace your old src folder

http://openkore.svn.sourceforge.net/vie ... /?view=tar
Image
zheninjakid
Noob
Noob
Posts: 4
Joined: 04 Nov 2010, 08:43
Noob?: Yes

Re: How Do i Fix 'x' outside of string in unpack

#5 Post by zheninjakid »

Thx It worked but a new error came out
when my bot autostorages due to overweight then openkore suddenly closes
rwnath
The Way Of Human
The Way Of Human
Posts: 194
Joined: 03 Nov 2010, 05:50
Noob?: No
Location: The Philippines

Re: How Do i Fix 'x' outside of string in unpack

#6 Post by rwnath »

It happens when you are still overweight after autostorage. Log in manually, ang check your inventory.
Image
zheninjakid
Noob
Noob
Posts: 4
Joined: 04 Nov 2010, 08:43
Noob?: Yes

Re: How Do i Fix 'x' outside of string in unpack

#7 Post by zheninjakid »

i see... so its my config??
ill recheck, im new to this ,i just relied on the manual to get my bot started up till now

thx for the help so far i rly appreciate it :D
rwnath
The Way Of Human
The Way Of Human
Posts: 194
Joined: 03 Nov 2010, 05:50
Noob?: No
Location: The Philippines

Re: How Do i Fix 'x' outside of string in unpack

#8 Post by rwnath »

Probably. It happens to me when my bot does autostorage and my Kafra storage is full. Or when there's 30,000 of that item on your storage, kore will exit.
Image