[DiscordArchive] So obviously although the DB engine accepts upwards of `0301200001` (and higher), the core expects s
[DiscordArchive] So obviously although the DB engine accepts upwards of `0301200001` (and higher), the core expects s
Archived author: Michael Crilly • Posted: 2024-06-04T07:06:41.092000+00:00
Original source
So obviously although the DB engine accepts upwards of `0301200001` (and higher), the core expects something smaller?
Archived author: Michael Crilly • Posted: 2024-06-04T07:07:06.451000+00:00
Original source
(In my case I need to control the GUID)
Archived author: Rymercyble • Posted: 2024-06-04T07:08:43.453000+00:00
Original source
i would except int32 but i never checked
Archived author: Michael Crilly • Posted: 2024-06-04T07:09:01.215000+00:00
Original source
OK so assume unsigned int32?
Archived author: walkline • Posted: 2024-06-04T07:09:02.040000+00:00
Original source
``` if (_creatureSpawnId >= uint32(0xFFFFFF))
{
LOG_ERROR("server.worldserver", "Creature spawn id overflow!! Can't continue, shutting down server. Search on forum for TCE00007 for more info.");
World::StopNow(ERROR_EXIT_CODE);
}
return _creatureSpawnId++;
```
0xFFFFFF = 16777215, don't know why
Archived author: Michael Crilly • Posted: 2024-06-04T07:09:19.237000+00:00
Original source
Good catch <@261790372743610368> thanks.
Archived author: Rymercyble • Posted: 2024-06-04T07:09:33.972000+00:00
Original source
https://tenor.com/view/cat-huh-cat-huh-e...3609734737
Archived author: Michael Crilly • Posted: 2024-06-04T07:09:35.921000+00:00
Original source
OK, I will assume `16777215` for the `creature` table.
Archived author: Michael Crilly • Posted: 2024-06-04T07:32:07.226000+00:00
Original source
<@228769085834395648> ^
Archived author: Michael Crilly • Posted: 2024-06-04T07:32:38.057000+00:00
Original source
I can't even use the _max_ value because it's look for `>=` lol