Rigor Module


New type of module: Rigor modules. Rigor modules increase the probability of a recipe returning its most valuable product.

Content
5 hours ago
2.0 - 2.1
15.8K
Manufacturing

g Rigor Module and prototype count

a month ago

Hei it s me again :D

I recently noticed that factorio was returning an erorr when adding multiple mods. With chatpgt I ve checked this error

Failed to load mods: Reached id limit for recipe. The game can't contain more than 65535 instances of this prototype due to hardcoded limits of the engine. See the log file for more detail.

Investigating further into the log it seems that rigor module is creating 72484 prototypes. I am not sure what it means, however, seems a huge number compared to other mods.

I am copy pasting the info below
I checked your actual factorio-current.log, and the culprit is much clearer now.

🚨 The main culprit is rigor-module

Your log reports:

rigor-module: 72484

recipes attributed to that mod.

That's enormous considering Factorio's hard limit is 65,535 recipes total. And there's another very revealing number:

umr_crafting_entity_2_category = 52283

inside Rigor's processing.

So this isn't simply "you have too many mods." Rigor Module is generating tens of thousands of additional recipe prototypes.

What's happening

rigor-module appears to be creating recipe variants for different machines/tiers. Your log shows recipes such as:

umr_crafting_entity_2_10x__advanced-anorthite-crushing
umr_crafting_entity_2_10x__advanced-bone-processing
umr_crafting_entity_2_10x__advanced-carbonic-asteroid-crushing
...

and there are 52,283 recipes/categories associated with umr_crafting_entity_2 alone.

Your modpack is also absolutely huge: you've got a very large collection of Space Age planets and production mods, including things like Rubia, Muluna, Moshine, Cerys, Rabbasca, Tiberium, Linox, Paracelsin, etc. The log confirms all of these are being loaded.

That makes Rigor particularly problematic because it appears to be processing recipes from practically your entire modpack.

Why it suddenly fails

The loading sequence gets all the way through the mods and then Factorio produces the prototype counts:

rigor-module: 72484

followed immediately by:

Reached id limit for recipe.
The game can't contain more than 65535 instances

So we can be pretty confident about the diagnosis:

Your modpack + Rigor Module = more than Factorio's recipe prototype limit.

a month ago

I am removing other old mods to make it work, however, leaving out some interesting others. Anything you can do to fix somehow or limit the number to fit all together?

a month ago

I have to add

What is actually happening

Your load order has:

umrFixed 2.0.67
rigor-module 1.1.17

UMR is designed to make its exotic machines work with modded recipes, including recipes from other planets/mods. The mod author explicitly describes its heavy manufacturing facility as being able to use recipes from other worlds and mods.

Your log then shows Rigor processing the resulting UMR recipe category:

umr_crafting_entity_2_category = 52283

and then:

umr_crafting_entity_2_10x__advanced-anorthite-crushing
umr_crafting_entity_2_10x__advanced-bone-processing
umr_crafting_entity_2_10x__advanced-carbonic-asteroid-crushing
...

So the chain is essentially:

Hundreds of mods → UMR makes their recipes available to its universal machines → Rigor sees those recipes as eligible → Rigor creates additional variants → 65,535 recipe limit is exceeded.

And there's an especially strong confirmation in your log:

Removing invalid rigor sensitivity ...
'umr_crafting_entity_2_10x__muluna-anorthite-chunk-upcycling'

So Rigor is definitely touching UMR-generated recipes.

https://mods.factorio.com/mod/umrFixed?utm_source=chatgpt.com

a month ago

Can you uplaod your log file?

a month ago

No cannot in here, and gitlab is requesting a credit card just to register for free. Any other secure way?

a month ago

GitLab doesn't need a credit for a regular account, only for the premium features. But anyway, you can also use the discord, or just share a link to google drive or dropbox or something.

a month ago

no they change policy i believe, now always with credit card. Anyway will drop you a discord message!

a month ago

I looked into this a bit and it seems GitLab will only require a credit card in some circumstances, like creating an account with a shared IP address or VPN, or anything that gets flagged as "suspicious" (to stop bitcoin miners abusing free CI minutes apparently). But I digress. Discord is usually easiest.

a month ago

Should be fixed in v1.1.18. I had to ban rigor modules in UMR crafters, otherwise they cause too many compatibility issues.

a month ago

Hei thanks a lot for fixing it. I guess was the easiest way to make it work

All good now!

New response