PDA

View Full Version : 255 weapon skill



Snowcrown
27-02-10, 06:21 AM
Hey i'll learn u all to change max weapon skill ;)
ARCEMU ONE!!!
First open player.h

and search for:

#define PLAYER_LEVEL_CAP_70 80
#define PLAYER_LEVEL_CAP 80
#define PLAYER_ARENA_MIN_LEVEL 70

Replace with

#define PLAYER_LEVEL_CAP_70 255
#define PLAYER_LEVEL_CAP 255
#define PLAYER_ARENA_MIN_LEVEL 70

Then save and close...

Open player.cpp
Find:

#if PLAYER_LEVEL_CAP==255
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
Replace with:

#if PLAYER_LEVEL_CAP==255
Curr_sk = ( Curr_sk > 1275 ? 1275 : ( Curr_sk <1 ? 1 : Curr_sk ) );
Max_sk = ( Max_sk > 1275 ? 1275 : Max_sk );
#else
Curr_sk = ( Curr_sk > 375 ? 375 : ( Curr_sk <1 ? 1 : Curr_sk ) );
Max_sk = ( Max_sk > 375 ? 375 : Max_sk );
#endif

Search for:

#if PLAYER_LEVEL_CAP==80
if (new_max > 450)
new_max = 450;
#else
if (new_max > 375)
new_max = 375;
#endif
if (new_max < 1)
new_max = 1;

Replace with:

#if PLAYER_LEVEL_CAP==255
if (new_max > 1275)
new_max = 1275;
#else
if (new_max > 375)
new_max = 375;
#endif
if (new_max < 1)
new_max = 1;

Save and start complie ;)

Enjoy ;)

Colton55
03-03-10, 12:57 PM
Were exactly is player.h????:confused:

Snowcrown
04-03-10, 12:34 PM
Arcemu/Trunk/SRC/Arcemu-world/player.h
Arcemu/Trunk/SRC/Arcemu-world/player.cpp

StickyIcky
04-03-10, 06:35 PM
Arcemu/Trunk/SRC/Arcemu-world/player.h
Arcemu/Trunk/SRC/Arcemu-world/player.cpp

You must compile your own core, not use a repack Colton55.

I'm 99% sure your using a repack lol.

mec
14-03-10, 05:39 AM
very nice guide

Dr. Fallen
14-03-10, 05:52 AM
simple but effective :) thx for sharin