I found this on emupedia and share it with the community:
(this is not my work !!! )
and for the love of god: people without compiling skills pls do not try to do this
for people without compiling skills we can make precompiled revs with removed lvl cap for them... (i can't yet... dont have VS yet since pc crash)
Anyways, on the the fix. Tested and working on revision 1848 (the one he changed it in)
There are several things you need to modify in this, and a few things you need to add. Be sure to do EXACTLY as it says or you will mess up. Please dont PM me about this because i will delete it, simply ask right here.
These files can be found in revision\trunk\src\game\
Search ObjectMgr.cpp for:
Code:
uint32 MaxLevel = 70 + 1;
Edit to:
Code:
uint32 MaxLevel = sWorld.Expansion1LevelCap + 1;
Search Players.cpp for:
Code:
SetUInt32Value(PLAYER_FIELD_MAX_LEVEL, 70);
Edit to:
Code:
SetUInt32Value(PLAYER_FIELD_MAX_LEVEL, sWorld.Expansion1LevelCap);
Search Players.cpp for:
Code:
SetUInt32Value(PLAYER_FIELD_MAX_LEVEL, (GetSession()->HasFlag(ACCOUNT_FLAG_XPACK_01)?70:60));
Edit to:
Code:
SetUInt32Value(PLAYER_FIELD_MAX_LEVEL, (GetSession()->HasFlag(ACCOUNT_FLAG_XPACK_01)?sWorld.Expansion1LevelCap:sWorld.LevelCap));
Search Stats.h for:
Code:
uint32 max_level = 70;
Edit to:
Code:
uint32 max_level = sWorld.Expansion1LevelCap;
Search Stats.h for:
Code:
if(AttackerLvl > PLAYER_LEVEL_CAP)
Edit to:
Code:
if(AttackerLvl > sWorld.Expansion1LevelCap)
Add to World.cpp:
Code:
LevelCap = Config.MainConfig.GetIntDefault("Server", "LevelCap", 60);
Expansion1LevelCap = Config.MainConfig.GetIntDefault("Server", "Expansion1LevelCap", 70);
Below:
Code:
compression_threshold = Config.MainConfig.GetIntDefault("Server", "CompressionThreshold", 1000);
Add to World.h:
Code:
uint32 LevelCap;
uint32 Expansion1LevelCap;
Below:
Code:
void SaveAllPlayers();
After following these steps, simply edit your conf files again and Volia! any level cap.
source: Emupedia
credit goes to deathomen... he found this