🌐Corrundum


This mod adds Corrundum, a planet centered around the chemistry of Sulfur.

Content
19 days ago
2.0
27.1K
Factorio: Space Age Icon Space Age Mod
Planets Environment Mining Fluids Manufacturing Storage

b remove lab - error

7 months ago

I have bug
The error occurred when I removed the lab, and then the associated gas pump installed in a tight lab on the planet Corundum.

This msg from error
https://pastebin.com/UTEeScMM

7 months ago

Weird. I had checked for the null case and handled cache invalidation. Did not test multiplayer. Error occurs because the game is trying to do an operation on an entity that doesn't exist. This is weird because I explicitly tested for this prior to line 82.

Does this keep happening every time you remove it? How many are you removing at once, by what method? I thought I covered all my bases, but it seems I missed an edge case.

If you can elaborate what steps you took I'll try to replicate the error.

If the issue still persists, remove the Control lua from all clients + server. Then delete the entities you want to. Then save. Then bring back the control lua.

7 months ago

Here's our save. Even in a single-player game, after saving the map from the server, the error is reproduced. Just delete the lab on the planet (it's next to the lake. I marked it there) (The file will be available for one week)

https://drive.google.com/file/d/1saDTXHBUMTt4g9d8wZLGKXzOzwcvcrYx/view?usp=sharing

7 months ago

Bug has been fixed. I was able to replicate the bug on my end. Its weird, my cache system worked perfectly until the game was updated but whatever.

There is a new bug that I can't seem to figure out - labs don't correctly get added to the cache system on placement and won't consume basic science. A temporary fix is to reset all caches every 2 minutes, which is fine but not optimal. I'll check out your save tonight.

7 months ago

Thanks for the report, I appreciate it. Hope you have been having fun.

7 months ago

Thank you. Now we will continue to build a base on Corundum. Have a nice day!