Jump to content

sycs

Members
  • Posts

    18
  • Joined

  • Last visited

Posts posted by sycs

  1. 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

     

     

  2. I use <QuestsSorted Action="If" NameClass="Quest.HasQuest(40014) " />  He can do it

    but <QuestsSorted Action="If" NameClass="(Quest.HasQuest(40014) &amp;&amp; Quest.GetQuestCompleted(40014))" />  Not recognize

    I need to judge that there is a task and a task to be accomplished..

    Sorry, Google translate. I don't know. Can you understand that?

     

×
×
  • Create New...