Package lineage2.gameserver.network.serverpackets

Examples of lineage2.gameserver.network.serverpackets.QuestList


      activeChar.getFriendList().notifyFriends(true);
      loadTutorial(activeChar);
      activeChar.restoreDisableSkills();
      activeChar.mentoringLoginConditions();
    }
    sendPacket(new L2FriendList(activeChar), new ExStorageMaxCount(activeChar), new QuestList(activeChar), new ExBasicActionList(activeChar), new EtcStatusUpdate(activeChar));
    activeChar.checkHpMessages(activeChar.getMaxHp(), activeChar.getCurrentHp());
    activeChar.checkDayNightMessages();
    if (Config.PETITIONING_ALLOWED)
    {
      PetitionManager.getInstance().checkPetitionMessages(activeChar);
View Full Code Here


   * Method runImpl.
   */
  @Override
  protected void runImpl()
  {
    sendPacket(new QuestList(getClient().getActiveChar()));
  }
View Full Code Here

    }
    if (isCompleted())
    {
      WorldStatisticsManager.getInstance().updateStat(player, CategoryType.QUESTS_COMPLETED, 1);
    }
    player.sendPacket(new QuestList(player));
    return this;
  }
View Full Code Here

    if (getQuest().isVisible(player) && isStarted())
    {
      player.sendPacket(new ExShowQuestMark(getQuest().getQuestIntId(), getCond()));
    }
    Quest.updateQuestInDb(this);
    player.sendPacket(new QuestList(player));
    return state;
  }
View Full Code Here

    _state = state;
    if (getQuest().isVisible(player) && isStarted())
    {
      player.sendPacket(new ExShowQuestMark(getQuest().getQuestIntId(), getCond()));
    }
    player.sendPacket(new QuestList(player));
    return state;
  }
View Full Code Here

      Quest.updateQuestVarInDb(this, VAR_COND, sVal);
    }
    final Player player = getPlayer();
    if (player != null)
    {
      player.sendPacket(new QuestList(player));
      if ((newCond != 0) && getQuest().isVisible(player) && isStarted())
      {
        player.sendPacket(new ExShowQuestMark(getQuest().getQuestIntId(), getCond()));
      }
      player.sendPacket(new QuestList(player));
    }
    return result;
  }
View Full Code Here

    if ((qs == null) || qs.isCompleted())
    {
      return;
    }
    qs.getQuest().notifyEvent(event, qs, npc);
    sendPacket(new QuestList(this));
  }
View Full Code Here

  {
    if (npcId != actor.getDisplayId())
    {
      actor.setDisplayId(npcId);
      DeleteObject d = new DeleteObject(actor);
      L2GameServerPacket su = new StatusUpdate(actor).addAttribute(StatusUpdateField.CUR_HP, StatusUpdateField.MAX_HP);
      for (Player player : World.getAroundPlayers(actor))
      {
        player.sendPacket(d, new NpcInfo(actor, player));
        if (player.getTarget() == actor)
        {
View Full Code Here

          break;
        case 30:
        case 20:
        case 10:
        case 5:
          Announcements.getInstance().announceToAll(new SystemMessage(SystemMessage.THE_SERVER_WILL_BE_COMING_DOWN_IN_S1_SECONDS__PLEASE_FIND_A_SAFE_PLACE_TO_LOG_OUT).addNumber(shutdownCounter));
          break;
        case 0:
          switch (shutdownMode)
          {
            case SHUTDOWN:
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;
          }
        }, 10000L);
View Full Code Here

TOP

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

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.