Jump to content

Recommended Posts

Posted

Thank you!!

I was searching for this fucking packet for a long time ;)

Reworked

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock