Womble 9 Posted February 4, 2014 Share Posted February 4, 2014 Apparently using my rotation on actual bosses / trash is a whole new thing. Finding more issues by the hour... So, my Backstab condition works on target dummy's but refuses to work in a raid. The ability is as follows: - Conditions: C Sharp Code: (System.Math.Abs(ObjectManager.Me.Rotation - ObjectManager.Target.Rotation) < 0.35f) Buff: Shadow Dance > False Buff: Stealth > False Buff: Vanish > False Is Spell Usable: Shadow Dance > False Target Buff Casted By Me: Hemorrhage > True I changed 'Check if know spell, is usable and good distance' to false in hopes it would work in a raid but it still won't. All of the above conditions are met when it refuses to work - it literally doesn't cast a single backstab during fights. Link to comment https://wrobot.eu/forums/topic/1108-backstab-works-on-dummys-but-not-in-raid/ Share on other sites More sharing options...
Womble 9 Posted February 4, 2014 Author Share Posted February 4, 2014 Okay I think it is to do with the hit box of the target being tempremental. Back on a dummy after the raid, the rotation is flawless, backstab works. HOWEVER... if I stand to the back and the side (but still behind as far as the game is concerned) it starts using hemo - either side, left or right. At a guess "C Sharp Code: (System.Math.Abs(ObjectManager.Me.Rotation - ObjectManager.Target.Rotation) < 0.35f)" needs to account for 180 degrees behind the boss. Any thoughts Droidz? Link to comment https://wrobot.eu/forums/topic/1108-backstab-works-on-dummys-but-not-in-raid/#findComment-5770 Share on other sites More sharing options...
Womble 9 Posted February 4, 2014 Author Share Posted February 4, 2014 Important Update: I had created my profile on a lower level raiding dummy. I decided to try and replicate the issue by using my profile on the raiding dummy of level '??'. Guess what happens? None of my ambush or backstab abilities work. As soon as I attack one of the nearby lower level dummys my rotation starts to use backstab and ambush. Thing is I don't have any 'target level' checks on these abilities... Sigh. Link to comment https://wrobot.eu/forums/topic/1108-backstab-works-on-dummys-but-not-in-raid/#findComment-5771 Share on other sites More sharing options...
Womble 9 Posted February 4, 2014 Author Share Posted February 4, 2014 Update 2: I've found somewhat of a fix... Basically I recreated the exact same spell as 'Hemorrhage', called it 'Sinister Strike' and set the 'Check if know spell, is usable and good distance' to true from false. However we still need better detection whether we are behind or infront of the boss because at certain points / angles behind the boss it thinks you aren't behind which causes random hemorrhages. So like I said above, what would be brilliant is a 180 check behind the boss whether its the above code, lua, c+ or a new condition. I just don't know the calculation or math to work that out sadly. And vice versa a 180 check infront so that hemo will go off the instant you slightly go ahead of the boss by mistake, or too far to the side. Also see: - which is now more relevant than this thread, but I'll keep this open so you know the issues at hand. Link to comment https://wrobot.eu/forums/topic/1108-backstab-works-on-dummys-but-not-in-raid/#findComment-5772 Share on other sites More sharing options...
Womble 9 Posted February 4, 2014 Author Share Posted February 4, 2014 I've also tried to remove hemo entirely and the same issue, it just stops using backstab. It's got to be the position of the '0.35f' that is wrong somehow. Link to comment https://wrobot.eu/forums/topic/1108-backstab-works-on-dummys-but-not-in-raid/#findComment-5777 Share on other sites More sharing options...
Droidz 2738 Posted February 4, 2014 Share Posted February 4, 2014 Do you use last update of WRobot (I have fixed an problem with HL target he has not long time). And look this sample fightclass (this fightclass write in the chat if you are back or not): testRotation.xml Link to comment https://wrobot.eu/forums/topic/1108-backstab-works-on-dummys-but-not-in-raid/#findComment-5779 Share on other sites More sharing options...
Womble 9 Posted February 4, 2014 Author Share Posted February 4, 2014 Hey. Testing that rotation now. It shows the problem clearly to me: I get crazy results, I've taken a few screenshot examples. I'll send them you in a moment. Link to comment https://wrobot.eu/forums/topic/1108-backstab-works-on-dummys-but-not-in-raid/#findComment-5781 Share on other sites More sharing options...
Womble 9 Posted February 4, 2014 Author Share Posted February 4, 2014 -test- Link to comment https://wrobot.eu/forums/topic/1108-backstab-works-on-dummys-but-not-in-raid/#findComment-5782 Share on other sites More sharing options...
Womble 9 Posted February 4, 2014 Author Share Posted February 4, 2014 Sent you a PM. Link to comment https://wrobot.eu/forums/topic/1108-backstab-works-on-dummys-but-not-in-raid/#findComment-5783 Share on other sites More sharing options...
Womble 9 Posted February 4, 2014 Author Share Posted February 4, 2014 I've put your print code into my profile just now to watch it alongside my rotation, and it's only refusing to use backstab when the print says either 'no back' or 'no back and facing' otherwise it works, basically like the screenshots but I wanted to confirm it. The only other important thing I noticed is sometimes when moving from the front of my target to the back it takes 5/10 seconds 'sometimes' to update to 'back and facing' from 'no back' or 'no back and facing' - which is another key problem. I have to head out for now but I'll check back later. Thanks for your patience - just trying to create the absolute best profile I can. Link to comment https://wrobot.eu/forums/topic/1108-backstab-works-on-dummys-but-not-in-raid/#findComment-5784 Share on other sites More sharing options...
Droidz 2738 Posted February 4, 2014 Share Posted February 4, 2014 0.35 radian is equal at 20 degree (left or right, therefore 40 degree). for 180 degree (90 degree left and 90 degree right) try to use 1.57 radian. (System.Math.Abs(ObjectManager.Me.Rotation - ObjectManager.Target.Rotation) < 1.57f) The problem, this checking only if your character rotation is similary at target rotation (if you are before the target with similar rotation this works also). You can try to add this C# code condtion for solve problem: wManager.Wow.Helpers.MovementManager.IsFacing(ObjectManager.Me.Position, ObjectManager.Me.Rotation, ObjectManager.Target.Position, 1.57f) testRotation2.xml Link to comment https://wrobot.eu/forums/topic/1108-backstab-works-on-dummys-but-not-in-raid/#findComment-5785 Share on other sites More sharing options...
Womble 9 Posted February 4, 2014 Author Share Posted February 4, 2014 I don't quite understand what you mean with the second c# code or what it does but I'll try them out later. If you could try to explain what they do again that would be great. Link to comment https://wrobot.eu/forums/topic/1108-backstab-works-on-dummys-but-not-in-raid/#findComment-5793 Share on other sites More sharing options...
Droidz 2738 Posted February 5, 2014 Share Posted February 5, 2014 The first c# code checking if you rotation is similar at target rotation. The second c# code checking if your character see (facing) target. If you have similar rotation and the target is in facing you are behind the target. Link to comment https://wrobot.eu/forums/topic/1108-backstab-works-on-dummys-but-not-in-raid/#findComment-5804 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