Package com.l2jfrozen.gameserver.model.actor.instance

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.validateMovementHeading()


     
      case 1:{ //full synchronization Client --> Server
           //only * using this option it is difficult
           //for players to bypass obstacles
     
        if (!activeChar.isMoving() || !activeChar.validateMovementHeading(_heading)) // Heading changed on client = possible obstacle
        {
          // character is not moving, take coordinates from client
          if (diffSq < 2500){ // 50*50 - attack won't work fluently if even small differences are corrected
            activeChar.getPosition().setXYZ(realX, realY, finalZ);
           
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.