Cr4xy / noita-seed-tool

https://cr4xy.dev/noita/index.html
MIT License
28 stars 5 forks source link

Searched Seeds Counter #15

Closed Dextrome closed 2 years ago

Dextrome commented 2 years ago

I don't quite understand how the SEARCHED SEEDS counter works, it seems to be a lot higher than actual seeds searched?

The found seed numbers that match the search criteria always go up in numerical order. So why is the searched seed counter at 200 million, while the next found seed number only goes up by 35 million for example? (went from seed 134,545,678 to seed 170,246,436 while the search seed counter was already over 200 million)

Is the counter just broken or am I misinterpreting something?

Cr4xy commented 2 years ago

Thanks for the report! This is indeed a bug. The counting code is working fine for one thread, but for multiple cores the logic doesn't work. The value is basically off by some factor around the number of cores you have in your system.

Dextrome commented 2 years ago

nice, thanks for the fast fix :)