Remeber this is just for ArcEmu core tutorial....
1) Open Arcemu/trunk/src/arcemu-world/player.cpp
2) Use Ctrl+F 'Find' to find these sections of code. Replace where i Have placed a '###' with your new max skill cap.
To Edit Weapon Max Skill level
To Edit max Profession Level (If your level cap is higher then 80 follow the direcions on the next box down)Code:// force to be within limits #if PLAYER_LEVEL_CAP==80 Curr_sk = ( Curr_sk > ### ? ### : ( Curr_sk <1 ? 1 : Curr_sk ) ); Max_sk = ( Max_sk > ### ? ### : Max_sk ); #else Curr_sk = ( Curr_sk > ### ? ### : ( Curr_sk <1 ? 1 : Curr_sk ) ); Max_sk = ( Max_sk > ### ? ### : Max_sk ); #endif
For Max Level 80:
If your Max level is higher then 80 then replace the section of code mentioned above (in your player.cpp file) with this codeCode:{ new_max = itr->second.MaximumValue; if (new_max >= ###) new_max = ###; } else { new_max = 1; } // force to be within limits #if PLAYER_LEVEL_CAP==80 if (new_max > ###) new_max = ###; #else if (new_max > ###) new_max = ###; #endif
(Replace the ### with the new max skill level as usual and the $$$ with your servers max level
This is for All skillsCode:{ new_max = itr->second.MaximumValue; if (new_max >= ###) new_max = ###; } else { new_max = 1; } // force to be within limits #if PLAYER_LEVEL_CAP==80 if (new_max > ###) new_max = ###; #else if (new_max > ###) new_max = ###; #endif #if PLAYER_LEVEL_CAP==$$$ if (new_max > ###) new_max = ###; #else if (new_max > ###) new_max = ###; #endif
Code:void Player::_ModifySkillMaximum(uint32 SkillLine, uint32 NewMax) { // force to be within limits #if PLAYER_LEVEL_CAP==80 NewMax = ( NewMax > ### ? ### : NewMax ); #else NewMax = ( NewMax > ### ? ### : NewMax ); #endif
That's it. Recompile your Arcemu Core and you enter in game.. Enjoy...



Reply With Quote![[Tutorial] How To Raise your Max Weapon/Armor/Proffession Skills past 450](http://ragezone.com/hyper728.png)

