Recursive Resource Calculator

by Herddex

An in-game calculator that can be used to automatically compute the information you need to build a final product at a given rate of production: precise number of machines for each intermediate product, required production rates for all said intermediate products, pollution and energy costs, with options for specifying module configurations, as well as machine types.

Utilities
2 years ago
1.1
5.19K

b [FIXED] Error loading when removing mods adding new items

2 years ago
(updated 2 years ago)
  46.822 Error AppManagerStates.cpp:1595: The mod Recursive Resource Calculator (1.0.7) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event RecursiveResourceCalculator::on_configuration_changed
No modifications of LuaEntityPrototype are currently possible.
stack traceback:
    [C]: in function '__newindex'
    __RecursiveResourceCalculator__/logic/reinitializer.lua:17: in function 'reinitialize_crafting_machine_preferences'
    __RecursiveResourceCalculator__/logic/reinitializer.lua:94: in function 'reinitialize'
    __RecursiveResourceCalculator__/control.lua:25: in function <__RecursiveResourceCalculator__/control.lua:16>

This appears to happen when loading a savegame that had this mod and also a mod that adds new fluids (in this case), presumably would be the same with items. If you then remove that mod which added those, but keep this one the error will show up.
In my case it happens with the creative mod, as when logging the category you're using in line 17 it's falling on its face when processing the creative-mod_free-fluids category.

2 years ago

Thank you for the report. I will look into it.

This thread has been locked.