Examples of VehicleDeparture


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

        double cos = dx / distance;
        double sin = dy / distance;

        _boat.getPosition().setHeading((int) (Math.atan2(-sin, -cos) * 10430.378350470452724949566316381) + 32768);

        _boat._vd = new VehicleDeparture(_boat, bp.speed1, bp.speed2, bp.x, bp.y, bp.z);
        //_boat.getTemplate().baseRunSpd = bp.speed1;
        boatSpeed = bp.speed1;
        _boat.moveToLocation(bp.x, bp.y, bp.z, (float) bp.speed1);
        Collection<L2PcInstance> knownPlayers = _boat.getKnownList().getKnownPlayers().values();
        if(knownPlayers == null || knownPlayers.isEmpty())
View Full Code Here

Examples of l2p.gameserver.serverpackets.VehicleDeparture

    {
      broadcastPacket(new ExMoveToLocationAirShip((L2AirShip) this, getLoc(), getDestination()));
    }
    else if(isShip())
    {
      broadcastPacket(new VehicleDeparture((L2Ship) this));
    }
    else
    {
      validateLocation(isPlayer() ? 2 : 1);
      broadcastPacket(new CharMoveToLocation(this));
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.VehicleDeparture

   * @return L2GameServerPacket
   */
  @Override
  public L2GameServerPacket movePacket()
  {
    return new VehicleDeparture(this);
  }
View Full Code Here

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

        int heading = (int) (Math.atan2(-sin, -cos) * 10430.378350470452724949566316381);
        heading += 32768;
            _boat.getPosition().setHeading(heading);

        _boat._vd = new VehicleDeparture(_boat,bp.speed1,bp.speed2,bp.x,bp.y,bp.z);
        //_boat.getTemplate().baseRunSpd = bp.speed1;
        _boat.moveToLocation(bp.x,bp.y,bp.z,(float)bp.speed1);
        Collection<L2PcInstance> knownPlayers = _boat.getKnownList().getKnownPlayers().values();
        if (knownPlayers == null || knownPlayers.isEmpty())
          return bp.time;
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.