July 28, 20232 yr can someone explain me what am doing wrong or why it doesn't work in Silvermoon city var pos = new Vector3(9992.634, -7113.402, 47.70632); int clickonobject = 184502; GoToTask.ToPosition(pos); while (MovementManager.InMovement) { Thread.Sleep(250); } if (ObjectManager.Me.Position.DistanceTo2D(pos) < 3) { Interact.InteractGameObject(ObjectManager.GetWoWGameObjectByEntry(clickonobject).FirstOrDefault().GetBaseAddress); Thread.Sleep(500); } return true; after pick up the quest my char should run to the position and click on the object, but this doesn't happens.
July 29, 20232 yr Hello, You don't need to wait (while (MovementManager.InMovement)) with gototask. You can directly interact with a game object with code like : var pos = new Vector3(9992.634, -7113.402, 47.70632); int clickonobject = 184502; bool result = GoToTask.ToPositionAndIntecractWithGameObject(pos, clickonobject); return result; Do you have any error in your log when bot run this task ?
July 29, 20232 yr Author 3 hours ago, Droidz said: Hello, You don't need to wait (while (MovementManager.InMovement)) with gototask. You can directly interact with a game object with code like : var pos = new Vector3(9992.634, -7113.402, 47.70632); int clickonobject = 184502; bool result = GoToTask.ToPositionAndIntecractWithGameObject(pos, clickonobject); return result; Do you have any error in your log when bot run this task ? this code doesn't work, my char will run different side, and trying to swim to undercity
July 29, 20232 yr Author 3 hours ago, Droidz said: Do you have any error in your log when bot run this task ? dont have any
July 30, 20232 yr your code or my code should work. Can you share log when the bot should run this code please
July 30, 20232 yr Author 20 hours ago, Droidz said: your code or my code should work. Can you share log when the bot should run this code please Yes your code and my isn't working at all 30 июл 2023 13H43.log.html
July 31, 20232 yr The code is not executed, at no time in the log file is there a path lookup for the position of your code.
July 31, 20232 yr Author 32 minutes ago, Droidz said: The code is not executed, at no time in the log file is there a path lookup for the position of your code. everythins should work, but its not, no idea why.
July 31, 20232 yr Author 4 minutes ago, Droidz said: Your code is in the quest "EnvoytotheHorde" ? yes
July 31, 20232 yr Author mb this code doesnt work bcoz the bloodelf location is an instance, and the npc where it need to be turned in, stay out of the instance...
August 1, 20232 yr I'm pretty sure your code is not running, but I don't know why. it could be due to a bad quest ID or something else.
August 1, 20232 yr Author with quest id everything is ok. bot do it quest, when you handly move your char trough translocation orb
Create an account or sign in to comment