Καλημερα, εχω ενα προβλημα με εναν κωδικα που εχω περασει στο Eclipse , εχω βαλει οταν κανει sub ο παιχτης να του βγαινουν armor,weapon αλλα το προβλημα ειναι οτι δεν κανει update το inventory...
Οριστε ο κωδικας :
if(allowAddition)
{
String className = CharTemplateTable.getClassNameById(paramOne);
if(!player.addSubClass(paramOne, player.getTotalSubClasses() + 1))
{
player.sendMessage("The sub class could not be added.");
player.setLocked(false);
return;
}
int[] armorType = { Inventory.PAPERDOLL_RHAND, Inventory.PAPERDOLL_LHAND, Inventory.PAPERDOLL_LRHAND, Inventory.PAPERDOLL_LRHAND,
Inventory.PAPERDOLL_CHEST, Inventory.PAPERDOLL_HEAD,
Inventory.PAPERDOLL_LEGS, Inventory.PAPERDOLL_GLOVES,
Inventory.PAPERDOLL_FEET, Inventory.PAPERDOLL_BACK};
for (int items : armorType)
{
L2ItemInstance parmorInstance = player.getInventory().getPaperdollItem(items);
if (parmorInstance != null)
player.getInventory().unEquipItemInSlot(items);
}
player.broadcastPacket(new InventoryUpdate());
player.setActiveClass(player.getTotalSubClasses());
if(Config.CHECK_SKILLS_ON_ENTER && !Config.ALT_GAME_SKILL_LEARN)
{
player.checkAllowedSkills();
}
hello everyone !
I need help with a l2script Rev H5-Salvation/Classic build. I compiled the project, installed everything but I can't log in to the server, it won't log me in. I tried a thousand ways without good results. I leave you the error when logging in either with the H5-Salvation Client.
ERROR ---> WARN: IPBANMANAGER ---> IP !!!!
I'm waiting for help! Thank you!
Hello !
I have a problem when connecting to the pack with the Salvation client, it blocks my IP, I see that the account is created in the database but it remains logged in.
Any idea what it could be? ALso with H5 CLient !
Thank you !
Question
Devilfenix
Καλημερα, εχω ενα προβλημα με εναν κωδικα που εχω περασει στο Eclipse , εχω βαλει οταν κανει sub ο παιχτης να του βγαινουν armor,weapon αλλα το προβλημα ειναι οτι δεν κανει update το inventory...
Οριστε ο κωδικας :
25 answers to this question
Recommended Posts