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

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