Freya Low Max 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
User avatar
allromanianrejects
Posts: 48
Joined: Sat Dec 18, 2010 11:58 am

Freya Low Max Level

Post by allromanianrejects »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision 4429:
L2JDP Revision 7672:

I was looking abround config files for some max level for mai class
but notihing there
and nothing else to do the trick ....

any1 of you know any solution ? a code ? a script or something ?
Time ? It's just a matter of wasteing ...
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Freya Low Max Level

Post by jurchiks »

What max level? Character level?
You need to manually enter it in core, because the exp is only written for 85 levels and not more.
If you need to decrease the max level, it's in the same class.
com.l2jserver.gameserver.model.base.Experience.java
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
allromanianrejects
Posts: 48
Joined: Sat Dec 18, 2010 11:58 am

Re: Freya Low Max Level

Post by allromanianrejects »

jurchiks wrote:What max level? Character level?
You need to manually enter it in core, because the exp is only written for 85 levels and not more.
If you need to decrease the max level, it's in the same class.
com.l2jserver.gameserver.model.base.Experience.java
Thanks :)
Seams i must gather more knowledge about eclipse stuff

Thanks anyway !
Time ? It's just a matter of wasteing ...
User avatar
allromanianrejects
Posts: 48
Joined: Sat Dec 18, 2010 11:58 am

Re: Freya Low Max Level

Post by allromanianrejects »

allromanianrejects wrote:
jurchiks wrote:What max level? Character level?
You need to manually enter it in core, because the exp is only written for 85 levels and not more.
If you need to decrease the max level, it's in the same class.
com.l2jserver.gameserver.model.base.Experience.java
Thanks :)
Seams i must gather more knowledge about eclipse stuff

Thanks anyway !
i've tryed to open the file with eclipse installed and subeclipse installed
and l2j_Server pasted and overwriten

and i get this error :

Could not open the editor: The Class File Viewer cannot handle the given input ('org.eclipse.ui.ide.FileStoreEditorInput').
Time ? It's just a matter of wasteing ...
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Freya Low Max Level

Post by jurchiks »

Seems like you've done something wrong...
did you download the l2jserver from the SVN?
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Ralm
Posts: 154
Joined: Sat Dec 25, 2010 10:09 pm
Location: Portugal

Re: Freya Low Max Level

Post by Ralm »

I just started to see if I understand anything about change stuff in Eclipse. Many doubts XD
My teachers XD: jurchiks
Solace
Posts: 17
Joined: Thu Jan 13, 2011 1:40 am

Re: Freya Low Max Level

Post by Solace »

Here is a good place to start: http://download.oracle.com/javase/tutorial/
:)
jamaica
Posts: 288
Joined: Sat Jan 24, 2009 5:44 pm

Re: Freya Low Max Level

Post by jamaica »

and what setting should i do so i can make ....300 level max......cause i change some nubers in and i cant get xp now i cant get level even from gm comand...
Everybody L.I.E.S
jamaica
Posts: 288
Joined: Sat Jan 24, 2009 5:44 pm

Re: Freya Low Max Level

Post by jamaica »

