Heidan 0 Posted November 6, 2023 Share Posted November 6, 2023 I want to make a tailor's item. In the chat of the game, the macro works and makes an item. The bot does not prepare the item. Please tell me what is the problem? Macro Craft.xml Link to comment https://wrobot.eu/forums/topic/15350-the-craft-macro-doesnt-work/ Share on other sites More sharing options...
Heidan 0 Posted November 7, 2023 Author Share Posted November 7, 2023 Sorry, I added the wrong file. Fixed Link to comment https://wrobot.eu/forums/topic/15350-the-craft-macro-doesnt-work/#findComment-68975 Share on other sites More sharing options...
Heidan 0 Posted November 7, 2023 Author Share Posted November 7, 2023 I was able to make the macro work through a saved macro in the game under the key and pressing the bot key. It doesn't work in other ways. robotManager.Helpful.Keyboard.DownKey(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, System.Windows.Forms.Keys.Y); System.Threading.Thread.Sleep(1000); robotManager.Helpful.Keyboard.UpKey(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, System.Windows.Forms.Keys.Y); Link to comment https://wrobot.eu/forums/topic/15350-the-craft-macro-doesnt-work/#findComment-68976 Share on other sites More sharing options...
Matenia 628 Posted November 8, 2023 Share Posted November 8, 2023 It's probably because it's protected if you run it via Macro - at least it needs a keypress. You should use RunLua and remove the /run part of the macro, the rest after it is pure Lua anyway. No need to put this in 2 steps either, the other part (again, no /run or /script needed) should just go at the end of your existing Lua code Link to comment https://wrobot.eu/forums/topic/15350-the-craft-macro-doesnt-work/#findComment-68978 Share on other sites More sharing options...
Heidan 0 Posted November 8, 2023 Author Share Posted November 8, 2023 5 hours ago, Matenia said: It's probably because it's protected if you run it via Macro - at least it needs a keypress. You should use RunLua and remove the /run part of the macro, the rest after it is pure Lua anyway. No need to put this in 2 steps either, the other part (again, no /run or /script needed) should just go at the end of your existing Lua code Thank you it works Link to comment https://wrobot.eu/forums/topic/15350-the-craft-macro-doesnt-work/#findComment-68981 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