Good evening,
I have noticed that the maximum amount of science and culture (and possibly the other yields) that a city can produce per turn is around 214,748 units per turn. If a city produces more than that number (and it can and has happened), then the yields will reduce down to zero, as what would happen during a bit overflow scenario. Interesting enough, the maximum number that a city can produce a yield per turn is similar to the maximum value a 32-bit integer could be: 2,147,483,647; off by 4 digits. In the game, yields are calculated on the hundredths place, an additional two digits. But I have a theory the other two remaining digits are "hidden" calculating yields on the ten-thousandths place. It is entirely possible that the game has a cap on all integer values to be 32-bit in size. However, is there a way to increase the bit size? can we have cities produce yields more that 214,748 units per turn?
1. Can we increase the bit size from 32-bit to 64-bit?
2. Can we remove the two hidden decimals from the city yields from the ten thousandths place to just the hundredths place?
3. Any other solution?
Thank you.
(I will say that I still play on V40 of Caveman2Cosmos. If this has already been resolved, then I will see if I can make the changes to my version of the mod)
I have noticed that the maximum amount of science and culture (and possibly the other yields) that a city can produce per turn is around 214,748 units per turn. If a city produces more than that number (and it can and has happened), then the yields will reduce down to zero, as what would happen during a bit overflow scenario. Interesting enough, the maximum number that a city can produce a yield per turn is similar to the maximum value a 32-bit integer could be: 2,147,483,647; off by 4 digits. In the game, yields are calculated on the hundredths place, an additional two digits. But I have a theory the other two remaining digits are "hidden" calculating yields on the ten-thousandths place. It is entirely possible that the game has a cap on all integer values to be 32-bit in size. However, is there a way to increase the bit size? can we have cities produce yields more that 214,748 units per turn?
1. Can we increase the bit size from 32-bit to 64-bit?
2. Can we remove the two hidden decimals from the city yields from the ten thousandths place to just the hundredths place?
3. Any other solution?
Thank you.
(I will say that I still play on V40 of Caveman2Cosmos. If this has already been resolved, then I will see if I can make the changes to my version of the mod)