Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] alright, quick question here:

[DiscordArchive] alright, quick question here:

[DiscordArchive] alright, quick question here:

rektbyfaith
Administrator
0
04-12-2024, 07:14 AM
#1
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&]

[Image: image.png?ex=690c4add&is=690af95d&hm=fb1...a04befeca&]
rektbyfaith
04-12-2024, 07:14 AM #1

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&]

[Image: image.png?ex=690c4add&is=690af95d&hm=fb1...a04befeca&]

rektbyfaith
Administrator
0
04-12-2024, 07:20 AM
#2
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)
rektbyfaith
04-12-2024, 07:20 AM #2

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)

rektbyfaith
Administrator
0
04-12-2024, 07:39 AM
#3
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
rektbyfaith
04-12-2024, 07:39 AM #3

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

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)