knights 8 Posted August 9, 2016 Share Posted August 9, 2016 Need some assistance in coding, I wish to use RunCode in Quester for the bottom For example I want to move to the NPC, "Lake Frog" to be exact.. ID = 33211 So the location is not fixed. I stumbled across the below while going through the wManager resource. Any example? I am trying to complete "A Blade Fit for a Champion" but the issue would be the bot would not move to the Frog that it is blowing a kiss. How do I get the bot to move to the frog? The code below is for my RunCode while (!Quest.GetLogQuestIsComplete(13673)) { ItemsManager.UseItem(44986); wManager.Wow.Helpers.Lua.RunMacroText("/tar Lake"); wManager.Wow.Helpers.Lua.RunMacroText("/kiss"); System.Threading.Thread.Sleep(10000); // wait 10 sec } able to use the below code? Quote wManager.Wow.Helpers.MovementManager.MoveTo(wManager.Wow.ObjectManager.WoWUnit) Thank you! Link to comment https://wrobot.eu/forums/topic/3584-using-moveto-in-runcode/ Share on other sites More sharing options...
BetterSister 367 Posted August 9, 2016 Share Posted August 9, 2016 I'll answer this when i wake up in 9 hours . Im off to sleep now. This is possible but i need access to my pc first Link to comment https://wrobot.eu/forums/topic/3584-using-moveto-in-runcode/#findComment-16572 Share on other sites More sharing options...
knights 8 Posted August 9, 2016 Author Share Posted August 9, 2016 Thanks! Link to comment https://wrobot.eu/forums/topic/3584-using-moveto-in-runcode/#findComment-16576 Share on other sites More sharing options...
BetterSister 367 Posted August 10, 2016 Share Posted August 10, 2016 okay i found first problem. The daily has different quest ID for everyday. I'm looking for a way to counter this.... http://www.wowhead.com/quest=13673/a-blade-fit-for-a-champion Link to comment https://wrobot.eu/forums/topic/3584-using-moveto-in-runcode/#findComment-16577 Share on other sites More sharing options...
knights 8 Posted August 10, 2016 Author Share Posted August 10, 2016 The NPC give 3 different quest, should be able to separate it by using IF condition. The ID for the quest are different, with Edge Of Winter, A worthy Weapon and A Blade Fit for a Champion Doing 1 step at a time... Link to comment https://wrobot.eu/forums/topic/3584-using-moveto-in-runcode/#findComment-16579 Share on other sites More sharing options...
BetterSister 367 Posted August 10, 2016 Share Posted August 10, 2016 doesn't work like that. Bot tries to take a specific quest with specific ID if it won't receive the quest it's stuck Link to comment https://wrobot.eu/forums/topic/3584-using-moveto-in-runcode/#findComment-16581 Share on other sites More sharing options...
knights 8 Posted August 10, 2016 Author Share Posted August 10, 2016 I thought of an workaround. For the quest giver, I would not use Pickup Quest. Will use interactwithNpc and choose Option 1.. that should pick up all the quest. Link to comment https://wrobot.eu/forums/topic/3584-using-moveto-in-runcode/#findComment-16597 Share on other sites More sharing options...
BetterSister 367 Posted August 10, 2016 Share Posted August 10, 2016 it should repeat it forever? Link to comment https://wrobot.eu/forums/topic/3584-using-moveto-in-runcode/#findComment-16598 Share on other sites More sharing options...
knights 8 Posted August 10, 2016 Author Share Posted August 10, 2016 No.. it will be just run once. then will move on to other steps to complete the other quest. I think it will work though. But I need to work on the MoveTo issue first.. Link to comment https://wrobot.eu/forums/topic/3584-using-moveto-in-runcode/#findComment-16601 Share on other sites More sharing options...
BetterSister 367 Posted August 10, 2016 Share Posted August 10, 2016 wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(38.23928f, 10.52102f, -4.297345f), NPCID, 1, false); edit the coords and change npcid Link to comment https://wrobot.eu/forums/topic/3584-using-moveto-in-runcode/#findComment-16602 Share on other sites More sharing options...
knights 8 Posted August 10, 2016 Author Share Posted August 10, 2016 I am currently using this as a workaround. however the Npc moves around. So it will not be the optimal code to do it. Is there auto move to Npc without setting the vector? Link to comment https://wrobot.eu/forums/topic/3584-using-moveto-in-runcode/#findComment-16610 Share on other sites More sharing options...
knights 8 Posted August 12, 2016 Author Share Posted August 12, 2016 any solution? Link to comment https://wrobot.eu/forums/topic/3584-using-moveto-in-runcode/#findComment-16650 Share on other sites More sharing options...
BetterSister 367 Posted August 12, 2016 Share Posted August 12, 2016 How big loop it moves? Link to comment https://wrobot.eu/forums/topic/3584-using-moveto-in-runcode/#findComment-16651 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now