Καλημερα, εχω ενα προβλημα με εναν κωδικα που εχω περασει στο 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,
Im Looking for a database wich was used on a live server.
If anyone has one Laying around, it would be nice if you could share it with me.
Ofcourse you can delete the User Mail Adresses. Its just for Private purpose, im making a webinterface just for fun and wanted to have a database wich is "filled" with Real data. If anyone is intrested, i could share the webinterface later for free when i Finished the Project.
Thanks
Interlude, At the moment I'm already able to compile and decompile, now I just need to make the files connect, that's all I need, inside my Skill.usk I couldn't see anything that's inside my LineageEffect.u, that's all I need, can you help me?
**INTERLUDE REMASTERED**
Moonland is a server that's been running for about three years without wipe, and they don't plan on wiping it anytime soon.
I'm selling my items or even the account with full auguments for duelist/archer/mage due to not having much time to play anymore.
I'm selling only for $$$ OR CS2 skins. Not going to disclose my nickname in the server, but here are some of the items:
Lvl 5 equipment for both mage and fighter, +100 mage pvp set, 2mastery jewels for fighter, 2 for mage, blessed antharas, blessed queen ant, ring of fallen angel, earring of fafurion.
1k + col(donate coins), VIP cosmetics for armor, agathion and weapons(duals + mage wep)
I'm only selling for real money via paypal or cs2 skins so don't offer me anything else.
comment your contact details and I will get in touch with you.
up
Question
Devilfenix
Καλημερα, εχω ενα προβλημα με εναν κωδικα που εχω περασει στο Eclipse , εχω βαλει οταν κανει sub ο παιχτης να του βγαινουν armor,weapon αλλα το προβλημα ειναι οτι δεν κανει update το inventory...
Οριστε ο κωδικας :
25 answers to this question
Recommended Posts