Everything posted by `xFrost®
-
[Guide]Πως να περάσεις το δεικό σου Java Code
Καλησπέρα σε όλους.Σε αυτό μου το 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..
-
[HELP] Με το drop items
Altsettings.properties
-
[Report] Threads That Need To Be Locked
[Request]Dev Help Gr
-
[HELP] Με το drop items
np ;) Request For Lock
-
ALT + B
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
-
[HELP] Με το drop items
Sta Configs kane afto etsi Autoloot = true
-
[Share] Gold Blade By T3Rr0ras
Good Job +1 for your Job nice again!!!!
-
[HELP]Guard
Thelw enan guard na exei Flag Mod..dld molis flagaroun na tous kanei px paralyze mono
-
[Share]NOOBISH ERROR
Very nice share Good........
-
[HELP]Agument Weapon
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?
-
[HELP]Antharas Nest
Afou dn tous paei katholou tous girnaei stin giran ksana..
-
[HELP]Antharas Nest
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
-
[Share]Crash server
Very nice Job and i give you +1 KARMA ok
-
[HELP] Epigon me database.
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
-
[HELP]Serious Problem
Vale sto ExternalHostname: NO-IP InternalHostname: 127.0.0.1
-
[HELP]Serious Problem
Vale ta Config sou na sou pw ama eine
-
[HELP]windows problem
nai omws dn eiparxei allos tropos ektws apo to na kanw format?
-
[HELP]windows problem
Kalhspera tha eithela na sas pw ena problhma pou exw me ta windows.. Loipon anoiksa to pc kai eida na mou leei ta windows eine plasta kai dn me afhne na xrhshmopoihsw program ktlp..mipws kserete ti mpwrw na kanw..
-
Problem me ton server mou Plz Help
Vale ta Config sou ama mpwreis re
-
RE PAIDES Need HELP...OTI PACK K NA USE M BGAZEI ERROR STON BUFFER....
Peraseto xirokinita to SQL re
-
[HELP] ANNOUNCE...
Afto gia na to kaneis xreiazete na kaneis Compile to pack sou.. Ama to pack sou eine Preconfigured dn mpwreis na to kaneis.. Mono me Compile kai Java.. Afto to forum exei xiliades guide pws tha kaneis Compile re
-
[HELP] Psaxnw ta id kai ta name twn b grade jewels...
Peigene sto game kai pata ALT+G kai grapse to name tou kai tha to vreis
-
[help]Παιδια τι διαλεγεται?
Kalhtero eine tou petmezi to pack.. Alla prepei na kaneis Compile gt eine preconfigured kai exoun polla bugs.. Ektws apo afto se preconfigured pack dn mpwreis na kaneis Compile Opote to forum afto exei polla guide pws na kaneis Compile kai tha matheis
-
[Help]Pos kano ena Backup
Peigene database ==> l2jdb ==> backup eine mia kaseta se sxedio pata panw tou pata NEW BACKUP ==> Start afto mono
-
Paidia exw problem me ton server mou den mporw na mpw enw einai online
Mallon ta Ports dn tha eine Online kane afto to Guide http://www.maxcheaters.com/forum/index.php?topic=54283.0 eine polh xrisimo afto