Welcome to AC Web.
Results 1 to 5 of 5
  1. #1

    How to remove the 32k Limit on items? (335 Core)


    REGISTER! (FREE)
    Registered members see less ads
    and also gain access to other great features.
    ------ SOLVED -------


    Hello everyone. I want to know what I need to do to change the stats to be above 32k. I did search it up, and this came up : http://www.ac-web.org/forums/showthr...or-TrinityCore

    Although I have seen it and it has always been working... apparently in this version of the TDB, There is no Such thing as "Itemtemplate.itemstat" Within the ObjectMgr.cpp


    So my question is, Where is it in the newer versions?

    My current one is 335.20061


    EDIT : NVM found it. somehow it didnt show up when i searched for "Itemtemplate.itemstat" but if i searched "for (uint8 i = 0; i < itemTemplate.StatsCount; ++i)" then i found it.
    Last edited by chyssler; 04-07-2021 at 06:06 PM.

  2. #2
    running amongst ghouls ..

    Join Date
    Feb 2010
    Location
    Thinking in assembly, dreaming in symbols, talking in API, living in real time.
    Posts
    11,061
    Caps matter.
    Up to my knowledge tho, this is already set in newest TC. All one has to do is change the datatype in the DB.

  3. #3
    diff --git a/src/server/game/Globals/ObjectMgr.cpp b/src/server/game/Globals/ObjectMgr.cpp
    index 04f3395..322858f 100644
    --- a/src/server/game/Globals/ObjectMgr.cpp
    +++ b/src/server/game/Globals/ObjectMgr.cpp
    @@ -2273,7 +2273,7 @@ void ObjectMgr::LoadItemTemplates()
    for (uint8 i = 0; i < itemTemplate.StatsCount; ++i)
    {
    itemTemplate.ItemStat[i].ItemStatType = uint32(fields[28 + i*2].GetUInt8());
    - itemTemplate.ItemStat[i].ItemStatValue = int32(fields[29 + i*2].GetInt16());--You will take this
    + itemTemplate.ItemStat[i].ItemStatValue = int32(fields[29 + i*2].GetInt32());--and put this in place



    insert em world

    ALTER TABLE `item_template` CHANGE `stat_value1` `stat_value1` INT(10) DEFAULT 0 NOT NULL, CHANGE `stat_value2` `stat_value2` INT(10) DEFAULT 0 NOT NULL, CHANGE `stat_value3` `stat_value3` INT(10) DEFAULT 0 NOT NULL, CHANGE `stat_value4` `stat_value4` INT(10) DEFAULT 0 NOT NULL, CHANGE `stat_value5` `stat_value5` INT(10) DEFAULT 0 NOT NULL, CHANGE `stat_value6` `stat_value6` INT(10) DEFAULT 0 NOT NULL, CHANGE `stat_value7` `stat_value7` INT(10) DEFAULT 0 NOT NULL, CHANGE `stat_value8` `stat_value8` INT(10) DEFAULT 0 NOT NULL, CHANGE `stat_value9` `stat_value9` INT(10) DEFAULT 0 NOT NULL, CHANGE `stat_value10` `stat_value10` INT(10) DEFAULT 0 NOT NULL;

  4. #4
    Quote Originally Posted by AwkwardDev View Post
    Caps matter.
    Up to my knowledge tho, this is already set in newest TC. All one has to do is change the datatype in the DB.
    oh really? well not the one i got anyway

  5. #5
    Web/SQL Dev & 3D Artist

    Join Date
    Oct 2010
    Location
    somewhere between <?php and ?>
    Posts
    3,187

    REGISTER! (FREE)
    Registered members see less ads
    and also gain access to other great features.
    Quote Originally Posted by AwkwardDev View Post
    Caps matter.
    Up to my knowledge tho, this is already set in newest TC. All one has to do is change the datatype in the DB.
    it's not default on Standard TrinityCore atleast.
    https://github.com/TrinityCore/Trini...pp#L2921-L2925

 

 

Posting Permissions

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