raiguard / RecipeBook

Recipe Book for Factorio.
MIT License
19 stars 9 forks source link

Mod crash on alt+click on landmine #126

Closed SirRogro closed 1 year ago

SirRogro commented 1 year ago

Error message: image

To reproduce: Simply Alt+Click on Landmine in crafting section or assemler's output box (? Idk how to call. Where you can take item from assembler after assembling is done).

Save file: _autosave3.zip

raiguard commented 1 year ago

I am unable to reproduce. Did you make local changes to any mods without incrementing their version?

SirRogro commented 1 year ago

Nothing that would somehow influence landmine's item or recipe. In this mod I modified subgroup so it match Space Exploration's vision on it (and Recipe Book works perfectly fine with it)

But anyway even with this modification by me still in use I cannot reproduce bug too. Lets say it was some uncaught script error and forget?

raiguard commented 1 year ago

That's what caused it. Doing any changes without changing mod versions will break recipe book because it relies on cached prototypes to build the database on world load. That's one of the reasons why I am completely abandoning the current version and rewriting it from scratch. If you make local changes, you must change a mod version to avoid RB crashing.