`xFrost® Posted April 3, 2010 Posted April 3, 2010 Καλησπέρα σε όλους.Σε αυτό μου το 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..
Devangell™ Posted April 3, 2010 Posted April 3, 2010 πολυ καλος ο οδηγος σου φενετε θα τον διαβασω και θα σου πω τα αποτελεσματα συνεχισε ετσι
+cs.tribal Posted April 3, 2010 Posted April 3, 2010 Den mporw na pw...wraios kai katanohtos odhgos! Alla eiparxoun idi alloi idioi san afton!
Trx Posted April 3, 2010 Posted April 3, 2010 σε πρόλαβα http://www.maxcheaters.com/forum/index.php?topic=134605.0 :D
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now