Factory Planner


This mod allows you to plan your production in advance, specifying the recipes and machines that make up each assembly line. It provides powerful features that are fast and intuitive to use, so you can focus on actually building your factory.

Utilities
4 months ago
0.17 - 1.1
209K

g [1.1.37] Crashes using matrix solver + pyaddons

2 years ago

Haven't yet had time to update to 1.1.1.38

When adding a new sublayer this error happened;

Error while running event factoryplanner::on_gui_click (ID 1)
factoryplanner/ui/elements/production_handler.lua:69: attempt to index local 'line' (a nil value)
stack traceback:
factoryplanner/ui/elements/production_handler.lua:69: in function 'handler'
factoryplanner/ui/event_handler.lua:176: in function <factoryplanner/ui/event_handler.lua:146>

Also received this error when retying to click on a byproduct to add something to consume it:

Error while running event factoryplanner::on_gui_click (ID 1)
factoryplanner/data/classes/Line.lua:51: attempt to index local 'self' (a nil value)
stack traceback:
factoryplanner/data/classes/Line.lua:51: in function 'get'
factoryplanner/ui/elements/production_handler.lua:388: in function 'handler'
factoryplanner/ui/event_handler.lua:176: in function <factoryplanner/ui/event_handler.lua:146>

I have saves for both

2 years ago

Hello, thanks for the report. I'd appreciate a save to reproduce this, since this kind of issue is hard to reproduce otherwise unfortunately.

2 years ago

2nd error:
https://forums.sufficientvelocity.com/data/1.1-pyaddons.zip
1st error:
https://forums.sufficientvelocity.com/data/1.1-pyaddons-2.zip

Repeatedly happens if you load as 'Xon1' and click around the newest factory planner build plans.

2 years ago

Thanks a lot for the saves, I'll have a look.

2 years ago

Another error, clicking on 'tin-chromeium alloy' on the last factory planner for the Xon1 user:
factoryplanner/ui/elements/item_boxes.lua:168: attempt to index local 'item' (a nil value)
stack traceback:
factoryplanner/ui/elements/item_boxes.lua:168: in function 'handler'
factoryplanner/ui/event_handler.lua:176: in function <factoryplanner/ui/event_handler.lua:146>

https://forums.sufficientvelocity.com/data/1.1-pyaddons-3.zip

1 year, 11 months ago

Thanks. FYI, I am not able to have a look at this until a week from now unfortunately, sorry about that.