Jump to content

Change fight class/load plugin/changing the type of the bot in questing profile using code


Bronson

Recommended Posts

Tell me please,  it is possible to implement these terms in the questing profile using code?

1) change fight class

2) to activate the plugin

3) changing the type of the bot (for example from quester to party)

Link to comment
Share on other sites


Hello,

1:

        wManager.wManagerSetting.CurrentSetting.CustomClass = "fdsfsd.xml";
        wManager.Wow.Helpers.CustomClass.DisposeCustomClass();
        Thread.Sleep(1000);
        wManager.Wow.Helpers.CustomClass.LoadCustomClass();

2: 

wManager.Plugin.PluginsManager.DisposeAllPlugins();
foreach (var p in wManager.wManagerSetting.CurrentSetting.PluginsSettings)
{
    if (p.FileName == "myplugin.cs")
    p.Actif = true;
}
wManager.Plugin.PluginsManager.LoadAllPlugins();

(but you can run c# code in your quest profile, it is better way http://wrobot.eu/forums/topic/5272-new-script-node-in-quester-profiles/#comment-24318

3: You cannot

Link to comment
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...