Pudge 24 Posted March 26, 2020 Share Posted March 26, 2020 Hey. To quickly find errors in the profiles I use this code in the plugin to display the current profile name in the logs: wManager.Wow.Helpers.Quest.QuesterCurrentContext.ProfileName == "test.xml" I searched hard, but didn't find a similar code for the grinder..... something like Grinder.GrinderCurrentContext.ProfileName == "test.xml".... Does anyone know a similar method? The next code gives an error if product is not quester: Quester.Bot.QuesterSetting.CurrentSetting.ProfileName == "test.xml" Same code gives an error if product != grinder: Grinder.Bot.GrinderSetting.CurrentSetting.ProfileName == "test.xml" Link to comment https://wrobot.eu/forums/topic/11982-check-for-the-current-grinder-profile-name/ Share on other sites More sharing options...
TheSmokie 242 Posted March 27, 2020 Share Posted March 27, 2020 Should be able to use this Quester.Bot.QuesterSetting.CurrentSetting.ProfileName.String(); and it will get the name of the profile Link to comment https://wrobot.eu/forums/topic/11982-check-for-the-current-grinder-profile-name/#findComment-57255 Share on other sites More sharing options...
Pudge 24 Posted March 27, 2020 Author Share Posted March 27, 2020 I will try it thanks Link to comment https://wrobot.eu/forums/topic/11982-check-for-the-current-grinder-profile-name/#findComment-57258 Share on other sites More sharing options...
TheSmokie 242 Posted March 27, 2020 Share Posted March 27, 2020 Are you using String Questname = Quester.Bot.QuesterSetting.CurrentSetting.ProfileName.String(); Logging.Write(“quest : “ + Questname + “doing”); Link to comment https://wrobot.eu/forums/topic/11982-check-for-the-current-grinder-profile-name/#findComment-57259 Share on other sites More sharing options...
TheSmokie 242 Posted March 27, 2020 Share Posted March 27, 2020 I’m not at a computer so idk if it will work or not!, I’ll be home tomorrow! Link to comment https://wrobot.eu/forums/topic/11982-check-for-the-current-grinder-profile-name/#findComment-57260 Share on other sites More sharing options...
Ordush 185 Posted March 27, 2020 Share Posted March 27, 2020 Link to comment https://wrobot.eu/forums/topic/11982-check-for-the-current-grinder-profile-name/#findComment-57261 Share on other sites More sharing options...
Droidz 2738 Posted March 27, 2020 Share Posted March 27, 2020 Hello, I think it is because you need to preload dll: robotManager.Products.Products.LoadProductsWithoutInit(Others.GetCurrentDirectory + @"\Products\Grinder.dll").Initialize(); robotManager.Products.Products.LoadProductsWithoutInit(Others.GetCurrentDirectory + @"\Products\Quester.dll").Initialize(); Link to comment https://wrobot.eu/forums/topic/11982-check-for-the-current-grinder-profile-name/#findComment-57264 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