What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

GUI not saving settings if I add new spell...

Dagradt

Community Developer
Joined
Jul 26, 2010
Messages
1,423
Reaction score
43
Is there any reason why when I try to add a setting to my GUI (lets say use pestilence), if I do not add the spell when I add all the rest it will not work... In other words if I add a setting later it doesn't work. I made most of the settings a few days ago, they work fine, i tried to add a few today and they will not save (I run the bot > open CC config > change new spell settings > not saving...)

Thank you,
Dagradt
 
Well, do you save the settings properly?

If you have a property grid you can call Save from the property changed event.

Add some logging to your events and you should be able to see whenever they change.
 
@Geeekzor,

I am fairly positve I am doing it right, as the initial code works perfectly, it's just when I add a seeting that the new setting will not save. I will add some logging and see what is going on here.
 
have you tried to delete the old settings file and restart HB to let it create a fresh setting file?
 
@Weischbier,

I have not tried this, could it really be that simple?
 
Sometimes yes.
Else I could take a look at your code and maybe see something you don't.

greetz

Weischbier
 
@Weischier,

I will need to add the settings back in as I took the coding out (buttons are there though), I'll get back to you after I re-code the GUI
 
Back
Top