Examples of ExShowScreenMessage


Examples of com.l2jfrozen.gameserver.network.serverpackets.ExShowScreenMessage

              activeChar.getInventory().destroyItem(null, i, activeChar, null);
              //Message to Player
              activeChar.sendMessage("[Server]: You have over enchanted items you will be kicked from server!");
              activeChar.sendMessage("[Server]: Respect our server rules.");
              //Message with screen
              sendPacket(new ExShowScreenMessage(" You have an over enchanted item, you will be kicked from server! ", 6000));
              //Punishment e log in audit
              Util.handleIllegalPlayerAction(activeChar, "Player " + activeChar.getName() + " has Overenchanted  item! Kicked! ", Config.DEFAULT_PUNISH);                    
              //Logger in console
              _log.info("#### ATTENTION ####");
              _log.info(i+" item has been removed from "+activeChar);
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.ExShowScreenMessage

             
              synchronized(_PlayersInside3) {
                _PlayersInside3.add(member);
              }             
              member.teleToLocation(getXFix(Config.K3_SPAWN_LOCX + Rnd.get(50)), getYFix(Config.K3_SPAWN_LOCY + Rnd.get(50)), getZFix(Config.K3_SPAWN_LOCZ));
              member.sendPacket(new ExShowScreenMessage("Kill all Bosses to get Final Boss !", 3*1000));
             
              player.setInKamaloka(true);
              member.setInKamaloka(true);
             
              TimeLimit.addKamaloka3Status(member,Config.K3_REPEAT_TIME);
 
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.ExShowScreenMessage

      _KilMinion++;
      if (_KilMinion == 1)
      {
        for (L2PcInstance member : party.getPartyMembers())
        {
          member.sendPacket(new ExShowScreenMessage("First Knight down, keep going !", 6*1000));
        }
      }
      if (_KilMinion == 4)
      {
        for (L2PcInstance member : party.getPartyMembers())
        {
          member.sendPacket(new ExShowScreenMessage("Almost near to final boss !!", 6*1000));
        }
      }
      if (Config.K3_MUST_MINIBOSSES_KILLED) {
        if ((_KilMinion == 4) && (_KilMinion2 == 1) && (_KilMinion3 == 1))
        {
          for (L2PcInstance member : party.getPartyMembers())
          {
            member.sendPacket(new ExShowScreenMessage("Final Boss has been spawned!", 6*1000));
          }
          startQuestTimer("kama_spawn", 1000, npc, null);
          startQuestTimer("minions_death", 1000, npc, null);
        }
      }
    }
   
    else if (npc.getNpcId() == MINI2)
    {
      _KilMinion2++;
      if (_KilMinion2 == 1)
      {
        for (L2PcInstance member : party.getPartyMembers())
        {
          member.sendPacket(new ExShowScreenMessage("Another monster down! Good luck!", 6*1000));
        }
      }
      if (Config.K3_MUST_MINIBOSSES_KILLED) {
        if ((_KilMinion == 4) && (_KilMinion2 == 1) && (_KilMinion3 == 1))
        {
          for (L2PcInstance member : party.getPartyMembers())
          {
            member.sendPacket(new ExShowScreenMessage("Final Boss has been spawned!", 6*1000));
          }
          startQuestTimer("kama_spawn", 1000, npc, null);
          startQuestTimer("minions_death", 1000, npc, null);
        }
      }
     
    }
   
    else if (npc.getNpcId() == MINI3)
    {
      _KilMinion3 ++;
      if (_KilMinion3 == 1)
      {
        if (Config.K3_MUST_MINIBOSSES_KILLED) {
          if ((_KilMinion == 4) && (_KilMinion2 == 1) && (_KilMinion3 == 1))
          {
            for (L2PcInstance member : party.getPartyMembers())
            {
              member.sendPacket(new ExShowScreenMessage("Final Boss has been spawned!", 6*1000));
            }
            startQuestTimer("kama_spawn", 1000, npc, null);
            startQuestTimer("minions_death", 1000, npc, null);
          } else {
            for (L2PcInstance member : party.getPartyMembers())
            {
              member.sendPacket(new ExShowScreenMessage("Kill all Minions before spawn Final boss!", 6*1000));
            }
          }
        } else {
          startQuestTimer("kama_spawn", 1000, npc, null);
          startQuestTimer("minions_death", 1000, npc, null);
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.ExShowScreenMessage

              synchronized(_PlayersInside)
              {
                _PlayersInside.add(member);
              }             
              member.teleToLocation(getXFix(Config.K1_SPAWN_LOCX + Rnd.get(50)), getYFix(Config.K1_SPAWN_LOCY + Rnd.get(50)), getZFix(Config.K1_SPAWN_LOCZ));
              member.sendPacket(new ExShowScreenMessage("Kill all Bosses to get Final Boss !", 3*1000));
             
              player.setInKamaloka(true);
              member.setInKamaloka(true);
             
              TimeLimit.addKamalokaStatus(member,Config.K1_REPEAT_TIME);
 
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.ExShowScreenMessage

      _KillMinion++;
      if (_KillMinion == 1)
      {
        for (L2PcInstance member : party.getPartyMembers())
        {
          member.sendPacket(new ExShowScreenMessage("First Knight down, keep going !", 6*1000));
        }
      }
      if (_KillMinion == 4)
      {
        for (L2PcInstance member : party.getPartyMembers())
        {
          member.sendPacket(new ExShowScreenMessage("Almost near to final boss !!", 6*1000));
        }
      }
      if (Config.K1_MUST_MINIBOSSES_KILLED) {
        if ((_KillMinion == 4) && (_KillMinion2 == 1) && (_KillMinion3 == 1))
        {
          for (L2PcInstance member : party.getPartyMembers())
          {
            member.sendPacket(new ExShowScreenMessage("Final Boss has been spawned!", 6*1000));
          }
          startQuestTimer("kama_spawn", 1000, npc, null);
          startQuestTimer("minions_death", 1000, npc, null);
        }
      }
    }
   
    else if (npc.getNpcId() == MINI2)
    {
      _KillMinion2++;
      if (_KillMinion2 == 1)
      {
        for (L2PcInstance member : party.getPartyMembers())
        {
          member.sendPacket(new ExShowScreenMessage("Another monster down! Good luck!", 6*1000));
        }
      }
      if (Config.K1_MUST_MINIBOSSES_KILLED) {
        if ((_KillMinion == 4) && (_KillMinion2 == 1) && (_KillMinion3 == 1))
        {
          for (L2PcInstance member : party.getPartyMembers())
          {
            member.sendPacket(new ExShowScreenMessage("Final Boss has been spawned!", 6*1000));
          }
          startQuestTimer("kama_spawn", 1000, npc, null);
          startQuestTimer("minions_death", 1000, npc, null);
        }
      }
     
    }
   
    else if (npc.getNpcId() == MINI3)
    {
      _KillMinion3 ++;
      if (_KillMinion3 == 1)
      {
        if (Config.K1_MUST_MINIBOSSES_KILLED) {
          if ((_KillMinion == 4) && (_KillMinion2 == 1) && (_KillMinion3 == 1))
          {
            for (L2PcInstance member : party.getPartyMembers())
            {
              member.sendPacket(new ExShowScreenMessage("Final Boss has been spawned!", 6*1000));
            }
            startQuestTimer("kama_spawn", 1000, npc, null);
            startQuestTimer("minions_death", 1000, npc, null);
          } else {
            for (L2PcInstance member : party.getPartyMembers())
            {
              member.sendPacket(new ExShowScreenMessage("Kill all Minions before spawn Final boss!", 6*1000));
            }
          }
        } else {
          startQuestTimer("kama_spawn", 1000, npc, null);
          startQuestTimer("minions_death", 1000, npc, null);
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.ExShowScreenMessage

             
              synchronized(_PlayersInside2) {
                _PlayersInside2.add(member);
              }           
              member.teleToLocation(getXFix(Config.K2_SPAWN_LOCX + Rnd.get(50)), getYFix(Config.K2_SPAWN_LOCY + Rnd.get(50)), getZFix(Config.K2_SPAWN_LOCZ));
              member.sendPacket(new ExShowScreenMessage("Kill all Bosses to get Final Boss !", 3*1000));
             
              player.setInKamaloka(true);
              member.setInKamaloka(true);
             
              TimeLimit.addKamaloka2Status(member,Config.K2_REPEAT_TIME);
 
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.ExShowScreenMessage

      _KillMinions++;
      if (_KillMinions == 1)
      {
        for (L2PcInstance member : party.getPartyMembers())
        {
          member.sendPacket(new ExShowScreenMessage("First Knight down, keep going !", 6*1000));
        }
      }
      if (_KillMinions == 4)
      {
        for (L2PcInstance member : party.getPartyMembers())
        {
          member.sendPacket(new ExShowScreenMessage("Almost near to final boss !!", 6*1000));
        }
      }
      if (Config.K2_MUST_MINIBOSSES_KILLED) {
        if ((_KillMinions == 4) && (_KillMinions2 == 1) && (_KillMinions3 == 1))
        {
          for (L2PcInstance member : party.getPartyMembers())
          {
            member.sendPacket(new ExShowScreenMessage("Final Boss has been spawned!", 6*1000));
          }
          startQuestTimer("kama_spawn", 1000, npc, null);
          startQuestTimer("minions_death", 1000, npc, null);
        }
      }
    }
   
    else if (npc.getNpcId() == MINI2)
    {
      _KillMinions2++;
      if (_KillMinions2 == 1)
      {
        for (L2PcInstance member : party.getPartyMembers())
        {
          member.sendPacket(new ExShowScreenMessage("Another monster down! Good luck!", 6*1000));
        }
      }
      if (Config.K2_MUST_MINIBOSSES_KILLED) {
        if ((_KillMinions == 4) && (_KillMinions2 == 1) && (_KillMinions3 == 1))
        {
          for (L2PcInstance member : party.getPartyMembers())
          {
            member.sendPacket(new ExShowScreenMessage("Final Boss has been spawned!", 6*1000));
          }
          startQuestTimer("kama_spawn", 1000, npc, null);
          startQuestTimer("minions_death", 1000, npc, null);
        }
      }
     
    }
   
    else if (npc.getNpcId() == MINI3)
    {
      _KillMinions3 ++;
      if (_KillMinions3 == 1)
      {
        if (Config.K2_MUST_MINIBOSSES_KILLED) {
          if ((_KillMinions == 4) && (_KillMinions2 == 1) && (_KillMinions3 == 1))
          {
            for (L2PcInstance member : party.getPartyMembers())
            {
              member.sendPacket(new ExShowScreenMessage("Final Boss has been spawned!", 6*1000));
            }
            startQuestTimer("kama_spawn", 1000, npc, null);
            startQuestTimer("minions_death", 1000, npc, null);
          } else {
            for (L2PcInstance member : party.getPartyMembers())
            {
              member.sendPacket(new ExShowScreenMessage("Kill all Minions before spawn Final boss!", 6*1000));
            }
          }
        } else {
          startQuestTimer("kama_spawn", 1000, npc, null);
          startQuestTimer("minions_death", 1000, npc, null);
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.ExShowScreenMessage

        SongName = "Frintezza's Song";
        break;
        }
                    
        // Like L2OFF the skill name is printed on screen
        _Zone.broadcastPacket(new ExShowScreenMessage(SongName , 6000));
       
        if (_OnSong == 1 && _ThirdMorph == 1 && strongScarlet.getCurrentHp() < strongScarlet.getMaxHp() * 0.6 && Rnd.get(100) < 80)
        {
          _Zone.broadcastPacket(new MagicSkillUser(frintezza, frintezza, 5007, 1, 32000, 0));
          startQuestTimer("songs_effect", 5000, frintezza, null);
          startQuestTimer("songs_play", 32000 + Rnd.get(10000), frintezza, null);
        }
        else if (_OnSong == 2 || _OnSong == 3)
        {
          _Zone.broadcastPacket(new MagicSkillUser(frintezza, frintezza, 5007, _OnSong, 32000, 0));
          startQuestTimer("songs_effect", 5000, frintezza, null);
          startQuestTimer("songs_play", 32000 + Rnd.get(10000), frintezza, null);
        }
        else if (_OnSong == 4 && _SecondMorph == 1)
        {
          _Zone.broadcastPacket(new MagicSkillUser(frintezza, frintezza, 5007, 4, 31000, 0));
          startQuestTimer("songs_effect", 5000, frintezza, null);
          startQuestTimer("songs_play", 31000 + Rnd.get(10000), frintezza, null);
        }
        else if (_OnSong == 5 && _ThirdMorph == 1 && _Abnormal == 0)
        {
          _Abnormal = 1;
          _Zone.broadcastPacket(new MagicSkillUser(frintezza, frintezza, 5007, 5, 35000, 0));
          startQuestTimer("songs_effect", 5000, frintezza, null);
          startQuestTimer("songs_play", 35000 + Rnd.get(10000), frintezza, null);
        }
        else
          startQuestTimer("songs_play", 5000 + Rnd.get(5000), frintezza, null);
      }
    }
    else if (event.equalsIgnoreCase("songs_effect"))
    {
      L2Skill skill = SkillTable.getInstance().getInfo(5008, _OnSong);
      if (skill == null)
        return null;
     
      String SongName = "";
              
      // Name of the songs are custom, named with client side description.
      switch(_OnSong)
      {
      case 1:
      SongName = "Frintezza's Concert Hall Melody";
      break;
      case 2:
      SongName = "Frintezza's Rampaging Opus en masse";
      break;
      case 3:
      SongName = "Frintezza Power Encore";
      break;
      case 4:
      SongName = "Mournful Chorale Prelude";
      break;
      case 5:
      SongName = "Hypnotic Mazurka ";
      break;
      default:
      SongName = "Frintezza's Song";
      break;
      }
                 
      // Like L2OFF the skill name is printed on screen
      _Zone.broadcastPacket(new ExShowScreenMessage(SongName , 6000));
     
      if (_OnSong == 1 || _OnSong == 2 || _OnSong == 3)
      {
        if (frintezza != null && !frintezza.isDead() && activeScarlet != null && !activeScarlet.isDead())
          skill.getEffects(frintezza, activeScarlet, false, false, false);
View Full Code Here

Examples of l2p.gameserver.serverpackets.ExShowScreenMessage

          song_name = "Hypnotic Mazurka";
          break;
      }
      if(!frintezza.isBlocked())
      {
        frintezza.broadcastPacket(new ExShowScreenMessage(song_name, 3000, ScreenMessageAlign.TOP_CENTER, true, 1, -1, true));
        frintezza.broadcastPacket(new MagicSkillUse(frintezza, frintezza, 5007, song, _intervalOfFrintezzaSongs, 0));
        // Launch the song's effects (they start about 10 seconds after he starts to play)
        ThreadPoolManager.getInstance().scheduleGeneral(new SongEffectLaunched(getSongTargets(song), song, 10000), 10000);
      }
      // Schedule a new song to be played in 30-40 seconds...
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.ExShowScreenMessage

        default:
          return;
      }
      if(!frintezza.isBlocked())
      {
        frintezza.broadcastPacket(new ExShowScreenMessage(song_name, 3000, ScreenMessageAlign.TOP_CENTER, true, 1, -1, true));
        frintezza.broadcastPacket(new MagicSkillUse(frintezza, frintezza, 5007, song, _intervalOfFrintezzaSongs, 0));
        // Launch the song's effects (they start about 10 seconds after he starts to play)
        ThreadPoolManager.getInstance().schedule(new SongEffectLaunched(getSongTargets(song), song, 10000), 10000);
      }
      // Schedule a new song to be played in 30-40 seconds...
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.