[DiscordArchive] has anyone increased emblems reward for random dng finder?
[DiscordArchive] has anyone increased emblems reward for random dng finder?
Archived author: Takenbacon • Posted: 2025-02-12T11:36:06.384000+00:00
Original source
You're using the wrong data type on the field
Archived author: Takenbacon • Posted: 2025-02-12T11:36:38.258000+00:00
Original source
https://www.azerothcore.org/wiki/mysqltypescpp
[Embed: MySQL Types C++]
Wiki and Documentation of the AzerothCore project
https://www.azerothcore.org/wiki/mysqltypescpp
Archived author: OUTRAKE • Posted: 2025-02-12T11:38:19.210000+00:00
Original source
im using same field as `maxcount`
Archived author: Takenbacon • Posted: 2025-02-12T11:38:23.640000+00:00
Original source
Core could do a better job at being assertive when the wrong type is used...
Archived author: OUTRAKE • Posted: 2025-02-12T11:38:35.925000+00:00
Original source
`TINYINT UNSIGNED uint8 uint8 val = fields[n].GetUInt8();`
Archived author: Takenbacon • Posted: 2025-02-12T11:39:13.805000+00:00
Original source
Your crash is from GameEventMgr::LoadEventVendors
Archived author: Takenbacon • Posted: 2025-02-12T11:39:27.073000+00:00
Original source
Which i can see in the log is trying an unsigned int on the field
Archived author: OUTRAKE • Posted: 2025-02-12T11:39:49.913000+00:00
Original source
```
newEntry.maxcount = fields[3].Get<uint32>();
newEntry.buycount = fields[4].Get<uint32>();
```