I noticed that when we assign the id of a given monster to some database. And we will create monsters and remove them, so after restarting the server the id will not match the id from before the restart (in the database).
I noticed that ids like to duplicate themselves.
How to prevent such behavior?
I would like the id of a given monster to be unique (as much as possible) and removing a monster with a given id later when creating other monsters would never receive that id again.
I noticed that ids like to duplicate themselves.
How to prevent such behavior?
I would like the id of a given monster to be unique (as much as possible) and removing a monster with a given id later when creating other monsters would never receive that id again.