Page 1 of 1

How to change Character's Starting level?

Posted: Sun Aug 30, 2009 3:29 am
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

Re: How to change Character's Starting level?

Posted: Sun Aug 30, 2009 6:39 am
by janiii
net.sf.l2j.gameserver.model.actor.stat.CharStat : private byte _level = 1;

Re: How to change Character's Starting level?

Posted: Mon Aug 31, 2009 1:49 am
by MELERIX
Core-devs could made a configurable option for this ? :P

could be very useful for test servers :P

Re: How to change Character's Starting level?

Posted: Mon Aug 31, 2009 3:11 am
by ZumbuL
I will experiment and get back 2 u with that

Re: How to change Character's Starting level?

Posted: Mon Aug 31, 2009 5:45 am
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...

Re: How to change Character's Starting level?

Posted: Mon Aug 31, 2009 6:09 am
by _DS_
Wait... after quick testing i will commit working version.

Re: How to change Character's Starting level?

Posted: Mon Aug 31, 2009 5:24 pm
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...

Re: How to change Character's Starting level?

Posted: Mon Aug 31, 2009 6:06 pm
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