Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
March 01, 2025, 02:43:23 am
News:
If you can't login, please
contact us
with your username and e-mail so we can fix it.
Home
Help
Search
Calendar
Login
Register
OpenXcom Forum
»
OpenXcom Forks
»
OpenXcom Extended (OXCE)
»
OXCE Bugs
»
OXCE Bugs FIXED
»
[FIXED] Loading game changes RNG seed
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: [FIXED] Loading game changes RNG seed (Read 308 times)
Delian
Commander
Posts: 645
[FIXED] Loading game changes RNG seed
«
on:
February 12, 2025, 11:16:08 pm »
I have Options > OXC > "Save scumming" set to "No"
However, this can be bypassed simply through the act of saving and loading the battle game.
In other words, every time you save and load the battle battle, the RNG seed changes, even if you didn't do anything.
https://github.com/MeridianOXC/OpenXcom/blob/6b3ec872504b6ff7fc076ab0922c07ad32e5375a/src/Savegame/SavedBattleGame.cpp#L3372
This RNG call should be seedless.
Logged
Meridian
Global Moderator
Commander
Posts: 9393
Re: Loading game changes RNG seed
«
Reply #1 on:
February 12, 2025, 11:25:19 pm »
Nice catch.
I'll make it seedless.
«
Last Edit: February 12, 2025, 11:35:42 pm by Meridian
»
Logged
Meridian
Global Moderator
Commander
Posts: 9393
Re: [FIXED] Loading game changes RNG seed
«
Reply #2 on:
February 14, 2025, 05:58:02 pm »
Fixed.
https://github.com/MeridianOXC/OpenXcom/commit/6e42e034fae60f208d405fd36847458085086a1b
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
OpenXcom Forum
»
OpenXcom Forks
»
OpenXcom Extended (OXCE)
»
OXCE Bugs
»
OXCE Bugs FIXED
»
[FIXED] Loading game changes RNG seed