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());
Special Offer Until 30 April
Complete Server Pack + Source Files:
C4 Scions Of Destiny: P656
Retail X1 L2OFF Server Pack + Source: Price: 150EUR
C4 Scions Of Destiny: P656
ESL2 Athena x45 L2OFF Server Pack + Source: Price: 200EUR
Screenshots: https://imgur.com/a/eternal-sin-l2-athena-x45-c4-WYCpbjl
C6 Interlude: P746
ESL2 Athena x45 L2OFF Server Pack + Source: Price: 200EUR
The same as C4 but in C6 Client so the Screenshots is the same: https://imgur.com/a/eternal-sin-l2-athena-x45-c4-WYCpbjl
C6 Interlude: P746
ESL2 Athena x45 Java Server Pack + Source: Price: 100EUR
The same as C4 but in C6 Client so the Screenshots is the same: https://imgur.com/a/eternal-sin-l2-athena-x45-c4-WYCpbjl
C6 Interlude: P746
L2Gold L2OFF Server Pack + Source: Price: 200EUR
Screenshots: https://imgur.com/a/9kB3oA9
C6 - Classic Interlude: P110
ESL2 Athena x45 L2OFF Server Pack + Source: Price: 300EUR
Screenshots: https://imgur.com/a/Z2kZxuv
Contact me here via PM (only serious buyers).
Payments via:
- Paypal (Friends and Family)
Account Features
➡ EARLY SUPPORTER BADGE
➡ NO QUEST BADGE
➡ 24 MONTHS BOOST BADGE
➡ 1 YEAR NITRO SUBSCRIPTION
➡ CREATION DATE IS 2017
➡ ACCOUNT STANDING STATUS IS ALL GOOD
➡ CLEAN BILLING
➡ OGE MAIL OUTLOOK
PAYMENT METHODS
➡ CRYPTO
➡ PAYPAL
➡ CASHAPP
➡ BANK TRANSFER
➡ GIFTCARDS
➡ ZELLE
➡ VENMO
CONTACTS
➡ DISCORD : crh11s
➡ TELEGRAM : crh11s
CONTACT WITH ME IF YOU ARE SERIOUS BUYE
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