Resource Spawner Overhaul

by orzelek

Overhauls resource spawning system.

21 days ago
0.14 - 1.1
135K

b fps lag, drops to 0.

1 year, 6 months ago

Good day.
Such a problem, I have a lot of mods, and during the game, often (~ 30 sec) fps drops to 0 occur. In the settings for displaying the load of mods (show-time-usage), the peak load on your mod is rso screen (https://ibb.co/Dr7YXs4 , https://ibb.co/3csNGhs). After disabling your rso mod, the game starts to work stably without fps drops. Do you have any ideas what could be causing this and how to fix it. Thank you for your work.
List of mods (https://pastebin.com/vuPhBnE0)

1 year, 6 months ago

Can you post the save somewhere?
Only way this can happens is I think when for some reason very big ore fields would generate or terrain would be generating very slowly.

1 year, 6 months ago
(updated 1 year, 6 months ago)

Thank you for your prompt response.
I use 600% on the size and wealth of all ores when generating the map, Shouldn't this have been done? If yes, what settings should be used? I just generated the map and these problems started right away, here is the save (https://dropmefiles.com/pBM15). card exchange line (https://pastebin.com/y8RXEbKd)

1 year, 6 months ago
(updated 1 year, 6 months ago)

I did a test, fps drops happen even on vanilla (at 600% size, 600% opulence), (at 600% size, 100% opulence) with your mod, at standard settings (only with rso mod) (100% , 100%) such fps drops don't happen. With the assembly of mods that I threw off, fps drops happen even with settings (100%, 100%). How can this be fixed? is it possible to pre-generate certain map sizes or reduce the load when generating objects other than reducing the size of the deposit so that there are no more such drops for a certain time? screenshots(https://ibb.co/cJz3sPP)

1 year, 6 months ago
(updated 1 year, 6 months ago)

At this point this can't be fixed easily.
When you increase size to extreme values amount of area to be processed per ore patch is getting much bigger.
You could try to drop RSO and use vanilla with similar settings since default generator is much faster.
RSO is not meant to be used with such high values of size. And making it work in small steps to process only few chunks per tick is a complete rewrit eof algorithm.

New response