Package l2p.gameserver.model

Examples of l2p.gameserver.model.L2Player.stopMove()


      activeChar.setVehicle(null);
      activeChar.setLastClientPosition(null);
      activeChar.setLastServerPosition(null);
      activeChar.setLoc(_targetLoc.changeZ(64).correctGeoZ());
      activeChar.validateLocation(1);
      activeChar.stopMove(false);
      activeChar.sendActionFailed();
      return;
    }
    ThreadPoolManager.getInstance().executePathfind(new StartMoveTask(activeChar, _targetLoc, _moveMovement != 0));
  }
View Full Code Here


      return;
   
    if (!check(player, item))
      return;
   
    player.stopMove();
    player.block();
    player.broadcastPacket(new MagicSkillUse(player, player, _skillId, 1, 5000, 600000));
    player.sendPacket(Msg.SUMMON_A_PET);
    // continue execution in 5 seconds
    ThreadPoolManager.getInstance().scheduleAi(new SummonFinalizer(player, item), 5000, true);
View Full Code Here

  {
    super.onStart();
    L2Player player = (L2Player) _effected;
    if(player.isMoving)
    {
      player.stopMove();
    }
      player.sitDown();
      player.setRelax(true);
  }
View Full Code Here

    L2AirShip boat = (L2AirShip) L2VehicleManager.getInstance().getBoat(_shipId);
    if(boat == null)
    {
      return;
    }
    activeChar.stopMove();
    activeChar.setVehicle(boat);
    activeChar.setInVehiclePosition(loc);
    activeChar.setLoc(boat.getLoc());
    activeChar.broadcastPacket(new ExGetOnAirShip(activeChar, boat, loc));
  }
View Full Code Here

            if(unit != null && player.getClan() != null && player.isClanLeader() && (player.getClan().getHasCastle() == unit.getId() || player.getClan().getHasFortress() == unit.getId()))
            {
              return;
            }
          }
          player.stopMove();
          player.sendPacket(Msg.THIS_AREA_CANNOT_BE_ENTERED_WHILE_MOUNTED_ATOP_OF_A_WYVERN_YOU_WILL_BE_DISMOUNTED_FROM_YOUR_WYVERN_IF_YOU_DO_NOT_LEAVE);
          Integer enterCount = (Integer) player.getProperty(PropertyCollection.ZoneEnteredNoLandingFlying);
          if(enterCount == null)
          {
            enterCount = 0;
View Full Code Here

    L2Ship boat = (L2Ship) L2VehicleManager.getInstance().getBoat(_id);
    if(boat == null)
    {
      return;
    }
    activeChar.stopMove();
    activeChar.setVehicle(boat);
    activeChar.setInVehiclePosition(loc);
    activeChar.setLoc(boat.getLoc());
    activeChar.broadcastPacket(new GetOnVehicle(activeChar, boat, loc));
  }
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.