Examples of sendActionFailed()


Examples of l2p.gameserver.model.L2Character.sendActionFailed()

  protected void clientActionFailed()
  {
    L2Character actor = getActor();
    if(actor != null && actor.isPlayer())
    {
      actor.sendActionFailed();
    }
  }

  /**
   * Останавливает движение
View Full Code Here

Examples of l2p.gameserver.model.L2Playable.sendActionFailed()

      onAttackFail();
      return;
    }
    if(actor.isActionsDisabled() || actor.isAttackingDisabled())
    {
      actor.sendActionFailed();
      return;
    }
    boolean isPosessed = actor instanceof L2Summon && ((L2Summon) actor).isPosessed();
    L2Character attack_target = getAttackTarget();
    if(attack_target == null || attack_target.isDead() || !isPosessed && !(_forceUse ? attack_target.isAttackable(player) : attack_target.isAutoAttackable(player)))
View Full Code Here

Examples of l2p.gameserver.model.L2Player.sendActionFailed()

    {
      return;
    }
    if(actor.isInFlyingTransform())
    {
      actor.sendActionFailed();
      return;
    }
    if(!FloodProtector.tryPerformAction(actor, Action.ATTACK))
    {
      actor.sendActionFailed();
View Full Code Here

Examples of lineage2.gameserver.model.Creature.sendActionFailed()

  protected void clientActionFailed()
  {
    Creature actor = getActor();
    if ((actor != null) && actor.isPlayer())
    {
      actor.sendActionFailed();
    }
  }
 
  /**
   * Method clientStopMoving.
View Full Code Here

Examples of lineage2.gameserver.model.Playable.sendActionFailed()

      setIntention(AI_INTENTION_ACTIVE);
      return;
    }
    if (actor.isActionsDisabled() || actor.isAttackingDisabled())
    {
      actor.sendActionFailed();
      return;
    }
    boolean isPosessed = (actor instanceof Summon) && ((Summon) actor).isDepressed();
    Creature attack_target = getAttackTarget();
    if ((attack_target == null) || attack_target.isDead() || (!isPosessed && !(_forceUse ? attack_target.isAttackable(actor) : attack_target.isAutoAttackable(actor))))
View Full Code Here

Examples of lineage2.gameserver.model.Player.sendActionFailed()

    {
      return;
    }
    if (activeChar.isActionsDisabled())
    {
      activeChar.sendActionFailed();
      return;
    }
    if (activeChar.isInStoreMode())
    {
      activeChar.sendActionFailed();
View Full Code Here

Examples of lineage2.gameserver.model.Player.sendActionFailed()

      activeChar.sendActionFailed();
      return;
    }
    if (activeChar.isInStoreMode())
    {
      activeChar.sendActionFailed();
      return;
    }
    if (activeChar.isProcessingRequest())
    {
      activeChar.sendActionFailed();
View Full Code Here

Examples of lineage2.gameserver.model.Player.sendActionFailed()

      activeChar.sendActionFailed();
      return;
    }
    if (activeChar.isProcessingRequest())
    {
      activeChar.sendActionFailed();
      return;
    }
    if (activeChar.isFishing())
    {
      activeChar.sendPacket(SystemMsg.YOU_CANNOT_DO_THAT_WHILE_FISHING_);
View Full Code Here

Examples of lineage2.gameserver.model.Player.sendActionFailed()

    {
      return;
    }
    if (activeChar.isActionsDisabled())
    {
      activeChar.sendActionFailed();
      return;
    }
    Player manufacturer = (Player) activeChar.getVisibleObject(_manufacturerId);
    if ((manufacturer == null) || (manufacturer.getPrivateStoreType() != Player.STORE_PRIVATE_MANUFACTURE) || !manufacturer.isInRangeZ(activeChar, Creature.INTERACTION_DISTANCE))
    {
View Full Code Here

Examples of lineage2.gameserver.model.Player.sendActionFailed()

    {
      return;
    }
    if (!player.getPlayerAccess().UseWarehouse)
    {
      player.sendActionFailed();
      return;
    }
    if (player.isActionsDisabled())
    {
      player.sendActionFailed();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.