'X' outside of string in unpack at src/Network/Receive.pm line 2041.
OpenKore version what-will-become-2.1 @ai_seq = macro Network state = 5 Network handler = Network::DirectConnection Revision: ctime:2017_02_28 Loaded plugins: plugins/alertsound.pl (alertsound; description: plays sounds on certain events) plugins/breakTime.pl (breakTime; description: Automatically disconnect and reconnect at certain times of the day) plugins/macro/macro.pl (macro; description: allows usage of macros)
Error message: 'X' outside of string in unpack at src/Network/Receive.pm line 2041.
Stack trace: 'X' outside of string in unpack at src/Network/Receive.pm line 2041. at src/Interface/Wx.pm line 163 Interface::Wx::mainLoop('Interface::Wx=HASH(0x469594c)') called at openkore.pl line 97 main::__start() called at start.pl line 136
Died at this line: $msg = substr($spellInfo, $i, 19);
-
($ID, $sourceID, $x, $y, $type, $range, $fail) = unpack('a4 a4 v3 X3 C2', $msg);
I received this too, wasn't around to see the particulars.
The line in question is part of
#09CA
sub area_spell_multiple3 {
This was last changed in 8ca404f4e73909f2dd2ab91fa33b62ed9c2935cf on November 13, 2015.
Did we have a packet change on official servers that effects this?
This problem arose after I completely updated Openkore for Doram Ubdate on iRo. Look this screenshot: http://i.piccy.info/i9/a859ca283dbb910e93b5451c51d39c94/1488390397/132993/1124185/bug.jpg Fix it pls.
The only change was 👍 in /Receive/ServerType0.pm. @ChrstphrR Do you think reversing it will work ?
maybe the size of 09CA is wrong in recvpackets
someone is getting this error yet?