Reverse Factory

by Kryzeth

Reverse Factory machine will recycle (uncraft) nearly any item placed inside. Supports the recycling of most, if not all, modded items.

Content
22 days ago
0.13 - 2.0
67.4K
Manufacturing

b [Fixed] Bug on load

6 years ago
(updated 6 years ago)

On 6.1.8
33.856 Mods to disable:Impossibile caricare mod: "reverse-factory/func.lua:455: bad argument #1 of 3 to 'insert' (table expected, got nil)
stack traceback:
[C]: in function 'insert'
reverse-factory/func.lua:455: in function 'formatResults'
reverse-factory/func.lua:229: in function 'makeRecipe'
reverse-factory/func.lua:123: in function 'addRecipes'
reverse-factory/data-final-fixes.lua:14: in main chunk"

Mods che saranno disabilitate:
• reverse-factory

Ask me any information that u need if isn't enough the log report

6 years ago

Seems like ur function:
function formatResults(nrec,recipe)
For make result to results don't work in generic result because nrecData.results doesn't exist

If u want resolve it quicly, in aswil i have the function that u can call with:
aswil.recipes.resultToResults(recipe_name)
That make what u want doing(or u can copy it)

6 years ago

Although I already have a potential solution for the error, since you offered, I'll definitely take a look into adapting the code into my own mod, as it could shorten a lot of unnecessary code on my end. Thanks!

6 years ago

Alright, this error should be fixed as of v6.1.9

New response