Error FirmRes:::operator[] [Solved]
Posted: Fri Jan 14, 2022 3:07 am
Hello !
I need help to understand this error :
This error occurs seemingly randomly after some time in the game and some conditions that i can't precise all that much. It's also happening when i'm afk. so it must be some AI actions.
What i was trying to do is adding modded retail store. I noticed the AI builds them while not triggering the error. So i thought i did well. But the error occured after some time.
This error occurs sometimes very fast like in the first or second year of the game, sometimes after 12 years or so if you change disabled products. Which makes it difficult to test if a change i make is solving the problem.
Maybe it has nothing to do with the retail store and i made an error a previous day and didn't noticed.
The retail and building.dbf in question look like this :
I have changed it many times for tests this is just one variation. The problem doesn't seem to occur when i only assign them all the LEATHER class, or when use 0 custom retail store.
I know when you create an empty class of product (by mistake) it create a similar error with "Item.Res":::operator[0]. This one says "Firm.Res" operator[] So i assumed it is related to building.
Here is the rest of the data files in case. It shouldn't be the images since i've used them for a bit before the error shows up.
Any idea ?
I need help to understand this error :
This error occurs seemingly randomly after some time in the game and some conditions that i can't precise all that much. It's also happening when i'm afk. so it must be some AI actions.
What i was trying to do is adding modded retail store. I noticed the AI builds them while not triggering the error. So i thought i did well. But the error occured after some time.
This error occurs sometimes very fast like in the first or second year of the game, sometimes after 12 years or so if you change disabled products. Which makes it difficult to test if a change i make is solving the problem.
Maybe it has nothing to do with the retail store and i made an error a previous day and didn't noticed.
The retail and building.dbf in question look like this :
I have changed it many times for tests this is just one variation. The problem doesn't seem to occur when i only assign them all the LEATHER class, or when use 0 custom retail store.
I know when you create an empty class of product (by mistake) it create a similar error with "Item.Res":::operator[0]. This one says "Firm.Res" operator[] So i assumed it is related to building.
Here is the rest of the data files in case. It shouldn't be the images since i've used them for a bit before the error shows up.
Any idea ?