Skip to content

Fix Enchants By Dagger L2Jfrozen Las Rev

Featured Replies


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

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

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.

  • Author

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.