Package lineage2.gameserver.network.serverpackets

Examples of lineage2.gameserver.network.serverpackets.ExShowUsmVideo


  public void onShutdown()
  {}
 
  public void broadcastPacket(int value, boolean b)
  {
    L2GameServerPacket trigger = new EventTrigger(value, b);
    for (Player player : GameObjectsStorage.getAllPlayersForIterate())
      player.sendPacket(trigger);

  }
View Full Code Here


  }
 
  public void broadcastSend(Castle castle)
  {
    L2GameServerPacket trigger = new ExCastleState(castle);
    for (Player player : GameObjectsStorage.getAllPlayersForIterate())
      player.sendPacket(trigger);

  }
View Full Code Here

      if (castle != null)
      { 
        if(_side.ordinal()==1 || _side.ordinal()==0)
        {
        ((Player) cha).sendPacket(new ExCastleState(castle));
        broadcastPacket(_side.ordinal(),true);
        broadcastSend(castle);
        Announcements.getInstance().announceToAll(new ExCastleState(castle));
        //broadcastPacket(_side.ordinal(),false);
        }
        else
        {
        ((Player) cha).sendPacket(new ExCastleState(castle));
        broadcastPacket(_side.ordinal(),true);
        broadcastSend(castle);
        Announcements.getInstance().announceToAll(new ExCastleState(castle));
        //broadcastPacket(_side.ordinal(),false);
        }
       
        //return;
      }
View Full Code Here

  @Override
  public void onPlayerEnter(Player player)
  {
    super.onPlayerEnter(player);
    player.sendPacket(new ExSendUIEvent(player, 0, 1, (int) (System.currentTimeMillis() - _savedTime) / 1000, 0, NpcString.NONE));
  }
View Full Code Here

  @Override
  public void onPlayerExit(Player player)
  {
    super.onPlayerExit(player);
    player.sendPacket(new ExSendUIEvent(player, 1, 1, 0, 0));
  }
View Full Code Here

          {
            spawnRoom(7);
            setReenterTime(System.currentTimeMillis());
            for(Player p : getPlayers())
            {
              p.sendPacket(new ExSendUIEvent(p, 1, 1, 0, 0));
              p.sendPacket(new SystemMessage(SystemMessage.THIS_DUNGEON_WILL_EXPIRE_IN_S1_MINUTES).addNumber(5));
            }
            startCollapseTimer(5 * 60 * 1000L);
            timeSpent = (int) (System.currentTimeMillis() - _savedTime) / 1000;
          }
View Full Code Here

    activeChar.sendPacket(new ExChangeMPCost(3, -20));
    activeChar.sendPacket(new ExChangeMPCost(22, -20));
    if (activeChar.getVar("startMovie") == null)
    {
      activeChar.setVar("startMovie", "1", -1);
      activeChar.sendPacket(new ExShowUsmVideo(ExShowUsmVideo.GD1_INTRO));
    }
    if ((activeChar.getLevel() > 84) && !activeChar.isAwaking())
    {
      AwakingManager.getInstance().SendReqToStartQuest(activeChar);
    }
View Full Code Here

   * @param player Player
   */
  public void onStartQuestAccept(Player player)
  {
    player.teleToLocation(-114708, 243918, -7968);
    player.sendPacket(new ExShowUsmVideo(ExShowUsmVideo.Q010));
    return;
  }
View Full Code Here

    {
      return;
    }
    if (player.getActiveSubClass().isBase() || player.getActiveSubClass().isDouble())
    {
      player.sendPacket(new ExShowUsmVideo(ExShowUsmVideo.Q010));
      player.sendPacket(new ExCallToChangeClass(_CA.get(player.getClassId().getId()), true));
    }
  } 
View Full Code Here

    }
    else if (event.equalsIgnoreCase("3-3.htm"))
    {
      st.setCond(6);
      st.playSound(SOUND_MIDDLE);
      player.sendPacket(new ExShowUsmVideo(ExShowUsmVideo.Q003));
    }
    else if (event.equalsIgnoreCase("2-3.htm"))
    {
      htmltext = "2-3.htm";
      st.playSound(SOUND_MIDDLE);
View Full Code Here

TOP

Related Classes of lineage2.gameserver.network.serverpackets.ExShowUsmVideo

Copyright © 2018 www.massapicom. 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.