Page 1 of 1
Freya Low Max Level
Posted: Wed Dec 22, 2010 7:45 pm
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 ?
Re: Freya Low Max Level
Posted: Wed Dec 22, 2010 8:29 pm
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
Re: Freya Low Max Level
Posted: Thu Dec 23, 2010 6:41 am
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 !
Re: Freya Low Max Level
Posted: Wed Jan 12, 2011 2:15 pm
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').
Re: Freya Low Max Level
Posted: Wed Jan 12, 2011 3:03 pm
by jurchiks
Seems like you've done something wrong...
did you download the l2jserver from the SVN?
Re: Freya Low Max Level
Posted: Thu Jan 13, 2011 1:03 pm
by Ralm
I just started to see if I understand anything about change stuff in Eclipse. Many doubts XD
Re: Freya Low Max Level
Posted: Fri Jan 14, 2011 1:36 am
by Solace
Re: Freya Low Max Level
Posted: Mon Aug 08, 2011 8:17 pm
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...
Re: Freya Low Max Level
Posted: Wed Aug 10, 2011 7:32 am
by jamaica
.... nobody knows this?

i`m waiting an answer for 2 days
Re: Freya Low Max Level
Posted: Thu Aug 11, 2011 7:42 am
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.
Re: Freya Low Max Level
Posted: Thu Aug 11, 2011 2:24 pm
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
Re: Freya Low Max Level
Posted: Fri Aug 12, 2011 7:28 am
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.
Re: Freya Low Max Level
Posted: Fri Aug 12, 2011 1:04 pm
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.
Re: Freya Low Max Level
Posted: Sun Aug 14, 2011 1:12 pm
by jamaica
ok.....think i figure how the problem is

if is working i`ll post the lines maybe some other guys want make this tho....thx JMD
Re: Freya Low Max Level
Posted: Sun Aug 14, 2011 3:46 pm
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