[DiscordArchive] I might remember wrong, but isnt item guid also only generated on even numbers?
[DiscordArchive] I might remember wrong, but isnt item guid also only generated on even numbers?
Archived author: Kitzunu • Posted: 2025-02-16T13:00:48.050000+00:00
Original source
ObjectMgr::SetHighestGuids()
Archived author: walkline • Posted: 2025-02-16T13:06:14.098000+00:00
Original source
I would prefer to leave it as a simple counter/incremental without a gap filling feature. It would be easier in that way in case we decide to make it thread safe.
As for filling the gaps, we could have an sql script that runs once a year or so to clean up everything.
Archived author: Kitzunu • Posted: 2025-02-16T13:07:35.749000+00:00
Original source
could clean it up on startup
Archived author: walkline • Posted: 2025-02-16T13:08:55.953000+00:00
Original source
Yeah, maybe, but we should make it optional, since it can increase startup time.
Archived author: Kitzunu • Posted: 2025-02-16T13:09:02.259000+00:00
Original source
sure
Archived author: Kitzunu • Posted: 2025-02-16T13:13:58.589000+00:00
Original source
hmm do you know from the top of your head which other tables reference item_instance.guid
Archived author: Kitzunu • Posted: 2025-02-16T13:14:07.660000+00:00
Original source
becuase that is definetly an issue if we would like to reorder
Archived author: Kitzunu • Posted: 2025-02-16T13:17:18.757000+00:00
Original source
ahh charater_inventory ofcourse
Archived author: Kitzunu • Posted: 2025-02-16T13:17:24.519000+00:00
Original source
yeah maybe we should not touch it lol
Archived author: Kitzunu • Posted: 2025-02-16T13:56:32.102000+00:00
Original source
<@261790372743610368> https://github.com/azerothcore/azerothco...pull/21473 got it working as far as I can tell