how to fix error message: 'x' outside of string in unpack at

Forum closed. All further discussion to be discussed at https://github.com/OpenKore/

Moderators: Moderators, Developers

Message
Author
Plu3m
Noob
Noob
Posts: 14
Joined: 28 May 2013, 23:44
Noob?: Yes

how to fix error message: 'x' outside of string in unpack at

#1 Post by Plu3m »

I had this problem when I tried botting in new tRO server [Anngeling]

With latest SVN, can't bot in this server, Xmode1 can successfully login but after about seconds in game, the game turn freeze.
Some pics and detail:

Character Selection Screen (in pic, what that code?)
http://image.ohozaa.com/view2/wVdHsxUYZ9eAs9F6

In game screen (can manually control my character) then...
http://image.ohozaa.com/view2/wVdHxRBdeXxToRYo

about seconds after, game goes freeze (even bot try to move and spam send packet 0085)
http://image.ohozaa.com/view2/wVdK38hVrncahCwi


so THEN

After I use Ever_Rox Extractor (ever_boy_ and ROX_Leopardo) to create new revcpackets
for this client : http://upload.one2car.com/download.aspx ... T3CC77GBTI

the extractorV2 give me 3 files (ehh?, shouldn't it give me just one?, revcpackets.txt)
-revcpackets.txt <--- I know how to use this, just copy it and place in table/tRO
-receivebro.pm <--- wha.. what?, no idea how to do with this.
-sendbro.pm <--- same as receivebro.pm

so I guess I should copy the text in the files and paste it in src/Network/Receive(or Send)/tRO.pm <--- I don't know that i did it right, just randomly did.

and after I did above i have an error:

OpenKore version what-will-become-2.1
Network state = 1
Network handler = Network::XKore
SVN revision: unknown
No loaded plugins.

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

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

หยุดที่บรรทัดนี้:
my %server;
* @server{qw(ip port name users display)} = unpack 'a4 v Z20 v2 x2 x', $_;
if ($masterServer && $masterServer->{private}) {


How can I fix this?, thank in advance :D

http://image.ohozaa.com/view2/wVduXgpsPC2BmDyx

Locked