Mini Machines Mod

by Kryzeth

Miniature versions of assemblers, electric furnaces, etc. Full integration with all of Bobs mods, Artisanal Reskins, Extended Vanilla, Krastorio 2, Gotlag's Electric Furnaces, AAI Industry, 5dims, One More Tier, and Disco Science. (independently, not necessarily simultaneously)

Content
3 days ago
0.13 - 2.0
17.6K
Manufacturing

b [Fixed] Failed to load mod

10 days ago

Failed to load mods:

mini-machines/prototypes/copy-final-fixes.lua:246: object_type is missing for Data/bob-electric-furnace-3

stack traceback:

[C]: in function 'error'
kry_stdlib/stdlib/data/data.lua:549: in function 'Data'
kry_stdlib/stdlib/data/data.lua:378: in function 'copy_fields'
mini-machines/prototypes/copy-final-fixes.lua:246: in main chunk
[C]: in function 'require'
mini-machines/data-final-fixes.lua:3: in main chunk

Mods to be disabled:

mini-machines (9.3.21)

9 days ago

Hm, unable to recreate the error without a modlist. I can only guess that you must be running with bobs mods, maybe with some third mod or perhaps some non-default settings causing the issue, but I've tested with Bob's Assembling Machines (the one that adds the new electric furnaces), with both furnace settings enabled/disabled, and then with all bobs mods, and still couldn't reproduce the error.

8 days ago
(updated 8 days ago)

I asked chatgpt and I might know what's the issue I will come later to this

8 days ago
(updated 8 days ago)

After some small research, I remember what exactly the error is referring to, as I've had similar issues before; the electric furnace in question must have been changed from a furnace to an assembler type entity in between the initial copy and when the copy-final-fixes script runs. The mismatch causes the script to check the wrong entity type.

Problem is, I've tested with both of the mods I know that do this (Extended Vanilla and Krastorio 2/Spaced Out), and the game loads without error; all mini furnaces appear as normal. There must be another mod doing the same thing, which I would need to know before the issue can be fixed.

I fail to see how chatgpt could help in this situation, as the problem is not with the code itself, but with the mods in question, which is why I requested a modlist, to test and see which one is the problem.

6 days ago
(updated 6 days ago)

Sorry, that's just too many mods to test all at once. I tested all the standouts (AAI Industry, Electric Furnaces, Muluna, Maraxsis, Crushing Industry, Plutonium Energy, Common Industries, Space Age Fix, all of bobsmods, and the reskin mods) and still couldn't recreate the error; game loads up just fine for me.

Many of these mods aren't even on the mod portal to begin with (couldn't find any of the LF mods, guessing those are personal patch mods), so can't test with those, and as far as I can tell, the rest of the list appears to be seemingly unrelated to electric furnaces.

If you had already started a playthrough and recently updated or added to your list of mods, it could be one of those causing the issue

If not, then you can try loading up the game without Mini Machines, then check what mods are affecting the tier 3 Electric Furnace (at bare minimum, you should see Bob's Assembly and possibly Electric Furnaces in the list) and report back, then I can test with those mods to see if any of them are the problem.

4 days ago

Sorry for troubling you, found the problem its this mod https://mods.factorio.com/mod/crushing-industry-tweaks

3 days ago
(updated 3 days ago)

The bug occurs when the 'furnace-to-assembler' option is enabled

Wellp, the cause is exactly what I expected it to be. In case their 1.7.2 patch doesn't fix the issue, I can definitely fix it from my end, knowing what the problematic mod is, by either forcing the load order or updating the furnace data type when their mod is loaded.

I get the feeling their changes are currently loading up in between my data-updates and my data-final-fixes, changing the data type at the worst possible timing. If I can force it to load force, then data-updates will properly pick up the correct furnace data type. If I can't do that, then a simple check 'if mod is enabled, change the data type to match the new one' should do the trick

New response