Jump to content

Recommended Posts

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

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

 

  • 5 months later...

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

 

 

  • 1 year later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...