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™

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


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