Package lineage2.gameserver.model

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


      System.out.println("Event: TvT Arena 2 started.");
      Announcements.getInstance().announceToAll("�?ачал�?�? TvT Arena 2 �?вент.");
    }
    else
    {
      player.sendMessage("TvT Arena 2 Event already started.");
    }
    show("admin/events.htm", player);
  }
 
  /**
 
View Full Code Here


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

        }
        if (_mode == 1)
        {
          if (sponsor.hasApprentice())
          {
            activeChar.sendMessage(new CustomMessage("lineage2.gameserver.clientpackets.RequestOustAlly.MemberAlreadyHasApprentice", activeChar));
            return;
          }
          if (apprentice.hasSponsor())
          {
            activeChar.sendMessage(new CustomMessage("lineage2.gameserver.clientpackets.RequestOustAlly.ApprenticeAlreadyHasSponsor", activeChar));
View Full Code Here

            activeChar.sendMessage(new CustomMessage("lineage2.gameserver.clientpackets.RequestOustAlly.MemberAlreadyHasApprentice", activeChar));
            return;
          }
          if (apprentice.hasSponsor())
          {
            activeChar.sendMessage(new CustomMessage("lineage2.gameserver.clientpackets.RequestOustAlly.ApprenticeAlreadyHasSponsor", activeChar));
            return;
          }
          sponsor.setApprentice(apprentice.getObjectId());
          clan.broadcastToOnlineMembers(new PledgeShowMemberListUpdate(apprentice));
          clan.broadcastToOnlineMembers(new SystemMessage(SystemMessage.S2_HAS_BEEN_DESIGNATED_AS_THE_APPRENTICE_OF_CLAN_MEMBER_S1).addString(sponsor.getName()).addString(apprentice.getName()));
View Full Code Here

        }
        else
        {
          if (!sponsor.hasApprentice())
          {
            activeChar.sendMessage(new CustomMessage("lineage2.gameserver.clientpackets.RequestOustAlly.MemberHasNoApprentice", activeChar));
            return;
          }
          sponsor.setApprentice(0);
          clan.broadcastToOnlineMembers(new PledgeShowMemberListUpdate(apprentice));
          clan.broadcastToOnlineMembers(new SystemMessage(SystemMessage.S2_CLAN_MEMBER_S1S_APPRENTICE_HAS_BEEN_REMOVED).addString(sponsor.getName()).addString(apprentice.getName()));
View Full Code Here

        activeChar.sendPacket(new PledgeReceiveMemberInfo(sponsor));
      }
    }
    else
    {
      activeChar.sendMessage(new CustomMessage("lineage2.gameserver.clientpackets.RequestOustAlly.NoMasterRights", activeChar));
    }
  }
}
View Full Code Here

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

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

    {
      return;
    }
    if (activeChar.getTransformation() != 0)
    {
      activeChar.sendMessage("You must leave transformation mode first.");
      return;
    }
    if ((activeChar.getLevel() < 76) || (activeChar.getClassLevel() < 4))
    {
      activeChar.sendMessage("You must have 3rd class change quest completed.");
View Full Code Here

      activeChar.sendMessage("You must leave transformation mode first.");
      return;
    }
    if ((activeChar.getLevel() < 76) || (activeChar.getClassLevel() < 4))
    {
      activeChar.sendMessage("You must have 3rd class change quest completed.");
      return;
    }
    EnchantSkillLearn sl = SkillTreeTable.getSkillEnchant(_skillId, _skillLvl);
    if (sl == 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.