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

    • Faltan demasiados archivos,  y lógicas en clases claves como L2pcInstance, entre otras. si bien muchas cosas están y el flujo es valorable.  Gracias por tu esfuerzo es bastante... pero realmente no esta completo el código, falta que subas todas las modificaciones en clases colaterales... podrías intentar subir un diff de todo el mod  completo de tu pack y bueno ahí si que cada uno adapte... pero faltan muchas cosas, dudo que haya gente que lo haya echo funcionar con esto... 
    • I know people who have fully bypassed and reversed AAC. One day, they might even release the full source code, but for now, they’re still making money off it. I won’t name anyone, but it’s clear that there aren’t any truly solid anticheats for Lineage2. As I’ve said before, kernel level anticheats are the only real solution. Anything that runs as Internal and injects gets flagged, and your account ends up getting kicked or banned. That’s just how most games handle it nowadays. To TL;DR the whole thing cheating will always exist because there are people out there smart enough to bypass any protection and run private cheats. Public cheats are always detected eventually, so I don’t see any point in buying AAC, especially when they claim it blocks adr, which simply isn’t true.
    • 🌐 Website: https://l2adonis.com 📅 GRAND OPENING: July 18, 2025 – 20:00 (UTC+2) 💬 Discord: https://discord.com/invite/tZBj8JxAwx 🚫 No auto-farm • No auto-macro • No pay-to-win • No custom   Some Basic Info's (More detalied info's on website)  EXP/SP: x25  Adena: x15  Drop: x15  Spoil: x15  Seal Stones: x15  Raid Boss Drop: x10  Epic Boss Drop: x1  Manor: x10  Safe Enchant: +4  Max Enchant: +16  Normal Scroll Chance: 50%  Blessed Scroll Chance: 66% (If enchant fail item remain +4)  Buff Slots (30+4 extra with Divine Inspiration)  Dances/Songs Slots 14  Auto-learn skills  ⚔️ Real PvP • Real Progression • Retail-like experience JOIN NOW and relive the real L2 experience!
    • Discord         :  utchiha_market Telegram        : https://t.me/utchiha_market Auto Buy Store  : https://utchihamkt.mysellauth.com/ Not sure if we’re legit? Check Our server — real reviews, real buyers https://discord.gg/uthciha-servicess  | https://campsite.bio/utchihaamkt
    • Looking for a Developer – Lineage II Interlude (Vanganth Files)   I’m seeking a developer to collaborate on a project based on Vanganth Interlude files.   Important: Applicants with a bad attitude, lack of respect, or unwillingness to work will be immediately rejected. Payment: Hourly rate, not per task. Contact: Please reach out to me via PM.
  • Topics

×
×
  • Create New...

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