Package lineage2.gameserver.model

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


    {
      player.sendSkillList();
      player.updateStats();
      if (needSendInfo)
      {
        player.sendPacket(new SkillCoolTime(player));
      }
    }
  }
}
View Full Code Here


      giveEffects(player);
     
      player.teleToLocation(teleportLocs.get(i));
      player.addEvent(this);
     
      player.sendPacket(new ExPVPMatchCCMyRecord(k), SystemMsg.THE_MATCH_HAS_STARTED);
    }
  }
 
  /**
   * Method stopEvent.
View Full Code Here

        }
      }
     
      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

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.