Results 1 to 10 of 12
-
04-07-09, 12:23 PM #1
[Tutorial] How To Raise your Max Weapon/Armor/Proffession Skills past 450
Register to remove this adRemeber 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...
-
04-07-09, 04:26 PM #2
Good script, but im wondering whats the point of getting proff's higher then 450 since theres like no recipes higher up.
-
04-07-09, 04:30 PM #3
idk some one maybe wanna change it
but skill bigger than 450 is good

-
06-07-09, 03:40 PM #4Beginner

- Join Date
- Aug 2008
- Posts
- 5
- Rep Power
- 18
- Reputation
- 1
you are quite good with all of these releases. keep them up!
-
06-07-09, 03:41 PM #5
okay, and tnx.

-
06-07-09, 05:01 PM #6
It forces the skill to be at what ever you put right? so you could just force it to be 451 prof so everyone can get any recipe.
-
06-07-09, 05:13 PM #7
yep you can there change max and min skills

-
07-07-09, 11:18 AM #8Beginner

- Join Date
- Jul 2009
- Posts
- 8
- Rep Power
- 17
- Reputation
- 1
Can you make this on lua or help me to comple it in c++ please?
anw
-
07-07-09, 11:28 AM #9
you cant on lua because this is in core and core is made with C++ scripts...

-
25-09-09, 05:40 PM #10Beginner

- Join Date
- Sep 2009
- Posts
- 6
- Rep Power
- 17
- Reputation
- 1
Register to remove this adNeeded this! Thanx =D



Onlykl



Reply With Quote







