Examples of sendActionFailed()


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

      }
     
      if (!inventory.validateWeight(weight))
      {
        activeChar.sendPacket(Msg.YOU_HAVE_EXCEEDED_THE_WEIGHT_LIMIT);
        activeChar.sendActionFailed();
        return;
      }
     
      if (!inventory.validateCapacity(slots))
      {
View Full Code Here

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

      }
     
      if (!inventory.validateCapacity(slots))
      {
        activeChar.sendPacket(Msg.YOUR_INVENTORY_IS_FULL);
        activeChar.sendActionFailed();
        return;
      }
     
      if (entry.getIngredients().size() == 0)
      {
View Full Code Here

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

        return;
      }
     
      if (entry.getIngredients().size() == 0)
      {
        activeChar.sendActionFailed();
        activeChar.setMultisell(null);
        return;
      }
     
      for (MultiSellIngredient ingridient : entry.getIngredients())
View Full Code Here

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

      player.sendPacket(SystemMsg.YOU_CANNOT_BOARD_A_SHIP_WHILE_YOU_ARE_POLYMORPHED, ActionFail.STATIC);
      return;
    }
    if (player.isMovementDisabled() || player.isSitting())
    {
      player.sendActionFailed();
      return;
    }
    if (!player.isInBoat())
    {
      player.setBoat(this);
View Full Code Here

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

    if (activeChar.isDead())
    {
      sendPacket(new Die(activeChar));
    }
    activeChar.unsetVar("offline");
    activeChar.sendActionFailed();
    if (first && activeChar.isGM() && Config.SAVE_GM_EFFECTS && activeChar.getPlayerAccess().CanUseGMCommand)
    {
      if (activeChar.getVarB("gm_silence"))
      {
        activeChar.setMessageRefusal(true);
View Full Code Here

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

      return;
    }
    Boat boat = BoatHolder.getInstance().getBoat(_objectId);
    if ((boat == null) || boat.isMoving)
    {
      player.sendActionFailed();
      return;
    }
    boat.oustPlayer(player, _location, false);
  }
}
View Full Code Here

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

      return;
    }
    Clan clan = activeChar.getClan();
    if (clan == null)
    {
      activeChar.sendActionFailed();
      return;
    }
    if (!((activeChar.getClanPrivileges() & Clan.CP_CL_CLAN_WAR) == Clan.CP_CL_CLAN_WAR))
    {
      activeChar.sendActionFailed();
View Full Code Here

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

      activeChar.sendActionFailed();
      return;
    }
    if (!((activeChar.getClanPrivileges() & Clan.CP_CL_CLAN_WAR) == Clan.CP_CL_CLAN_WAR))
    {
      activeChar.sendActionFailed();
      return;
    }
    if (clan.getWarsCount() >= 30)
    {
      activeChar.sendPacket(Msg.A_DECLARATION_OF_WAR_AGAINST_MORE_THAN_30_CLANS_CANT_BE_MADE_AT_THE_SAME_TIME, ActionFail.STATIC);
View Full Code Here

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

      return;
    }
    if (!request.isInProgress())
    {
      request.cancel();
      activeChar.sendActionFailed();
      return;
    }
    if (activeChar.isOutOfControl())
    {
      request.cancel();
View Full Code Here

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

      return;
    }
    if (activeChar.isOutOfControl())
    {
      request.cancel();
      activeChar.sendActionFailed();
      return;
    }
    Player requestor = request.getRequestor();
    if (requestor == null)
    {
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.