79135 4 Posted November 26, 2018 Share Posted November 26, 2018 The code in the plugin, but don't work, just repeat 123 if (wManager.wManagerSetting.CurrentSetting.PluginsSettings.Any(p => !p.Actif && string.Equals(p.FileName, "file name.cs")) && _isLaunched && Products.IsStarted && Conditions.InGameAndConnectedAndProductStartedNotInPause && (Usefuls.ContinentId == (int)ContinentId.Northrend || Usefuls.ContinentId == (int)ContinentId.Expansion01 || Usefuls.ContinentId == (int)ContinentId.Kalimdor || Usefuls.ContinentId == (int)ContinentId.Azeroth)) { foreach (var p in wManager.wManagerSetting.CurrentSetting.PluginsSettings) { Logging.Write("123"); Thread.Sleep(1000); if (p.FileName == "SmoothMove.dll") p.Actif = true; } wManager.Plugin.PluginsManager.LoadAllPlugins(); } Link to comment Share on other sites More sharing options...
Matenia 625 Posted November 26, 2018 Share Posted November 26, 2018 I think you have to dispose all then load all, but I'm a new thread Link to comment Share on other sites More sharing options...
79135 4 Posted November 26, 2018 Author Share Posted November 26, 2018 Just example please). And in quester profile quest type "Kill and Loot" I can as the extract point route in to is complete condition? (return ObjectManager.Me.Position.DistanceTo(pointRoute) < 3; I think you have to dispose all then load all, but I'm a new thread Link to comment Share on other sites More sharing options...
Matenia 625 Posted November 26, 2018 Share Posted November 26, 2018 new System.Threading.Thread(() => { wManager.Plugin.PluginsManager.DisposeAllPlugins(); wManager.Plugin.PluginsManager.LoadAllPlugins(); }).Start(); 79135 1 Link to comment Share on other sites More sharing options...
79135 4 Posted November 26, 2018 Author Share Posted November 26, 2018 7 minutes ago, Matenia said: new System.Threading.Thread(() => { wManager.Plugin.PluginsManager.DisposeAllPlugins(); wManager.Plugin.PluginsManager.LoadAllPlugins(); }).Start(); Thanks) . How about quester profile, do you don't know? Link to comment 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