Why is that when I use skills such as Extremity Fist, there will be an error saying..
"This program has encountered an unexpected problem. This is probably because of a bug in this program, or in one of the plugins. Please tell us about this problem"
"A detailed error report has been saved to errors.txt"
"The error message is:
Can't locate object method "name" via package "Skill" at src/Misc.pm line 3638
Then my client lags forever until I exit the bot client.
My errors.txt
OpenKore version 2.0.5.1
@ai_seq =
Network state = 5
Network handler = Network::XKore
SVN revision: unknown
Loaded plugins:
plugins/macro.pl (macro)
Error message:
Can't locate object method "name" via package "Skill" at src/Misc.pm line 3638.
Stack trace:
Can't locate object method "name" via package "Skill" at src/Misc.pm line 3638.
at src/Misc.pm line 3638
Misc::checkSelfCondition('useSelf_skill_0') called at src/AI/CoreLogic.pm line 2249
AI::CoreLogic:
rocessAutoSkillUse() called at src/AI/CoreLogic.pm line 97
AI::CoreLogic::iterate() called at src/functions.pl line 593
main::mainLoop_initialized() called at src/functions.pl line 70
main::mainLoop() called at src/Interface.pm line 75
Interface::mainLoop('Interface::Console::Win32=HAS H(0x21db34c)') called at openkore.pl line 96
main::__start() called at start.pl line 125
Died at this line:
my $skill_handle = Skill->new(name => lc($config{$prefix}))->getHandle();
* return 0 unless (($char->{skills}{$skill_handle} && $char->{skills}{$skill_handle}{lv} >= 1)
|| ($char->{permitSkill} && $char->{permitSkill}->name eq $config{$prefix})