ScripterQQ 89 Posted August 29, 2018 Share Posted August 29, 2018 Hello, I'm trying to create a simple Quester profiles that press few buttons on the game, I'm using mainly RunMacroLua. Step like "/target Dalaran Inkeeper" work good, also InteractUnit("target") (this one is RunLuaCode) The problem is after I targeted the NPC and I interact with it, I want the bot to press some buttons, which are basically a lua macro with "/click Button1" "/click Button2" and so on. For some reason, the bot cannot execute the commands and it stucks at the InteractUnit step, what am I missing? Thanks for any help ? Link to comment https://wrobot.eu/forums/topic/10015-runmacrolua-click-not-working/ Share on other sites More sharing options...
Runaro 160 Posted August 29, 2018 Share Posted August 29, 2018 17 minutes ago, ScripterQQ said: Hello, I'm trying to create a simple Quester profiles that press few buttons on the game, I'm using mainly RunMacroLua. Step like "/target Dalaran Inkeeper" work good, also InteractUnit("target") (this one is RunLuaCode) The problem is after I targeted the NPC and I interact with it, I want the bot to press some buttons, which are basically a lua macro with "/click Button1" "/click Button2" and so on. For some reason, the bot cannot execute the commands and it stucks at the InteractUnit step, what am I missing? Thanks for any help ? If you want to target and interact with a NPC and then also click some Buttons in the opened frame, then it's important to use sleeps between the commands. Example in the QuestSorted: <QuestsSorted Action="RunLuaCode" NameClass="InteractUnit("Lillith's Dinner Table")" /> <QuestsSorted Action="Wait" NameClass="1000" /> <QuestsSorted Action="RunMacroLua" NameClass="/click QuestFrameCompleteButton" /> <QuestsSorted Action="Wait" NameClass="1500" /> <QuestsSorted Action="RunMacroLua" NameClass="/click QuestFrameCompleteQuestButton" /> ScripterQQ 1 Link to comment https://wrobot.eu/forums/topic/10015-runmacrolua-click-not-working/#findComment-46974 Share on other sites More sharing options...
ScripterQQ 89 Posted August 30, 2018 Author Share Posted August 30, 2018 Thanks soo much! I was going crazy ? Works perfectly +++ Link to comment https://wrobot.eu/forums/topic/10015-runmacrolua-click-not-working/#findComment-46975 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