misth 0 Posted October 7, 2020 Share Posted October 7, 2020 Hello i;m trying to create a new questing profile. But i dont know how to code this to work. I need to talk whit 5 dudes and choose option 1, 4 times each time when talk to them quest is https://www.wowhead.com/quest=11983/blood-oath-of-the-horde . If someone knowes pls help me. Quote Link to post Share on other sites
misth 0 Posted October 8, 2020 Author Share Posted October 8, 2020 I tried out to fix it but my code dont work. Can someone help below i post my code. var position = new Vector3(33742,93 ; 2834,23 ; 90,82549 ; "None"); int npcEntryId = 26184; wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(33742,93 ; 2834,23 ; 90,82549 ; "None", 26184); System.Threading.Thread.Sleep(1000 * 2); System.Threading.Thread.Sleep(1000 * 2); Usefuls.SelectGossipOption(1); System.Threading.Thread.Sleep(1000 * 2); Usefuls.SelectGossipOption(1); System.Threading.Thread.Sleep(1000 * 2); Usefuls.SelectGossipOption(1); System.Threading.Thread.Sleep(1000 * 2); Usefuls.SelectGossipOption(1); System.Threading.Thread.Sleep(1000 * 2); wManager.Wow.Helpers.Move.Forward(Move.MoveAction.PressKey, 3000); Quote Link to post Share on other sites
Ordush 173 Posted October 8, 2020 Share Posted October 8, 2020 1 hour ago, misth said: I tried out to fix it but my code dont work. Can someone help below i post my code. var position = new Vector3(33742,93 ; 2834,23 ; 90,82549 ; "None"); int npcEntryId = 26184; wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(33742,93 ; 2834,23 ; 90,82549 ; "None", 26184); System.Threading.Thread.Sleep(1000 * 2); System.Threading.Thread.Sleep(1000 * 2); Usefuls.SelectGossipOption(1); System.Threading.Thread.Sleep(1000 * 2); Usefuls.SelectGossipOption(1); System.Threading.Thread.Sleep(1000 * 2); Usefuls.SelectGossipOption(1); System.Threading.Thread.Sleep(1000 * 2); Usefuls.SelectGossipOption(1); System.Threading.Thread.Sleep(1000 * 2); wManager.Wow.Helpers.Move.Forward(Move.MoveAction.PressKey, 3000); That code makes no sense at all. 😮 You are making two variables one called position and one that is called npcEntryID, then you don't use them? 😮 Also why do you have two Thread.Sleeps after eachother? if (wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(33742,93 ; 2834,23 ; 90,82549 ; "None", 26184)) { Usefuls.SelectGossipOption(1); System.Threading.Thread.Sleep(1000 * 2); Usefuls.SelectGossipOption(1); System.Threading.Thread.Sleep(1000 * 2); Usefuls.SelectGossipOption(1); System.Threading.Thread.Sleep(1000 * 2); Usefuls.SelectGossipOption(1); System.Threading.Thread.Sleep(1000 * 2); } You are close though. This will tell the bot to move to the npc, and if it is by the npc and has i activated it will click the gossip options. You will have to do some prework to this, and make sure it ends up the right place. This code will tell your char to move to the NPC and right click it. It will then Select the first option Quote Link to post Share on other sites
misth 0 Posted October 8, 2020 Author Share Posted October 8, 2020 i never coded anything so im dumb as hell in this topic shoud i use this code of yours in quest order whit option "if" or should i paste it after diffrent option ? 1 hour ago, Ordush said: Also why do you have two Thread.Sleeps after eachother? That was just copied form other code to test. i final i will change it. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.