ArcEmu: How To Edit The Core For The Max Skills - ArcEmu

Jump to content

Toggle shoutbox Lastest Announcements

dfighter  : (07 December 2014 - 12:06 PM) Arcemu is in hibernation mode, please read http://arcemu.org/fo...showtopic=26903
dfighter  : (01 January 2013 - 05:56 PM) Arcemu wishes you all a happy new year!
Hasbro  : (12 September 2012 - 10:01 AM) Please excuse our outage from the web! Our web host had a major malfunction!
dfighter  : (01 September 2012 - 04:05 PM) Since the spam bots just don't want to stop, I've enabled admin verification when registering.
dfighter  : (23 January 2012 - 09:56 PM) Please note that from now on you will need to confirm your email on the wiki in order to edit it!
Hasbro  : (31 December 2011 - 12:50 PM) Happy New Years all!
Navid  : (26 December 2011 - 04:09 AM) Merry Christmas !!!!!! Happy holidays all :)
WAmadeus  : (24 December 2011 - 03:54 PM) Merry Christmas to all!
dfighter  : (24 December 2011 - 11:05 AM) The Arcemu team wishes y'all a Merry Christmukkah!
Hasbro  : (05 October 2011 - 12:53 PM) Looking for web designers for upcoming web related project. If you're interested in designing user interfaces contact me
dfighter  : (02 September 2011 - 03:47 PM) So who here wants vehicles in Arcemu? :P http://arcemu.org/fo...showtopic=25440
Hasbro  : (14 August 2011 - 03:25 PM) Join us on irc, grab an irc client and connect to irc.freenode.net join channel #arcemu /server irc.freenode.net:6667 /join #arcemu
jackpoz  : (03 August 2011 - 05:33 AM) to all Lua Engine (old one) users: please check http://arcemu.org/fo...showtopic=25274
Hasbro  : (20 May 2011 - 05:27 PM) Looking for people experienced with CMake configuration and setup! Contact me asap
Hasbro  : (15 May 2011 - 05:03 PM) ArcEmu is recruiting C++ programmers, contact Hasbro if interested.
paroxysm  : (03 May 2011 - 06:26 PM) Updated luabridge gossip example to describe the whole gossip creation process rather than just how to create menu. Gossip tutorial
paroxysm  : (23 April 2011 - 11:35 AM) Lua writers can refer to the Luabridge Tutorials section in the Wiki to learn how to write gossip code correctly.
Hasbro  : (20 April 2011 - 05:22 PM) Thank you for your continuous contribution of bug reports, we are working on them.
Hasbro  : (17 April 2011 - 03:20 AM) Please consider donating to support our bills. Donations can be sent using PayPal to donations@arcemu.org - Thank you for your support.
paroxysm  : (10 April 2011 - 12:43 AM) Refer to the Luabridge Tutorials section in the Wiki to learn the new syntax of luabridge.
Resize Shouts Area

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How To Edit The Core For The Max Skills

#1 User is offline   matssa 

  • Enthusiast
  • PipPipPip
  • Group: Members
  • Posts: 165
  • Joined: 30-January 09
  • Location:Mexico
  • Interests:C++, music, video-games, LUA

Posted 06 May 2009 - 07:02 PM

Did you create your ArcEmu Server from scratch? If not, please go see the Tutorial of Vox.

So you created your server, changed the Max Level and you want to know how to edit the core so that the max skills goes up to 2000 or more...


First, please go to your SVN Checkout Folder/Trunk/src/

Now you should see some folders named arcemu-crashreport , arcemu-logonserver, arcemu-realmserver , arcemu-shared, arcemu-voicechat, arcemu-world etc...

The folder that we are interested in is the arcemu-world folder.

So finaly we are in SVN Checkout Folder/trunk/src/arcemu-world

Now there is a lot of C++ files so don't open them if you don't know how to edit them cause they are the bases of the server.

now in all those C++ Files, open the C++ file named Player.cpp

Now click Ctrl + F

Search for
CODE-BOX
Curr_sk = ( Curr_sk > 450 ? 450 : ( Curr_sk <1 ? 1 : Curr_sk ) );


When you find it, you must have something like this:

CODE-BOX
#if PLAYER_LEVEL_CAP==80
Curr_sk = ( Curr_sk > 450 ? 450 : ( Curr_sk <1 ? 1 : Curr_sk ) );
Max_sk = ( Max_sk > 450 ? 450 : Max_sk );
#else
Curr_sk = ( Curr_sk > 375 ? 375 : ( Curr_sk <1 ? 1 : Curr_sk ) );
Max_sk = ( Max_sk > 375 ? 375 : Max_sk );
#endif


Now change everything so that you have something like this :

!!!NOTE!!!
You must put your desireed max skill where i put #!!!!

CODE-BOX
+//#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 > 375 ? 375 : ( Curr_sk <1 ? 1 : Curr_sk ) );
Max_sk = ( Max_sk > 375 ? 375 : Max_sk );
#endif


Then when you are done, save it but DON'T CLOSE IT!!(in case you have a shutdown or something...)

Then click Ctrl + F and search :

CODE-BOX
#if PLAYER_LEVEL_CAP==80
if (new_max > 450)


When you have found this, you must have something like this :

CODE-BOX
#if PLAYER_LEVEL_CAP==80
if (new_max > 450)
new_max = 450;
#else
if (new_max > 375)
new_max = 375;
#endif


So you have to change it so that it looks like this:


!!!NOTE!!!
You must put your desireed max skill where i put #!!!!

CODE-BOX
#if PLAYER_LEVEL_CAP==80
if (new_max > #)
new_max = #;
#else
if (new_max > 375)
new_max = 375;
#endif


Save it but DON'T CLOSE IT!!!

Finally, in the same file, search for :

CODE-BOX
NewMax = ( NewMax > 450 ? 450 : NewMax );


When you find it, you must have something like this :

CODE-BOX
#if PLAYER_LEVEL_CAP==80
NewMax = ( NewMax > 450 ? 450 : NewMax );
#else
NewMax = ( NewMax > 375 ? 375 : NewMax );
#endif



Now you must change this so that it appears like this :


!!!NOTE!!!
You must put your desireed max skill where i put #!!!!

CODE-BOX
#if PLAYER_LEVEL_CAP==80
NewMax = ( NewMax > # ? # : NewMax );
#else
NewMax = ( NewMax > 375 ? 375 : NewMax );
#endif



There you have finished editing the Core for the max skills!


!!!EDIT!!!: i added the patch file, but don't forget to do the same thing as in the guide so that you find where to change it... I putted 1275 for max skills

Other Guides:
How To Edit the Core for Flying Mounts everywhere!
How to Create Flying Mounts into Items!


Credits go to :
ArcEmu staff for creating this wonderfull emulator
Vox for the guide that helped me creat my server
OMGWoW FunServer admin for helping me
And of course Me xD

Attached File(s)


C++ begginer, already made 5 tutorials and im still up and running! need help? im here...
Posted Image

-"Look! There is something in the bushes!"
-"WHAT? WWWWHHHHEEEERRRREEEE????"
-"Riiiiiggggghhhtttt ......... HERE!!!"
-"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
-"Stop it, it's only a rabbit... 0_o"
0

#2 User is offline   unleashed 

  • Member
  • Pip
  • Group: Members
  • Posts: 49
  • Joined: 22-December 08
  • Gender:Male

Posted 13 October 2009 - 10:50 PM

i was just wondering - i have no experience with the ArcEmu coding style and the custom language... anyways... Since the weapon skills are usually meant to be 5 times the player level, could we just use PLAYER_LEVEL_CAP * 5 instead of 450 etc?
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users