Emrys Posted January 1, 2010 Author Share Posted January 1, 2010 Thank you!! I was searching for this fucking packet for a long time ;) Reworked Link to comment Share on other sites More sharing options...
Leprus Posted January 1, 2010 Share Posted January 1, 2010 Now it will work. Gz. But.. You missed the system message ^^ Link to comment Share on other sites More sharing options...
Setekh Posted January 1, 2010 Share Posted January 1, 2010 Thank you!! I was searching for this -beep-ing packet for a long time ;) Reworked You could of looked at L2Npc onBypasscmd method :P Link to comment Share on other sites More sharing options...
Emrys Posted January 1, 2010 Author Share Posted January 1, 2010 Forget to tell that : In Ct2 + Chronicles you should go on etcitems table and put where is the lifestone ID, in the Handler box the "PortableAug" :D Link to comment Share on other sites More sharing options...
Albion™ Posted January 1, 2010 Share Posted January 1, 2010 TheEnd This is way... /* * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * this program. If not, see <http://www.gnu.org/licenses/>. */ package handlers.itemhandlers; import net.sf.l2j.gameserver.handler.IItemHandler; import net.sf.l2j.gameserver.model.L2ItemInstance; import net.sf.l2j.gameserver.model.actor.L2Playable; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.network.SystemMessageId; import net.sf.l2j.gameserver.network.serverpackets.ExShowVariationMakeWindow; import net.sf.l2j.gameserver.network.serverpackets.SystemMessage; public class Augmention implements IItemHandler { public void useItem(L2Playable playable, L2ItemInstance item) { if (!(playable instanceof L2PcInstance)) return; L2PcInstance activeChar = (L2PcInstance) playable; int itemId = item.getItemId(); if (itemId == 9576) { activeChar.sendPacket(new SystemMessage(SystemMessageId.SELECT_THE_ITEM_TO_BE_AUGMENTED)); activeChar.sendPacket(new ExShowVariationMakeWindow()); activeChar.destroyItem("BOOM", item.getObjectId(), 1, null, true); } else { activeChar.sendMessage("BOOM, Something Worg, hahaha nab!"); } } } For Gracia Final, Item ID = TOP LS 80 .... when press item , ls deleted ... dont forget to go in DB in "etcitem" and go on TOP LS and in "handlers" = handlername because if dont doo it will not work item.. Link to comment Share on other sites More sharing options...
Emrys Posted January 1, 2010 Author Share Posted January 1, 2010 If the lf is leleted how you are going to augment ? Link to comment Share on other sites More sharing options...
Leprus Posted January 1, 2010 Share Posted January 1, 2010 TheEnd This is way... /* * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * this program. If not, see <http://www.gnu.org/licenses/>. */ package handlers.itemhandlers; import net.sf.l2j.gameserver.handler.IItemHandler; import net.sf.l2j.gameserver.model.L2ItemInstance; import net.sf.l2j.gameserver.model.actor.L2Playable; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.network.SystemMessageId; import net.sf.l2j.gameserver.network.serverpackets.ExShowVariationMakeWindow; import net.sf.l2j.gameserver.network.serverpackets.SystemMessage; public class Augmention implements IItemHandler { public void useItem(L2Playable playable, L2ItemInstance item) { if (!(playable instanceof L2PcInstance)) return; L2PcInstance activeChar = (L2PcInstance) playable; int itemId = item.getItemId(); if (itemId == 9576) { activeChar.sendPacket(new SystemMessage(SystemMessageId.SELECT_THE_ITEM_TO_BE_AUGMENTED)); activeChar.sendPacket(new ExShowVariationMakeWindow()); activeChar.destroyItem("BOOM", item.getObjectId(), 1, null, true); } else { activeChar.sendMessage("BOOM, Something Worg, hahaha nab!"); } } } For Gracia Final, Item ID = TOP LS 80 .... when press item , ls deleted ... dont forget to go in DB in "etcitem" and go on TOP LS and in "handlers" = handlername because if dont doo it will not work item.. FAIL FAIL FAIL FAIL FAIL FAIL FAIL!!!!!!!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now