Hello Everyone,
Since 0.15 I have a particular problem. Somehow I intend to throw as many mods as possible in my games. I have reached over 200 mods in Factorio 0.14.
But now I'm struggling to get even 100 mods. The problem is that I'm not sure what has changed. I get the following error message:
Error Loading mods
Failed to load mods: Reached id limit for entity. The game can't contain more than 65535 instances of this prototype due to hardcoded limits of the engine.
My mod backbone is something like this:
AAI, Angel, Bob, Yuoki and many more and small ones, currently working with 70 mods installed
My questions:
What exactly is this instances of this prototype?
Mostly mods, which adds new items? or researches? or scripts?
Why do I reach this limit now (0.15) and not before(0.14)?
I'm feeling quite a bit sad that I have to sort out some mods now. I know I'm selfish. But Devs and Modders: Thank you very much for giving me so many countless hours of fun.
Greetings Exar
"Reached id limit for entity" problem
-
- Manual Inserter
- Posts: 2
- Joined: Sat May 06, 2017 1:54 am
- Contact:
Re: "Reached id limit for entity" problem
65535 instances of this prototype means that you have 65535 buildings of the same type (for example 65535 yellow belts or something like that) which is a lot.
I don't think there is an actual limit on how many different types of buildings you can have. 65535 is the maximum number for an unsigned 16-bit integer, so they might have implemented this limit for performance reasons because they didn't think that anybody would ever reach it.
Do you have a lot of any specific type of building? If that's the case you can load the save in 0.14 and remove some of them.
I don't think there is an actual limit on how many different types of buildings you can have. 65535 is the maximum number for an unsigned 16-bit integer, so they might have implemented this limit for performance reasons because they didn't think that anybody would ever reach it.
Do you have a lot of any specific type of building? If that's the case you can load the save in 0.14 and remove some of them.
My mods:
Re: "Reached id limit for entity" problem
It might either mean you have more than 65k different entities total (entities are miners, belts, assemblers, etc) or it means a certain entity type, e.g. more than 65k different types of belt (yellow, red,blue, and a whole lot more others)ExarKun626 wrote:Error Loading mods
Failed to load mods: Reached id limit for entity. The game can't contain more than 65535 instances of this prototype due to hardcoded limits of the engine.
Certainly looks like some faulty code in a mod.
I'd first look for some kind of loop in data-final-fixes.lua, data-updates.lua, data.lua that is running wild
Re: "Reached id limit for entity" problem
It is this except all types of entities total (all types of belts, inserters, buildings, biters, vehicles, trees, resources ...). But that is still huge amount.Choumiko wrote:or it means a certain entity type, e.g. more than 65k different types of belt (yellow, red,blue, and a whole lot more others)
Re: "Reached id limit for entity" problem
It is from data-raw-prototypes mod and possibly other mods that simulate this behaviour (helmod)
There should be an update to data-raw-prototypes that fixes the issue.
There should be an update to data-raw-prototypes that fixes the issue.
-
- Manual Inserter
- Posts: 2
- Joined: Sat May 06, 2017 1:54 am
- Contact:
Re: "Reached id limit for entity" problem
Thanks much for your answers.
After countless of restarts and trying out a selection of mods. I found out, it was indeed the fault of the mod data-raw-prototypes.
So i disabled it and I could start a game with all mods enabled again.
Today there was an update from the data-raw-prototypes mod and the problem was solved. I can use now over 140 mops again with AAI. Thank you very much for fixing the problem Earendel
After countless of restarts and trying out a selection of mods. I found out, it was indeed the fault of the mod data-raw-prototypes.
So i disabled it and I could start a game with all mods enabled again.
Today there was an update from the data-raw-prototypes mod and the problem was solved. I can use now over 140 mops again with AAI. Thank you very much for fixing the problem Earendel
