Package lineage2.gameserver.network.serverpackets

Examples of lineage2.gameserver.network.serverpackets.ExChangeClientEffectInfo


  }
 
  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

      manageDamageZone(5, false);
      manageStorm(true);
      for(Player p : getPlayers())
      {
        p.sendPacket(new ExShowScreenMessage(NpcString.BEGIN_STAGE_3_FREYA, 6000, ScreenMessageAlign.TOP_CENTER, true, 1, -1, true));
        p.sendPacket(new ExChangeClientEffectInfo(2));
      }
      thirdStageGuardSpawn = ThreadPoolManager.getInstance().scheduleAtFixedRate(new GuardSpawnTask(3), 2000L, 30000L);
      NpcInstance freyaStand = addSpawnWithoutRespawn(FreyaStandNormal, new Location(114720, -117085, -11088, 15956), 0);
      freyaStand.addListener(_currentHpListener);
      freyaStand.addListener(_deathListener);
View Full Code Here

  {
    @Override
    public void onZoneEnter(Zone zone, Creature cha)
    {
      if(cha.isPlayer())
        cha.sendPacket(new ExChangeClientEffectInfo(1));
    }
View Full Code Here

      manageDamageZone(7, false);
      manageStorm(true);
      for(Player p : getPlayers())
      {
        p.sendPacket(new ExShowScreenMessage(NpcString.BEGIN_STAGE_3_FREYA, 6000, ScreenMessageAlign.TOP_CENTER, true, 1, -1, true));
        p.sendPacket(new ExChangeClientEffectInfo(2));
      }
      thirdStageGuardSpawn = ThreadPoolManager.getInstance().scheduleAtFixedRate(new GuardSpawnTask(4), 2000L, 50000L);
      NpcInstance freyaStand = addSpawnWithoutRespawn(FreyaStandHard, new Location(114720, -117085, -11088, 15956), 0);
      freyaStand.addListener(_currentHpListener);
      freyaStand.addListener(_deathListener);
View Full Code Here

  {
    @Override
    public void onZoneEnter(Zone zone, Creature cha)
    {
      if(cha.isPlayer())
        cha.sendPacket(new ExChangeClientEffectInfo(1));
    }
View Full Code Here

    {
      for (NpcInstance n : getReflection().getNpcs())
      {
        if ((n.getNpcId() == 29179) || (n.getNpcId() == 29180))
        {
          player.sendPacket(new ExChangeClientEffectInfo(2));
        }
      }
      player.teleToLocation(new Location(114712, -113544, -11225));
    }
    else
View Full Code Here

          catch (NumberFormatException e)
          {
            Functions.sendDebugMessage(activeChar, "You must specify id");
            return false;
          }
          activeChar.broadcastPacket(new ExChangeClientEffectInfo(stateid));
          break;
        case admin_eventtrigger:
          if (wordList.length < 2)
          {
            Functions.sendDebugMessage(activeChar, "USAGE: //eventtrigger id");
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

TOP

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

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.