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.
I apologize for my incompetence. The ability to trade is limited only for builder 1. Ordinary characters can trade with each other, and this has nothing to do with auto loot.)
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.