Bronson 3 Posted March 18, 2017 Share Posted March 18, 2017 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 https://wrobot.eu/forums/topic/5417-change-fight-classload-pluginchanging-the-type-of-the-bot-in-questing-profile-using-code/ Share on other sites More sharing options...
Droidz 2738 Posted March 22, 2017 Share Posted March 22, 2017 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 Bronson, sith500, Serrec and 1 other 4 Link to comment https://wrobot.eu/forums/topic/5417-change-fight-classload-pluginchanging-the-type-of-the-bot-in-questing-profile-using-code/#findComment-25072 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