Bot not using Awakening Potion

Philippines

Moderators: waferbaron, Moderators

Forum rules
This server is currently not maintained and tables folder (including connection info) is outdated. Read the wiki for instructions on how to update those information. Please contribute your updated info. Contact Cozzie to join the team as a regular server supporter.
DashMeNot
Noob
Noob
Posts: 1
Joined: 09 Nov 2012, 10:01
Noob?: Yes

Bot not using Awakening Potion

#1 Post by DashMeNot »

So I downloaded the openkore_ready.zip from openkore.com and I edited my config.txt for my bot to use hp potions and speed potions like Awakening Potion, but my bot does not seem to recognize the command and only use hp potions the my hp reaches a certain level and not use Awakening Potion. Here is what is written in my config.txt

useSelf_item Orange Potion {
hp < 60%
sp
homunculus_hp
homunculus_sp
homunculus_dead
onAction
whenStatusActive
whenStatusInactive
whenFollowing
spirit
aggressives
monsters
notMonsters
monstersCount
stopWhenHit 0
inLockOnly 0
notWhileSitting 1
notInTown 1
timeout 10
disabled 0
inInventory
manualAI 0
}

useSelf_item Awakening Potion {
whenStatusInactive Awakening Potion
timeout 10
inLockOnly 1
}

I hope you guys can help me with this one.
makin1k
Noob
Noob
Posts: 1
Joined: 10 Nov 2012, 23:27
Noob?: No

Re: Bot not using Awakening Potion

#2 Post by makin1k »

Your code is correct.

inLockonly is set to 1.
If its set to 1, then kore will use awak pots only in mentioned lock map. May be you are not in the lockmap and in a different map.