`xFrost® Posted April 3, 2010 Share 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.. Quote Link to comment Share on other sites More sharing options...
Devangell™ Posted April 3, 2010 Share Posted April 3, 2010 πολυ καλος ο οδηγος σου φενετε θα τον διαβασω και θα σου πω τα αποτελεσματα συνεχισε ετσι Quote Link to comment Share on other sites More sharing options...
Belzebul Posted April 3, 2010 Share Posted April 3, 2010 3ος οδηγός για το ίδιο θέμα ρε μάγκες? Quote Link to comment Share on other sites More sharing options...
+cs.tribal Posted April 3, 2010 Share Posted April 3, 2010 Den mporw na pw...wraios kai katanohtos odhgos! Alla eiparxoun idi alloi idioi san afton! Quote Link to comment Share on other sites More sharing options...
Trx Posted April 3, 2010 Share Posted April 3, 2010 σε πρόλαβα http://www.maxcheaters.com/forum/index.php?topic=134605.0 :D Quote Link to comment Share on other sites More sharing options...
Tifε Posted April 3, 2010 Share Posted April 3, 2010 Delete Lock Iparxei dio fores einai arketes fores... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.