Quality Control

by raley

Assemblers and furnaces earn quality upgrades for the entire factory.

Content
5 hours ago
2.0
642
Factorio: Space Age Icon Space Age Mod
Logistic network Manufacturing Cheats

b [Fixed] Crash

a month ago

Game crashes on ongoing save (58 hrs, 180+ mods) in a ~minute after loading.

Error log

The mod Quality Control (1.2.0) caused a non-recoverable error.
Please report this error to the mod author.

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:222: in function 'attempt_quality_change'
quality-control/scripts/core.lua:278: in function 'process_quality_attempts'
quality-control/scripts/core.lua:371: in function <quality-control/scripts/core.lua:296>

a month ago

Thanks for the bug report! And sorry about the error. I'm taking a look and will hopefully have a patch out soon.

a month ago

No worries, bugs are part of the journey!
Take your time!

a month ago
(updated a month ago)

Thanks for the kind words!

The patch is out, please let me know if you run into any other issues. This would have impacted other players so I'm really happy you reported it so fast.

Edit: I just realized that while I fixed one way this crash happens, there may still be another occurrence. You may still run into the issue, so I'd wait to re-enable this mod until the next version comes out (1.2.2)

a month ago

Ok, should be fully fixed in version 1.2.2. I added several safety checks during processing to be certain.

Please let me know if you run into any other issues!

a month ago
(updated a month ago)

So, in SP it plays smooth as butter.
Very satisfying to see all the entities are upgrading in 66+ hours save.
No lag,

But, unfortunately, in MP my wife (the client) see this pop-up:

Cannot join. The following mod event handlers are not identical between you and the server. This indicates that the following mods are not multiplayer (save/load) safe. (See the log file for more details):
mod-quality-control

We also tried a new game - same result. So, this mod is Single player only atm.
Personally, I don't remember this error at all in my ~2k hours.
Your mod is a real magic x))

PS Here is game's log, related to the topic. Hope it can help.
https://pastebin.com/t3gja915

a month ago

Thank you so much!

Those logs are fascinating. I’ll need to read up on what’s needed for multiplayer. I was hoping it would just work >.<

a month ago

True! Wish it will be not much pain to fix - mod is sick!

a month ago

Hi hi!

I pushed out a change that I hope will fix the multiplayer issue; but I'm not 100% confident as I wasn't able to test using two different players and computers. If you have time to try it out again I would appreciate it!

a month ago

Yeap, its working flawless now! Thank you!

a month ago

Yay! I'm so happy to hear that!

New response