Burner Assembling Machine


This mod adds a burner assembling machine equivalent to an assembling machine 1 but more restricted.

Content
2 years ago
0.17 - 1.1
447
Manufacturing

b Mod conflict

2 years ago
(updated 2 years ago)

Conflict with Bot Servicing mod (https://mods.factorio.com/mod/Bot_Servicing):

Mods to disable:Failed to load mods: __BurnerAssemblingMachine__/prototypes/recipes-fixes.lua:50: attempt to index field 'normal' (a boolean value)
stack traceback:
    __BurnerAssemblingMachine__/prototypes/recipes-fixes.lua:50: in function 'check_ingredients'
    __BurnerAssemblingMachine__/prototypes/recipes-fixes.lua:109: in main chunk
    [C]: in function 'require'
    __BurnerAssemblingMachine__/data-final-fixes.lua:1: in main chunk

Mods to be disabled:
• BurnerAssemblingMachine (0.3.7)

This occurs with only these two mods enabled.

EDIT: Did some digging, and this is because recipe.normal can be set to false (a boolean value) if the recipe is only valid in expensive mode. You'll need to include a check for that.

EDIT2: Simply changing the referenced line in the error message to the below fixes it:

elseif recipe.normal and recipe.normal.ingredients then
2 years ago

I've believe I've adjusted it correctly. Let me know if there's any more issues. Version 0.38 has been uploaded.

2 years ago

They both load together successfully now. Thanks!

2 years ago
(updated 2 years ago)

not able to load mod

0.004 2022-08-12 13:53:50; Factorio 1.1.61 (build 59839, win64, steam)
...
0.759 Loading mod settings YARM 0.8.207 (settings.lua)
0.760 Loading mod settings AutoDeconstruct 0.3.3 (settings.lua)
0.760 Loading mod settings autodrive 1.1.2 (settings.lua)
0.761 Loading mod settings flib 0.10.1 (settings.lua)
0.761 Loading mod settings inventory-repair 19.1.0 (settings.lua)
0.762 Loading mod settings NoHandCrafting 1.0.12 (settings.lua)
0.762 Loading mod settings RealisticFlashlight 0.2.4 (settings.lua)
0.762 Loading mod settings Solar-Lamp 0.2.0 (settings.lua)
0.763 Loading mod settings train-trails 0.0.10 (settings.lua)
0.763 Loading mod settings BottleneckLite 1.2.3 (settings.lua)
0.764 Loading mod settings factoryplanner 1.1.51 (settings.lua)
0.766 Loading mod settings AutoDeconstruct 0.3.3 (settings-final-fixes.lua)
0.772 Loading mod core 0.0.0 (data.lua)
0.887 Loading mod base 1.1.61 (data.lua)
1.364 Loading mod YARM 0.8.207 (data.lua)
1.388 Loading mod AF-Infinite-Technology 1.0.5 (data.lua)
1.407 Loading mod air-filtering 0.8.3 (data.lua)
1.426 Loading mod autodrive 1.1.2 (data.lua)
1.445 Loading mod BurnerAssemblingMachine 0.3.8 (data.lua)
1.469 Loading mod CharcoalBurner 1.19.29 (data.lua)
1.491 Loading mod flib 0.10.1 (data.lua)
1.513 Loading mod NoHandCrafting 1.0.12 (data.lua)
1.532 Loading mod NotsosimpleWood 0.0.2 (data.lua)
1.551 Loading mod OilPower 1.0.0 (data.lua)
1.574 Loading mod RealisticFlashlight 0.2.4 (data.lua)
1.593 Loading mod Solar-Lamp 0.2.0 (data.lua)
1.615 Loading mod train-trails 0.0.10 (data.lua)
1.637 Loading mod TreeSaplings-Revisted-RevivePatch 0.3.3 (data.lua)
1.662 Loading mod un-burner-gen 1.0.0 (data.lua)
1.683 Loading mod Wood_Gasification 3.1.0 (data.lua)
1.705 Loading mod factoryplanner 1.1.51 (data.lua)
1.735 Loading mod base 1.1.61 (data-updates.lua)
1.775 Loading mod autodrive 1.1.2 (data-updates.lua)
1.807 Loading mod CharcoalBurner 1.19.29 (data-updates.lua)
1.826 Loading mod inventory-repair 19.1.0 (data-updates.lua)
1.844 Loading mod TreeSaplings-Revisted-RevivePatch 0.3.3 (data-updates.lua)
1.846 Script @__TreeSaplings-Revisted-RevivePatch__/data-updates.lua:8: Enabled prod for ammonia
1.846 Script @__TreeSaplings-Revisted-RevivePatch__/data-updates.lua:8: Enabled prod for ammonia
1.846 Script @__TreeSaplings-Revisted-RevivePatch__/data-updates.lua:8: Enabled prod for ammonia
1.846 Script @__TreeSaplings-Revisted-RevivePatch__/data-updates.lua:8: Enabled prod for nitric-acid
1.846 Script @__TreeSaplings-Revisted-RevivePatch__/data-updates.lua:8: Enabled prod for nitric-acid
1.846 Script @__TreeSaplings-Revisted-RevivePatch__/data-updates.lua:8: Enabled prod for nitric-acid
1.846 Script @__TreeSaplings-Revisted-RevivePatch__/data-updates.lua:8: Enabled prod for sapling
1.847 Script @__TreeSaplings-Revisted-RevivePatch__/data-updates.lua:8: Enabled prod for sapling
1.847 Script @__TreeSaplings-Revisted-RevivePatch__/data-updates.lua:8: Enabled prod for sapling
1.847 Script @__TreeSaplings-Revisted-RevivePatch__/data-updates.lua:8: Enabled prod for ammonium-nitrate
1.847 Script @__TreeSaplings-Revisted-RevivePatch__/data-updates.lua:8: Enabled prod for ammonium-nitrate
1.847 Script @__TreeSaplings-Revisted-RevivePatch__/data-updates.lua:8: Enabled prod for ammonium-nitrate
1.868 Loading mod YARM 0.8.207 (data-final-fixes.lua)
1.889 Loading mod autodrive 1.1.2 (data-final-fixes.lua)
1.890 Script @__autodrive__/grid.lua:79: Added minimum equipment grid to vehicle "car" (width: 8, height: 1)
1.890 Script @__autodrive__/grid.lua:79: Added minimum equipment grid to vehicle "tank" (width: 8, height: 1)
1.907 Loading mod BurnerAssemblingMachine 0.3.8 (data-final-fixes.lua)
1.931 Error ModManager.cpp:1558: Failed to load mod "BurnerAssemblingMachine": __BurnerAssemblingMachine__/prototypes/recipes-fixes.lua:207: bad argument #1 of 2 to 'pairs' (table expected, got nil)
stack traceback:
[C]: in function 'pairs'
__BurnerAssemblingMachine__/prototypes/recipes-fixes.lua:207: in main chunk
[C]: in function 'require'
__BurnerAssemblingMachine__/data-final-fixes.lua:1: in main chunk
1.935 Loading mod core 0.0.0 (data.lua)
2.103 Checksum for core: 1476961332
2.402 Error ModManager.cpp:1558: Error in assignID: recipe-category with name 'crafting' does not exist.
2 years ago

The mod loads for me when it's on it's own or with NoHandCrafting loaded. I'm thinking it's a mod conflict somewhere. It'll unfortunately be a few days before I get a chance to check further.

2 years ago

looks like autodrive mod causes the conflict:

0.439 Loading mod settings autodrive 1.1.2 (settings.lua)
0.442 Loading mod core 0.0.0 (data.lua)
0.510 Loading mod base 1.1.61 (data.lua)
0.722 Loading mod autodrive 1.1.2 (data.lua)
0.737 Loading mod BurnerAssemblingMachine 0.3.8 (data.lua)
0.751 Loading mod base 1.1.61 (data-updates.lua)
0.767 Loading mod autodrive 1.1.2 (data-updates.lua)
0.782 Loading mod autodrive 1.1.2 (data-final-fixes.lua)
0.783 Script @__autodrive__/grid.lua:79: Added minimum equipment grid to vehicle "car" (width: 8, height: 1)
0.783 Script @__autodrive__/grid.lua:79: Added minimum equipment grid to vehicle "tank" (width: 8, height: 1)
0.793 Loading mod BurnerAssemblingMachine 0.3.8 (data-final-fixes.lua)
0.794 Error ModManager.cpp:1558: Failed to load mod "BurnerAssemblingMachine": __BurnerAssemblingMachine__/prototypes/recipes-fixes.lua:207: bad argument #1 of 2 to 'pairs' (table expected, got nil)

Only base, autodrive and Burner Assembling Machine mods are enabled to simulate the issue.

2 years ago

Arakasi, I think I've managed to fix the mod conflict. Can you try the 0.3.9 version I uploaded and let me know how you go please?

2 years ago

@wyrmlingbait Looks perfect. Thank you.

New response