Randomized universe in single player game broken
Moderator: Committer
Randomized universe in single player game broken
Hi there,
i noticed today that starting a random single player game is not random anymore. It always starts with the same universe.
Regards
i noticed today that starting a random single player game is not random anymore. It always starts with the same universe.
Regards
Re: Randomized universe in single player game broken
It's working fine for me:
- Set seed to random (clicking on the dice button) and start game.
- Check out visible galaxy and leave game.
- Quickstart, check out visible galaxy (it is different from previous one), rinse and repeat.
- Set seed to random (clicking on the dice button) and start game.
- Check out visible galaxy and leave game.
- Quickstart, check out visible galaxy (it is different from previous one), rinse and repeat.
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: Randomized universe in single player game broken
What versions are you both using?
gonse, what is your process for "starting a random single player game"?
gonse, what is your process for "starting a random single player game"?
Re: Randomized universe in single player game broken
Latest weekly test build 613c260
It also worked fine for me in all previous versions.
It also worked fine for me in all previous versions.
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: Randomized universe in single player game broken
There is a bug in the recently-reworked random generation code, which should be easy to fix... See if you can spot the problem? https://github.com/freeorion/freeorion/ ... pp#L32-L40
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: Randomized universe in single player game broken
Code: Select all
if (min <= max)
return min;
Re: Randomized universe in single player game broken
Re: Randomized universe in single player game broken
Hi there,
problem is solved in:
Building v0.4.10+ build 2020-06-13.ed213fb
Regards
problem is solved in:
Building v0.4.10+ build 2020-06-13.ed213fb
Regards