Pulsar4xDevs / Pulsar4x

A Fan work recreation of Aurora4x in C#
Other
159 stars 67 forks source link

Fix procedural generation of random systems. #273

Open se5a opened 4 years ago

se5a commented 4 years ago

They should be using a pseudo random generator to create the systems, but I don't think the systems are coming out the same each time. Some work may need to be done to inspect the systems a bit easier (I think currently you may be able to hit escape and go into SM mode, then scroll the map all the way out, and select another system - if that's not broken) Tests should also be written to check that a seed will give the same result each time.

DifferentLevelDan commented 1 year ago

I believe procedural generation is working fine. CreateAndCheckDeterministic can and does create the same system twice. We do have issues with it because we're not checking 100% of the DataBlobs due to issue #381 , but it does check some and they create the same thing each time. I'd like to leave this open until we can confirm after issue #381 is resolved.