liquidsnake1989 2 Posted August 10, 2017 Share Posted August 10, 2017 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? Link to comment https://wrobot.eu/forums/topic/6741-ignore-mineherb-when-elite-nearby/ Share on other sites More sharing options...
OMGhixD 16 Posted August 10, 2017 Share Posted August 10, 2017 ofc it is possible. but what seems to be the issue? theres an Elite like camping the node? Link to comment https://wrobot.eu/forums/topic/6741-ignore-mineherb-when-elite-nearby/#findComment-30580 Share on other sites More sharing options...
liquidsnake1989 2 Posted August 10, 2017 Author Share Posted August 10, 2017 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. Link to comment https://wrobot.eu/forums/topic/6741-ignore-mineherb-when-elite-nearby/#findComment-30586 Share on other sites More sharing options...
OMGhixD 16 Posted August 11, 2017 Share Posted August 11, 2017 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) Link to comment https://wrobot.eu/forums/topic/6741-ignore-mineherb-when-elite-nearby/#findComment-30649 Share on other sites More sharing options...
Photogenic 24 Posted August 12, 2017 Share Posted August 12, 2017 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. Link to comment https://wrobot.eu/forums/topic/6741-ignore-mineherb-when-elite-nearby/#findComment-30651 Share on other sites More sharing options...
Avvi 98 Posted August 12, 2017 Share Posted August 12, 2017 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 } Photogenic 1 Link to comment https://wrobot.eu/forums/topic/6741-ignore-mineherb-when-elite-nearby/#findComment-30655 Share on other sites More sharing options...
OMGhixD 16 Posted August 13, 2017 Share Posted August 13, 2017 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. Photogenic 1 Link to comment https://wrobot.eu/forums/topic/6741-ignore-mineherb-when-elite-nearby/#findComment-30692 Share on other sites More sharing options...
liquidsnake1989 2 Posted August 16, 2017 Author Share Posted August 16, 2017 @avvi: Where would I put that C# code? As far as I'm concerned, the actual profiles are XML right? Link to comment https://wrobot.eu/forums/topic/6741-ignore-mineherb-when-elite-nearby/#findComment-30781 Share on other sites More sharing options...
Avvi 98 Posted August 16, 2017 Share Posted August 16, 2017 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). Link to comment https://wrobot.eu/forums/topic/6741-ignore-mineherb-when-elite-nearby/#findComment-30788 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now