Saving the game resets all random number generators to the same (save-dependent) seeds every time, causing weird behaviour.
Issue #6360
duplicate
Saving the game resets all random number generators to the the various RandomSeed gamestates. This means that things like precognition or checkpoints cause weird issues with repeating RNG—checkpointing or using precognition before a random action will always result in a fixed outcome across one save. (It’s likely that loading the game does this as well.)
Checked using a prefix and postfix patch to generate random zones (using the same logic as SpaceTimeVortex).
XRLGame.SaveGame Pre:
- JoppaWorld.40.15.0.0.10
- JoppaWorld.48.15.2.0.10
- JoppaWorld.58.9.0.0.10
- JoppaWorld.51.7.1.2.10
- JoppaWorld.54.22.0.1.10
INFO - Saving game
INFO - Done Saving game in 1628ms
XRLGame.SaveGame Post:
- JoppaWorld.29.17.0.1.35
- JoppaWorld.6.3.1.1.10
- JoppaWorld.64.15.1.0.10
- JoppaWorld.60.15.1.2.10
- JoppaWorld.44.21.0.0.11
XRLGame.SaveGame Pre:
- JoppaWorld.55.13.1.1.10
- JoppaWorld.48.20.2.2.13
- JoppaWorld.74.9.1.1.19
- JoppaWorld.41.0.0.0.15
- JoppaWorld.47.16.0.0.14
INFO - Saving game
INFO - Done Saving game in 1208ms
XRLGame.SaveGame Post:
- JoppaWorld.29.17.0.1.35
- JoppaWorld.6.3.1.1.10
- JoppaWorld.64.15.1.0.10
- JoppaWorld.60.15.1.2.10
- JoppaWorld.44.21.0.0.11
This is the cause of #6359.
Comments (2)
-
-
- changed status to duplicate
Duplicate of
#6359. - Log in to comment
Ah looks like a partial bugfix from 2015, prior to which they were also serialized there.