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.
i have nothing against meta or dex,im just saying that because peoples will probably go to dex for some fun instead of choosing another "small" server. it wont help him open the same day.
You can take pride in the fact that other servers have borrowed ideas from yours. Many servers have adopted elements from mine, and I find that gratifying rather than frustrating, knowing that I was the first.
Many servers, including some prominent ones today - they know who they are, have consistently followed this practice. They assert that they are not pay-to-win, but in reality, they engage external markets to sell items on their behalf, ultimately generating revenue.
This has always happened, and I don't see anything new.
Years ago, there were servers that were much greedier. They would sell in-game items and even partial GM privileges to their biggest donors for the right price. So, I don't believe our current era is the worst.
This game has been around for a while, and the primary reason it's still being played is due to private servers.
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.
Link to comment
Share on other sites
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.