View Issue Details

IDProjectCategoryLast Update
0026706AI War 2Bug - GameplayMar 16, 2022 4:56 pm
ReporterTim_Fragmagnet Assigned ToChris_McElligottPark  
Severityminor 
Status resolvedResolutionfixed 
Product Version4.004 Easy There, Hack Response 
Fixed in Version4.006 Careful Of That Federation! 
Summary0026706: Outguard randomization broken
DescriptionFor me, starting the game, then starting an 80 planet save
the outguard will always be

hyperion/cornucopia
war siegers/shredders
automated firesupport/breachers
archivist/sabre company
recycling industries/hydral lobbyist

if you go back to the main menu and then start a new save, they will be randomized

if you close and reopen the game, start a new 80 planet save
the outguard will be

hyperion/cornucopia
war siegers/shredders
automated firesupport/breachers
archivist/sabre company
recycling industries/hydral lobbyist


I have done this 5 times in a row without fail.

The outguard choices put into the first save created since launching the game will always be the same.

I'm not sure if they will be the same choices for other people, but those other people will likely see their same choices in this situation as well.
TagsNo tags attached.

Activities

StarKelp

Mar 11, 2022 10:38 pm

developer   ~0065388

Last edited: Mar 11, 2022 10:49 pm

Notice: I have reproduced this, including with different seeds. It is possible to randomize them the first time by randomizing the seed put into the internal RandomToUse, but I'm unsure of the consequences of this, and why the map seed isn't being applied before Outguards are being seeded.

In ArcenHostOnlySimContext:

Old: protected readonly MersenneTwister RandomForHostOnly = new MersenneTwister( 1 );

New: protected readonly MersenneTwister RandomForHostOnly = new MersenneTwister( anything but 1 );

Chris_McElligottPark

Mar 16, 2022 4:56 pm

administrator   ~0065478

Thanks!

* I was unable to duplicate things being unsuitably unrandom (the outguard were always different for me no matter how many I generated in a row), but I've now put in place a default state for our random (MersenneTwister) so that if it is in the default state (indcated by -17), it will pull a random seed from the central RNG before generating values.
** This should stop any form of stale generation that happens for whatever reason, even though it wasn't something I could personally duplicate.

Issue History

Date Modified Username Field Change
Mar 11, 2022 10:27 pm Tim_Fragmagnet New Issue
Mar 11, 2022 10:28 pm Tim_Fragmagnet Description Updated
Mar 11, 2022 10:31 pm Tim_Fragmagnet Description Updated
Mar 11, 2022 10:38 pm StarKelp Note Added: 0065388
Mar 11, 2022 10:49 pm StarKelp Note Edited: 0065388
Mar 16, 2022 4:56 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Mar 16, 2022 4:56 pm Chris_McElligottPark Status new => resolved
Mar 16, 2022 4:56 pm Chris_McElligottPark Resolution open => fixed
Mar 16, 2022 4:56 pm Chris_McElligottPark Fixed in Version => 4.006 Careful Of That Federation!
Mar 16, 2022 4:56 pm Chris_McElligottPark Note Added: 0065478