Hi. I'm beginner in l2j/java dev and i'm on aCis latest private sources.
I try to make a remote class manager for open possibles classes transfert window when the character get lvl 20,40,76.
I have made a condition in PlayerStatus.java like that :
@Override
public final boolean addLevel(byte value)
{
if (getLevel() + value > PlayerLevelData.getInstance().getRealMaxLevel())
return false;
boolean levelIncreased = super.addLevel(value);
if (getLevel() == 20)
{
NpcHtmlMessage html = new NpcHtmlMessage(0);
html.setFile("data/html/mods/classmaster/50000-2.htm");
_actor.sendPacket(html);
}
But the result when player get lvl 20 is :
I don't know how get the available classes in my html. Or maybe i havent the good method.
Maybe i must call the method in ClassMaster.java or run the command who open the class change window in class master (1stClass)
I'm a bit lost
Than you for your future help.
📢 OBT Success – Get Ready for Launch: November 28!!
The Open Beta was an absolute blast!
Over 160+ Master Accounts successfully claimed their reward from The Judge, proving once again how strong and loyal this community truly is.
🔥 Missed the event?
Don’t worry — because so many players asked for another chance, we will host an additional Event very soon! Stay tuned for details.
Community Growth
We’ve already surpassed 500 Master Accounts registered on our forums — and the numbers keep rising every hour.
It feels like the old days… the same energy, the same hype, the same love for Lineage II.
Let’s rebuild L2Elixir the way we remember it:
No shortcuts, no nonsense — just pure old nostalgic gameplay, community spirit, and that classic adventure we all grew up with.
✨ The journey continues…
Launch: November 28, 21:00 UTC+2
Be there when the legend returns.
🔗 Website: https://l2elixir.org/
💬 Discord: https://discord.gg/5ydPHvhbxs
Question
Bouloche
Hi. I'm beginner in l2j/java dev and i'm on aCis latest private sources.
I try to make a remote class manager for open possibles classes transfert window when the character get lvl 20,40,76.
I have made a condition in PlayerStatus.java like that :
@Override public final boolean addLevel(byte value) { if (getLevel() + value > PlayerLevelData.getInstance().getRealMaxLevel()) return false; boolean levelIncreased = super.addLevel(value); if (getLevel() == 20) { NpcHtmlMessage html = new NpcHtmlMessage(0); html.setFile("data/html/mods/classmaster/50000-2.htm"); _actor.sendPacket(html); }But the result when player get lvl 20 is :
I don't know how get the available classes in my html. Or maybe i havent the good method.
Edited by BoulocheMaybe i must call the method in ClassMaster.java or run the command who open the class change window in class master (1stClass)
I'm a bit lost
Than you for your future help.
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now