To set a level cap :
Open Levels.cpp
Look for :
Code:
void Levels::giveEXP(Player* player, int exp, char type){
Add below :
(Replace LevelCapHere with the level cap you want, as a number.
Code:
if(player->getLevel() < LevelCapHere) {
eg.
Code:
if(player->getLevel() < 200) {
Look for :
Code:
void Levels::addStat(Player* player, unsigned char* packet){
Add above :
I find that you can breach the client level cap if you !killall with zakum spawned, for example.
Therefore, a server level cap is more effective.
If your level is equal or above the level cap, you will not get EXP for anything, including quests.