Arc Furnace (Improved) deprecated


Ores cower in fear from this furnace, watch as it drinks electricity to turn solid ore into liquid within an instant.

Content
2 years ago
1.1
2.28K
Manufacturing

g Crash on load

2 years ago
(updated 2 years ago)

Heya, this mod is causing a crash on load. I'll admit..it very well may be a conflict as I'm running 300ish other assorted mods.

Regardless, I can load the original Arc Furnace mod bur if I attempt to load this mod I receive the following crash:

data-updates.lua:21: attempt to perform arithmetic on field '?' (a nil value)
...
data-updates.lua:21: in function 'copy_recipe_data'
data-updates.lua83: in function 'generate_arc_smelting_recipe'
data-updates.lua92: in main chunk

hope this helps :)
Thanks!

2 years ago

Mmm, I did upload a broken copy (v1.0.6) - what version are you running?

2 years ago

I had the issue with the original upload, I saw your patch notes and tried again and had the same issue with v.1.0.8

I haven't tried removing any mods (other than the other versions \ the other arc furnace)

Is the original a requirement?

2 years ago

No, it shouldn't be. This stack trace suggests there's (another!) bug in the "copy_recipe_data" function.

Upon closer reading, it looks like there's two formats for IngredientPrototype tables, but the function only handles one kind (I'll fix this soon).

Thanks for bringing this up!

2 years ago

Not a problem! Thanks for looking into it :)

2 years ago

I think I've addressed the issue in 1.0.9, but I've yet to test this with a mod that adds a troublesome recipe, so I don't know for sure.

2 years ago
(updated 2 years ago)

I was getting a similar error with 1.0.9, this time looks like it happens because of a result that used amount_min/amount_max instead of just amount. (titanium-plate from bztitanium looks like the culprit)

I fixed it myself by just checking for amount_min, amount_max, amount individually on a result and setting the appropriate key in results with the scale based on which is present, but this was just a quick hack and im sure theres a better way to handle it.

New response