Examples of sendPacket()

  • com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.sendPacket()
    Send a Server->Client packet StatusUpdate to the L2PcInstance.

  • com.l2jfrozen.gameserver.model.actor.instance.L2PetInstance.sendPacket()
  • com.l2jfrozen.loginserver.L2LoginClient.sendPacket()
  • it.hakvoort.neuroclient.agent.EEGAgent.sendPacket()
  • jpcap.JpcapSender.sendPacket()
    Sends a packet.

    If this JpcapSender instance was created by openDevice(), you need to set the Datalink layer's header (e.g., Ethernet header) of the packet.

    If this JpcapSender instance was created by openRawSocket(), you can only send IP packets, but you may not need to set the Datalink layer's header of the IP packets you want to send.
    Note: the implementation and behavior of a raw socket may vary in different OS. For example, in Windows 2000/XP, you need to manually set the datalink/IP headers of a packet. @param packet Packet to be sent

  • l2p.gameserver.model.L2Character.sendPacket()
  • l2p.gameserver.model.L2Playable.sendPacket()
  • l2p.gameserver.model.L2Player.sendPacket()
    Send a Server->Client packet StatusUpdate to the L2Player.

  • l2p.gameserver.network.L2GameClient.sendPacket()
  • lineage2.gameserver.model.Creature.sendPacket()
    Method sendPacket. @param mov IStaticPacket
  • lineage2.gameserver.model.GameObject.sendPacket()
    Method sendPacket. @param lsp L2LoginServerPacket
  • lineage2.gameserver.model.Playable.sendPacket()
    Method sendPacket. @param lsp L2LoginServerPacket
  • lineage2.gameserver.model.Player.sendPacket()
    Method sendPacket. @param p IStaticPacket
  • lineage2.loginserver.L2LoginClient.sendPacket()
    Method sendPacket. @param lsp L2LoginServerPacket
  • mods.railcraft.common.util.network.PacketEffect.sendPacket()
  • mods.railcraft.common.util.network.PacketGuiReturn.sendPacket()
  • net.sf.l2j.gameserver.model.L2Character.sendPacket()
    Not Implemented.

    Overriden in :

  • L2PcInstance


  • @param mov the mov
  • net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.sendPacket()
    Send a Server->Client packet StatusUpdate to the L2PcInstance. @param packet the packet
  • net.sf.l2j.loginserver.L2LoginClient.sendPacket()
  • org.getspout.spout.player.SpoutCraftPlayer.sendPacket()
  • org.getspout.spoutapi.player.SpoutPlayer.sendPacket()
    Sends a MCPacket to the client @param packet to send
  • org.jivesoftware.smack.Connection.sendPacket()
    Sends the specified packet to the server. @param packet the packet to send.
  • org.jivesoftware.smack.XMPPConnection.sendPacket()
  • org.pcap4j.core.PcapHandle.sendPacket()
    @param packet @throws PcapNativeException @throws NotOpenException @throws NullPointerException
  • org.thingml.bglib.BGAPITransport.sendPacket()

  • Examples of l2p.gameserver.model.L2Character.sendPacket()

          if(owner.isPlayer() && owner.getName() != null)
          {
            SystemMessage msg = checkConditions(item);
            if(msg != null)
            {
              owner.sendPacket(msg);
              return;
            }
          }
        }
        double mp = 0; // при смене робы ману не сбрасываем
    View Full Code Here

    Examples of l2p.gameserver.model.L2Playable.sendPacket()

          range = 10;
        }
        boolean canSee = GeoEngine.canSeeTarget(actor, attack_target, false);
        if(!canSee && (range > 200 || Math.abs(actor.getZ() - attack_target.getZ()) > 200))
        {
          actor.sendPacket(Msg.CANNOT_SEE_TARGET);
          onAttackFail();
          actor.sendActionFailed();
          return;
        }
        range += actor.getMinDistance(attack_target);
    View Full Code Here

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

        item.setCustomFlags(L2ItemInstance.FLAG_EQUIP_ON_PICKUP | L2ItemInstance.FLAG_NO_DESTROY | L2ItemInstance.FLAG_NO_TRADE | L2ItemInstance.FLAG_NO_UNEQUIP, false);
        player.getInventory().addItem(item);
        player.getInventory().equipItem(item, false);
        player.sendChanges();
        _item = item;
        player.sendPacket(Msg.YOU_VE_ACQUIRED_THE_WARD_MOVE_QUICKLY_TO_YOUR_FORCES__OUTPOST);
        String terrName = CastleManager.getInstance().getCastleByIndex(_baseTerritoryId).getName();
        TerritorySiege.announceToPlayer(new SystemMessage(SystemMessage.THE_S1_WARD_HAS_BEEN_DESTROYED_C2_NOW_HAS_THE_TERRITORY_WARD).addString(terrName).addName(player), true);
      }

      public void drop(L2Player player)
    View Full Code Here

    Examples of l2p.gameserver.network.L2GameClient.sendPacket()

        final L2GameClient client = getClient();
        client.setSessionId(key);
        client.setLoginName(_loginName);
        if(Config.GG_CHECK)
        {
          client.sendPacket(Msg.GameGuardQuery);
          ThreadPoolManager.getInstance().scheduleAi(new GGTest(client), 500, true);
        }
        LSConnection.getInstance().addWaitingClient(client);
      }
    View Full Code Here

    Examples of lineage2.gameserver.model.Creature.sendPacket()

          if (pos != null)
          {
            list.add(new CursedWeaponInfo(pos, cw.getItemId(), cw.isActivated() ? 1 : 0));
          }
        }
        activeChar.sendPacket(new ExCursedWeaponLocation(list));
      }
    }
    View Full Code Here

    Examples of lineage2.gameserver.model.GameObject.sendPacket()

            return false;
          }
          Player target = activeChar.getTarget().getPlayer();
          target.setPcBangPoints(count);
          target.sendMessage("Your Pc Bang Points count is now " + count);
          target.sendPacket(new ExPCCafePointInfo(target, count, 1, 2, 12));
          activeChar.sendMessage("You have set " + target.getName() + "'s Pc Bang Points to " + count);
        }
        else if (fullString.startsWith("admin_reset_mentor_penalty"))
        {
          if (activeChar.getTarget().getPlayer() == null)
    View Full Code Here

    Examples of lineage2.gameserver.model.Playable.sendPacket()

        int itemConsumeCount = restorationInfo.getItemConsumeCount();
        if ((itemConsumeId > 0) && (itemConsumeCount > 0))
        {
          if (ItemFunctions.getItemCount(playable, itemConsumeId) < itemConsumeCount)
          {
            playable.sendPacket(SystemMsg.THERE_ARE_NOT_ENOUGH_NECESSARY_ITEMS_TO_USE_THE_SKILL);
            return;
          }

          ItemFunctions.removeItem(playable, itemConsumeId, itemConsumeCount, true);
        }
    View Full Code Here

    Examples of lineage2.gameserver.model.Player.sendPacket()

        {
          return;
        }
        if ((price > 0) && (player.getAdena() < price))
        {
          player.sendPacket(Msg.YOU_DO_NOT_HAVE_ENOUGH_ADENA);
          return;
        }
        if (player.getMountType() == 2)
        {
          player.sendMessage("Телепортаци�? верхом на виверне невозможна.");
    View Full Code Here

    Examples of lineage2.loginserver.L2LoginClient.sendPacket()

      {
        L2LoginClient client = getClient();
        if ((_sessionId == 0) || (_sessionId == client.getSessionId()))
        {
          client.setState(LoginClientState.AUTHED_GG);
          client.sendPacket(new GGAuth(client.getSessionId()));
        }
        else
        {
          client.close(LoginFail.LoginFailReason.REASON_ACCESS_FAILED);
        }
    View Full Code Here

    Examples of mods.railcraft.common.util.network.PacketEffect.sendPacket()

                data.writeDouble(entity.posY);
                data.writeDouble(entity.posZ);
                data.writeDouble(destX);
                data.writeDouble(destY);
                data.writeDouble(destZ);
                pkt.sendPacket(entity.worldObj, entity.posX, entity.posY, entity.posZ);
            } catch (IOException ex) {
            }


            SoundHelper.playSoundAtEntity(entity, "mob.endermen.portal", 0.25F, 1.0F);
    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.