Welcome to AC Web.
Page 1 of 4 123 ... LastLast
Results 1 to 15 of 55
  1. #1

    [Trinity] How to bypass 32767 limits.


    REGISTER! (FREE)
    Registered members see less ads
    and also gain access to other great features.
    This is a short tutorial on how to bypass 32767 limits.

    Step 1:

    • Open up objectmgr.cpp and find this:
      Code:
      itemTemplate.ItemStat[i].ItemStatValue = int32(fields[29 + i*2].GetInt16());
    • Change it to:
      Code:
      itemTemplate.ItemStat[i].ItemStatValue = int32(fields[29 + i*2].GetInt32());
    • Save that & 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.


    - Repacks are not supported, so don't spam me with repack related questions, thanks.
    Last edited by seejay; 05-02-2012 at 04:01 PM.

  2. #2
    Working on MOP Emulation

    Join Date
    Aug 2010
    Location
    youtube.com/ProTazzerHD
    Posts
    955
    might try this!

    gotta spread before i rep!

  3. #3
    weird like that

    Join Date
    Feb 2010
    Location
    Lazy - dont msg me
    Posts
    3,954
    Great share :3
    Btw, just few fast notes:
    Using INT would be better than bigint, since int32 will be INT and you would not be able to use bigint size values. So you would have a cap at INT, while you can insert bigint size value to db.

    Ps. its smallint and not tinyint

  4. #4
    Quote Originally Posted by Rochet2 View Post
    Great share :3
    Btw, just few fast notes:
    Using INT would be better than bigint, since int32 will be INT and you would not be able to use bigint size values. So you would have a cap at INT, while you can insert bigint size value to db.

    Ps. its smallint and not tinyint
    Oh well, it's still working for me.

  5. #5
    weird like that

    Join Date
    Feb 2010
    Location
    Lazy - dont msg me
    Posts
    3,954
    Sure it will work, but you can not use 9223372036854775807, while you can insert it into DB.
    You will hit the stat cap of 2147483647

  6. #6
    Quote Originally Posted by Rochet2 View Post
    Sure it will work, but you can not use 9223372036854775807, while you can insert it into DB.
    You will hit the stat cap of 2147483647
    Meh, fixed.

  7. #7
    gadu66ji

    Join Date
    Oct 2010
    Location
    >London<
    Posts
    3,153
    :O

  8. #8
    Quote Originally Posted by cpx34 View Post
    :O

  9. #9
    awesome tutorial
    /bump
    +rep

  10. #10

  11. #11

  12. #12

  13. #13
    Enter Title Here

    Join Date
    Nov 2011
    Location
    "I live for those who couldn't make it, I die for the ones who can make it." - Orgtar 06.28.2012
    Posts
    1,195
    nice

  14. #14
    Better one:

    Open your World DB. Go to items table and edit it. (Right button and Edit table)
    Find the column Stat_Value* (1-10) and change it from smallint (I guess) to Bigint.
    This will allow you to change stat values to less than 8M

    Anyway! Good job!

  15. #15

    REGISTER! (FREE)
    Registered members see less ads
    and also gain access to other great features.
    Quote Originally Posted by ..::ApachE::.. View Post
    Better one:

    Open your World DB. Go to items table and edit it. (Right button and Edit table)
    Find the column Stat_Value* (1-10) and change it from smallint (I guess) to Bigint.
    This will allow you to change stat values to less than 8M

    Anyway! Good job!
    Wrong.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •