Jump to content

Question

Posted

hello i did edited my experience.java at -> net.sf.l2j.gameserver.model.base;

package net.sf.l2j.gameserver.model.base;

public class Experience
{
	public static final 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
		6299994999L,
		10499905559L,
		16800005559L,
		27299995559L,
		44100005559L, // level 85
		71400000000L,
		115500000000L,
		186900000000L,
		302400000000L,
		489300000000L,// level 90
		791700000000L
	};
	
	/**
	 * This is the first UNREACHABLE level.<BR>
	 * ex: If you want a max at 80 & 99.99%, you have to put 81.<BR>
	 * <BR>
	 */
	public static final byte MAX_LEVEL = 91;
}

 

 

Unfortunately i did tried to set my level to 90 ingame but i had msg that max lvl was 80/81 (retail) is there any other file i should edit or i did something wrong on that file ? 

11 answers to this question

Recommended Posts

  • 0
Posted

I will give you an example.

Open PcTemplate.java or PlayerTemplate.java

Find this
	@Override
	public final double getBaseHpMax(int level)
	{
		return _hpTable[level - 1];
	}

And make something like this

  public final double getBaseHpMax(int level)
  {
    int lvlmod = level - this._classBaseLevel;
    double hpmod = 0.37 * lvlmod;
    double hpmax = (this._hpAdd + hpmod) * lvlmod;
    double hpmin = this._hpAdd * lvlmod + hpmod;
    return this._hpInitial + (hpmax + hpmin) / 2;
  }

Then find this 
	private final int _classBaseLevel;

And put after
  private final double _hpInitial;
  private final double _hpAdd;

Find this
	_classBaseLevel = set.getInteger("baseLvl");

And put after this
	this._hpInitial = set.getDouble("hpInitial");
	this._hpAdd = set.getDouble("hpAdd");
	

If you do this you need to remove hpTable,mptable,cptable both on PlayerTemplate.java and xml. And put something like this on xmls

<set val="80" name="hpInitial"/>

<set val="11.83" name="hpAdd"/>

 

And you do the same for mp and cp.

  • Like 1
  • 0
Posted

i cannot edit .class files , and in xml folder cant seem to find any file related to experience on l2jacis , anyway u can be a lil more specific ? 

  • 0
Posted (edited)

data/xml/classes all theses xmls dark_fighter.xml etc you need to edit hpTable,mpTable and cpTable for every class there are alooooot of them you need days to do it. An easy way is to edit PlayerTemplate.java to make it like h5 or frozen.

Edited by Zacapa
  • Upvote 1
  • 0
Posted

Like he said. Take your time and edit or handcode some static values up to your max lvl at least to see if it's working. 

  • 0
Posted

i did edited tables for just duelist id 88 but still i couldn't lvl up more than 80  i'll have to edit  from fighter - warrior - gladiator and duelist to get it to work ? 

sorry if im being stupid but i have to learn somehow :))

  • 0
Posted
3 minutes ago, Xenokage said:

i did edited tables for just duelist id 88 but still i couldn't lvl up more than 80  i'll have to edit  from fighter - warrior - gladiator and duelist to get it to work ? 

sorry if im being stupid but i have to learn somehow :))

 

For example on hpTable i think there are 80 or 81 values for each lvl i dont remember you need to put + 10 values like 500;501; with a ; 

Guest
This topic is now closed to further replies.


  • Posts

    • Hi, could someone please share a C1 L2 Off cheat code for local play?
    • I’ve worked with a web designer Tacoma before, and it really reminded me how much smoother projects run when design and development stay in sync. Your setup looks solid, and pairing clean UI work with steady backend support can save a ton of back‑and‑forth later. If you ever decide to push harder on conversions or need outside perspective on structure, that mix helped me spot gaps early on.
    • If you’re juggling mixed payment methods and tricky setups, I’ve found that easing the pressure on the subscription side can make the whole flow smoother. I started using Subscription Revenue Growth for handling my own recurring payments, upgrades, and all that messy churn stuff, and it took a big weight off. Pairing something stable for subs with your gateway setup can keep cashflow from going off the rails.
    • L2Avalon launches February 20 High Five project (Salvation client) focused on classic world progression — not instance spam and not “twink” metas. What is L2Avalon? L2Avalon is built around real Lineage 2 gameplay: farming spots, open world conflict, raids, epics, economy and competition. No Kamael Reduced instanced content **Discord:** https://discord.gg/NbM2cXmAem 🌐 **Website:** https://l2avalon.net Balance & Economy Every class is tuned to be viable in PvE and PvP Off-meta classes get buffed instead of adding power-creep garbage Adena-based economy Farming matters: boosted Drop/Spoil for each stage of progression Rates & Settings Dynamic XP: 50x (Lv 1–40) → 1x (Lv 78+) Staged progression with new content unlocking weekly Adena / Drop / Spoil: 3x / 5x / 5x NPC Buffer: 2 hours (Premium: 3 hours) Box limit: 2+1 windows per PC MP potion: 1000 MP, 10s cooldown Free2Play System (earn Donate Coins by playing) You don’t have to donate to progress. Donate Coins drop in-game, so everything is achievable through playtime and activity. Where Donate Coins drop: Mobs Lv 76+, Raid Bosses Lv 70+, Epic Bosses Auto-farm (controlled) Limit: only 1 window can use auto-farm at the same time Daily time: 1 hour/day without Premium Extra tickets: purchasable with PC Bang points (earned by being online) Disabled zones: CC / IT / FOG / VARKA / KETRA Equipment Changes Reworked set bonuses Reworked SA system Enchanted set bonuses Enchanted shirt bonuses Fake Epic jewelry (weakened alternative) Skills (High Five mechanics) New skills added Old skills updated New enchant branches + updated existing ones Subclass skills Clan skills Daily Activities (solo-friendly) Events / Missions / Instances Stages Soon — stage schedule and weekly unlocks will be published February 20 — we start. **Discord:** https://discord.gg/NbM2cXmAem 🌐 **Website:** https://l2avalon.net
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock