Crash when specifying quantity of ingredient
Opened this issue · 2 comments
ahp378 commented
Problem Description
The mod Factory Planner (1.1.78) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event factoryplanner::Custom event (ID 213)
__factoryplanner__/ui/main/production_handler.lua:220: attempt to perform arithmetic on field 'percentage' (a nil value)
stack traceback:
__factoryplanner__/ui/main/production_handler.lua:220: in function '?'
__factoryplanner__/ui/dialogs/generic_dialogs.lua:211: in function 'dialog_close'
__factoryplanner__/ui/base/modal_dialog.lua:187: in function 'exit'
__factoryplanner__/ui/event_handler.lua:216: in function <__factoryplanner__/ui/event_handler.lua:189>
[C]: in function 'raise_event'
__factoryplanner__/util/raise.lua:27: in function 'close_dialog'
__factoryplanner__/ui/base/modal_dialog.lua:285: in function 'handler'
__factoryplanner__/ui/event_handler.lua:157: in function <__factoryplanner__/ui/event_handler.lua:114>
stack traceback:
[C]: in function 'raise_event'
__factoryplanner__/util/raise.lua:27: in function 'close_dialog'
__factoryplanner__/ui/base/modal_dialog.lua:285: in function 'handler'
__factoryplanner__/ui/event_handler.lua:157: in function <__factoryplanner__/ui/event_handler.lua:114>
Reproduction
While attempting to specify a manual value for a recipe ingredient, a crash occurs.
Other mods installed:
Afraid of the Dark
Better Roboport
Bottleneck
Constructoin Planner
Expand Tooltip
Factorio Library
Factorio Reach
Factory Planner
Infinite Technologies
LTN - Logistic Train Network
Rate Calculator
Squeak Through
Text Plates
Train Log
VehicleSnap
Waterfill
Aghanimoff commented
Same problem (version 1.1.78)
Recording.2024-02-11.152655.mp4
Windsinger1985 commented
Same problem, Bobs mod, adjusting the value of a product crashed it now a few times.
[EDIT]
Found a way to replicate it now,
- Click on a recipe to go to level 2. and setup some extra steps with ingredients.
- Go back to level 1 and click on products and adjust the value. --> Crash
- If there is no nested level, it will not crash.. but if there is. you can prevent the crash only if you adjust the amount on the level 2.