First i copy my settings
Misc:
Code: Select all
my $item;
if ($use_lvl == 1) { #Fly Wing
if (!$config{teleportAuto_item1}) {
$item = $char->inventory->getByNameID(601);
unless ($item) { $item = $char->inventory->getByNameID(12323); } # only if we don't have any fly wing
} else {
$item = $char->inventory->getByName($config{teleportAuto_item1});
}
} elsif ($use_lvl == 2) { #Butterfly Wing
if (!$config{teleportAuto_item2}) {
$item = $char->inventory->getByNameID(602);
unless ($item) { $item = $char->inventory->getByNameID(12324); } # only if we don't have any butterfly wing
} else {
$item = $char->inventory->getByName($config{teleportAuto_item2});
}
}
Code: Select all
teleportAuto_hp 10
teleportAuto_sp 0
teleportAuto_idle 0
teleportAuto_portal 0
teleportAuto_search 0
teleportAuto_minAggressives 3
teleportAuto_minAggressivesInLock 3
teleportAuto_onlyWhenSafe 0
teleportAuto_maxDmg
teleportAuto_maxDmgInLock 0
teleportAuto_deadly 1
teleportAuto_useSkill 0
teleportAuto_useChatCommand
teleportAuto_allPlayers 1
teleportAuto_notPlayers
teleportAuto_atkCount 0
teleportAuto_atkMiss 10
teleportAuto_unstuck 0
teleportAuto_lostTarget 0
teleportAuto_dropTarget 0
teleportAuto_dropTargetKS 0
teleportAuto_attackedWhenSitting 1
teleportAuto_totalDmg 0
teleportAuto_totalDmgInLock 0
teleportAuto_equip_leftAccessory
teleportAuto_equip_rightAccessory
teleportAuto_lostHomunculus
teleportAuto_useItemForRespawn
teleportAuto_item1 Fly Wing
Everytime he has to teleport, openkore give me the errore message "you don't have the teleport skill or a fly wing"
i have 123 fly wing in my inventory.
I'm getting mad. Please help me.