Jump to content
  • 0

Remove chest on enter (FROZEN)


xRelic

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.
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...