Jump to content

Jensen-

Members
  • Posts

    269
  • Joined

  • Last visited

Posts posted by Jensen-

  1. new problem i need to kill npc loot it then target it and use item on it 

    any advice 

    Thread t = new Thread(() =>
    {
        uint itemId = 35943;
        int questId = 12035;
        while (robotManager.Products.Products.IsStarted)
        {
            if (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause)
            {
                if (!Quest.HasQuest(12035))
                    break;
                if (ObjectManager.Target.IsValid && ObjectManager.Target.IsDead)
                {
                    ItemsManager.UseItem(35943);
                }
            }
            Thread.Sleep(1000);
        }
    });
    t.Start();

    tryed this but it doesnt target the body and i cant use the quest item if i dont have a target

  2. hey 

    is there a way to execute runcode in quest order editor only once

    wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(-2376.27, -1995.74, 96.70491), 7714)
    wait 500
    Lua.LuaDoString("GossipTitleButton2:Click();");
    wait 1000
    Lua.LuaDoString("BuyMerchantItem(5,2)");

    the next one is

    Pickup> Owatanka 

    it picks it, and after i get a dc or restart, the bot is executing the code instead of playing from last position it was

×
×
  • Create New...