Pre values not retained after reboot
alexgeek opened this issue ยท 12 comments
I just spent a while setting pre values for various items such as certus quartz and botania flowers and petals. I expected the values for these items and those crafted with the items to be calculated on rebooting the server. However none of the values were retained on reboot.
I found a reddit thread that suggested the sync command but still the values were lost on reboot.
Well as far as I know both commands should run server-side. The global flags set the values instance wide (in the config) and the other two does it for the world you're in.
Can you check please the folder [server dir]/[world name]/data/ee3/energyvalues
and post here its contents?
Do you need all of them? This is the pre values JSON file: http://pastebin.com/vCAN4r0W
Is it due to the damage values?
I was using the /ee3 command as a player (as opposed to from the server console).
Well I meant the content of the directory as file names. Regardless the values are still there, but they are not being used for some reason. The file is called pre-calculation-energy-values.json
right?
No its called pre-assigned-energy-values.json.
The directory contains the following files:
9f8f2fab15c1e95edec21a7c8f944ce7.json.gz, post-assigned-energy-values.json, energy-values.json.gz, pre-assigned-energy-values.json.
I think the last bit of information I'll need to make sure is your config settings and logs, but before you do that, I want you to change two things in the config.
- Set
B:debug.logTraceToInfo
totrue
. - Set
S:energyvalues.regenerateEnergyValuesWhen
toAlways
.
Then check the values again, if nothing changed please send my the log file (after you entered the world).
Ah that seems to have worked. I guess the energy values were not being recalculated as the mod list hadn't changed.
Since it doesn't take a great deal of time to calculate the values, shouldn't the config default be Always?
It actually is in the current code-base, that's why I assumed you had it that way, should have asked :|