Jump to content
  • 0

[Help]pos mporw na kanw na bgeni to weapon otan allazoyn Sub


Question

Posted

kalispera se oloys exw ena problima.

exw enan l2j server H5 (exw ftiaksi arketa problimata omos twra bgika ayto kai exw kolisi)

otan kapios allaksi sub kai foraei weapon kolaei olos o server gia 5-10 sec, ksekolaei gia 1 sec kai pali ta idia

an den foraei weapon ola einai mia xara ( akoygete ligo koulo omos afto pathenw)

3 answers to this question

Recommended Posts

  • 0
Posted

Στο l2 pc instance ψάξε αυτό

public boolean setActiveClass(int classIndex)
{

και πρόσθεσε αυτό από κάτω

L2ItemInstance asdf = getInventory().getPaperdollItem(Inventory.PAPERDOLL_RHAND);
               
                if (asdf != null)
                {  
                        L2ItemInstance[] unequipped = getInventory().unEquipItemInBodySlotAndRecord(chest.getItem().getBodyPart());
                        InventoryUpdate iu = new InventoryUpdate();
                       
                        for (L2ItemInstance element : unequipped)
                                iu.addModifiedItem(element);
                       
                        sendPacket(iu);
                        lhand = null;
                        iu = null;
                        unequipped = null;
                }

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..