• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[Trinity] How to bypass 32767 limits

Synth

Exalted Member
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`.

Tutorial:
Step 1:

●Open up objectmgr.cpp and find this:
itemTemplate.ItemStat.ItemStatValue = int32(fields[29 + i*2].GetInt16());


●Change it to:

itemTemplate.ItemStat.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:

w5k6q.png


●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 !
 
Top