Jump to content
  • 0

Question

7 answers to this question

Recommended Posts

  • 0
Posted (edited)
38 minutes ago, mcdony said:

how to add infinite nipples /arows /mana potions/ great healing p ??? l2j frozen

Area l2off no get suport for frozen.

Edited by Jamba
  • 0
Posted

Soulshots, check the item handler and remove the destroy part.

Arrows, core, reduceArrow. Comment / remove the method/content.

Potions, ItemSkill.java, remove the destroy part under isPotion check.

  • 0
Posted
2 hours ago, SweeTs said:

Soulshots, check the item handler and remove the destroy part.

Arrows, core, reduceArrow. Comment / remove the method/content.

Potions, ItemSkill.java, remove the destroy part under isPotion check.

i canot open java with eclipse :((

  • 0
Posted

package com.l2jfrozen.gameserver.handler.itemhandlers;

import com.l2jfrozen.gameserver.handler.IItemHandler;
import com.l2jfrozen.gameserver.model.actor.instance.L2ItemInstance;
import com.l2jfrozen.gameserver.model.actor.instance.L2PlayableInstance;

public class BreakingArrow implements IItemHandler {

    private static final int[] ITEM_IDS;

    public BreakingArrow() {
        // <editor-fold defaultstate="collapsed" desc="Compiled Code">
        /* 0: aload_0
         * 1: invokespecial java/lang/Object."<init>":()V
         * 4: return
         *  */
        // </editor-fold>
    }

    public void useItem(L2PlayableInstance playable, L2ItemInstance item) {
        // <editor-fold defaultstate="collapsed" desc="Compiled Code">
        /* 0: aload_2
         * 1: invokevirtual com/l2jfrozen/gameserver/model/actor/instance/L2ItemInstance.getItemId:()I
         * 4: istore_3
         * 5: aload_1
         * 6: instanceof    com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance
         * 9: ifne          13
         * 12: return
         * 13: aload_1
         * 14: checkcast     com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance
         * 17: astore        4
         * 19: aload         4
         * 21: invokevirtual com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.getTarget:()Lcom/l2jfrozen/gameserver/model/L2Object;
         * 24: astore        5
         * 26: aload         5
         * 28: instanceof    com/l2jfrozen/gameserver/model/actor/instance/L2GrandBossInstance
         * 31: ifne          58
         * 34: aload         4
         * 36: new           com/l2jfrozen/gameserver/network/serverpackets/SystemMessage
         * 39: dup
         * 40: getstatic     com/l2jfrozen/gameserver/network/SystemMessageId.INCORRECT_TARGET:Lcom/l2jfrozen/gameserver/network/SystemMessageId;
         * 43: invokespecial com/l2jfrozen/gameserver/network/serverpackets/SystemMessage."<init>":(Lcom/l2jfrozen/gameserver/network/SystemMessageId;)V
         * 46: invokevirtual com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.sendPacket:(Lcom/l2jfrozen/gameserver/network/serverpackets/L2GameServerPacket;)V
         * 49: aload         4
         * 51: getstatic     com/l2jfrozen/gameserver/network/serverpackets/ActionFailed.STATIC_PACKET:Lcom/l2jfrozen/gameserver/network/serverpackets/ActionFailed;
         * 54: invokevirtual com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.sendPacket:(Lcom/l2jfrozen/gameserver/network/serverpackets/L2GameServerPacket;)V
         * 57: return
         * 58: aload         5
         * 60: checkcast     com/l2jfrozen/gameserver/model/actor/instance/L2GrandBossInstance
         * 63: astore        6
         * 65: aload         4
         * 67: aload         6
         * 69: sipush        500
         * 72: iconst_0
         * 73: iconst_0
         * 74: invokevirtual com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.isInsideRadius:(Lcom/l2jfrozen/gameserver/model/L2Object;IZZ)Z
         * 77: ifne          96
         * 80: aload         4
         * 82: ldc           The purpose is inaccessible
         * 84: invokevirtual com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.sendMessage:(Ljava/lang/String;)V
         * 87: aload         4
         * 89: getstatic     com/l2jfrozen/gameserver/network/serverpackets/ActionFailed.STATIC_PACKET:Lcom/l2jfrozen/gameserver/network/serverpackets/ActionFailed;
         * 92: invokevirtual com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.sendPacket:(Lcom/l2jfrozen/gameserver/network/serverpackets/L2GameServerPacket;)V
         * 95: return
         * 96: iload_3
         * 97: sipush        8192
         * 100: if_icmpne     146
         * 103: aload         6
         * 105: invokevirtual com/l2jfrozen/gameserver/model/actor/instance/L2GrandBossInstance.getObjectId:()I
         * 108: sipush        29045
         * 111: if_icmpne     146
         * 114: aload         6
         * 116: new           com/l2jfrozen/gameserver/network/serverpackets/SocialAction
         * 119: dup
         * 120: aload         6
         * 122: invokevirtual com/l2jfrozen/gameserver/model/actor/instance/L2GrandBossInstance.getObjectId:()I
         * 125: iconst_2
         * 126: invokespecial com/l2jfrozen/gameserver/network/serverpackets/SocialAction."<init>":(II)V
         * 129: invokevirtual com/l2jfrozen/gameserver/model/actor/instance/L2GrandBossInstance.broadcastPacket:(Lcom/l2jfrozen/gameserver/network/serverpackets/L2GameServerPacket;)V
         * 132: aload_1
         * 133: ldc           Consume
         * 135: aload_2
         * 136: invokevirtual com/l2jfrozen/gameserver/model/actor/instance/L2ItemInstance.getObjectId:()I
         * 139: iconst_1
         * 140: aconst_null
         * 141: iconst_0
         * 142: invokevirtual com/l2jfrozen/gameserver/model/actor/instance/L2PlayableInstance.destroyItem:(Ljava/lang/String;IILcom/l2jfrozen/gameserver/model/L2Object;Z)Z
         * 145: pop
         * 146: return
         *  */
        // </editor-fold>
    }

    public int[] getItemIds() {
        // <editor-fold defaultstate="collapsed" desc="Compiled Code">
        /* 0: getstatic     com/l2jfrozen/gameserver/handler/itemhandlers/BreakingArrow.ITEM_IDS:[I
         * 3: areturn
         *  */
        // </editor-fold>
    }
}
wath to delete

  • 0
Posted

 427: invokespecial com/l2jfrozen/gameserver/handler/itemhandlers/HeroCustomItem."<init>":()V
         * 430: invokevirtual com/l2jfrozen/gameserver/handler/ItemHandler.registerItemHandler:(Lcom/l2jfrozen/gameserver/handler/IItemHandler;)V
         * 433: aload_0
         * 434: new           com/l2jfrozen/gameserver/handler/itemhandlers/MOSKey
         * 437: dup
         * 438: invokespecial com/l2jfrozen/gameserver/handler/itemhandlers/MOSKey."<init>":()V
         * 441: invokevirtual com/l2jfrozen/gameserver/handler/ItemHandler.registerItemHandler:(Lcom/l2jfrozen/gameserver/handler/IItemHandler;)V
         * 444: aload_0
         * 445: new           com/l2jfrozen/gameserver/handler/itemhandlers/BreakingArrow
         * 448: dup
         * 449: invokespecial com/l2jfrozen/gameserver/handler/itemhandlers/BreakingArrow."<init>":()V
         * 452: invokevirtual com/l2jfrozen/gameserver/handler/ItemHandler.registerItemHandler:(Lcom/l2jfrozen/gameserver/handler/IItemHandler;)V
         * 455: aload_0
         * 456: new           com/l2jfrozen/gameserver/handler/itemhandlers/ChristmasTree
         * 459: dup
         * 460: invokespecial com/l2jfrozen/gameserver/handler/itemhandlers/ChristmasTree."<init>":()V
         * 463: invokevirtual com/l2jfrozen/gameserver/handler/ItemHandler.registerItemHandler:(Lcom/l2jfrozen/gameserver/handler/IItemHandler;)V
         * 466: aload_0
         * 467: new           com/l2jfrozen/gameserver/handler/itemhandlers/Crystals
         * 470: dup
         * 471: invokespecial com/l2jfrozen/gameserver/handler/itemhandlers/Crystals."<init>":()V
         * 474: invokevirtual com/l2jfrozen/gameserver/handler/ItemHandler.registerItemHandler:(Lcom/l2jfrozen/gameserver/handler/IItemHandler;)V
         * 477: getstatic     com/l2jfrozen/gameserver/handler/ItemHandler._log:Ljava/util/logging/Logger;

 

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