Hello, I would have a question, how do I add l2jacis rev 368, a starting lvl 80 for created characters to my project? I know this can be easily added in clientpackect / chatactercreate.java I tried all the ways and it doesn't work.
Quote
newChar.setExpAndSp(Experience.LEVEL[80], 0);
I tried that also doesn't work, I have something like that in all the code.
}
// The class id related to this template is post-newbie.
final PlayerTemplate template = PlayerData.getInstance().getTemplate(_classId);
if (template == null || template.getClassBaseLevel() > 80)
{
sendPacket(CharCreateFail.REASON_CREATION_FAILED);
return;
}
// Create the player Object.
final Player player = Player.create(IdFactory.getInstance().getNextId(), template, getClient().getAccountName(), _name, _hairStyle, _hairColor, _face, Sex.values()[_sex]);
if (player == null)
{
sendPacket(CharCreateFail.REASON_CREATION_FAILED);
return;
}
// Set default values.
player.setCurrentCp(player.getMaxCp());
player.setCurrentHp(player.getMaxHp());
player.setCurrentMp(player.getMaxMp());
It's impossible to explain things to someone completely stupid like you.
You really are very dumb; I never imagined someone with such severe psychological issues could exist on a forum.
You should go to a doctor immediately, as this stupidity might be contagious to others.
You should feel ashamed. 🤣🤣🤣🤣🤣🤣🤣🤣
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/bDVQYKMUb3
https://campsite.bio/utchihaamkt
2 clients:
StyleA: Original client
test1: Unity client
Monster kills are displayed correctly on both clients. Soon it will be possible to kill mobs in a party on 2 different clients
Question
TreVor
Hello, I would have a question, how do I add l2jacis rev 368, a starting lvl 80 for created characters to my project? I know this can be easily added in clientpackect / chatactercreate.java I tried all the ways and it doesn't work.
I tried that also doesn't work, I have something like that in all the code.
} // The class id related to this template is post-newbie. final PlayerTemplate template = PlayerData.getInstance().getTemplate(_classId); if (template == null || template.getClassBaseLevel() > 80) { sendPacket(CharCreateFail.REASON_CREATION_FAILED); return; } // Create the player Object. final Player player = Player.create(IdFactory.getInstance().getNextId(), template, getClient().getAccountName(), _name, _hairStyle, _hairColor, _face, Sex.values()[_sex]); if (player == null) { sendPacket(CharCreateFail.REASON_CREATION_FAILED); return; } // Set default values. player.setCurrentCp(player.getMaxCp()); player.setCurrentHp(player.getMaxHp()); player.setCurrentMp(player.getMaxMp());
2 answers to this question
Recommended Posts