I'm having issues with getting my bot to use Butterfly Wing on low health as opposed to potions and fly wings. I'm new to this and need some help, the code I have in the config is:
useSelf_item Butterfly Wing {
hp < 10%
sp
homunculus_hp
homunculus_sp
homunculus_dead
onAction
whenStatusActive
whenStatusInactive
whenFollowing
spirit
aggressives
monsters
notMonsters
stopWhenHit 0
inLockOnly 0
notWhileSitting 0
notInTown 0
timeout
disabled 0
inInventory
manualAI 0
}
Is there some reason why it doesn't work?
Bot wont Bwing on low health.
Moderator: Moderators
-
- Noob
- Posts: 10
- Joined: 12 Jul 2011, 11:37
- Noob?: Yes
Re: Bot wont Bwing on low health.
Not sure why you want to use butterfly instead of fly, but does your bot teleport at all?
You may want to check the teleportAuto section, there may be some conflicts.
You may want to check the teleportAuto section, there may be some conflicts.
-
- Human
- Posts: 20
- Joined: 31 May 2011, 20:09
- Noob?: Yes
Re: Bot wont Bwing on low health.
I use a butterfly wing instead of fly to get my bot to go to town instead of teleporting all over the map. I don't use them to farm, really. I did notice something when I was checking the butterfly wing, my bots do use them but don't teleport with them. I bought 7 on my rogue and sent him out, he ended up using them but never going to town. Eventually it came to he was taking hits and having 1 HP but was taking no damage and wasn't teleporting at all.levantine wrote:Not sure why you want to use butterfly instead of fly, but does your bot teleport at all?
You may want to check the teleportAuto section, there may be some conflicts.
Can they even use butterfly wings when they're on low HP?
-
- Moderators
- Posts: 1196
- Joined: 16 Dec 2011, 02:53
- Noob?: No
- Location: Brazil
Re: Bot wont Bwing on low health.
Set to this :
teleportAuto_hp < 10%
teleportAuto_useSkill 0
Works normally.
http://openkore.com/index.php/TeleportAuto_useSkill
To your block, remove unecessary lines :
Try this.
teleportAuto_hp < 10%
teleportAuto_useSkill 0
Works normally.
http://openkore.com/index.php/TeleportAuto_useSkill
To your block, remove unecessary lines :
Code: Select all
useSelf_item Butterfly Wing {
hp <10%
}
Learn rules
-
- Human
- Posts: 20
- Joined: 31 May 2011, 20:09
- Noob?: Yes
Re: Bot wont Bwing on low health.
I tried it, but it still says "no fly wing" and doesn't use a butterfly wing in it's place, even when there is one in the inventory.SkylorD wrote:Set to this :
teleportAuto_hp < 10%
teleportAuto_useSkill 0
Works normally.
http://openkore.com/index.php/TeleportAuto_useSkill
To your block, remove unecessary lines :
Try this.Code: Select all
useSelf_item Butterfly Wing { hp <10% }
-
- Moderators
- Posts: 1196
- Joined: 16 Dec 2011, 02:53
- Noob?: No
- Location: Brazil
Re: Bot wont Bwing on low health.
Verify if Item name is correct.
See by typing "i" on openkore's console or by your tables/server/items.txt
See by typing "i" on openkore's console or by your tables/server/items.txt
Learn rules
-
- Human
- Posts: 20
- Joined: 31 May 2011, 20:09
- Noob?: Yes
Re: Bot wont Bwing on low health.
The item name in the inventory is correct, but I removed the useSelf_item Butterfly Wing like you said.SkylorD wrote:Verify if Item name is correct.
See by typing "i" on openkore's console or by your tables/server/items.txt
Or did I mess something up?
-
- Moderators
- Posts: 1196
- Joined: 16 Dec 2011, 02:53
- Noob?: No
- Location: Brazil
Re: Bot wont Bwing on low health.
The openkore is pre-configured to use ButterFly wing when item is avaiable in inventory.
Do this :
Configure your teleportAuto_useSkill 0 and teleportAuto_hp < 10%
Let your character with 10% of life, now digit "s" in console, take a screen and post here.
You're doing something wrong.
Here works perfectly, why with you no ?
Do this :
Configure your teleportAuto_useSkill 0 and teleportAuto_hp < 10%
Let your character with 10% of life, now digit "s" in console, take a screen and post here.
You're doing something wrong.
Here works perfectly, why with you no ?
Learn rules
-
- Noob
- Posts: 10
- Joined: 12 Jul 2011, 11:37
- Noob?: Yes
Re: Bot wont Bwing on low health.
try typing "tele 2" in the console. It should use a butterfly wing. If it works, you can try this
doCommand tele 2 {
hp
}
doCommand tele 2 {
hp
}
-
- Moderators
- Posts: 1196
- Joined: 16 Dec 2011, 02:53
- Noob?: No
- Location: Brazil
Re: Bot wont Bwing on low health.
http://openkore.com/index.php/Tele
... you have both requirements (Teleport Skill and Fly Wings), set the option teleportAuto_useSkill in config.txt to specify which one to use.
Learn rules