[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:32:53.552000+00:00
Original source
so `16777215` is off limits and I have to use `16777214` as the max.
Archived author: Anchy • Posted: 2024-06-04T07:32:59.793000+00:00
Original source
wtf
Archived author: Anchy • Posted: 2024-06-04T07:33:05.731000+00:00
Original source
surely theres a reason for this
Archived author: Michael Crilly • Posted: 2024-06-04T07:33:33.093000+00:00
Original source
The only other way to operate now is from the right most bit.
Archived author: walkline • Posted: 2024-06-04T07:41:24.035000+00:00
Original source
Yeah, there is, I suppose spawnId is entry, and it can be bigger than 24 bits to fit into object GUID. ```class ObjectGuid
{
...
[[nodiscard]] uint32 GetEntry() const { return HasEntry() ? uint32((_guid >> 24) & UI64LIT(0x0000000000FFFFFF)) : 0; }
```
Archived author: Anchy • Posted: 2024-06-04T07:43:10.862000+00:00
Original source
i see
Archived author: Michael Crilly • Posted: 2024-06-04T07:44:23.112000+00:00
Original source
Makes sense. It was just a limitation they went with at the time.
Archived author: Michael Crilly • Posted: 2024-06-04T07:44:30.111000+00:00
Original source
Thanks for investigating <@261790372743610368>
Archived author: Rymercyble • Posted: 2024-06-04T07:48:39.607000+00:00
Original source
so lets increase our guid
Archived author: walkline • Posted: 2024-06-04T07:59:59.937000+00:00
Original source
In case if it's not a joke client dictates the size of guid (64 bits, in newer expansions its 128 bits), and probably structure of guid as well.