Examples of ExSetCompassZoneCode


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

    if(isInsideZone(ZONE_SIEGE))
    {
      if(_lastCompassZone == ExSetCompassZoneCode.SIEGEWARZONE2)
        return;
      _lastCompassZone = ExSetCompassZoneCode.SIEGEWARZONE2;
      ExSetCompassZoneCode cz = new ExSetCompassZoneCode(ExSetCompassZoneCode.SIEGEWARZONE2);
      sendPacket(cz);
      cz = null;
    }
    else if(isInsideZone(ZONE_PVP))
    {
      if(_lastCompassZone == ExSetCompassZoneCode.PVPZONE)
        return;
      _lastCompassZone = ExSetCompassZoneCode.PVPZONE;
      ExSetCompassZoneCode cz = new ExSetCompassZoneCode(ExSetCompassZoneCode.PVPZONE);
      sendPacket(cz);
      cz = null;
    }
    else if(isInsideZone(ZONE_EVENT))
    {
      if(_lastCompassZone == ExSetCompassZoneCode.EVENTZONE)
        return;
      _lastCompassZone = ExSetCompassZoneCode.EVENTZONE;
      ExSetCompassZoneCode cz = new ExSetCompassZoneCode(ExSetCompassZoneCode.EVENTZONE);
      sendPacket(cz);
      cz = null;
    }
    else if(isIn7sDungeon())
    {
      if(_lastCompassZone == ExSetCompassZoneCode.SEVENSIGNSZONE)
        return;
      _lastCompassZone = ExSetCompassZoneCode.SEVENSIGNSZONE;
      ExSetCompassZoneCode cz = new ExSetCompassZoneCode(ExSetCompassZoneCode.SEVENSIGNSZONE);
      sendPacket(cz);
      cz = null;
    }
    else if(isInsideZone(ZONE_PEACE))
    {
      if(_lastCompassZone == ExSetCompassZoneCode.PEACEZONE)
        return;
      _lastCompassZone = ExSetCompassZoneCode.PEACEZONE;
      ExSetCompassZoneCode cz = new ExSetCompassZoneCode(ExSetCompassZoneCode.PEACEZONE);
      sendPacket(cz);
      cz = null;
    }
    else if(isInsideZone(ZONE_CHAOTIC)){
      if(_lastCompassZone == ExSetCompassZoneCode.CHAOTICZONE)
        return;
      _lastCompassZone = ExSetCompassZoneCode.CHAOTICZONE;
      ExSetCompassZoneCode cz = new ExSetCompassZoneCode(ExSetCompassZoneCode.CHAOTICZONE);
                sendPacket(cz);
                 cz = null;
          }
    else
    {
      if(_lastCompassZone == ExSetCompassZoneCode.GENERALZONE)
        return;
      if(_lastCompassZone == ExSetCompassZoneCode.SIEGEWARZONE2)
      {
        updatePvPStatus();
      }
      _lastCompassZone = ExSetCompassZoneCode.GENERALZONE;
      ExSetCompassZoneCode cz = new ExSetCompassZoneCode(ExSetCompassZoneCode.GENERALZONE);
      sendPacket(cz);
      cz = null;
    }
  }
View Full Code Here

Examples of l2p.gameserver.serverpackets.ExSetCompassZoneCode

      catch(Exception E)
      {
      }
    }
    PlayerMessageStack.getInstance().CheckMessages(activeChar);
    sendPacket(new ClientSetTime(), new ExSetCompassZoneCode(activeChar));
    if(Config.MailAllow)
    {
      checkNewMail(activeChar);
    }
    if(activeChar.isReviveRequested())
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.ExSetCompassZoneCode

      catch (Exception E)
      {
      }
    }
    PlayerMessageStack.getInstance().CheckMessages(activeChar);
    sendPacket(ClientSetTime.STATIC, new ExSetCompassZoneCode(activeChar));
    Pair<Integer, OnAnswerListener> entry = activeChar.getAskListener(false);
    if ((entry != null) && (entry.getValue() instanceof ReviveAnswerListener))
    {
      sendPacket(new ConfirmDlg(SystemMsg.C1_IS_MAKING_AN_ATTEMPT_TO_RESURRECT_YOU_IF_YOU_CHOOSE_THIS_PATH_S2_EXPERIENCE_WILL_BE_RETURNED_FOR_YOU, 0).addString("Other player").addString("some"));
    }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.ExSetCompassZoneCode

    {
      _zoneMask |= ZONE_SSQ_FLAG;
    }
    if (lastZoneMask != _zoneMask)
    {
      sendPacket(new ExSetCompassZoneCode(this));
    }
    if (lastInCombatZone != isInCombatZone)
    {
      broadcastRelationChanged();
    }
View Full Code Here

Examples of net.sf.l2j.gameserver.serverpackets.ExSetCompassZoneCode

      if (_lastCompassZone == ExSetCompassZoneCode.SIEGEWARZONE2)
      {
        return;
      }
      _lastCompassZone = ExSetCompassZoneCode.SIEGEWARZONE2;
      ExSetCompassZoneCode cz = new ExSetCompassZoneCode(ExSetCompassZoneCode.SIEGEWARZONE2);
      sendPacket(cz);
    }
    else if (isInsideZone(ZONE_PVP))
    {
      if (_lastCompassZone == ExSetCompassZoneCode.PVPZONE)
      {
        return;
      }
      _lastCompassZone = ExSetCompassZoneCode.PVPZONE;
      ExSetCompassZoneCode cz = new ExSetCompassZoneCode(ExSetCompassZoneCode.PVPZONE);
      sendPacket(cz);
    }
    else if (isIn7sDungeon())
    {
      if (_lastCompassZone == ExSetCompassZoneCode.SEVENSIGNSZONE)
      {
        return;
      }
      _lastCompassZone = ExSetCompassZoneCode.SEVENSIGNSZONE;
      ExSetCompassZoneCode cz = new ExSetCompassZoneCode(ExSetCompassZoneCode.SEVENSIGNSZONE);
      sendPacket(cz);
    }
    else if (isInsideZone(ZONE_PEACE))
    {
      if (_lastCompassZone == ExSetCompassZoneCode.PEACEZONE)
      {
        return;
      }
      _lastCompassZone = ExSetCompassZoneCode.PEACEZONE;
      ExSetCompassZoneCode cz = new ExSetCompassZoneCode(ExSetCompassZoneCode.PEACEZONE);
      sendPacket(cz);
    }
    else
    {
      if (_lastCompassZone == ExSetCompassZoneCode.GENERALZONE)
      {
        return;
      }
      if (_lastCompassZone == ExSetCompassZoneCode.SIEGEWARZONE2)
      {
        updatePvPStatus();
      }
      _lastCompassZone = ExSetCompassZoneCode.GENERALZONE;
      ExSetCompassZoneCode cz = new ExSetCompassZoneCode(ExSetCompassZoneCode.GENERALZONE);
      sendPacket(cz);
    }
  }
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.