Jump to content

Recommended Posts

Posted

Thank you!!

I was searching for this -beep-ing packet for a long time ;)

Reworked

 

You could of looked at L2Npc onBypasscmd method :P

Posted

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

Posted

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..

Posted

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!!!!!!!!!

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...