retrostalgic 7 Posted May 13, 2018 Share Posted May 13, 2018 how do i make quester set hearthstone ? I Did a search for "set hearthstone" and no forum posts came up.thanks Link to comment https://wrobot.eu/forums/topic/9390-how-do-i-make-quester-set-hearthstone/ Share on other sites More sharing options...
skeletonboy360 5 Posted May 13, 2018 Share Posted May 13, 2018 Something like var bindLocation = Lua.LuaDoString("hearth=GetBindLocation();", "hearth"); while (bindLocation != "Goldshire") { wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(innkeeper.Position, innkeeperEntry); Lua.LuaDoString("SelectGossipOption(1)"); // WRobot has a command for this too, I forgot it Lua.RunMacroText("/click StaticPopup1Button1"); } I can't remember what I did but thats the basic idea. Link to comment https://wrobot.eu/forums/topic/9390-how-do-i-make-quester-set-hearthstone/#findComment-43564 Share on other sites More sharing options...
BetterSister 367 Posted May 14, 2018 Share Posted May 14, 2018 2 hours ago, skeletonboy360 said: Something like var bindLocation = Lua.LuaDoString("hearth=GetBindLocation();", "hearth"); while (bindLocation != "Goldshire") { wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(innkeeper.Position, innkeeperEntry); Lua.LuaDoString("SelectGossipOption(1)"); // WRobot has a command for this too, I forgot it Lua.RunMacroText("/click StaticPopup1Button1"); } I can't remember what I did but thats the basic idea. Should add some wait time between commands especially after last command so if there is lag it wont redo same crap Link to comment https://wrobot.eu/forums/topic/9390-how-do-i-make-quester-set-hearthstone/#findComment-43566 Share on other sites More sharing options...
Andoido 75 Posted June 18, 2019 Share Posted June 18, 2019 Old topic. Wanted to leave a post since well fuck it? lol. Setting your Hearthstone. (This code can be used for many many other situations.) my own making, // How to set your Hearthstone, the pro way // Step 1 - Set IF Statment. IF Statment IF code in the quest order editor IF (link code below) Lua.LuaDoString<string>("bindlocation = GetBindLocation(); return bindlocation;") != "Orgrimmar" // Step 2 - RUNCODE - Change the Location + NPC ID of your new innkeeper (using the helper tools) var position = new Vector3(1633.99f, -4439.37f, 15.43382f); int npcEntryId = 6929; { if (wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(position, npcEntryId)) System.Threading.Thread.Sleep(3000 * 2); Lua.LuaDoString("GossipTitleButton1:Click();"); System.Threading.Thread.Sleep(2000 * 2); Lua.LuaDoString("StaticPopup1Button1:Click();"); System.Threading.Thread.Sleep(3000 * 2); Lua.LuaDoString("StaticPopup1Button1:Click();"); Lua.LuaDoString("CloseMerchant()"); System.Threading.Thread.Sleep(3000 * 2); if (wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(position, npcEntryId)) System.Threading.Thread.Sleep(3000 * 2); Lua.LuaDoString("GossipTitleButton2:Click();"); System.Threading.Thread.Sleep(3000 * 2); Lua.LuaDoString("StaticPopup1Button1:Click();"); System.Threading.Thread.Sleep(3000 * 2); Lua.LuaDoString("StaticPopup1Button1:Click();"); Lua.LuaDoString("CloseMerchant()"); } // ENDIF -- Add an ENDIF Statment. //This will force the bot to run to the npc location, it will do each step every 2 seconds (click the bind option) And a 2nd timeincase the bind is on button 2. Link to comment https://wrobot.eu/forums/topic/9390-how-do-i-make-quester-set-hearthstone/#findComment-54606 Share on other sites More sharing options...
TheSmokie 242 Posted September 19, 2020 Share Posted September 19, 2020 I thought id share a better, cleaner way to set HearthStone. var Stone = Lua.LuaDoString<string>("bindlocation = GetBindLocation(); return bindlocation;"); if (Stone != "LocationName" && wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(x, y, z), NpcID)) { Usefuls.SelectGossipOption(GossipOptionsType.binder); Thread.Sleep(100); Lua.LuaDoString("StaticPopup1Button1"); Lua.LuaDoString("CloseMerchant()"); } Link to comment https://wrobot.eu/forums/topic/9390-how-do-i-make-quester-set-hearthstone/#findComment-59977 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