August 29, 20178 yr Hi, is there a possibility to change current profile in a plugin ? i couldn't find anything about profiles in the libs. thanks in advance.
August 30, 20178 yr I was looking for answer for a few weeks now, but no luck. Hope that someone will help us to find out how to load profiles via plugin or C#, especially for Gatherer and Quester.
August 30, 20178 yr use search wisely /// <summary> /// WARNING! PRODUCT RESTART, USE WITH CAUTION /// </summary> /// <param name="file"></param> public static void LoadProfile(string file) { Quester.Bot.QuesterSetting.CurrentSetting.ProfileName = file; robotManager.Products.Products.ProductRestart(); }
August 31, 20178 yr 15 hours ago, Zoki said: What about Gatherer? Thanks. Hello, public static void LoadProfile(string file) { Gatherer.Bot.GathererSetting.Load(); Gatherer.Bot.GathererSetting.CurrentSetting.ProfileName = file; Gatherer.Bot.GathererSetting.CurrentSetting.Save(); robotManager.Products.Products.ProductRestart(); } To change gatherer profiles you can also use https://wrobot.eu/forums/topic/1717-gatherer-advanced-profile-how-to-change-zone-after-leveltime/ (or Relogger)
Create an account or sign in to comment