Package com.l2jfrozen.gameserver.model.actor.instance

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.sendMessage()


      return;
    }
   
    if (player.isTradeDisabled())
    {
      player.sendMessage("Trade are disable here. Try in another place.");
      player.sendPacket(new PrivateStoreManageListBuy(player));
      player.sendPacket(ActionFailed.STATIC_PACKET);
      return;
    }
   
View Full Code Here


      return;
    }
   
    if (player.isCastingNow() || player.isCastingPotionNow() || player.isMovementDisabled() || player.inObserverMode() || player.getActiveEnchantItem() != null)
    {
      player.sendMessage("You cannot start store now..");
      player.sendPacket(new PrivateStoreManageListBuy(player));
      player.sendPacket(ActionFailed.STATIC_PACKET);
      return;
    }
   
View Full Code Here

    }
   
    if (player.isInsideZone(L2Character.ZONE_NOSTORE))
    {
      player.sendPacket(new PrivateStoreManageListBuy(player));
      player.sendMessage("Trade are disable here. Try in another place.");
      player.sendPacket(ActionFailed.STATIC_PACKET);
      return;
    }

    TradeList tradeList = player.getBuyList();
View Full Code Here

      return;
    }
   
    if (player.isProcessingTransaction())
    {
      player.sendMessage("Store mode are disable while trading.");
      player.sendPacket(new PrivateStoreManageListBuy(player));
      return;
    }
   
    // Check maximum number of allowed slots for pvt shops
View Full Code Here

    if (player == null)
      return;
   
    if (!player.getAccessLevel().allowTransaction())
    {
      player.sendMessage("Transactions are disable for your Access Level");
      player.sendPacket(ActionFailed.STATIC_PACKET);
      return;
    }
   
    if (player.isTradeDisabled())
View Full Code Here

      return;
    }
   
    if (player.isTradeDisabled())
    {
      player.sendMessage("Trade are disable here. Try in another place.");
      player.sendPacket(new PrivateStoreManageListSell(player));
      player.sendPacket(ActionFailed.STATIC_PACKET);
      return;
    }
   
View Full Code Here

      return;
    }
   
    if (player.isCastingNow() || player.isCastingPotionNow() || player.isMovementDisabled() || player.inObserverMode() || player.getActiveEnchantItem() != null)
    {
      player.sendMessage("You cannot start store now..");
      player.sendPacket(new PrivateStoreManageListSell(player));
      player.sendPacket(ActionFailed.STATIC_PACKET);
      return;
    }
   
View Full Code Here

    }
   
    if (player.isInsideZone(L2Character.ZONE_NOSTORE))
    {
      player.sendPacket(new PrivateStoreManageListSell(player));
      player.sendMessage("Trade are disable here. Try in another place.");
      player.sendPacket(ActionFailed.STATIC_PACKET);
      return;
    }

    TradeList tradeList = player.getSellList();
View Full Code Here

    }
   
    if (player.isProcessingTransaction())
    {
      player.sendPacket(new PrivateStoreManageListSell(player));
      player.sendMessage("Store mode are disable while trading.");
      return;
    }
   
    // Check maximum number of allowed slots for pvt shops
    if (_count > player.GetPrivateSellStoreLimit())
View Full Code Here

    if(player == null)
      return;

    if (!getClient().getFloodProtectors().getTransaction().tryPerformAction("buy"))
    {
      player.sendMessage("You buying too fast.");
      return;
    }
   
    // Alt game - Karma punishment
    if(!Config.ALT_GAME_KARMA_PLAYER_CAN_SHOP && player.getKarma() > 0)
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.