April 24, 20197 yr Hello, after next 2-3 updates bot bad interact to npc sometimes with code example: <QuestsSorted Action="RunCode" NameClass="wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(-8867.79, 673.673, 97.90384), 6740, 1, false);" /> in warmane max distance to interract 5.5 meters , warmane all ok. But in another server max distance to interract npc is 4 meters .... and he stuck again and again in 4.5 meters of npc....." you need to be closer to interact with that target " Please take interract distance to npc max 3 meters for good working on all servers
April 24, 20197 yr if (GoToTask.ToPosition(Vector3 position, float precision, bool skipIfCannotMakePath, BooleanDelegate conditionExit) Interact.InteractGameObject(ulong baseAddress, bool stopMove, bool skipWaitTime, bool leftClick); For example: var mob = ObjectManager.GetNearestWoWUnit(ObjectManager.GetWoWUnitByEntry(12345)); if (GoToTask.ToPosition(new Vector3(0, 0, 0, "None"), 3.5f)) { Interact.InteractGameObject(mob.GetBaseAddress, true); // your actions } Where "3.5f" - distance to interract More information:
April 24, 20197 yr Author 33 minutes ago, sith500 said: if (GoToTask.ToPosition(Vector3 position, float precision, bool skipIfCannotMakePath, BooleanDelegate conditionExit) Interact.InteractGameObject(ulong baseAddress, bool stopMove, bool skipWaitTime, bool leftClick); For example: var mob = ObjectManager.GetNearestWoWUnit(ObjectManager.GetWoWUnitByEntry(12345)); if (GoToTask.ToPosition(new Vector3(0, 0, 0, "None"), 2f)) { Interact.InteractGameObject(mob.GetBaseAddress, true); // your actions } Where "2f" - distance to interractMore information: thanks but is hard, this problem starts after 2-3 lasts updates....maybe return system of interract old?*
April 24, 20197 yr Author 4 minutes ago, sith500 said: Write all your code that you run through "RunCode" <QuestsSorted Action="RunCode" NameClass="wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(-8847.28, 569.955, 94.68758), 4981, 1, false);" /> <QuestsSorted Action="Wait" NameClass="2000" /> <QuestsSorted Action="RunLuaCode" NameClass="BuyMerchantItem (5, 8)" /> or standart gototown , same problem
April 24, 20197 yr 34 minutes ago, zatvorgt said: 1, After interaction, you need to click on the button to open the trading window? Try this: var mob = ObjectManager.GetNearestWoWUnit(ObjectManager.GetWoWUnitByEntry(4981)); if (GoToTask.ToPosition(new Vector3(-8847.28, 569.955, 94.68758), 2f) { Interact.InteractGameObject(mob.GetBaseAddress, true); Thread.Sleep(Usefuls.Latency + 500); Lua.LuaDoString("GossipTitleButton1:Click()"); Thread.Sleep(Usefuls.Latency + 1000); Lua.LuaDoString("BuyMerchantItem(5, 8)"); } I recommend doing this step go like "pulse", not "Runcode". Tell me the id of your item.
May 13, 20196 yr Author any help for this?need add option in wrobot to change interract deistance with npc
May 14, 20196 yr Hello, wait next update and use this: wManager.Wow.ObjectManager.WoWUnit.MaxInteractDistance = 50.0f; wManager.Wow.ObjectManager.WoWUnit.MinInteractDistance = 4.3f;
May 14, 20196 yr Author 1 minute ago, Droidz said: Hello, wait next update and use this: wManager.Wow.ObjectManager.WoWUnit.MaxInteractDistance = 50.0f; wManager.Wow.ObjectManager.WoWUnit.MinInteractDistance = 4.3f; Thank you much!!!!!!!
Create an account or sign in to comment