Package lineage2.gameserver.model

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


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


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

      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

    {
      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

    {
      return;
    }
    if (!player.getPlayerAccess().UseWarehouse)
    {
      player.sendActionFailed();
      return;
    }
    if (player.isActionsDisabled())
    {
      player.sendActionFailed();
View Full Code Here

      player.sendActionFailed();
      return;
    }
    if (player.isActionsDisabled())
    {
      player.sendActionFailed();
      return;
    }
    if (player.isInStoreMode())
    {
      player.sendPacket(SystemMsg.WHILE_OPERATING_A_PRIVATE_STORE_OR_WORKSHOP_YOU_CANNOT_DISCARD_DESTROY_OR_TRADE_AN_ITEM);
View Full Code Here

      player.sendPacket(SystemMsg.WHILE_OPERATING_A_PRIVATE_STORE_OR_WORKSHOP_YOU_CANNOT_DISCARD_DESTROY_OR_TRADE_AN_ITEM);
      return;
    }
    if (player.isInTrade())
    {
      player.sendActionFailed();
      return;
    }
    NpcInstance whkeeper = player.getLastNpc();
    if ((whkeeper == null) || !player.isInRangeZ(whkeeper, Creature.INTERACTION_DISTANCE))
    {
View Full Code Here

    {
      return;
    }
    if (!activeChar.isInMovie() || (activeChar.getMovieId() != _movieId))
    {
      activeChar.sendActionFailed();
      return;
    }
    activeChar.setIsInMovie(false);
    activeChar.setMovieId(0);
    activeChar.decayMe();
View Full Code Here

    {
      return;
    }
    if (!activeChar.isInStoreMode() || (activeChar.getPrivateStoreType() != Player.STORE_PRIVATE_BUY))
    {
      activeChar.sendActionFailed();
      return;
    }
    activeChar.setPrivateStoreType(Player.STORE_PRIVATE_NONE);
    activeChar.standUp();
    activeChar.broadcastCharInfo();
View Full Code Here

    {
      return;
    }
    if (activeChar.isOutOfControl())
    {
      activeChar.sendActionFailed();
      return;
    }
    if (activeChar.isProcessingRequest())
    {
      activeChar.sendPacket(Msg.WAITING_FOR_ANOTHER_REPLY);
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.