Examples of sendActionFailed()


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

      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

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

      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

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

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

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

    {
      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

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

    {
      return;
    }
    if (activeChar.isOutOfControl())
    {
      activeChar.sendActionFailed();
      return;
    }
    if (activeChar.isProcessingRequest())
    {
      activeChar.sendPacket(Msg.WAITING_FOR_ANOTHER_REPLY);
View Full Code Here

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

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

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

      activeChar.sendPacket(Msg.WHILE_OPERATING_A_PRIVATE_STORE_OR_WORKSHOP_YOU_CANNOT_DISCARD_DESTROY_OR_TRADE_AN_ITEM);
      return;
    }
    if (activeChar.isInTrade())
    {
      activeChar.sendActionFailed();
      return;
    }
    if (!Config.ALT_GAME_KARMA_PLAYER_CAN_SHOP && (activeChar.getKarma() < 0) && !activeChar.isGM())
    {
      activeChar.sendActionFailed();
View Full Code Here

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

      activeChar.sendActionFailed();
      return;
    }
    if (!Config.ALT_GAME_KARMA_PLAYER_CAN_SHOP && (activeChar.getKarma() < 0) && !activeChar.isGM())
    {
      activeChar.sendActionFailed();
      return;
    }
    NpcInstance merchant = activeChar.getLastNpc();
    boolean isValidMerchant = (merchant != null) && merchant.isMerchantNpc();
    if (!activeChar.isGM() && ((merchant == null) || !isValidMerchant || !activeChar.isInRange(merchant, Creature.INTERACTION_DISTANCE)))
View Full Code Here

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

    }
    NpcInstance merchant = activeChar.getLastNpc();
    boolean isValidMerchant = (merchant != null) && merchant.isMerchantNpc();
    if (!activeChar.isGM() && ((merchant == null) || !isValidMerchant || !activeChar.isInRange(merchant, Creature.INTERACTION_DISTANCE)))
    {
      activeChar.sendActionFailed();
      return;
    }
    NpcTradeList list = BuyListHolder.getInstance().getBuyList(_listId);
    if (list == null)
    {
View Full Code Here

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

      return;
    }
    NpcTradeList list = BuyListHolder.getInstance().getBuyList(_listId);
    if (list == null)
    {
      activeChar.sendActionFailed();
      return;
    }
    long totalPrice = 0;
    Map<Integer, Integer> itemList = new HashMap<>();
    try
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.