Jump to content

Recommended Posts

     // off before quest
        wManager.wManagerSetting.CurrentSetting.MyMacro1.Actif = false;
        wManager.wManagerSetting.CurrentSetting.MyMacro2.Actif = false;
        wManager.wManagerSetting.CurrentSetting.MyMacro3.Actif = false; //4 5 6 etc

 

        //on after quest
        wManager.wManagerSetting.CurrentSetting.MyMacro1.Actif = true;
        wManager.wManagerSetting.CurrentSetting.MyMacro2.Actif = true;
        wManager.wManagerSetting.CurrentSetting.MyMacro3.Actif = true; //4 5 6 etc

Use Runcode before and after quest, where u need off macros. Shoud work

Link to comment
https://wrobot.eu/forums/topic/12551-ignore-macros/#findComment-60117
Share on other sites

instead of using macros with turn off, turn on (your gonna get some errors no matter what,) use this template for make your own plugin

using robotManager.Helpful;
using robotManager.Products;
using System;
using System.Threading;
using System.Windows.Forms;
using wManager.Plugin;
using wManager.Wow.Helpers;
using wManager.Wow.ObjectManager;

public class Main : IPlugin
{
    bool Launched;
	int timer = 1000;
	string PluginName = "[Plugin]: ";

    public void Initialize()
    {
        Launched = true;
		while (Launched && Products.IsStarted)
		{
			try
			{
				if (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause)
				{
					
					if (!ObjectManager.Me.InCombat && !ObjectManager.Me.IsDead)
					{
						Lua.RunMacroText("Code here");

					}
					
				}
			}
			catch (Exception e)
			{
				Logging.WriteError(PluginName + "there was an error: " + e);
			}
			Thread.Sleep(timer);
		}
	}

    public void Dispose()
    {
        Launched = false;
    }

    public void Settings()
    {
		MessageBox.Show(PluginName + "There are no settings.");
    }
}

 

Link to comment
https://wrobot.eu/forums/topic/12551-ignore-macros/#findComment-60118
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...