G4M3R
27-03-15, 10:01 AM
How to "Remove" 32767 Stat Cap! TrinityCore 4.3.4
Well, first of, I've seen alot of people who need this modification on their server but there's only this "mod" for 3.3.5 and such versions. Since placements are different and not that hard to find and fix it (but you know, people are lazy), i decided to show you how you do that on Trinity 4.3.4.
Start up your MySQL.
Open up HeidiSQL and connect to your database.
Open your world database and search for item_template table.
http://puu.sh/gmDXe/a7695b6cd2.png
After you found item_template follow the next steps:
Navigate to Table: item_template
http://puu.sh/gmEjd/60a9bab9a2.png
Now scroll until you see stat_value1
http://puu.sh/gmEok/2b512892b4.png
Next thing you want to do is change the SMALLINT to INT
http://puu.sh/gmEsl/121c5f3935.png
After you done that, it should look like this:
http://puu.sh/gmEuw/a07f27a4c6.png
Now do the same for all the rest stat_value(s)
I'll list you the # of those you need to change ( SMALLINT -> INT )
31
35
39
43
47
51
55
59
63
67
That's it. Now to the core modification part.
Locate your ObjectMgr.cpp -> \src\server\game\Globals
Scroll down to line 2748
You should see this:
itemTemplate.ItemStat[i].ItemStatValue = int32(fields[29 + i * 4 + 1].GetInt16());
Just replace that with this:
itemTemplate.ItemStat[i].ItemStatValue = int32(fields[29 + i * 4 + 1].GetInt32());
Bang! You're done! Recompile and create a new item with stat(s) more than 50k and test if it works! :)
BIG CREDITS TO Rochet2 FOR FINDING THIS! :)
Well, first of, I've seen alot of people who need this modification on their server but there's only this "mod" for 3.3.5 and such versions. Since placements are different and not that hard to find and fix it (but you know, people are lazy), i decided to show you how you do that on Trinity 4.3.4.
Start up your MySQL.
Open up HeidiSQL and connect to your database.
Open your world database and search for item_template table.
http://puu.sh/gmDXe/a7695b6cd2.png
After you found item_template follow the next steps:
Navigate to Table: item_template
http://puu.sh/gmEjd/60a9bab9a2.png
Now scroll until you see stat_value1
http://puu.sh/gmEok/2b512892b4.png
Next thing you want to do is change the SMALLINT to INT
http://puu.sh/gmEsl/121c5f3935.png
After you done that, it should look like this:
http://puu.sh/gmEuw/a07f27a4c6.png
Now do the same for all the rest stat_value(s)
I'll list you the # of those you need to change ( SMALLINT -> INT )
31
35
39
43
47
51
55
59
63
67
That's it. Now to the core modification part.
Locate your ObjectMgr.cpp -> \src\server\game\Globals
Scroll down to line 2748
You should see this:
itemTemplate.ItemStat[i].ItemStatValue = int32(fields[29 + i * 4 + 1].GetInt16());
Just replace that with this:
itemTemplate.ItemStat[i].ItemStatValue = int32(fields[29 + i * 4 + 1].GetInt32());
Bang! You're done! Recompile and create a new item with stat(s) more than 50k and test if it works! :)
BIG CREDITS TO Rochet2 FOR FINDING THIS! :)