Examples of broadcastToChannelMembers()


Examples of com.l2jfrozen.gameserver.model.L2CommandChannel.broadcastToChannelMembers()

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

        party.getLeader().sendPacket(new SystemMessage(SystemMessageId.LEFT_COMMAND_CHANNEL));
        channel.broadcastToChannelMembers(new SystemMessage(SystemMessageId.S1_PARTY_LEFT_COMMAND_CHANNEL).addString(party.getLeader().getName()));

        party = null;
        channel = null;
        return true;
      }
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.L2CommandChannel.broadcastToChannelMembers()

    if(activeChar!=null && activeChar.isInParty())
    {
      if(activeChar.getParty().isLeader(activeChar) && activeChar.getParty().isInCommandChannel() && activeChar.getParty().getCommandChannel().getChannelLeader().equals(activeChar))
      {
        L2CommandChannel channel = activeChar.getParty().getCommandChannel();
        channel.broadcastToChannelMembers(new SystemMessage(SystemMessageId.COMMAND_CHANNEL_DISBANDED));
        channel.disbandChannel();

        channel = null;
        return true;
      }
View Full Code Here

Examples of l2p.gameserver.model.L2CommandChannel.broadcastToChannelMembers()

    }
    for(L2Player member : cc.getMembers())
    {
      if(member.getLevel() < iz.getMinLevel() || member.getLevel() > iz.getMaxLevel())
      {
        cc.broadcastToChannelMembers(new SystemMessage(SystemMessage.C1S_LEVEL_REQUIREMENT_IS_NOT_SUFFICIENT_AND_CANNOT_BE_ENTERED).addName(member));
        return;
      }
      if(member.isCursedWeaponEquipped() || member.isInFlyingTransform() || member.isDead())
      {
        player.sendPacket(new SystemMessage(SystemMessage.C1S_QUEST_REQUIREMENT_IS_NOT_SUFFICIENT_AND_CANNOT_BE_ENTERED).addName(member));
View Full Code Here

Examples of l2p.gameserver.model.L2CommandChannel.broadcastToChannelMembers()

        player.sendPacket(Msg.ITS_TOO_FAR_FROM_THE_NPC_TO_WORK);
        return;
      }
      if(izm.getTimeToNextEnterInstance(name, member) > 0)
      {
        cc.broadcastToChannelMembers(new SystemMessage(SystemMessage.C1_MAY_NOT_RE_ENTER_YET).addName(member));
        return;
      }
    }
    Reflection r = new Reflection(name);
    r.setInstancedZoneId(instancedZoneId);
View Full Code Here

Examples of l2p.gameserver.model.L2CommandChannel.broadcastToChannelMembers()

          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())
        {
          return false;
View Full Code Here

Examples of net.sf.l2j.gameserver.model.L2CommandChannel.broadcastToChannelMembers()

            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;
          }
        }

        return false;
View Full Code Here

Examples of net.sf.l2j.gameserver.model.L2CommandChannel.broadcastToChannelMembers()

              && activeChar.getParty().getCommandChannel().getChannelLeader().equals(activeChar))
          {
            L2CommandChannel channel = activeChar.getParty().getCommandChannel();

            SystemMessage sm = SystemMessage.sendString("The Command Channel was disbanded.");
            channel.broadcastToChannelMembers(sm);

            channel.disbandChannel();
            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.