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.






After you found item_template follow the next steps:



  • Navigate to Table: item_template






  • Now scroll until you see stat_value1






  • Next thing you want to do is change the SMALLINT to INT






  • After you done that, it should look like this:










  • 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:


Code:
itemTemplate.ItemStat[i].ItemStatValue = int32(fields[29 + i * 4 + 1].GetInt16());

Just replace that with this:


Code:
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!


› See More: How to "Remove" 32747 Stat Cap! TrinityCore 4.3.4