You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After messing around with the code I’ve noticed if making a setting in a pre-existing module will result in a game crash leaving me to having to delete the config so the config will be generated with the Boolean setting and not crash. I’ve noticed that if I do continue to change version numbers for my public releases the users won’t notice this but, this would lead them to getting a config that has been reset every next update. Also I’ve noticed it does slow me down in testing it in my ide. I have just made the config reset/generate on launch for easy testing so this config doesn’t slow me down much. Is there anyway to make the client not have this problem when having new settings/hacks? Possibly once the client start it checks if it needs to write any new hacks/settings to the config. I tried to do this but failed because of my lack of java skill.
The text was updated successfully, but these errors were encountered:
It is should to make a function that will be called before loading data from the config. It will compare the hacks that are in the config with those that your client downloaded, if hack not found, add new lines to the config. Thanks you for issue. It will be fixed in the next update.
After messing around with the code I’ve noticed if making a setting in a pre-existing module will result in a game crash leaving me to having to delete the config so the config will be generated with the Boolean setting and not crash. I’ve noticed that if I do continue to change version numbers for my public releases the users won’t notice this but, this would lead them to getting a config that has been reset every next update. Also I’ve noticed it does slow me down in testing it in my ide. I have just made the config reset/generate on launch for easy testing so this config doesn’t slow me down much. Is there anyway to make the client not have this problem when having new settings/hacks? Possibly once the client start it checks if it needs to write any new hacks/settings to the config. I tried to do this but failed because of my lack of java skill.
The text was updated successfully, but these errors were encountered: