How to change Character's Starting level?

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
ZumbuL
Posts: 45
Joined: Sun Feb 01, 2009 4:59 am
Location: USA

How to change Character's Starting level?

Post by ZumbuL »

Core Rev: 3428
DP Rev: 6531
I've searched the forums, kept hitting the same 7 pages on every search.

Can anyone tell me where to change the starting level of every character class?

Or point to a thread that has it?

Thanks
To do, and to think about doing... completely different things...
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: How to change Character's Starting level?

Post by janiii »

net.sf.l2j.gameserver.model.actor.stat.CharStat : private byte _level = 1;
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: How to change Character's Starting level?

Post by MELERIX »

Core-devs could made a configurable option for this ? :P

could be very useful for test servers :P
ZumbuL
Posts: 45
Joined: Sun Feb 01, 2009 4:59 am
Location: USA

Re: How to change Character's Starting level?

Post by ZumbuL »

I will experiment and get back 2 u with that
To do, and to think about doing... completely different things...
ZumbuL
Posts: 45
Joined: Sun Feb 01, 2009 4:59 am
Location: USA

Re: How to change Character's Starting level?

Post by ZumbuL »

When the private byte _level = 20;
A human female fighter gets the following stats:
CP: 58 / 258
HP: 60 / 592
MP: 50 / 205
XP: 444.79%

After killing any mob, or dying, level is lost, and you go back as you would from level 1.

In my config files I do have the feature in Character.properties

Code: Select all

# This option, if enabled, will force a character to de-level if the characters' experience is below their level after losing experience on death. If this is set to False, the character will not de-level even if their Experience is below their level after death.# Default: TrueDelevel = True
Setting the above to False, did not resolve the issue.

Any suggestions, I'm shooting blanks on this one...
To do, and to think about doing... completely different things...
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: How to change Character's Starting level?

Post by _DS_ »

Wait... after quick testing i will commit working version.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
ZumbuL
Posts: 45
Joined: Sun Feb 01, 2009 4:59 am
Location: USA

Re: How to change Character's Starting level?

Post by ZumbuL »

Wow, thx _DS_.

U the man!

Would you mind giving a link to the commit here, I get a headache going through the commits...
To do, and to think about doing... completely different things...
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: How to change Character's Starting level?

Post by janiii »

ZumbuL wrote:Wow, thx _DS_.

U the man!

Would you mind giving a link to the commit here, I get a headache going through the commits...
http://www.l2jserver.com/trac/changeset/3431
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
Post Reply