- Aug 28, 2013
- 2.401
- 7.847
As JonStryker said, we just take the highest ID from historical characters on start then just add 1 to that for each new one generated in game.
On AGOT we had an issue where due to a numbering convetion of dynasty id + counter we would get very large numbers, if the dynasty was id 500000 for example would start at 5000001 then their child would be 5000002 etc.
So in one of our internal versions after we had all of Essos in and had added lots of historical dynasties for loads of start dates we eventually got to the point where the IDs of newly generated characters were so big they overflowed the value and became negatives.
This causes a mountain of issues with targeting being off, you could start a plot against one character and it would pick another one etc.
On AGOT we had an issue where due to a numbering convetion of dynasty id + counter we would get very large numbers, if the dynasty was id 500000 for example would start at 5000001 then their child would be 5000002 etc.
So in one of our internal versions after we had all of Essos in and had added lots of historical dynasties for loads of start dates we eventually got to the point where the IDs of newly generated characters were so big they overflowed the value and became negatives.
This causes a mountain of issues with targeting being off, you could start a plot against one character and it would pick another one etc.