[DiscordArchive] alright, quick question here:
[DiscordArchive] alright, quick question here:
![[Image: image.png?ex=690c4add&is=690af95d&hm=ed7...da2d3b2ef&]](https://cdn.discordapp.com/attachments/376074396915335170/1228241853242019950/image.png?ex=690c4add&is=690af95d&hm=ed705a95db7bea431992cf3da4dc757e7c4421b555af326284f279cda2d3b2ef&)
![[Image: image.png?ex=690c4add&is=690af95d&hm=fb1...a04befeca&]](https://cdn.discordapp.com/attachments/376074396915335170/1228241853506129962/image.png?ex=690c4add&is=690af95d&hm=fb1ca20666a6a99f3ab321ed8d4e252248f893ba26820b7dae9db75a04befeca&)
Archived author: ram3n • Posted: 2024-04-12T07:14:37.537000+00:00
Original source
alright, quick question here:
so i'm trying to set the stat values in player_levelstats (str, agi, sta, inte, spi) in trinitycore 3.3.5 to values ABOVE 127
as shown in the screenshot, i've set the data type for those columns to smallint to account for it, but i'm getting the error shown in my second image
any tips on how to fix this?
![[Image: image.png?ex=690c4add&is=690af95d&hm=ed7...da2d3b2ef&]](https://cdn.discordapp.com/attachments/376074396915335170/1228241853242019950/image.png?ex=690c4add&is=690af95d&hm=ed705a95db7bea431992cf3da4dc757e7c4421b555af326284f279cda2d3b2ef&)
![[Image: image.png?ex=690c4add&is=690af95d&hm=fb1...a04befeca&]](https://cdn.discordapp.com/attachments/376074396915335170/1228241853506129962/image.png?ex=690c4add&is=690af95d&hm=fb1ca20666a6a99f3ab321ed8d4e252248f893ba26820b7dae9db75a04befeca&)
Archived author: Tea • Posted: 2024-04-12T07:20:09.979000+00:00
Original source
you changed field type in db so you must also change the code to read it with correct function (error message says enerything)
Archived author: ram3n • Posted: 2024-04-12T07:39:46.607000+00:00
Original source
do you happen to know where i would be able to find that within the trinitycore source?
looking for it right now, but i already sifted through fieldvalueconverter.cpp, made an edit there, no dice