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.