camelot10 155 Posted July 1, 2017 Share Posted July 1, 2017 got major problem with vertical aiming with cannon MomementManger.Face ClickToMove.CGPlayer_C__ClickToMove(unit.Position.X, unit.Position.Y, unit.Position.Z, unit.Guid, (int)wManager.Wow.Enums.ClickToMoveType.Move, precistion); not working. only horizontal. tryed all ClickToMoveType is there anything i can do to aim mob in vertical ? @Droidz Link to comment https://wrobot.eu/forums/topic/6340-cannonvehicle-vertical-aim/ Share on other sites More sharing options...
Droidz 2739 Posted July 2, 2017 Share Posted July 2, 2017 Hello, do you have try to use wManager.Wow.Helpers.ClickOnTerrain.Pulse(new Vector3(1, 2, 3)); Link to comment https://wrobot.eu/forums/topic/6340-cannonvehicle-vertical-aim/#findComment-28715 Share on other sites More sharing options...
camelot10 155 Posted July 2, 2017 Author Share Posted July 2, 2017 1 hour ago, Droidz said: Hello, do you have try to use wManager.Wow.Helpers.ClickOnTerrain.Pulse(new Vector3(1, 2, 3)); nope. code below dont even rotate turret public static void Aim(WoWUnit unit, float precistion = 0.5f) { Thread.Sleep(Usefuls.Latency * 2); ClickOnTerrain.Pulse(unit.Position); /* ClickToMove.CGPlayer_C__ClickToMove(unit.Position.X, unit.Position.Y, unit.Position.Z, unit.Guid, (int)wManager.Wow.Enums.ClickToMoveType.Move, precistion); Thread.Sleep(Usefuls.Latency * 2); wManager.Wow.Helpers.Keybindings.PressKeybindings(wManager.Wow.Enums.Keybindings.PITCHUP); //*/ } only one thing can move turret verticaly wManager.Wow.Helpers.Keybindings.PressKeybindings(wManager.Wow.Enums.Keybindings.PITCHUP); wManager.Wow.Helpers.Keybindings.PressKeybindings(wManager.Wow.Enums.Keybindings.PITCHDOWN); but i cannot find how i can calculcate vertical rotation to target unit according to turret aim this quest: http://www.wowhead.com/quest=39801/the-splintered-fleet Link to comment https://wrobot.eu/forums/topic/6340-cannonvehicle-vertical-aim/#findComment-28718 Share on other sites More sharing options...
sycs 1 Posted December 11, 2017 Share Posted December 11, 2017 public static void PressKey(System.Windows.Forms.Keys keys, int timeMs = 10) { Keyboard.DownKey(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, keys); Thread.Sleep(timeMs); Keyboard.UpKey(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, keys); } if (delta > 0) PressKey(System.Windows.Forms.Keys.Insert, timeMs); else if (delta < 0) PressKey(System.Windows.Forms.Keys.Delete, timeMs); But the user must use the default key configuration On 2017/7/2 at 6:35 PM, camelot10 said: Spoiler nope. code below dont even rotate turret public static void Aim(WoWUnit unit, float precistion = 0.5f) { Thread.Sleep(Usefuls.Latency * 2); ClickOnTerrain.Pulse(unit.Position); /* ClickToMove.CGPlayer_C__ClickToMove(unit.Position.X, unit.Position.Y, unit.Position.Z, unit.Guid, (int)wManager.Wow.Enums.ClickToMoveType.Move, precistion); Thread.Sleep(Usefuls.Latency * 2); wManager.Wow.Helpers.Keybindings.PressKeybindings(wManager.Wow.Enums.Keybindings.PITCHUP); //*/ } only one thing can move turret verticaly wManager.Wow.Helpers.Keybindings.PressKeybindings(wManager.Wow.Enums.Keybindings.PITCHUP); wManager.Wow.Helpers.Keybindings.PressKeybindings(wManager.Wow.Enums.Keybindings.PITCHDOWN); but i cannot find how i can calculcate vertical rotation to target unit according to turret aim this quest: The Splintered Fleet Link to comment https://wrobot.eu/forums/topic/6340-cannonvehicle-vertical-aim/#findComment-36493 Share on other sites More sharing options...
TheSmokie 242 Posted May 5, 2019 Share Posted May 5, 2019 @Droidz \ did you guys find a way to aim a Vehide? Link to comment https://wrobot.eu/forums/topic/6340-cannonvehicle-vertical-aim/#findComment-53334 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