FNEI

by npo6ka

FNEI mod. All recipes for items and usage for them.

Utilities
a month ago
0.15 - 2.0
312K

g Crash when checking recipes (v0.1.1)

6 years ago

Description: Crash while checking recipes, see below.

Version of mod: 0.1.1

Other Mods used: angelsbioprocessing_0.5.4, angelspetrochem_0.7.6, angelsrefining_0.9.9, angelssmelting_0.4.3 and their dependencies. This provide the item and recipes I am looking after in the replication steps.

Replication steps:
1) Open FNEI, search for "Raw Vegetable Oil", right click on the fluid to show recipes which require said oil as input.
2) The recipe shown (1/2) is "VegetableOilFiltration1". Right click on the "Nutrient Pulp" result fluid to show recipes which take said fluid as input.
3) For me, the recipe shown is (3/3) "Biomass refining 3: Acetone, Ethanol, Buthane"
4) Click back button to return to the recipe shown at step (2)
5) Left click the "Nutrient Pulp" result fluid to show recipes which produce said fluid as result.
6) Observe crash, curse, reload save :D.

Log of crash:
767.680 Error MainLoop.cpp:1031: Exception at tick 43108753: Error while running event FNEI::on_gui_click (ID 1)
Gui element with name fnei_recipe_tech_bio-nutrient-paste already present in the parent element.
stack traceback:
FNEI/unsort/gui.lua:130: in function '?'
FNEI/unsort/gui.lua:107: in function 'add_gui_template'
FNEI/unsort/gui.lua:112: in function 'add_gui_template'
FNEI/unsort/gui.lua:112: in function 'add_gui_template'
FNEI/unsort/recipe_gui.lua:290: in function 'set_techs'
FNEI/unsort/recipe_controller.lua:87: in function 'draw_recipe'
FNEI/unsort/recipe_controller.lua:244: in function 'change_page_event'
FNEI/unsort/recipe_controller.lua:66: in function 'open_new_recipes'
FNEI/unsort/recipe_controller.lua:227: in function '?'
FNEI/unsort/custom_events.lua:55: in function 'invoke'
FNEI/unsort/events.lua:64: in function <FNEI/unsort/events.lua:61

Expected Result: Displays the requested recipes without crashing.

6 years ago

Crash still happens in v0.1.2, same replication steps, here is the log

109.806 Error MainLoop.cpp:1031: Exception at tick 43092876: Error while running event FNEI::on_gui_click (ID 1)
Gui element with name fnei_recipe_tech_bio-nutrient-paste already present in the parent element.
stack traceback:
FNEI/unsort/gui.lua:130: in function '?'
FNEI/unsort/gui.lua:107: in function 'add_gui_template'
FNEI/unsort/gui.lua:112: in function 'add_gui_template'
FNEI/unsort/gui.lua:112: in function 'add_gui_template'
FNEI/unsort/recipe_gui.lua:292: in function 'set_techs'
FNEI/unsort/recipe_controller.lua:87: in function 'draw_recipe'
FNEI/unsort/recipe_controller.lua:244: in function 'change_page_event'
FNEI/unsort/recipe_controller.lua:66: in function 'open_new_recipes'
FNEI/unsort/recipe_controller.lua:227: in function '?'
FNEI/unsort/custom_events.lua:55: in function 'invoke'
FNEI/unsort/events.lua:64: in function <FNEI/unsort/events.lua:61

6 years ago

Thanks for your feedback
I will try to eliminate this problem as soon as possible.

6 years ago

Fixed in 0.1.3.
The error was due to the fact that the angel mod adds 2 times the same recipe.

6 years ago

Hello, I can confirm is does not reproduce in 0.1.3. Thanks for the fast response and fix.

6 years ago

Thank you for helping to improve the mod.

New response