Oxygen Not Included

Oxygen Not Included

Darkness Not Excluded (fixed)
Space Darkness issue
Figured i would make this a post to better format it as well as keep it out of the comments.

First, i have no real knowledge on the coding language involved, but i do know about coding in general.

So for the issue, i thinks its less of a bug and more of a unintended overload.

Simply put the darkness effect is quite heavy on the game, and revealing that large of a tile amount causes a crash.

So the solution would be to have a different part of code run if the tile amount is greater then the crash number, or to change how the reveal is done.

I would recommend the changing how the reveal is done to reduce lag.

I personally suggest doing it over time, since i think it would be the easiest to implement.

Maybe make the reveals occur over like 10 seconds, either segmented, or a radial effect.
< >
Viser 1-6 af 6 kommentarer
Lost Dream(lilcan) 15. okt. 2023 kl. 11:47 
Just checked yea, the amount you reveals on a normal maps is almost double

like 14k tiles on the original and 9k tiles or so on spaced out. give you dont count the tiles in the red area, and give or take some for measurement mistakes.
scitor  [udvikler] 18. okt. 2023 kl. 7:07 
I don't think the amount of tiles is the actual problem. It reveals the whole map in debug mode no problem, it takes a second or two but it doesn't crash. The surface layer is not really that many cells.

I suspect some internal changes to game sim, since the same problem appears to crash "High Pump" now, even tho it didn't on earlier versions of the game. Somehow the "FloodFill" is not safe anymore. and I think its not because of too many tiles, it's because it loops over invalid/null tiles. I didn't look further into it as it's hard to debug and I don't know how to step-debug this.. maybe I'll find out at some point, I was rather hoping the author comes back until then :D
scitor  [udvikler] 18. okt. 2023 kl. 7:21 
The `GameUtil.FloodCollectCells` is an game method, it should return all the cells but this actually crashes. Didn't look too much into the filter yet, which could actually be the problem.
If you want to do this in batches you'd need to collect all the cells manually... maybe that could be the way to debug this, rewrite the method and check where it fails
Lost Dream(lilcan) 18. okt. 2023 kl. 9:54 
Denne kommentar afventer at blive analyseret af vores automatiske indholdskontrolsystem. Den er midlertidigt skjult, indtil vi bekræfter, at indholdet ikke er skadeligt (f.eks. links til websider, som forsøger at stjæle oplysninger).
scitor  [udvikler] 25. okt. 2023 kl. 9:45 
in case you didn't see, your last 2 msgs didn't go through, so idk...
currently I don't have time to investigate so for now this part just stays unmodded
Lost Dream(lilcan) 25. okt. 2023 kl. 14:38 
Showed it went through on my end, and the second was a bug it double posted the same message.

No worries, i just talked what could possibly be gibberish.
< >
Viser 1-6 af 6 kommentarer
Per side: 1530 50