Добавлено: Пн сен 24, 2007 11:13 pm
Видимо нет, т.к. профа ичатGalAnt писал(а):а нельзя просто охранника и профа в одну пати
Клуб любителей пляски с бубном вокруг OpenKore
https://ro-fan.ru/
Видимо нет, т.к. профа ичатGalAnt писал(а):а нельзя просто охранника и профа в одну пати
Код: Выделить всё
noAutoSkill 1
partySkill Resurrection {
lvl 1
whenPermitSkill Resurrection
target_timeout 5
}
Error message:
Can't locate object method "name" via package "Skill" at src/Misc.pm line 3633.
Stack trace:
Can't locate object method "name" via package "Skill" at src/Misc.pm line 3633.
at src/Interface/Wx.pm line 118
Interface::Wx::mainLoop('Interface::Wx=HASH(0x2ca484c)') 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})
в errors.txt:is 1
You used Item: Yggdrasil Leaf (1) x 0 - 9 left
Permitted to use Resurrection (54), level 1
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. Please include the
contents of this file in your bug report, or we may not be able to help you!
The error message is:
Can't locate object method "name" via package "Skill" at src/Misc.pm line 3633.
Press ENTER to exit this program.
Error message:
Can't locate object method "name" via package "Skill" at src/Misc.pm line 3633.
Stack trace:
Can't locate object method "name" via package "Skill" at src/Misc.pm line 3633.
at src/Misc.pm line 3633
Misc::checkSelfCondition('partySkill_0') called at src/AI/CoreLogic.pm line 2311
AI::CoreLogic::processPartySkillUse() called at src/AI/CoreLogic.pm line 163
AI::CoreLogic::iterate() called at src/functions.pl line 604
main::mainLoop_initialized() called at src/functions.pl line 70
main::mainLoop() called at src/Interface.pm line 75
Interface::mainLoop('Interface::Console::Win32=HASH(0x28baaa8)') called at openkore.pl line 96
main::__start() called at start.pl line 119
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})
[/quote]4epT писал(а):перво наперво упал Misc.pm!
is 1
You used Item: Yggdrasil Leaf (1) x 0 - 9 left
Permitted to use Resurrection (54), level 1
Can't locate object method "name" via package "Skill" at src/Misc.pm line 3633.
Press ENTER to exit this program.
Код: Выделить всё
is 0
You used Item: Yggdrasil Leaf (0) x 0 - 12 left
Permitted to use Resurrection (54), level 1
Inventory Item Removed: Yggdrasil Leaf (0) x 1
You are casting Resurrection on monster Zombie (0) (time 600ms)
[ 84/100] You use Resurrection (lvl 1) on monster Zombie (0) - Dmg: 190 (delay 47.3)
Код: Выделить всё
if ($config{$prefix."_whenPermitSkill"}) {
return 0 unless $char->{permitSkill} &&
$char->{permitSkill}->getName() eq $config{$prefix."_whenPermitSkill"};
}
if ($config{$prefix."_whenNotPermitSkill"}) {
return 0 if $char->{permitSkill} &&
$char->{permitSkill}->getName() eq $config{$prefix."_whenNotPermitSkill"};
}