riddickx5000 0 Posted August 29, 2017 Share Posted August 29, 2017 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. Link to comment https://wrobot.eu/forums/topic/6910-change-profile-in-a-plugin/ Share on other sites More sharing options...
Zoki 0 Posted August 30, 2017 Share Posted August 30, 2017 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. Link to comment https://wrobot.eu/forums/topic/6910-change-profile-in-a-plugin/#findComment-31370 Share on other sites More sharing options...
camelot10 155 Posted August 30, 2017 Share Posted August 30, 2017 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(); } Link to comment https://wrobot.eu/forums/topic/6910-change-profile-in-a-plugin/#findComment-31373 Share on other sites More sharing options...
riddickx5000 0 Posted August 30, 2017 Author Share Posted August 30, 2017 thanks a lot @camelot10 Link to comment https://wrobot.eu/forums/topic/6910-change-profile-in-a-plugin/#findComment-31375 Share on other sites More sharing options...
Zoki 0 Posted August 30, 2017 Share Posted August 30, 2017 What about Gatherer? Thanks. Link to comment https://wrobot.eu/forums/topic/6910-change-profile-in-a-plugin/#findComment-31378 Share on other sites More sharing options...
Droidz 2742 Posted August 31, 2017 Share Posted August 31, 2017 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) Link to comment https://wrobot.eu/forums/topic/6910-change-profile-in-a-plugin/#findComment-31413 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