Mann 0 Posted November 22, 2017 Share Posted November 22, 2017 The bot works. Though, I have an issue on RDPS characters. Sometimes the bot tries to attack a mob behind a fence which results in line of sight errors. The bot keeps spamming the spells over and over and does not skip the mob. This happens on RDPS character. How do I fix this? Link to comment https://wrobot.eu/forums/topic/7772-line-of-sight-problem/ Share on other sites More sharing options...
Apexx 60 Posted November 22, 2017 Share Posted November 22, 2017 Hello Mann, try adding the following Spell Condition to your ranged abilities. Actually, it may be beneficial to check on most attack abilities. C Sharp Code: !wManager.Wow.Helpers.TraceLine.TraceLineGo(ObjectManager.Me.Position, ObjectManager.Target.Position) Link to comment https://wrobot.eu/forums/topic/7772-line-of-sight-problem/#findComment-35553 Share on other sites More sharing options...
Mann 0 Posted November 24, 2017 Author Share Posted November 24, 2017 On 11/22/2017 at 9:05 PM, Apexx said: Hello Mann, try adding the following Spell Condition to your ranged abilities. Actually, it may be beneficial to check on most attack abilities. C Sharp Code: !wManager.Wow.Helpers.TraceLine.TraceLineGo(ObjectManager.Me.Position, ObjectManager.Target.Position) Thanks for the reply, Apexx. Could you explain to me what to do with this code and how what it does exactly? Is there a code that I can use that autoignores a mob when a line of sight happens for one minute for example? Link to comment https://wrobot.eu/forums/topic/7772-line-of-sight-problem/#findComment-35677 Share on other sites More sharing options...
Apexx 60 Posted November 24, 2017 Share Posted November 24, 2017 You will need to add C Sharp Code to the Spell Conditions list inside the Fight Class editor, and paste the code inside the Value text block. It returns true if there are no objects between your position and your target position. 6 hours ago, Mann said: Is there a code that I can use that autoignores a mob when a line of sight happens for one minute for example? I would have to look into this further; It might be possible. Link to comment https://wrobot.eu/forums/topic/7772-line-of-sight-problem/#findComment-35691 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