Examples of broadcastToPartyMembers()


Examples of l2p.gameserver.model.L2Party.broadcastToPartyMembers()

          channel.disbandChannel();
          return true;
        }
        L2Party party = activeChar.getParty();
        channel.removeParty(party);
        party.broadcastToPartyMembers(Msg.YOU_HAVE_QUIT_THE_COMMAND_CHANNEL);
        channel.broadcastToChannelMembers(new SystemMessage(SystemMessage.S1_PARTY_HAS_LEFT_THE_COMMAND_CHANNEL).addString(activeChar.getName()));
        break;
      case 97: //channelinfo
        if(!activeChar.isInParty() || !activeChar.getParty().isInCommandChannel())
        {
View Full Code Here

Examples of l2p.gameserver.model.L2Party.broadcastToPartyMembers()

          L2Party next = party_waiting_list.get(Rnd.get(party_waiting_list.size() - 1));
          for(L2Player member : next.getPartyMembers())
          {
            if(member.getLevel() > getMaxLevel() || member.getLevel() < getMinLevel())
            {
              next.broadcastToPartyMembers(new SystemMessage(SystemMessage.C1S_LEVEL_REQUIREMENT_IS_NOT_SUFFICIENT_AND_CANNOT_BE_ENTERED).addName(member));
              return;
            }
            if(member.isCursedWeaponEquipped())
            {
              next.broadcastToPartyMembers(new SystemMessage(SystemMessage.C1S_QUEST_REQUIREMENT_IS_NOT_SUFFICIENT_AND_CANNOT_BE_ENTERED).addName(member));
View Full Code Here

Examples of l2p.gameserver.model.L2Party.broadcastToPartyMembers()

              next.broadcastToPartyMembers(new SystemMessage(SystemMessage.C1S_LEVEL_REQUIREMENT_IS_NOT_SUFFICIENT_AND_CANNOT_BE_ENTERED).addName(member));
              return;
            }
            if(member.isCursedWeaponEquipped())
            {
              next.broadcastToPartyMembers(new SystemMessage(SystemMessage.C1S_QUEST_REQUIREMENT_IS_NOT_SUFFICIENT_AND_CANNOT_BE_ENTERED).addName(member));
              return;
            }
            int[] teleloc = getFreeWaitingRoom();
            if(teleloc[0] == 0)
            {
View Full Code Here

Examples of l2p.gameserver.model.L2Party.broadcastToPartyMembers()

        for(L2Player member : party.getPartyMembers())
        {
          QuestState qsm = member.getQuestState(this.getName());
          if(qsm == null || qsm.getCond() != 1)
          {
            party.broadcastToPartyMembers(new SystemMessage("У персонажа " + member.getName() + ", не взят квест для входа."));
            return null;
          }
        }
        mInstance.enterInstance(player, 115, true, true);
        inst = new BreakThroughTheHallOfSuffering();
View Full Code Here

Examples of l2p.gameserver.model.L2Party.broadcastToPartyMembers()

        for(L2Player member : party.getPartyMembers())
        {
          QuestState qsm = member.getQuestState(this.getName());
          if(qsm == null || qsm.getCond() != 1)
          {
            party.broadcastToPartyMembers(new SystemMessage("У персонажа " + member.getName() + ", не взят квест для входа."));
            return null;
          }
        }
        if(mInstance.enterInstance(player, 116, true, true))
        {
View Full Code Here

Examples of net.sf.l2j.gameserver.model.L2Party.broadcastToPartyMembers()

            L2CommandChannel channel = activeChar.getParty().getCommandChannel();
            L2Party party = activeChar.getParty();
            channel.removeParty(party);

            SystemMessage sm = SystemMessage.sendString("Your party has left the CommandChannel.");
            party.broadcastToPartyMembers(sm);
            sm = SystemMessage.sendString(party.getPartyMembers().get(0).getName() +"'s party has left the CommandChannel.");
            channel.broadcastToChannelMembers(sm);
            return true;
          }
        }
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.