View Full Version : [Trinity] How to bypass 32767 limits

10-08-2013, 05:34 PM
Hello Emudevs,today i'm going to share a a short tutorial on how to bypass 32767 limits made by Rochet2.

Tutorial info:
●Bybass 32767 on `item_template`.

Step 1:

●Open up objectmgr.cpp and find this:

itemTemplate.ItemStat[i].ItemStatValue = int32(fields[29 + i*2].GetInt16());

●Change it to:

itemTemplate.ItemStat[i].ItemStatValue = int32(fields[29 + i*2].GetInt32());

●Save and recompile.

Step 2:

●Open up item_template in heidisql/navicat/whatever
●Change the smallint of the stat_value1 up to stat_value 10 to int.
●Try adding stats over 32767 when you're done with these steps.

●So it should look like this:

●NOTE:Repacks are not supported, so don't spam me with repack related questions.

If you have any question feel free to ask me.

Thank you!
Best regards,
Synth !