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.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
u mentioned Russians too, what about them? and the war has nothing to do with the topic, the guy is delaying him on purpose cuz he cant deliver anything.
I never said I hate Russians. Please read carefully.
What I meant is that, due to the ongoing war and other circumstances, I would avoid outsourcing development work to Ukrainian developers at the moment. The limited access to electricity throughout the day and the risk of being called to war at any time make it challenging for them to ensure timely delivery.
Unfortunately, working with Ukrainian developers right now can be unreliable.
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.