Quality Control

by raley

Assemblers and furnaces earn quality upgrades for the entire factory.

Content
2 hours ago
2.0
628
Factorio: Space Age Icon Space Age Mod
Logistic network Manufacturing Cheats

b [Fixed] Crash

a month ago

The game crashes after a few seconds of playing.

Error while running event quality-control::on_nth_tick(1)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'index'
__quality-control
/scripts/core.lua:240: in function 'attempt_quality_change'
quality-control/scripts/core.lua:267: in function 'process_quality_attempts'
quality-control/scripts/core.lua:351: in function <quality-control/scripts/core.lua:284>

a month ago

Thanks! I'm looking into it now.

a month ago

A couple quick questions, were you using version 1.2.1 of the mod?
And was this on an existing save or new game?

I'm not able to replicate the bug, and while I think I have a fix for it, it's hard to tell. If you have a way to share the save game file I could make sure the fix will work before posting it.

a month ago

Thank you so much!

This will be a huge help. It's safe to remove the file now if you don't want to leave it online.

a month ago

Ok, this should be fully fixed in version 1.2.2

Please let me know if you run into any other problems.

a month ago

Another error on the same save.

Error while running event quality-control::on_nth_tick(1)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'index'
__quality-control
/scripts/core.lua:277: in function 'attempt_quality_change'
quality-control/scripts/core.lua:315: in function 'process_quality_attempts'
quality-control/scripts/core.lua:403: in function <quality-control/scripts/core.lua:337>

a month ago

Wow, I ran this for hours yesterday and couldn’t get it to fail. Sorry, will take another look in a few hours.

a month ago

Ok, version 1.2.3 should have patched the specific bug in the error message. I tested a few scenarios that triggered the issue before the patch, and they were good afterward.

I played the save you shared for a few minutes and didn't see any crashes. I have found that some modded items don't upgrade well, and the random nature of how the upgrades work can make it hard to identify which one is a problem. Please let me know if you run into any other issues?

Thanks for your patience!

New response