FNEI

by npo6ka

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

Utilities
15 days ago
0.15 - 2.0
308K

b Error when checking any recipes

6 years ago

Error while running event FNEI::on_gui_click (ID 1)
FNEI/utils/data_wrapper.lua:70: bad argument #1 to 'pairs' (table expected, got nil)

Same error pops on both vanillia recipes and modded ones.

Mod list:
"base",

"AfraidOfTheDark",

"angelsaddons-oresilos",

"angelsaddons-petrotrain",

"angelsaddons-pressuretanks",

"angelsaddons-warehouses",

"angelsbioprocessing",

"angelscomponents",

"angelsinfiniteores",

"angelslogistics",

"angelspetrochem",

"angelsrefining",

"angelssmelting",

"Bio_Industries",

"bobassembly",

"bobelectronics",

"bobenemies",

"bobgreenhouse",

"bobinserters",

"boblibrary",

"boblogistics",

"bobmining",

"bobmodules",

"bobores",

"bobplates",

"bobpower",

"bobrevamp",

"bobtech",

"bobvehicleequipment",

"bobwarfare",

"Bottleneck",

"bullet-trails",

"creative-mode-fix",

"Electric Furnaces",

"even-distribution",

"Factorissimo2",

"FNEI",

"Foreman",

"helmod",

"Laser_Beam_Turrets",

"LoaderRedux",

"LogisticTrainNetwork",

"Nanobots",

"ore-eraser",

"Power Armor MK3",

"research-queue",

"rso-mod",

"SpaceMod",

"Squeak Through",

"textplates",

"tree_collision",

"upgrade-planner",

"VehicleSnap",

"Waterfill_v15",

"YARM",
6 years ago

Thanks for your feedback. I will try to solve this problem.

6 years ago

Cheers mate

6 years ago

Strangely I put all your mods and got no error. Please describe in more detail your actions before receiving this error. I will add a check to this place, however this may cause incorrect display of the data.

6 years ago

Added checking to this place in 0.1.5 version. Check, please.

6 years ago

Yeah it happened whenever i tried to check recipe. Now its working. But whenever i try to check it with cheat mode on it doesnt show anything. Not dropping error and crashing my game tho.

Plus you can look into window scaling. https://imgur.com/MDBKRmd

6 years ago

I'll try to fix it

6 years ago

To be clear, it’s not the cheat mode that’s causing no recipes to show, it’s sandbox mode. Cheat mode in freeplay works fine, but sandbox without cheat mode does not.

6 years ago

Or, specifically, what’s causing the problem is specifically god mode.

6 years ago

Even more specifically, the problem is caused by the fact that the function CraftCategoty:get_crafting_category_list() (defined in utils/crafting_category_list.lua starting on line 11) returns an empty list if there is no player character.

6 years ago

Yes, I already thought that this could happen. I'll try to fix it.

6 years ago

Fixed in 0.1.6. Please check your problems.

New response