[0.15.6] Mod settings corruption
Posted: Wed May 03, 2017 2:44 pm
There is a bit random bug with mod settings that happens on mod enable/disable and/or save load.
To reproduce it you'll need files attached to this post (RSO mod, nanobots mod, test save file).
Steps to reproduce (might need to be repeated multiple times - not sure how many I needed around 5 tries or so):
1. Go to mod menu and toggle state of Nanobots mod.
2. Load test save file
3. Execute following command:
4. You will be teleported to place where big copper ore patch should be. If it's there - bug did not happen.
5. Repeat from start until bug happens.
When ore patch is not there going to mod settings menu for RSO shows this: Originally game was saved with default settings - on the screenshot resource chance, size and enemy base chance are changed and have different values.
Big thanks to staviq for doing a lot of testing and narrowing down above reproduction steps.
To reproduce it you'll need files attached to this post (RSO mod, nanobots mod, test save file).
Steps to reproduce (might need to be repeated multiple times - not sure how many I needed around 5 tries or so):
1. Go to mod menu and toggle state of Nanobots mod.
2. Load test save file
3. Execute following command:
Code: Select all
/c game.player.teleport({-1925, 3215})
5. Repeat from start until bug happens.
When ore patch is not there going to mod settings menu for RSO shows this: Originally game was saved with default settings - on the screenshot resource chance, size and enemy base chance are changed and have different values.
Big thanks to staviq for doing a lot of testing and narrowing down above reproduction steps.