Package com.l2jfrozen.gameserver.network.serverpackets

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


    // the CtrlEvent.EVT_ARRIVED will be sent when the character will actually arrive
    // to destination by GameTimeController

    // Send a Server->Client packet CharMoveToLocation to the actor and all L2PcInstance in its _knownPlayers
    CharMoveToLocation msg = new CharMoveToLocation(this);
    broadcastPacket(msg);

    msg = null;
    m = null;
    md = null;
View Full Code Here


              else
                sendPacket(new ValidateLocation(activeChar));
             
             
            }else if(diffSq > activeChar.getStat().getMoveSpeed())
              activeChar.broadcastPacket(new CharMoveToLocation(activeChar));
           
           
            finalZ = activeChar.getPosition().getZ();
          }
         
View Full Code Here

      // Send a Server->Client packet MoveToPawn/CharMoveToLocation to the actor and all L2PcInstance in its _knownPlayers
      if(pawn instanceof L2Character)
      {
        if(_actor.isOnGeodataPath())
        {
          _actor.broadcastPacket(new CharMoveToLocation(_actor));
          _clientMovingToPawnOffset = 0;
        }
        else if(sendPacket)
        {
          _actor.broadcastPacket(new MoveToPawn(_actor, (L2Character) pawn, offset));
        }
      }
      else
      {
        _actor.broadcastPacket(new CharMoveToLocation(_actor));
      }
    }
    else
    {
      _actor.sendPacket(ActionFailed.STATIC_PACKET);
View Full Code Here

      // Calculate movement data for a move to location action and add the actor to movingObjects of GameTimeController
      _accessor.moveTo(x, y, z);

      // Send a Server->Client packet CharMoveToLocation to the actor and all L2PcInstance in its _knownPlayers
      CharMoveToLocation msg = new CharMoveToLocation(_actor);
      _actor.broadcastPacket(msg);
      msg = null;

    }
    else
View Full Code Here

        msg = null;
      }
      else
      {
        // Send a Server->Client packet CharMoveToLocation to the actor and all L2PcInstance in its _knownPlayers
        CharMoveToLocation msg = new CharMoveToLocation(_actor);
        player.sendPacket(msg);
        msg = null;
      }
    }
  }
View Full Code Here

TOP

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

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.