Package lineage2.gameserver.network.serverpackets

Examples of lineage2.gameserver.network.serverpackets.ExQuestNpcLogList


  }
 
  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

      {
        find = true;
        if (count < info.getMaxCount())
        {
          st.set(info.getVarName(), ++count);
          player.sendPacket(new ExQuestNpcLogList(st));
        }
      }
      if (count != info.getMaxCount())
      {
        done = false;
View Full Code Here

          QuestState pst = partyMember.getQuestState("_472_ChallengeSteamCorridor");
          if ((pst != null) && (pst.isStarted()))
          {
            pst.setCond(2);
            pst.playSound(SOUND_MIDDLE);
            partyMember.sendPacket(new ExQuestNpcLogList(st));
          }
        }
      }
      else
      {
        st.setCond(2);
        st.playSound(SOUND_MIDDLE);
        player.sendPacket(new ExQuestNpcLogList(st));
      }
    }
    return null;
  }
View Full Code Here

          QuestState pst = partyMember.getQuestState("_473_InTheCoralGarden");
          if ((pst != null) && (pst.isStarted()))
          {
            pst.setCond(2);
            pst.playSound(SOUND_MIDDLE);
            partyMember.sendPacket(new ExQuestNpcLogList(st));
          }
        }
      }
      else
      {
        st.setCond(2);
        st.playSound(SOUND_MIDDLE);
        player.sendPacket(new ExQuestNpcLogList(st));
      }
    }
    return null;
  }
View Full Code Here

          QuestState pst = partyMember.getQuestState("_471_BreakingThroughTheEmeraldSquare");
          if ((pst != null) && (pst.isStarted()))
          {
            pst.setCond(2);
            pst.playSound(SOUND_MIDDLE);
            partyMember.sendPacket(new ExQuestNpcLogList(st));
          }
        }
      }
      else
      {
        st.setCond(2);
        st.playSound(SOUND_MIDDLE);
        player.sendPacket(new ExQuestNpcLogList(st));
      }
    }
    return null;
  }
View Full Code Here

    QuestState state = player.getQuestState(quest.getClass());
    if (state == null)
    {
      return;
    }
    player.sendPacket(new ExQuestNpcLogList(state));
  }
View Full Code Here

      {
        _1++;
        st.set("1", String.valueOf(_1));
      }
      moblist.put(1033349, _1);
      st.getPlayer().sendPacket(new ExQuestNpcLogList(st));
      if (_1 >= 10)
      {
        st.setCond(3);
        st.playSound("ItemSound.quest_middle");
      }
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.ExQuestNpcLogList

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.