.... nobody knows this? :) i`m waiting an answer for 2 days
Everybody L.I.E.S
Rexxar
Posts: 12
Joined: Wed Mar 02, 2011 2:38 pm

Re: Freya Low Max Level

Post by Rexxar »

Figured I could try and help.

java/com/l2jserver/gameserver/model/base/Experience.java

Change

Code: Select all

 public final static byte MAX_LEVEL = 86; 
Hopefully you can just change that, and you'll be able to level to the desired level with GM commands.
If you want to be able to get there by actual leveling, you'd have to edit the EXP table included in the same file:

Code: Select all

     public final static long LEVEL[] =    {        -1L, // level 0 (unreachable)        0L,        68L,        363L,        1168L,        2884L,        6038L,        11287L,        19423L,        31378L,        48229L, //level 10        71201L,        101676L,        141192L,        191452L,        254327L,        331864L,        426284L,        539995L,        675590L,        835854L, //level 20        1023775L,        1242536L,        1495531L,        1786365L,        2118860L,        2497059L,        2925229L,        3407873L,        3949727L,        4555766L, //level 30        5231213L,        5981539L,        6812472L,        7729999L,        8740372L,        9850111L,        11066012L,        12395149L,        13844879L,        15422851L, //level 40        17137002L,        18995573L,        21007103L,        23180442L,        25524751L,        28049509L,        30764519L,        33679907L,        36806133L,        40153995L, //level 50        45524865L,        51262204L,        57383682L,        63907585L,        70852742L,        80700339L,        91162131L,        102265326L,        114038008L,        126509030L, //level 60        146307211L,        167243291L,        189363788L,        212716741L,        237351413L,        271973532L,        308441375L,        346825235L,        387197529L,        429632402L, //level 70        474205751L,        532692055L,        606319094L,        696376867L,        804219972L,        931275828L,        1151275834L,        1511275834L,        2099275834L,        4200000000L, //level 80        6300000000L, //level 81        8820000000L, //level 82        11844000000L, //level 83        15472800000L, //level 84        19827360000L, //level 85        25314105600L, //level 86        32211728640L  //level 87    }; 
Now as for stats, I don't know if they are calculated by level, or if they are calculated based on a table. You could try and see.

Oh and remember, you need to recompile the server for this to work.
jamaica
Posts: 288
Joined: Sat Jan 24, 2009 5:44 pm

Re: Freya Low Max Level

Post by jamaica »

i change this but when i put the jar back in server and tried to make level 100 cause i set on 150 server didnt gave me any xp i killed some mobs.....still nothing i dont get any xp if i change that
Everybody L.I.E.S
JMD
Advanced User
Advanced User
Posts: 1440
Joined: Wed Apr 15, 2009 10:07 am

Re: Freya Low Max Level

Post by JMD »

jamaica wrote:i change this but when i put the jar back in server and tried to make level 100 cause i set on 150 server didnt gave me any xp i killed some mobs.....still nothing i dont get any xp if i change that
That because you must put new exp points for each new level you add.
User avatar
shinomidefuego
Posts: 122
Joined: Thu Jun 28, 2007 5:37 pm
Location: Venezuela
Contact:

Re: Freya Low Max Level

Post by shinomidefuego »

Some time ago I try to do the same but I find us with a problem, if I put the maximum until lvl 99 and then came up with a char lvl 88 or 89 then the percentage bar says I have 150% or even more. as I can get the percentage is maintained at every level that I put extra, I'd like to make when a char reaches lvl 90 then it is harder to get to lvl 91 and so on.
Image
MMMMMmmmmmMMMMM
jamaica
Posts: 288
Joined: Sat Jan 24, 2009 5:44 pm

Re: Freya Low Max Level

Post by jamaica »

ok.....think i figure how the problem is :shock: if is working i`ll post the lines maybe some other guys want make this tho....thx JMD
Everybody L.I.E.S
jamaica
Posts: 288
Joined: Sat Jan 24, 2009 5:44 pm

Re: Freya Low Max Level

Post by jamaica »

exemple:


4200000000L, //level 80
6300000000L, //level 81
8820000000L, //level 82
11844000000L, //level 83
15472800000L, //level 84
19827360000L, //level 85
25314105600L, //level 86
32314105600L, //level 87
40314105600L, //level 88
48314105600L, //level 89
56314105600L, //level 90
64314105600L, //level 91
72314105600L, //level 92
80314105600L, //level 93
88314105600L, //level 94
96314105600L, //level 95
102314105600L, //level 96
110314105600L, //level 97
118314105600L, //level 98
126314105600L, //level 99
134314105600L //level 100




};

/**
* This is the first UNREACHABLE level.<BR>
* ex: If you want a max at 85 & 100.00%, you have to put 86.<BR><BR>
*/
public final static byte MAX_LEVEL = 100;
public final static byte PET_MAX_LEVEL = 101;


its working just fine all you have to do its to calculate percentage very very carefuly cause from 85 when u reach next level u make level +20% xp or 50% xp or 2 levels in same time, u guys know what i mean also if some1 figure how this thing get calculated pls feed back
Everybody L.I.E.S
Post Reply