Got this error.
Code:
OpenKore version what-will-become-2.1
@ai_seq = skill_use
Network state = 5
Network handler = Network::DirectConnection
SVN revision: 7521
Loaded plugins:
plugins/macro/macro.pl (macro)
Error message:
Can't use string ("len why skills_list") as an ARRAY ref while "strict refs" in use at src/Network/Receive.pm line 171.
Stack trace:
Can't use string ("len why skills_list") as an ARRAY ref while "strict refs" in use at src/Network/Receive.pm line 171.
at src/Network/Receive.pm line 171
Network::Receive::parse('Network::Receive::pRO=HASH(0x3dac874)', 'B\x{4}\x{a}\x{0}\x{1}\x{0}\x{0}\x{0}') called at src/functions.pl line 1320
main::parseIncomingMessage('B\x{4}\x{a}\x{0}\x{1}\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(0x1774fec)') called at openkore.pl line 97
main::__start() called at start.pl line 129
Died at this line:
my @unpacked_data = unpack("x2 $handler->[1]", $msg);
* foreach my $key (@{$handler->[2]}) {
$args{$key} = shift @unpacked_data;
Code:
autoSpell Cold Bolt
Code:
useSelf_skill Shadow Spell {
lvl 10
timeout 10
whenStatusInactive Auto Shadow Spell
notWhileSitting 1
disabled 0
}