Jump to content
  • 0

Remove chest on enter (FROZEN)


xRelic
 Share

Question

Ψαχνω ενα code που δεν ειναι πανω απο 10 λεξεις! οσο και σαν σας ακουγεται παραξενο παλιοτερα ειχα ενα code που οταν ο τσαρ εκανε λογγιν αυτοματα εβγαινε το chest μηπως το θυμαται καποιος? (FROZEN)

 

enterworld.java

 

//remove chest

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

G.T. :

Τι θα θέλατε να αποφεύγεται με την αφαίρεση chest κατά την είσοδο σας στο παιχνίδι.

 

What you want to avoid with removing chest on enter in game? 

Link to comment
Share on other sites

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

Edited by ~Sens
Link to comment
Share on other sites

  • 0

Γιατι γινεται αυτο? Θυμαμαι παλιοτερα εναν κοντ που ειχα ηταν 2 γραμμες δεν ηταν παραπανω κ αμεσως το δεχοταν.

Χωρίς τίτλο.png

Edited by Ave™
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock