Package lineage2.gameserver.model

Examples of lineage2.gameserver.model.Creature.sendPacket()


        }
      }
     
      player.removeEvent(this);
     
      player.sendPacket(ExPVPMatchCCRetire.STATIC, SystemMsg.END_MATCH);
      player.teleToLocation(RETURN_LOC);
    }
  }
 
  /**
 
View Full Code Here


      // init npcs
      initFriendNpc(player);
      // init waves
      st.startQuestTimer("wave1", 2000);
      player.teleToLocation(56168, -175576, -7974, player.getReflection().getId());
      player.sendPacket(new ExShowScreenMessage(NpcString.CREATURES_RESURECTED_DEFEND_YOURSELF, 10000, ScreenMessageAlign.MIDDLE_CENTER, true));
      st.setCond(8);
      return null;
    }

    else if(event.equalsIgnoreCase("wave1"))
View Full Code Here

    }

    else if(event.equalsIgnoreCase("2"))
    {
      initWave2(player);
      player.sendPacket(new ExShowScreenMessage(NpcString.CREATURES_RESURECTED_DEFEND_YOURSELF, 10000, ScreenMessageAlign.MIDDLE_CENTER, true));
      return null;
    }

    else if(event.equalsIgnoreCase("3"))
    {
View Full Code Here

    if (mentorId != 0)
    {
      String mentorName = activeChar.getMenteeMentorList().getList().get(mentorId).getName();
      Player mentorChar = World.getPlayer(mentorName);
      mentorChar.getMenteeMentorList().remove(activeChar.getName(), true, true);
      mentorChar.sendPacket(new ExMentorList(mentorChar));
      if ((activeChar != null) && activeChar.isOnline())
      {
        activeChar.getMenteeMentorList().remove(mentorChar.getName(), false, false);
        activeChar.sendPacket(new ExMentorList(activeChar));
      }
View Full Code Here

      return null;
    }

    else if(event.equalsIgnoreCase("3"))
    {
      player.sendPacket(new ExShowScreenMessage(NpcString.CREATURES_RESURECTED_DEFEND_YOURSELF, 10000, ScreenMessageAlign.MIDDLE_CENTER, true));
      initWave3(player);
      return null;
    }
    else if(event.equalsIgnoreCase("4"))
    {
View Full Code Here

      initWave3(player);
      return null;
    }
    else if(event.equalsIgnoreCase("4"))
    {
      player.sendPacket(new ExShowScreenMessage(NpcString.CREATURES_RESURECTED_DEFEND_YOURSELF, 10000, ScreenMessageAlign.MIDDLE_CENTER, true));
      initWave4(player);
      return null;
    }
    else if(event.equalsIgnoreCase("5"))
    {
View Full Code Here

      initWave4(player);
      return null;
    }
    else if(event.equalsIgnoreCase("5"))
    {
      player.sendPacket(new ExShowScreenMessage(NpcString.CREATURES_RESURECTED_DEFEND_YOURSELF, 10000, ScreenMessageAlign.MIDDLE_CENTER, true));
      initWave5(player);
      return null;
    }
    else if(event.equalsIgnoreCase("6"))
    {
View Full Code Here

      initWave5(player);
      return null;
    }
    else if(event.equalsIgnoreCase("6"))
    {
      player.sendPacket(new ExShowScreenMessage(NpcString.CREATURES_RESURECTED_DEFEND_YOURSELF, 10000, ScreenMessageAlign.MIDDLE_CENTER, true));
      initWave6(player);
      return null;
    }
    else if(event.equalsIgnoreCase("8"))
    {
View Full Code Here

      activeChar.getMenteeMentorList().remove(_charName, true, true);
      activeChar.sendPacket(new ExMentorList(activeChar));
      if ((menteeChar != null) && menteeChar.isOnline())
      {
        menteeChar.getMenteeMentorList().remove(activeChar.getName(), false, false);
        menteeChar.sendPacket(new ExMentorList(menteeChar));
      }
      Mentoring.cancelMentorBuffs(activeChar);
      Mentoring.cancelMenteeBuffs(menteeChar);
      Mentoring.setTimePenalty(activeChar.getObjectId(), System.currentTimeMillis() + (2 * 24 * 3600 * 1000L), -1);
    }
View Full Code Here

      initWave6(player);
      return null;
    }
    else if(event.equalsIgnoreCase("8"))
    {
      player.sendPacket(new ExShowScreenMessage(NpcString.CREATURES_RESURECTED_DEFEND_YOURSELF, 10000, ScreenMessageAlign.MIDDLE_CENTER, true));
      initWave8(player);
      st.startQuestTimer("9", 30000);
      return null;
    }
    else if(event.equalsIgnoreCase("9"))
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.