The situation: While botting Sohees in pay_dun03 I would like the bot to maintain a constant distance of 8 cells away from any Hydras on the map at all times. Instead of teleporting away when attacked etc.
Possible solutions I've thought of:
1. Find out what coordinates they take up on the map and tell the bot to avoid that area
problem: time consuming and not something i can use over again since it would be map specific.
2. Create a condition/macro that uses an aoe skill when there are more than 5 hydras within range
problem: don't have enough job levels yet and fairly new to the openkore technical stuff, so it would be more effort than it's worth. (I would like to know how to do this though)
From my understanding setting a -1 in mon_control.txt just makes the bot ignore the monster in question, not completely avoid it...which doesn't help when there are like 10+ in one area or because they are otherwise harmless if you can stay out of their range.
Basically i went looking through the forums and the wiki and could only find the attackDistance modifier, which really only helps (from my understanding) if you're a ranged user.
Is there some config command that lets you stay x cells away from a monster at all times? Cause that would be ideal!
How to maintainin distance from Hydra?
Moderator: Moderators
-
- Noob
- Posts: 17
- Joined: 12 Feb 2012, 17:56
- Noob?: Yes
-
- Noob
- Posts: 17
- Joined: 12 Feb 2012, 17:56
- Noob?: Yes
Re: How to maintainin distance from Hydra?
The workaround i am using right now is in mon_control.txt..and i just set hydra to -7, so kore ports away when a hydra is within 7 cells of it. Okay for the time being, but a sightless mind macro would be perfect if someone can hook me up 

-
- Developers
- Posts: 1798
- Joined: 05 Dec 2008, 05:42
- Noob?: Yes
Re: How to maintainin distance from Hydra?
Maybe you may try to mix aggressives, monsters and defendMonster conditions to get good enough results.Nicodareus wrote:when there are more than 5 hydras within range
-
- Human
- Posts: 46
- Joined: 07 Apr 2010, 12:11
- Noob?: Yes
Re: How to maintainin distance from Hydra?
actually there is a fairly easy way to do this..
However if you are hit locked in position you should try something like this skill block section on my crusader.
Works flawlessly.. especially when I get ambushed on the petite map with a good 15+ enemies balled up in 1 spot.
Most people have never seen an adapting bot in action, so they think its a skilled player =P
change them to reflect your spells and distance if necessary. Very basic code logic involved and very effective.
Description of the code:
partyAggressives counts both you and the party, no changing of code when solo or partying..
3..5 means between 3 and 5 enemies
> 5 means more than 5 enemies
dist > 1 basically says everything outside of melee range
dist < 2 basically says everything inside of melee range
Code: Select all
runFromTarget 1
runFromTarget_dist 9
However if you are hit locked in position you should try something like this skill block section on my crusader.
Works flawlessly.. especially when I get ambushed on the petite map with a good 15+ enemies balled up in 1 spot.
Most people have never seen an adapting bot in action, so they think its a skilled player =P
Code: Select all
monsterSkill CR_HOLYCROSS {
lvl 10
dist < 2
sp > 20%
partyAggressives 3..5
}
monsterSkill CR_SHIELDCHARGE {
lvl 10
dist < 2
sp > 20%
partyAggressives > 5
}
monsterSkill CR_SHIELDBOOMERANG {
lvl 10
dist > 1
sp > 20%
maxUses 1
}
Description of the code:
partyAggressives counts both you and the party, no changing of code when solo or partying..
3..5 means between 3 and 5 enemies
> 5 means more than 5 enemies
dist > 1 basically says everything outside of melee range
dist < 2 basically says everything inside of melee range
-
- Developers
- Posts: 1798
- Joined: 05 Dec 2008, 05:42
- Noob?: Yes
Re: How to maintainin distance from Hydra?
But it only works for one monster you're currently attacking, hence the "target".silentblue1987 wrote:runFromTarget