Package com.l2jfrozen.gameserver.network.serverpackets

Examples of com.l2jfrozen.gameserver.network.serverpackets.ExOlympiadMode


        L2Summon summon = _playerTwo.getPet();
        if (summon instanceof L2SummonInstance)
          summon.teleToLocation(_stadiumPort[0] - 900, _stadiumPort[1], _stadiumPort[2], false);
      }

      _playerOne.sendPacket(new ExOlympiadMode(2));
      _playerTwo.sendPacket(new ExOlympiadMode(2));
     
      _playerOne.setIsInOlympiadMode(true);
      _playerOne.setIsOlympiadStart(false);
      _playerOne.setOlympiadSide(1);
     
View Full Code Here


        player.setCurrentMp(player.getMaxMp());
        player.setIsInOlympiadMode(false);
        player.setIsOlympiadStart(false);
        player.setOlympiadSide(-1);
        player.setOlympiadGameId(-1);
        player.sendPacket(new ExOlympiadMode(0));
       
        // Add Clan Skills
        if (player.getClan() != null)
        {
          for (L2Skill skill : player.getClan().getAllSkills())
View Full Code Here

    setIsInvul(true);
    _wasInvisible = getAppearance().getInvisible();
    getAppearance().setInvisible();
   
    teleToLocation(x, y, z, false);
    sendPacket(new ExOlympiadMode(3));
    broadcastUserInfo();
  }
View Full Code Here

   * Leave olympiad observer mode.
   */
  public void leaveOlympiadObserverMode()
  {
    setTarget(null);
    sendPacket(new ExOlympiadMode(0));
    teleToLocation(_obsX, _obsY, _obsZ, true);
    getAppearance().setVisible();
    setIsInvul(false);
    if(getAI() != null)
    {
View Full Code Here

        setTarget(null);
        setIsInvul(true);
        getAppearance().setInvisible();
    //sendPacket(new GMHide(1));
        teleToLocation(x, y, z, true);
        sendPacket(new ExOlympiadMode(3));
        _observerMode = true;
    broadcastUserInfo();
    }
View Full Code Here

    }
 
  public void leaveOlympiadObserverMode(boolean olymp)
    {
    setTarget(null);
    sendPacket(new ExOlympiadMode(0));
        teleToLocation(_obsX, _obsY, _obsZ, true);
    if (!AdminCommandAccessRights.getInstance().hasAccess("admin_invis", getAccessLevel()))
      getAppearance().setVisible();
        if (!AdminCommandAccessRights.getInstance().hasAccess("admin_invul", getAccessLevel()))
      setIsInvul(false);
View Full Code Here

TOP

Related Classes of com.l2jfrozen.gameserver.network.serverpackets.ExOlympiadMode

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.