Jump to content

`xFrost®

Members
  • Posts

    128
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

About `xFrost®

Profile Information

  • Gender
    Not Telling

`xFrost®'s Achievements

Newbie

Newbie (1/16)

0

Reputation

  1. Καλησπέρα σε όλους.Σε αυτό μου το guide, θα σας δείξω πως να περάσετε, το δείκο σας java code. Λοιπόν ξεκινάμε.Για παράδειγμα θα χρησιμοποιήσω αυτό το Java Code Πρώτα από όλα ανοίγουμε το Eclipse.exe. Το Code λέει να πάμε L2PCInstance Index: /java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java =================================================================== --- /java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 1434) +++ /java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (working copy) @@ -9680,6 +9680,90 @@ public boolean setActiveClass(int classIndex) { + L2ItemInstance rhand = getInventory().getPaperdollItem(Inventory.PAPERDOLL_RHAND); + if (rhand != null) + { + + L2ItemInstance[] unequipped = getInventory().unEquipItemInBodySlotAndRecord(rhand.getItem().getBodyPart()); + InventoryUpdate iu = new InventoryUpdate(); + for (L2ItemInstance element : unequipped) + iu.addModifiedItem(element); + sendPacket(iu); + + } + + L2ItemInstance lhand = getInventory().getPaperdollItem(Inventory.PAPERDOLL_LHAND); + if (lhand != null) + { + + L2ItemInstance[] unequipped = getInventory().unEquipItemInBodySlotAndRecord(lhand.getItem().getBodyPart()); + InventoryUpdate iu = new InventoryUpdate(); + for (L2ItemInstance element : unequipped) + iu.addModifiedItem(element); + sendPacket(iu); + + } /* * 1. Call store() before modifying _classIndex to avoid skill effects rollover. * 2. Register the correct _classId against applied 'classIndex'. */ store(); Πρέπει να βρούμε αυτό εδώ το αρχείο L2PcInstance.java Μόλις ανοίξουμε το L2PCInstance Πατάμε Ctrl + F και γράφουμε αυτό που λέει εδώ public boolean setActiveClass(int classIndex) πατάμε ok Μετά αυτά που έχουν "+" στο Code δηλαδή αυτά εδώ + L2ItemInstance rhand = getInventory().getPaperdollItem(Inventory.PAPERDOLL_RHAND); + if (rhand != null) + { + + L2ItemInstance[] unequipped = getInventory().unEquipItemInBodySlotAndRecord(rhand.getItem().getBodyPart()); + InventoryUpdate iu = new InventoryUpdate(); + for (L2ItemInstance element : unequipped) + iu.addModifiedItem(element); + sendPacket(iu); + + } + + L2ItemInstance lhand = getInventory().getPaperdollItem(Inventory.PAPERDOLL_LHAND); + if (lhand != null) + { + + L2ItemInstance[] unequipped = getInventory().unEquipItemInBodySlotAndRecord(lhand.getItem().getBodyPart()); + InventoryUpdate iu = new InventoryUpdate(); + for (L2ItemInstance element : unequipped) + iu.addModifiedItem(element); + sendPacket(iu); + + } Τα κάνουμε c/p κάτω από αυτό που έδειξα πριν public boolean setActiveClass(int classIndex) Credits: me Ότι απορίες έχετε κάντε ένα Reply Cya..
  2. Altsettings.properties
  3. [Request]Dev Help Gr
  4. np ;) Request For Lock
  5. 8a pas Options.properties 8a breis auto # ================================================================= # Community board configuration # ================================================================= # Type of the Community board # - Full = new Community Board ( /!\ Experimental) # - Old = old Community Bord # - off = no community Board CommunityType = old <== Kanto Full BBSDefault = _bbshome # show level of character to others in Community Board ShowLevelOnCommunityBoard = False ShowStatusOnCommunityBoard = True NamePageSizeOnCommunityBoard = 50 NamePerRowOnCommunityBoard = 5
  6. Sta Configs kane afto etsi Autoloot = true
  7. Good Job +1 for your Job nice again!!!!
  8. Thelw enan guard na exei Flag Mod..dld molis flagaroun na tous kanei px paralyze mono
  9. Very nice share Good........
  10. Paidia xrhshmopoiw L2JTeon to pack dn eine preconfigured..Otan kanw Agument tixenw skill alla dn to deixnei sto weapon oti etixa skill prepei na to foresw kai na koita ta skills..mipws kserete pws mpwrw na to ftiaksw?
  11. Afou dn tous paei katholou tous girnaei stin giran ksana..
  12. Sto Project pou exw dn mpwroun h Players h Normal na kanoun teleport sto Antharas Nest..L2JTeon Project.. Pws Mpwrw na to Fix afto?Opoios kserei na kanei ena reply
  13. Very nice Job and i give you +1 KARMA ok
  14. Molis dn eine mesa sto game dokimase na ton valeis jailled ton char tou kai pes tou na mpei to eixa kai egw afto to problem kai ekana afto kai eitan ok..Twra dn eime kai sigouros ama piash se esena afto
  15. Vale sto ExternalHostname: NO-IP InternalHostname: 127.0.0.1
×
×
  • Create New...