Factory Refitter


This mod automatically updates constraction with looking throw logistic network, with changes quality.

Utilities
3 days ago
2.0
224
Logistics Logistic network Manufacturing Storage Blueprints

b Bugs & Errors

23 days ago

Got this error
Error while running event factory_refitter::on_tick (ID 0)
depressdog_updater_lib/scripts/utils.lua:26: attempt to index global 'surface' (a nil value)
stack traceback:
depressdog_updater_lib/scripts/utils.lua:26: in function 'process'
factory_refitter/control.lua:5: in function <factory_refitter/control.lua:4>

I added the factorio-current.log - might help
https://pastebin.com/MLvguM6R

23 days ago

Got this error
Error while running event factory_refitter::on_tick (ID 0)
depressdog_updater_lib/scripts/utils.lua:26: attempt to index global 'surface' (a nil value)
stack traceback:
depressdog_updater_lib/scripts/utils.lua:26: in function 'process'
factory_refitter/control.lua:5: in function <factory_refitter/control.lua:4>

I added the factorio-current.log - might help
https://pastebin.com/MLvguM6R

Make update for this error, can you try it and say does this help with error?

22 days ago

No more errors (played a few hours). Thank you

22 days ago

No more errors (played a few hours). Thank you

Nice! Thank you for feedback)

22 days ago

Got this error trying to create a new game with base game, factory fitter and the library.

Error while running event factory_refitter::on_tick (ID 0)
Unknown quality name: uncommon
stack traceback:
[C]: in function 'find_entities_filtered'
depressdog_updater_lib/scripts/utils.lua:63: in function 'process'
factory_refitter/control.lua:5: in function <factory_refitter/control.lua:4>
114.394 Info AppManager.cpp:352: Deleting active scenario.
.
.
.
Found the problem: Forgot to activate the Quality
Maybe will be better to be added as a needed Dependency or be able to work without the quality

22 days ago

I cant pinpoint tis error to a certain time or action. it takes quite a while to get it
Error while running event factory_refitter::on_tick (ID 0)
depressdog_updater_lib/scripts/utils.lua:71: attempt to index field '?' (a nil value)
stack traceback:
depressdog_updater_lib/scripts/utils.lua:71: in function 'process'
factory_refitter/control.lua:5: in function <factory_refitter/control.lua:4>

https://pastebin.com/UceW6KXf

New response