Jump to content
  • 0

Remove chest on enter (FROZEN)


Question

Posted

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

 

enterworld.java

 

//remove chest

4 answers to this question

Recommended Posts

  • 0
Posted

G.T. :

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

 

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

  • 0
Posted (edited)
            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
  • 0
Posted (edited)

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

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

Edited by Ave™

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.



×
×
  • 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