TrinityCore Level 1000 Cap ?

Results 1 to 6 of 6
  1. #1
    Apprentice Tob Ias is offline
    MemberRank
    May 2014 Join Date
    GermanyLocation
    14Posts

    TrinityCore Level 1000 Cap ?

    How can i change the Level Cap to 1000 ? I mean Hardcoded include DBC Editing !


  2. #2
    Lord of the Legion Darkicon is offline
    MemberRank
    Jul 2005 Join Date
    El Segundo, CALocation
    504Posts

    Re: TrinityCore Level 1000 Cap ?

    Why bother hard coding it into the client? All you have to do is add the level stats to the DB and set the max level in the config. Hard coding it is an excessive amount of work for the same result. Unless you're adding custom stuff to the game, like new classes or textures, etc., you never really need to modify the client.

    Also, the level cap is 255 due to it being an unsigned 8-bit integer (0-255). You'd have to modify the core and change the data type to something like a 16-bit unsigned integer (Max = 65535) in .\src\game\Entities\Unit\Units.h as well as defining the hard max level in .\src\server\game\DataStores\DBCEnums.h as well as changing the data type for levels in the DB tables from an unsigned tinyint3 (0-255) to something like an unsigned smallint6 (Max = 65535). There's actually a lot more core components that would need to be edited like .\src\game\Entities\Player\Player.cpp. You actually need to change the data type for levels in EVERY core component it's defined in and EVERY DB table. It's way more work than it's worth.

    The big downside: Stability. If you do this, you will experience core instability and errors which you will need to fix. However, you can safety stick with the default cap of 255, add the data to the DB for levelstats and not experience instability.
    Last edited by Darkicon; 28-01-15 at 09:15 PM.

  3. #3
    Apprentice Tob Ias is offline
    MemberRank
    May 2014 Join Date
    GermanyLocation
    14Posts

    Re: TrinityCore Level 1000 Cap ?

    -.-^^ i give up. you have won !

    https://github.com/TrinityCore/Trini...DBCEnums.h#L35

    Checkout and Read other sites Stuff, google for LvL 1000 Servers and say it is not possible ... See you !

  4. #4
    TrinityCore Level 1000 Cap ? St34lth4ng3l is offline
    MemberRank
    Apr 2013 Join Date
    __FILE__Location
    899Posts

    Re: TrinityCore Level 1000 Cap ?

    It is possible, but hard to make, because like Darkicon wrote, it's a restricted datatype, if you yous int16 as example it should be possible to go up to level 1000 but you need to change every database column with level etc

  5. #5
    Banned GamesShark is offline
    BannedRank
    Apr 2015 Join Date
    30Posts

    Re: TrinityCore Level 1000 Cap ?

    Quote Originally Posted by Darkicon View Post
    Why bother hard coding it into the client? All you have to do is add the level stats to the DB and set the max level in the config. Hard coding it is an excessive amount of work for the same result. Unless you're adding custom stuff to the game, like new classes or textures, etc., you never really need to modify the client.

    Also, the level cap is 255 due to it being an unsigned 8-bit integer (0-255). You'd have to modify the core and change the data type to something like a 16-bit unsigned integer (Max = 65535) in .\src\game\Entities\Unit\Units.h as well as defining the hard max level in .\src\server\game\DataStores\DBCEnums.h as well as changing the data type for levels in the DB tables from an unsigned tinyint3 (0-255) to something like an unsigned smallint6 (Max = 65535). There's actually a lot more core components that would need to be edited like .\src\game\Entities\Player\Player.cpp. You actually need to change the data type for levels in EVERY core component it's defined in and EVERY DB table. It's way more work than it's worth.

    The big downside: Stability. If you do this, you will experience core instability and errors which you will need to fix. However, you can safety stick with the default cap of 255, add the data to the DB for levelstats and not experience instability.
    He can do it via database with a script also (EG vote for level) :D

  6. #6
    Omega Ron is offline
    MemberRank
    Apr 2005 Join Date
    Location
    8,990Posts

    Re: TrinityCore Level 1000 Cap ?

    There is no reason to go up to level 1000 in WoW. Trinity doesn't even recommend levels over 100. I'd take their advice.

    Focus on making custom content rather than excessive redundant character levels.



Advertisement