Examples of checkWaterState()


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

    if (activeChar.isAlikeDead())
      sendPacket(new Die(activeChar)); // No broadcast needed since the player will already spawn dead to others

    if (Config.ALLOW_WATER)
      activeChar.checkWaterState();

    if (Hero.getInstance().getHeroes() != null && Hero.getInstance().getHeroes().containsKey(activeChar.getObjectId()))
      activeChar.setHero(true);

    setPledgeClass(activeChar);
View Full Code Here

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

     
    }
   
    //check water
    if(Config.ALLOW_WATER)
      activeChar.checkWaterState();

    //check falling if previous client Z is less then
    if(Config.FALL_DAMAGE)
    {
      activeChar.isFalling(finalZ);
View Full Code Here

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

                            activeChar.broadcastPacket(new ValidateLocation(activeChar));*/
    else
    {
      activeChar.setIncorrectValidateCount(0);
    }
    activeChar.checkWaterState();
    if(activeChar.getPet() != null && !activeChar.getPet().isInRange())
    {
      activeChar.getPet().teleportToOwner();
    }
    activeChar.setLastClientPosition(_loc.setH(activeChar.getHeading()));
View Full Code Here

Examples of net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.checkWaterState()

      // no broadcast needed since the player will already spawn dead to others
      sendPacket(new Die(activeChar));
    }

    if (Config.ALLOW_WATER)
        activeChar.checkWaterState();

        if (Hero.getInstance().getHeroes() != null &&
                Hero.getInstance().getHeroes().containsKey(activeChar.getObjectId()))
            activeChar.setHero(true);
View Full Code Here

Examples of net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.checkWaterState()

        }
    if(activeChar.getParty() != null)
      activeChar.getParty().broadcastToPartyMembers(activeChar,new PartyMemberPosition(activeChar));

    if (Config.ALLOW_WATER)
      activeChar.checkWaterState();

    if (Config.ACCEPT_GEOEDITOR_CONN)
            if (GeoEditorListener.getInstance().getThread() != null  && GeoEditorListener.getInstance().getThread().isWorking()  && GeoEditorListener.getInstance().getThread().isSend(activeChar))
              GeoEditorListener.getInstance().getThread().sendGmPosition(_x,_y,(short)_z);
    }
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.