Jump to content

Recommended Posts

Posted (edited)


===================================================================

com.l2jfrozen.gameserver.network.clientpackets.RequestEnchantItem

===================================================================

//Go to

 

if (activeChar.getActiveTradeList() != null)

{

activeChar.cancelActiveTrade();

activeChar.sendMessage("Your trade canceled");

return;

}

 

 

 

// Add tis

 

 

// Fix enchant by Dagger

if (activeChar.isInBoat())

{

activeChar.sendPacket(new SystemMessage(SystemMessageId.INAPPROPRIATE_ENCHANT_CONDITION));

activeChar.setActiveEnchantItem(null);

return;

}

 

if (activeChar.isInCombat())

{

activeChar.sendPacket(new SystemMessage(SystemMessageId.INAPPROPRIATE_ENCHANT_CONDITION));

activeChar.setActiveEnchantItem(null);

return;

}

 

if (activeChar.isInParty())

{

activeChar.sendPacket(new SystemMessage(SystemMessageId.INAPPROPRIATE_ENCHANT_CONDITION));

activeChar.setActiveEnchantItem(null);

return;

}

 

if (activeChar.isAway())

{

activeChar.sendPacket(new SystemMessage(SystemMessageId.INAPPROPRIATE_ENCHANT_CONDITION));

activeChar.setActiveEnchantItem(null);

return;

}

 

if(activeChar.isInCraftMode())

{

activeChar.setActiveEnchantItem(null);

activeChar.sendMessage("Can't enchant while Crafting");

return;

}

 

if(activeChar.isTeleporting())

{

activeChar.setActiveEnchantItem(null);

activeChar.sendMessage("Can't enchant while You Teleporting");

return;

}

 

if(activeChar.isDead())

{

activeChar.setActiveEnchantItem(null);

activeChar.sendMessage("Can't enchant while You Are Dead");

return;

}

 

if(activeChar.isSleeping())

{

activeChar.setActiveEnchantItem(null);

activeChar.sendMessage("Can't enchant while You Are In Sleep");

return;

}

 

if(activeChar.isParalyzed())

{

activeChar.setActiveEnchantItem(null);

activeChar.sendMessage("Can't enchant while You Are In Para");

return;

}

 

if(activeChar.isCastingNow())

{

activeChar.setActiveEnchantItem(null);

activeChar.sendMessage("Can't enchant while Casting");

return;

}

 

if(activeChar.isMoving())

{

activeChar.setActiveEnchantItem(null);

activeChar.sendMessage("Can't enchant while moving");

return;

}

 

if(activeChar.isProcessingTransaction())

{

activeChar.setActiveEnchantItem(null);

activeChar.sendMessage("Can't enchant while trading");

return;

}

 

if(activeChar.isStunned())

{

activeChar.setActiveEnchantItem(null);

activeChar.sendMessage("Can't enchant while stunned");

return;

}

 

if(activeChar.isMounted())

{

activeChar.setActiveEnchantItem(null);

activeChar.sendMessage("Can't enchant while mounted");

return;

}

 

if(activeChar.isFakeDeath())

{

activeChar.setActiveEnchantItem(null);

activeChar.sendMessage("Can't enchant while fake death");

return;

}

 

if(activeChar.isInJail())

{

activeChar.setActiveEnchantItem(null);

activeChar.sendMessage("Can't enchant while in jail");

return;

}

 

if(activeChar.isCursedWeaponEquiped())

{

activeChar.setActiveEnchantItem(null);

activeChar.sendMessage("Can't enchant while cursed weapon");

return;

}

 

if(activeChar.isFlying())

{

activeChar.setActiveEnchantItem(null);

activeChar.sendMessage("Can't enchant while flying");

return;

}

 

if(activeChar.isFishing())

{

activeChar.setActiveEnchantItem(null);

activeChar.sendMessage("Can't enchant while fishing");

return;

}

 

if(activeChar.isSitting())

{

activeChar.setActiveEnchantItem(null);

activeChar.sendMessage("Can't enchant while sitting");

return;

}

// Fix enchant by Dagger

 

 

// Fix enchant transactions

if (activeChar.isProcessingTransaction())

 

 

Edited by osvaldotl2015
Posted

are we supposed to understand what the hell you mean by 'fix enchants by dagger'?

 

 

if you expect us to understand from this code(?) -lol- what the hell is this exploit (?) then you are probably stupid,lol.

Posted (edited)

are we supposed to understand what the hell you mean by 'fix enchants by dagger'?

 

 

if you expect us to understand from this code(?) -lol- what the hell is this exploit (?) then you are probably stupid,lol.

I´ m Dagger   :angry:  :angry:  :angry:  :angry:

Edited by osvaldotl2015

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