Hekp 0 Posted March 1, 2018 Share Posted March 1, 2018 Hi. Why don't I click on the button I use the command : <QuestsSorted Action="RunCode" NameClass="wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(2781.16, -432.997, 116.5811), 6738, 2, false)" /> <QuestsSorted Action="RunMacroLua" NameClass="/click StaticPopup1Button1" /> The game window appears, but the button does not press. Help me PLS. Link to comment https://wrobot.eu/forums/topic/8785-dont-click-button/ Share on other sites More sharing options...
FNV316 65 Posted March 1, 2018 Share Posted March 1, 2018 Try to wrap both codes into a while-loop Link to comment https://wrobot.eu/forums/topic/8785-dont-click-button/#findComment-40443 Share on other sites More sharing options...
FNV316 65 Posted March 1, 2018 Share Posted March 1, 2018 22 minutes ago, Mike-Mail said: It would be amazing if he told me what he is tryin to do so i can better asst him. True that Link to comment https://wrobot.eu/forums/topic/8785-dont-click-button/#findComment-40452 Share on other sites More sharing options...
FNV316 65 Posted March 1, 2018 Share Posted March 1, 2018 4 minutes ago, Mike-Mail said: if he was trying to buy something. I don't think he is trying to do that. More like clicking an gossip option. Link to comment https://wrobot.eu/forums/topic/8785-dont-click-button/#findComment-40455 Share on other sites More sharing options...
FNV316 65 Posted March 1, 2018 Share Posted March 1, 2018 17 minutes ago, Mike-Mail said: wManager.Wow.Helpers.Usefuls.SelectGossipOption(int gossipOption); wManager.Wow.Helpers.Usefuls.SelectGossipOption(GossipOptionsType gossipOption); Yeah. Just let him answer / ask again. Link to comment https://wrobot.eu/forums/topic/8785-dont-click-button/#findComment-40460 Share on other sites More sharing options...
FNV316 65 Posted March 1, 2018 Share Posted March 1, 2018 57 minutes ago, Mike-Mail said: true but there this other guy keep asking for help but when i ask for info he like "ill pay you to do it" he wants a profile for a instance. Well, that's some weird guy for sure. :) Link to comment https://wrobot.eu/forums/topic/8785-dont-click-button/#findComment-40467 Share on other sites More sharing options...
Hekp 0 Posted March 1, 2018 Author Share Posted March 1, 2018 when I want to pop up a sign about the change of hearthstone my character agreeing to that. i use create q profile. Link to comment https://wrobot.eu/forums/topic/8785-dont-click-button/#findComment-40484 Share on other sites More sharing options...
FNV316 65 Posted March 1, 2018 Share Posted March 1, 2018 (edited) var position = new Vector3(-8867.79f, 673.673f, 97.90382f); int npcEntryId = 6740; wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(position, npcEntryId); if(wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(position, npcEntryId)) { Usefuls.SelectGossipOption(1); System.Threading.Thread.Sleep(2000); wManager.Wow.Helpers.Lua.LuaDoString("ConfirmBinder()"); wManager.Wow.Helpers.Lua.LuaDoString("ConfirmBinder()"); wManager.Wow.Helpers.Lua.LuaDoString("ConfirmBinder()"); } It's vanilla code, but it should function with current WoW as well. Just alter the values. Edited March 1, 2018 by FNV316 Link to comment https://wrobot.eu/forums/topic/8785-dont-click-button/#findComment-40488 Share on other sites More sharing options...
Hekp 0 Posted March 2, 2018 Author Share Posted March 2, 2018 I did what you said with the changed values, but it still doesn't work for me. i work in EasyQuestsEditor choose the function RunCode in the field for writing: var position = new Vector3(2781.16, -432.997, 116.5811); int npcEntryId = 6738, wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(position, npcEntryId); if(wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(position, npcEntryId)) { Usefuls.SelectGossipOption(1); System.Threading.Thread.Sleep(2000); wManager.Wow.Helpers.Lua.LuaDoString("ConfirmBinder()"); wManager.Wow.Helpers.Lua.LuaDoString("ConfirmBinder()"); wManager.Wow.Helpers.Lua.LuaDoString("ConfirmBinder()"); } I creat vanila wow q profile. what is my mistake? I just want to do what would innKeeper to change the address of your hearthstone. sorry for my English Link to comment https://wrobot.eu/forums/topic/8785-dont-click-button/#findComment-40511 Share on other sites More sharing options...
FNV316 65 Posted March 2, 2018 Share Posted March 2, 2018 1 hour ago, Hekp said: I creat vanila wow q profile. what is my mistake? I just want to do what would innKeeper to change the address of your hearthstone. var position = new Vector3(2781.16f, -432.997f, 116.5811f); int npcEntryId = 6738; Link to comment https://wrobot.eu/forums/topic/8785-dont-click-button/#findComment-40517 Share on other sites More sharing options...
FNV316 65 Posted March 2, 2018 Share Posted March 2, 2018 [2] RunMacroLua > /click StaticPopup1Button1 Is not supported in vanilla Link to comment https://wrobot.eu/forums/topic/8785-dont-click-button/#findComment-40522 Share on other sites More sharing options...
Hekp 0 Posted March 2, 2018 Author Share Posted March 2, 2018 Thanks so much FNV316 . It works. Link to comment https://wrobot.eu/forums/topic/8785-dont-click-button/#findComment-40573 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