Jump to content

The merits of being able to choose asteroid traits


Recommended Posts

4 minutes ago, mathmanican said:

If you need any other linux testing, feel free to ask.  Your seed browser is quite useful, and I'm happy to help out. Feel free to message if needed.

Thanks, I'll surely ask for help when it's ready for testing!

2 hours ago, mathmanican said:

If you need any other linux testing, feel free to ask.  Your seed browser is quite useful, and I'm happy to help out. Feel free to message if needed.

Could you test something for me?

Can you go to the traits folder and rename GeoDormant.yaml to Geodormant.yaml and then try the seed 11752 and see if it picks Geodes or Geodormant?

edit: It's going to be in this folder where you installed the game: OxygenNotIncluded\OxygenNotIncluded_Data\StreamingAssets\worldgen\traits

edit2:
I believe the unix just sorts the D before d which is causing this difference.

1 hour ago, Heister said:

I believe the unix just sorts the D before d which is causing this difference.

 

It looks like you're right about that.. the outcome is different when I rename the file. 


Before:

5d2e8f96c9df8_Capturedecran2019-07-16a22_56_52.png.3c9927d01bfcd3f12d4e7d973e4716f4.png

After : 

5d2e8f8a440fc_Capturedecran2019-07-16a22_57_53.png.5d448f583845f4d52d4d07cdeefcf39a.png

1 minute ago, Mariilyn said:

 

It looks like you're right about that.. the outcome is different when I rename the file. 

 


Yeah I though so, this is something Klei needs to fix if we are to be able to share seeds between the different OS's.

Meanwhile I updated my little app to differentiate between Windows and Unix machines, you select your OS and it should give the proper seed:
https://mrgamesdev.itch.io/oni-world-trait-finder

Android version will take a while to go live but the web version is OK.
Linux and Mac standalones I might create but will take a while, I really suffer when using these OS's :p

4 minutes ago, Mariilyn said:

It looks like you're right about that.. the outcome is different when I rename the file.

Same outcome on my machine.  Changing the name while ONI is open doesn't change anything, so the sorting appears to be done upon load of the game.

Just now, nessumo said:

@Cairath, that means... someone has case-insensitive Arch linux? o_O That is... strange! You should seriously talk with this guy, for his sake (-:

Nope! I had them test a couple of seeds but without those two traits. Later I had them test seeds with geodes and geodormant and they were switched as well. The initial test sample was too small :p

6 hours ago, Cairath said:

 if only everything else generates the same now

Did you notice other differences?

I don't think anything else should be different since they come from definitions inside the yaml files.

I wish I could figure out how they generate geysers/etc per seed so I could also count/filter them, but that wasn't anywhere obvious as the traits.

@Heister I haven't tested, I run on Windows only, but previously I've had reports that biome distribution was different (although geysers were the same), but what I was told is all I know - I can't personally confirm. Once I have a test version of TNI running I'll grab a few people to test.

23 hours ago, Heister said:


Yeah I though so, this is something Klei needs to fix if we are to be able to share seeds between the different OS's.

Meanwhile I updated my little app to differentiate between Windows and Unix machines, you select your OS and it should give the proper seed:
https://mrgamesdev.itch.io/oni-world-trait-finder

Android version will take a while to go live but the web version is OK.
Linux and Mac standalones I might create but will take a while, I really suffer when using these OS's :p

I love this tool.

EDIT: I can finally only roll asteroids with only Geoactive, Miscalculated Pod Location. I love those two mods...

On ‎16‎/‎07‎/‎2019 at 10:22 PM, Heister said:

But when reading the Mac/Linux files it's not ordering them the same way before getting traits randomly.

Isn't the list a tree being printed out left to right? As in, on a POSIXly system "ordering the results is up to the user"? All you have to do is figure out exactly how the tree looks like.

1 hour ago, Darkin Coaled said:

Isn't the list a tree being printed out left to right? As in, on a POSIXly system "ordering the results is up to the user"? All you have to do is figure out exactly how the tree looks like.

It's just a list of files, I guess the .net implementation to get files already handles the sorting by the filesystem.

The difference is that windows is not case-sensitive but the others are, so in Windows Geodes come before GeoDormant (D = d and e comes before o). But on the others is the opposite because D comes before d.

I already fixed my app to let you guys select your OS and it already handles this difference, it should find the proper seed for you whatever your OS is now ;)

10 hours ago, Heister said:

The difference is that windows is not case-sensitive but the others are, so in Windows Geodes come before GeoDormant (D = d and e comes before o). But on the others is the opposite because D comes before d.

That is simply derived from the ASCII table where capital letters are before lowercase letters and, of course, letters with different ASCII codes should be different, right? (MS does not agree....)

This does however confirm nicely that the order and number of these files does matter.

Another reason for this is that we won't get so punished for using traits added by mods.

When the player is unable to choose they are extremely punished by RNG for playing with modded traits since even one extra trait decreases your roll quality considerably.

I think currently there are 17 traits? Here's some low tier maths so feel free to correct me if my caveman math bad.

 

2 trait + 2 any: 1/(17*16) = 0.37%

2 trait + 2 avoid: 1/(17*16) * ((14/18)^2) = 0.22%

2 trait + 4 avoid: 1/(17*16) * ((12/18)^2) = 0.16%

3 trait + 1 any: 1/(17*16*15) = 0.025%

3 trait + 2 avoid: 1/(17*16*15) * 13/18 = 0.018%

3 trait + 4 avoid: 1/(17*16*15) * 11/18 = 0.015%

4 trait: 1/(17*16*15*14) = 0.0018%

 

Yup, the chances of rolling just a 3-trait combo is 1 out of 4080. Good luck!

 

On 7/14/2019 at 3:26 PM, Slvrsrfr said:

I really hope they just do this. There is no reason to not include it but to grief the people who will roll, imho.

This. The current design only benefits them while hurting the playerbase.

20 minutes ago, Gunhaver said:

Sorry if it's been asked: I know boulders can cover biomes, but can they overwrite set peices? That would be a trait I'd never consider!

Iirc PoI and geysers spawn later than boulders so they aren`t getting overriden. I think i remember seeing a geyser inside a boulder.

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...