August 10, 20178 yr Is it possible to add some 'global rule' that will ignore a node if there is an enemy Elite within X yards of that ore/herb?
August 10, 20178 yr ofc it is possible. but what seems to be the issue? theres an Elite like camping the node?
August 10, 20178 yr Author The issue is indeed that there is a patrolling elite in an area where I farm. when the bot detects a herb/ore I would like that node to be ignored if there's an elite within X yards. Because the elite is too strong to kill so my toon will die.
August 11, 20178 yr http://prntscr.com/g7ckp0 perhaps this? or you can try value "-1" meaning if any then no it wont harvest it cuz theres a unit nearby (mob)
August 12, 20178 yr 10 hours ago, omghixd said: http://prntscr.com/g7ckp0 perhaps this? or you can try value "-1" meaning if any then no it wont harvest it cuz theres a unit nearby (mob) But that ignores any mob, even mobs the bot can handle, which most likely there is one mob almost nearby any herb. He means ignore only when the case is = elite. Not just any mob. I am no expert but I think you can do that with C# or some hardcore coding lol.
August 12, 20178 yr This isn't t he most elegant thing, but you get the idea: var ElitesNearMe = ObjectManager.GetWoWUnitHostile().FindAll(p => p.GetDistance <= 10 && p.IsElite); if (ElitesNearMe.Count > 0) { // blacklist node }
August 13, 20178 yr On 12.8.2017 at 7:27 AM, lonellywolf said: But that ignores any mob, even mobs the bot can handle, which most likely there is one mob almost nearby any herb. He means ignore only when the case is = elite. Not just any mob. I am no expert but I think you can do that with C# or some hardcore coding lol. i was completely aware that he only wants to avoid the Elite mob. But this is the only thing i could think of. Meaning you'd have to sacrifice all mobs.
August 16, 20178 yr Author @avvi: Where would I put that C# code? As far as I'm concerned, the actual profiles are XML right?
August 16, 20178 yr 1 hour ago, liquidsnake1989 said: @avvi: Where would I put that C# code? As far as I'm concerned, the actual profiles are XML right? This could be some sort of plugin, or could be inserted into XML. I'm at work right now, so i can't provide an example immediately. Try searching the forum (or i will create an example sometime later today).
Create an account or sign in to comment