April 20, 20196 yr My bot is not pressing macros when he's dead, is there an option? I need macro: /script acceptRessurect()
April 20, 20196 yr Author Just now, Findeh said: Most likely you will have to do is as a plugin The problem is, vanilla doesnt support macros
April 20, 20196 yr Hello, use plugin like (no tested): using System.Threading; using robotManager.Products; using wManager.Plugin; using wManager.Wow.Helpers; using wManager.Wow.ObjectManager; public class Main : IPlugin { private bool _isLaunched; public void Initialize() { _isLaunched = true; while (_isLaunched && Products.IsStarted) { if (Conditions.InGameAndConnected && Conditions.ProductIsStartedNotInPause && ObjectManager.Me.IsDead) { Lua.LuaDoString("AcceptResurrect()"); Thread.Sleep(1000); } Thread.Sleep(150); } } public void Dispose() { _isLaunched = false; } public void Settings() { } }
April 20, 20196 yr Author Just now, Droidz said: Hello, use plugin like (no tested): using System.Threading; using robotManager.Products; using wManager.Plugin; using wManager.Wow.Helpers; using wManager.Wow.ObjectManager; public class Main : IPlugin { private bool _isLaunched; public void Initialize() { _isLaunched = true; while (_isLaunched && Products.IsStarted) { if (Conditions.InGameAndConnected && Conditions.ProductIsStartedNotInPause && ObjectManager.Me.IsDead) { Lua.LuaDoString("AcceptResurrect()"); Thread.Sleep(1000); } Thread.Sleep(150); } } public void Dispose() { _isLaunched = false; } public void Settings() { } } Hi, it works. but the problem is, I need to stop all other actions, even Release corpse on bot, All i need is just spam that AcceptRessurect forever, but bot writes "Idle" and do nothing, or if i use quester he ressurect himself, my another char cant cast Resurect on him cause he's non targetable anymore
April 20, 20196 yr using wManager.Wow.ObjectManager; public class Main : wManager.Plugin.IPlugin { public void Initialize() { robotManager.Events.FiniteStateMachineEvents.OnBeforeCheckIfNeedToRunState += (engine, state, cancelable) => { try { if (state is wManager.Wow.Bot.States.Resurrect) cancelable.Cancel = true; } catch { } }; } public void Dispose() { } public void Settings() { } }
April 20, 20196 yr Author Just now, Droidz said: using wManager.Wow.ObjectManager; public class Main : wManager.Plugin.IPlugin { public void Initialize() { robotManager.Events.FiniteStateMachineEvents.OnBeforeCheckIfNeedToRunState += (engine, state, cancelable) => { try { if (state is wManager.Wow.Bot.States.Resurrect) cancelable.Cancel = true; } catch { } }; } public void Dispose() { } public void Settings() { } } After first accept ressurect bot writes: Bot state: Idle
April 20, 20196 yr using robotManager.Helpful; using wManager.Wow.Enums; using wManager.Wow.Helpers; using wManager.Events; using wManager.Wow.ObjectManager; using System.Media; using System.Windows.Forms; using System; using System.Threading; public class Main : wManager.Plugin.IPlugin { private bool _isRunning; /* Code here runs when the plugin is enabled and the bot it started. */ public void Initialize() { _isRunning = true; Logging.Write("[SpirithealerFixer] Loaded."); SpirithealerAccept(); } public void SpirithealerAccept() { while (_isRunning) { try { if (ObjectManager.Me.HaveBuff(8326)) { Lua.LuaDoString("StaticPopup1Button1:Click()"); } } catch (Exception e) { Logging.WriteError(" ERROR: " + e); } Thread.Sleep(10); // Pause 10 ms to reduce the CPU usage. } } public void Dispose() { _isRunning = false; Logging.Write("[SpirithealerFixer] Stopped."); } public void Settings() { Logging.Write("[SpirithealerFixer] No settings."); } } I have the problem the Spirithealer rezzing is till today not working on Woltk, i made a plugin that spams the Accept button all day long if you have a dead debuff.https://wotlk.evowow.com/?spell=8326 i dont know if that works, but just change it for the dead buff in vanilla and you good to go. Hope i understand your usage correctly. Peace, Dreamful
April 21, 20196 yr 20 hours ago, maukor said: After first accept ressurect bot writes: Bot state: Idle Problem is probably in your profile, plugins change nothing about that
Create an account or sign in to comment