Oxygen Not Included

Oxygen Not Included

Darkness Not Excluded (fixed)
Lost Dream(lilcan) 2023년 10월 15일 오전 11시 37분
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.
< >
전체 댓글 6개 중 1~6개 표시 중
Lost Dream(lilcan) 2023년 10월 15일 오전 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  [개발자] 2023년 10월 18일 오전 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  [개발자] 2023년 10월 18일 오전 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) 2023년 10월 18일 오전 9시 54분 
이 댓글은 자동화된 콘텐츠 확인 시스템의 분석을 기다리고 있습니다. 정보 도용을 위한 웹사이트 링크와 같이 유해한 콘텐츠가 포함되어 있지 않은 것으로 확인될 때까지, 일시적으로 숨김 처리됩니다.
scitor  [개발자] 2023년 10월 25일 오전 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) 2023년 10월 25일 오후 2시 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.
< >
전체 댓글 6개 중 1~6개 표시 중
페이지당 표시 개수: 1530 50