Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] Stat cap in trinity core 3.3.5

[DiscordArchive] Stat cap in trinity core 3.3.5

[DiscordArchive] Stat cap in trinity core 3.3.5

rektbyfaith
Administrator
0
04-16-2024, 09:22 PM
#1
Archived author: Viktor P • Posted: 2024-04-16T21:22:33.301000+00:00
Original source

Stat cap in trinity core 3.3.5

Hello, i have been working on my wotlk server which rund on trinity core. I came across a problem where when i create item with stats way too high ( apperently all stats of single type added cant be more than 32747 due to low integer) and im struggling with changing that cap. I’ve found few guides which did not work. Here is what i did
Objectmgr.cpo - changed integer
From GetInt16 —> GetInt32 in item stat value

Then modified in mysql item_template table and set all the stat value collums from smallint - to int

Yet it does not work, i can equip modified items untill they reach that cap and than they stop working

Any ideas what could be wrong?
rektbyfaith
04-16-2024, 09:22 PM #1

Archived author: Viktor P • Posted: 2024-04-16T21:22:33.301000+00:00
Original source

Stat cap in trinity core 3.3.5

Hello, i have been working on my wotlk server which rund on trinity core. I came across a problem where when i create item with stats way too high ( apperently all stats of single type added cant be more than 32747 due to low integer) and im struggling with changing that cap. I’ve found few guides which did not work. Here is what i did
Objectmgr.cpo - changed integer
From GetInt16 —> GetInt32 in item stat value

Then modified in mysql item_template table and set all the stat value collums from smallint - to int

Yet it does not work, i can equip modified items untill they reach that cap and than they stop working

Any ideas what could be wrong?

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