Situation: Priest is getting beat on by 5 monsters, it is configured to teleport on 6 aggressives or under 40% hp. It is spamming heal on itself but taking too much damage for too long to keep its hp topped. Its spamming heal and teleport while under 40% hp. It teleports away and starts following again, walking towards its master, however it won't heal itself to full, cast buffs or heal the master and just follows. ai print doesn't show anything useful and aiv just reads:
ai_seq (auto) = skill_use follow
Active tasks: RaiseStat, RaiseSkill
Inactive tasks: -
Failed fixes: timeout on the skills doesn't seem to work, maxcastime doesn't work, and ai_skill_use_giveup tweeking doesn't work. Poorly editing Misc.pm to only use teleport lvl 1 didn't seem to work.
Possible reason: What I think is happening is the priest is getting too low, is spamming heals causing postdelay, tries to teleport but is in postdelay, gets so low it needs to emergency teleport and does, something bugs with the teleport 2 skill window and the server still thinks I have the teleport window open preventing me from using other skills.
Temp fixes: It seems to fix itself sometimes by teleporting again, although not 100% of the time. Relogging fixes it always.
Workarounds: I wrote this little command to detect the situation and relog itself.
Code: Select all
doCommand relog {
hp < 30%
sp >= 100%
timeout 50
aggressives < 1
}
I've spoken to a few other people using the bot on iRO and they've all encountered this problem, just wondering if anyone else has and if they have a possible fix.