'x' outside of string in unpack at src/Network/PacketParser.

For everything NOT server specific support. Do NOT ask for connectivity help here!.

Moderator: Moderators

pheeew
Noob
Noob
Posts: 8
Joined: 19 Nov 2012, 08:21
Noob?: Yes

'x' outside of string in unpack at src/Network/PacketParser.

#1 Post by pheeew »

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

Error message:
'x' outside of string in unpack at src/Network/PacketParser.pm line 241.

Stack trace:
'x' outside of string in unpack at src/Network/PacketParser.pm line 241.
at src/Network/PacketParser.pm line 240
Network::PacketParser::parse('Network::Receive::kRO::RagexeRE_2012_04_10a=HASH(0x62cbfac)', '\x{b9}\x{8}', 'Network::Receive::kRO::RagexeRE_2012_04_10a=HASH(0x62cbfac)') called at src/Network/Receive.pm line 53
Network::Receive::parse('Network::Receive::kRO::RagexeRE_2012_04_10a=HASH(0x62cbfac)', '\x{b9}\x{8}', 'Network::Receive::kRO::RagexeRE_2012_04_10a=HASH(0x62cbfac)') called at src/Network/PacketParser.pm line 394
Network::PacketParser::process('Network::Receive::kRO::RagexeRE_2012_04_10a=HASH(0x62cbfac)', 'Network::MessageTokenizer=HASH(0x3a6b294)', 'Network::Receive::kRO::RagexeRE_2012_04_10a=HASH(0x62cbfac)') called at src/functions.pl line 703
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(0x268f61c)') called at openkore.pl line 97
main::__start() called at start.pl line 136

Died at this line:
if ($handler->[1]) {
* @args{@{$handler->[2]}} = unpack("x2 $handler->[1]", $msg);
}


i have just downloaded it again the openkore yesterday and i think the error is in the program itself not in the server..so anyone..please help me T.T..thanks..
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: 'x' outside of string in unpack at src/Network/PacketParser.

#2 Post by EternalHarvest »

Probably wrong recvpackets.
pheeew
Noob
Noob
Posts: 8
Joined: 19 Nov 2012, 08:21
Noob?: Yes

Re: 'x' outside of string in unpack at src/Network/PacketParser.

#3 Post by pheeew »

uhmm..how to get that? any guide on how to do that? thanks sir..
pheeew
Noob
Noob
Posts: 8
Joined: 19 Nov 2012, 08:21
Noob?: Yes

Re: 'x' outside of string in unpack at src/Network/PacketParser.

#4 Post by pheeew »

sir..i got the recvpacket for my server..and there was a new error

The server has denied your connection

any advice sir? thanks in advance..
ever_boy_
Developers
Developers
Posts: 308
Joined: 06 Jul 2012, 13:44
Noob?: No

Re: 'x' outside of string in unpack at src/Network/PacketParser.

#5 Post by ever_boy_ »

isn't it 10060 error? connection related issue, might be either client or server-side.
pheeew
Noob
Noob
Posts: 8
Joined: 19 Nov 2012, 08:21
Noob?: Yes

Re: 'x' outside of string in unpack at src/Network/PacketParser.

#6 Post by pheeew »

i dont know if it is the error 10060..
here is the error:
0 OtakuGames-HR 46 85.25.95.37 6125
-------------------------------
Closing connection to Account Server
Disconnecting (85.25.95.37:6900)...disconnected
Server 0 selected
Connecting to Character Server...
Connecting (85.25.95.37:6125)... connected
Received characters from Character Server
------------- Character List -------------
Slot 0: heavybombers (Genetic, level 103/1)
------------------------------------------

Packet Parser: Unknown switch: 08B9
Received character ID and Map IP from Character Server
----------Game Info----------
Char ID: 44 04 00 00 (1092)
MAP Name: lhz_in02.gat
MAP IP: 85.25.95.37
MAP Port: 5125
-----------------------------
Closing connection to Character Server
Disconnecting (85.25.95.37:6125)...disconnected
Connecting to Map Server...
Connecting (85.25.95.37:5125)... connected
Disconnecting (85.25.95.37:5125)...disconnected

The server has denied your connection.
(sorry,i cant upload the pics..i dunno why..)
when i change the servertype..it can log in..but,the item,skills are all in ???? or sometimes nothing,but there should be an item..and it doesnt read my macro..i tested all the kRO_ servertype,still the same..so any guide or advice that can you give?
i already got my server receive packets..the ip,version,master version,port by using wpe..and also, i use the PE viewer to see
the time date stamp,and it is may 15, 2012..and in the guide,it said that use the nearest date in the src/network/receive/kRO folder,for my servertype..still the same,the bot is not functioning normal..

btw,here is the link of my server..
http://osro.otaku-games.net/

so,if you can help me,and you can make a bot,i would really appreciate it so much..thank you in advance..
(i can make a bot and im botting 3years,i think..but this time i cant make a bot T.T..sorry for my bad english)
thank you again..