kongul 0 Posted August 6, 2017 Share Posted August 6, 2017 I am trying to get a bot to do some gathering tasks similar to a netherwing egg farm. The bot is correctly going to the item and picking it up- however, the item requires a select gossip option to complete the gather. Its not a confirm BOP or I could use the plugin. This is for a private server so no wowhead links. Thanks Link to comment Share on other sites More sharing options...
kongul 0 Posted August 6, 2017 Author Share Posted August 6, 2017 I think the best solution for me is to modify the auto accept plugin but LUA is not my strong suit. Here is the existing code: while (isLaunched && Products.IsStarted) { if (Conditions.ProductIsStartedNotInPause && Lua.LuaDoString<bool>("return StaticPopup1 and StaticPopup1:IsVisible();")) { System.Threading.Thread.Sleep(100); Lua.LuaDoString("StaticPopup1Button1:Click()"); Logging.Write("[Auto Accept] Popup accepted"); } System.Threading.Thread.Sleep(100 * 5); // Wait .5 sec I know i need to change the second command string to be " SelectGossipOption (1)" but not sure what the first dostring should be. Thanks again. Link to comment Share on other sites More sharing options...
Droidz 2674 Posted August 7, 2017 Share Posted August 7, 2017 Hello, you can use c# code: wManager.Wow.Helpers.Usefuls.SelectGossipOption(1); Link to comment 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