Package lineage2.gameserver.model

Examples of lineage2.gameserver.model.GameObject.sendMessage()


      System.out.println("TvT Arena 3 Event stopped.");
      Announcements.getInstance().announceToAll("TvT Arena 3 �?вент окончен.");
    }
    else
    {
      player.sendMessage("TvT Arena 3 Event not started.");
    }
    show("admin/events.htm", player);
  }
 
  /**
 
View Full Code Here


      System.out.println("Event 'L2 Medal Collection Event' started.");
      Announcements.getInstance().announceByCustomMessage("scripts.events.glitmedal.AnnounceEventStarted", null);
    }
    else
    {
      player.sendMessage("Event 'L2 Medal Collection Event' already started.");
    }
    _active = true;
    show("admin/events.htm", player);
  }
 
View Full Code Here

      System.out.println("Event 'L2 Medal Collection Event' stopped.");
      Announcements.getInstance().announceByCustomMessage("scripts.events.glitmedal.AnnounceEventStoped", null);
    }
    else
    {
      player.sendMessage("Event 'L2 Medal Collection Event' not started.");
    }
    _active = false;
    show("admin/events.htm", player);
  }
 
View Full Code Here

      activeChar.sendActionFailed();
      return;
    }
    if (!activeChar.isClanLeader())
    {
      activeChar.sendMessage(new CustomMessage("lineage2.gameserver.clientpackets.RequestPledgeReorganizeMember.ChangeAffiliations", activeChar));
      activeChar.sendActionFailed();
      return;
    }
    UnitMember subject = clan.getAnyMember(_subjectName);
    if (subject == null)
View Full Code Here

      return;
    }
    UnitMember subject = clan.getAnyMember(_subjectName);
    if (subject == null)
    {
      activeChar.sendMessage(new CustomMessage("lineage2.gameserver.clientpackets.RequestPledgeReorganizeMember.NotInYourClan", activeChar));
      activeChar.sendActionFailed();
      return;
    }
    if (subject.getPledgeType() == _targetUnit)
    {
View Full Code Here

      activeChar.sendActionFailed();
      return;
    }
    if (subject.getPledgeType() == _targetUnit)
    {
      activeChar.sendMessage(new CustomMessage("lineage2.gameserver.clientpackets.RequestPledgeReorganizeMember.AlreadyInThatCombatUnit", activeChar));
      activeChar.sendActionFailed();
      return;
    }
    if ((_targetUnit != 0) && (clan.getSubUnit(_targetUnit) == null))
    {
View Full Code Here

      activeChar.sendActionFailed();
      return;
    }
    if ((_targetUnit != 0) && (clan.getSubUnit(_targetUnit) == null))
    {
      activeChar.sendMessage(new CustomMessage("lineage2.gameserver.clientpackets.RequestPledgeReorganizeMember.NoSuchCombatUnit", activeChar));
      activeChar.sendActionFailed();
      return;
    }
    if (Clan.isAcademy(_targetUnit))
    {
View Full Code Here

      activeChar.sendActionFailed();
      return;
    }
    if (Clan.isAcademy(_targetUnit))
    {
      activeChar.sendMessage(new CustomMessage("lineage2.gameserver.clientpackets.RequestPledgeReorganizeMember.AcademyViaInvitation", activeChar));
      activeChar.sendActionFailed();
      return;
    }
    if (Clan.isAcademy(subject.getPledgeType()))
    {
View Full Code Here

      activeChar.sendActionFailed();
      return;
    }
    if (Clan.isAcademy(subject.getPledgeType()))
    {
      activeChar.sendMessage(new CustomMessage("lineage2.gameserver.clientpackets.RequestPledgeReorganizeMember.CantMoveAcademyMember", activeChar));
      activeChar.sendActionFailed();
      return;
    }
    UnitMember replacement = null;
    if (_replace > 0)
View Full Code Here

    if (_replace > 0)
    {
      replacement = clan.getAnyMember(_replaceName);
      if (replacement == null)
      {
        activeChar.sendMessage(new CustomMessage("lineage2.gameserver.clientpackets.RequestPledgeReorganizeMember.CharacterNotBelongClan", activeChar));
        activeChar.sendActionFailed();
        return;
      }
      if (replacement.getPledgeType() != _targetUnit)
      {
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.