MeVsYou Posted May 2, 2010 Posted May 2, 2010 Hello guys. I want that when a player take 15 pvps in a row then get +1 safe enchant to his/her weapon . Any idea? :D
0 MeVsYou Posted May 2, 2010 Author Posted May 2, 2010 I think there already is something like this. ok then,show me the way ^^ .
0 dhm.msd Posted May 2, 2010 Posted May 2, 2010 I think there already is something like this. :O Realy??? Can you please Post the Link Here??
0 HippO™ Posted May 2, 2010 Posted May 2, 2010 Here it is but is Removed :'( http://www.maxcheaters.com/forum/index.php?topic=75924.15
0 MeVsYou Posted May 2, 2010 Author Posted May 2, 2010 afff damn wizzy. ok if anyone know anything plzz reply it here.
0 down Posted May 2, 2010 Posted May 2, 2010 try with this switch (killInRow) { case 15: Inventory inv = getInventory(); L2ItemInstance enchMe = inv.getPaperdollItem(Inventory.PAPERDOLL_RHAND); if (enchMe != null && enchMe.getEquipSlot() == Inventory.PAPERDOLL_RHAND) { enchMe.setEnchantLevel(enchMe.getEnchantLevel()+1); InventoryUpdate iu = new InventoryUpdate(); iu.addModifiedItem(enchMe); sendPacket(iu); broadcastPacket(new CharInfo(this)); sendPacket(new UserInfo(this)); sendMessage("The enchant level of "+enchMe.getItem().getName()+" has been increased by 1"); } break; default: ; }
0 xAddytzu Posted May 2, 2010 Posted May 2, 2010 http://www.maxcheaters.com/forum/index.php?topic=134769.0 remove all // from //spreeKills = 0; switch (spreeKills) { case 15: player.showEnchantHtml(); break; }
0 MeVsYou Posted May 2, 2010 Author Posted May 2, 2010 try with this switch (killInRow) { case 15: Inventory inv = getInventory(); L2ItemInstance enchMe = inv.getPaperdollItem(Inventory.PAPERDOLL_RHAND); if (enchMe != null && enchMe.getEquipSlot() == Inventory.PAPERDOLL_RHAND) { enchMe.setEnchantLevel(enchMe.getEnchantLevel()+1); InventoryUpdate iu = new InventoryUpdate(); iu.addModifiedItem(enchMe); sendPacket(iu); broadcastPacket(new CharInfo(this)); sendPacket(new UserInfo(this)); sendMessage("The enchant level of "+enchMe.getItem().getName()+" has been increased by 1"); } break; default: ; } where to add this ? http://www.maxcheaters.com/forum/index.php?topic=134769.0 remove all // from //spreeKills = 0; switch (spreeKills) { case 15: player.showEnchantHtml(); break; } i dont understand you clearly :/
0 xAddytzu Posted May 3, 2010 Posted May 3, 2010 where to add this ? i dont understand you clearly :/ of course, when you will read the code ..you will understand
0 MeVsYou Posted May 3, 2010 Author Posted May 3, 2010 when i apply this code of down ,it dont accept it,something wrong with { } . Aff,what's wrong?
0 down Posted May 3, 2010 Posted May 3, 2010 than add new +private int killInRow=0; and above my code killInRow++; switch (killInRow) {
0 MeVsYou Posted May 4, 2010 Author Posted May 4, 2010 Can someone give me the code for l2jserver [Epilogue client] ??
Question
MeVsYou
Hello guys.
I want that when a player take 15 pvps in a row then get +1 safe enchant to his/her weapon .
Any idea? :D
14 answers to this question
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