Page 1 of 1

Error receive.pm outside of string in unpack

Posted: 16 Oct 2018, 22:04
by Flatt
#HELP#ASK
somebody help me i have problem at receive.pm.I have try to fix it,but i still stuck
this the error log

OpenKore version what-will-become-2.1
Network state = 1
Network handler = Network::DirectConnection
Revision: ctime:2018_10_16
Loaded plugins:
plugins/breakTime/breakTime.pl (breakTime; description: Automatically disconnect and reconnect at certain times of the day)
plugins/macro/macro.pl (macro; description: allows usage of macros)
plugins/profiles/profiles.pl (profiles; description: Profiles Selector)

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

Stack trace:
'x' outside of string in unpack at src/Network/Receive.pm line 271.
at src/Interface/Wx.pm line 163
Interface::Wx::mainLoop('Interface::Wx=HASH(0x44c420c)') called at openkore.pl line 97
main::__start() called at start.pl line 136

end at this line:
my %server;
* @server{qw(ip port name users display)} = unpack 'a4 v Z20 v2 x2', $_;
if ($masterServer && $masterServer->{private}) {

help pls thanks

Re: 1-99 Example Macro | OK 2.0.6.1 | Macro 2.0.2

Posted: 18 Oct 2018, 12:07
by fadreus
Flatt wrote:Sry sir Out of Topic
how to get recvpacket.txt. i've try some method ,but no one work.
master help me plz thanks
1 - allanon tool (used in iRO and compatible with most 2014 ~ 2017 clients)
https://gist.github.com/allanon/d8181ce ... ddf1885706

2 - Peek (compatible with all customers 2011+)
https://gitlab.com/4144/peek

3 - drKNA toll (compatible with tRO)
https://github.com/OpenKore/packetExtractor

4 - packet extractor v3 (clients 2013-)
https://github.com/OpenKore/packet-extractor/

5 - JCV RO tool (used on super old clients may work in 2011-)
https://github.com/Fadreus/JCV-s-RO-Tools-1.0.3

6 - BPE (used for debugging and extracting client data [
https://gitlab.com/4144/bpe/

Re: Error receive.pm outside of string in unpack

Posted: 18 Oct 2018, 22:48
by Flatt
sir i have an error when installing disassemble-x86
Could not locate a PPD file for package,thanks before for the tools

Re: Error receive.pm outside of string in unpack

Posted: 18 Oct 2018, 23:26
by fadreus
Flatt wrote:sir i have an error when installing disassemble-x86
Could not locate a PPD file for package,thanks before for the tools
https://metacpan.org/pod/Disassemble::X86

Re: Error receive.pm outside of string in unpack

Posted: 19 Oct 2018, 00:01
by Flatt
i got the recvpakcet and update it,but still Timeout on Map server

Re: Error receive.pm outside of string in unpack

Posted: 19 Oct 2018, 03:26
by Flatt
thanks sir ,i've fixed it .but i have new problem if i run the program
use of uninitialized value in uc at extract_recvpacket.pl

Re: Error receive.pm outside of string in unpack

Posted: 10 Jan 2019, 02:03
by schokoramell
excuse me, is this thread about classic or renewal?