Package net.sf.l2j.gameserver.serverpackets

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


                    getActiveChar().sendPacket(new SpawnItem((L2ItemInstance) object));
            }
            else if (object instanceof L2DoorInstance)
            {
                getActiveChar().sendPacket(new DoorInfo((L2DoorInstance) object));
                getActiveChar().sendPacket(new DoorStatusUpdate((L2DoorInstance) object));
            }
            else if (object instanceof L2BoatInstance)
            {
              if(!getActiveChar().isInBoat())
              if(object != getActiveChar().getBoat())
View Full Code Here


            MyTargetSelected my = new MyTargetSelected(getObjectId(), 0);
            player.sendPacket(my);

//            if (isAutoAttackable(player))
//            {
                DoorStatusUpdate su = new DoorStatusUpdate(this);
                player.sendPacket(su);
//            }

            // Send a Server->Client packet ValidateLocation to correct the L2NpcInstance position and heading on the client
            player.sendPacket(new ValidateLocation(this));
View Full Code Here

            MyTargetSelected my = new MyTargetSelected(getObjectId(), player
                    .getLevel());
            player.sendPacket(my);

            if (isAutoAttackable(player)) {
                DoorStatusUpdate su = new DoorStatusUpdate(this);
                player.sendPacket(su);
            }

            NpcHtmlMessage html = new NpcHtmlMessage(getObjectId());
            TextBuilder html1 = new TextBuilder("<html><body><table border=0>");
View Full Code Here

    {
        Collection<L2PcInstance> knownPlayers = getKnownList().getKnownPlayers().values();
        if (knownPlayers == null || knownPlayers.isEmpty())
            return;

        DoorStatusUpdate su = new DoorStatusUpdate(this);
        for (L2PcInstance player : knownPlayers)
            player.sendPacket(su);
    }
View Full Code Here

        if (object instanceof L2ItemInstance)
          _activeChar.sendPacket(new SpawnItem((L2ItemInstance) object));
        else if (object instanceof L2DoorInstance)
        {
          _activeChar.sendPacket(new DoorInfo((L2DoorInstance) object));
          _activeChar.sendPacket(new DoorStatusUpdate((L2DoorInstance) object));
        }
        else if (object instanceof L2BoatInstance)
        {
          if(!_activeChar.isInBoat() && object != _activeChar.getBoat())
          {
View Full Code Here

TOP

Related Classes of net.sf.l2j.gameserver.serverpackets.DoorStatusUpdate

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.