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 mods.railcraft.common.util.network.PacketGuiReturn.sendPacket()

        @Override
        public void onGuiClosed() {
            track.setArea(radius);
            if(Game.isNotHost(track.getWorld())) {
                PacketGuiReturn pkt = new PacketGuiReturn((IGuiReturnHandler)track.tileEntity);
                pkt.sendPacket();
            }
        }
    }
    View Full Code Here

    Examples of net.sf.l2j.gameserver.model.L2Character.sendPacket()

                double cp = skill.getPower();
                //int cLev = activeChar.getLevel();
                //hp += skill.getPower()/*+(Math.sqrt(cLev)*cLev)+cLev*/;
                SystemMessage sm = new SystemMessage(SystemMessageId.S1_CP_WILL_BE_RESTORED);
                sm.addNumber((int)cp);
                target.sendPacket(sm);
                target.setCurrentCp(cp+target.getCurrentCp());
                StatusUpdate sump = new StatusUpdate(target.getObjectId());
                sump.addAttribute(StatusUpdate.CUR_CP, (int)target.getCurrentCp());
                target.sendPacket(sump);
            }
    View Full Code Here

    Examples of net.sf.l2j.gameserver.model.L2Character.sendPacket()

                sm.addNumber((int)cp);
                target.sendPacket(sm);
                target.setCurrentCp(cp+target.getCurrentCp());
                StatusUpdate sump = new StatusUpdate(target.getObjectId());
                sump.addAttribute(StatusUpdate.CUR_CP, (int)target.getCurrentCp());
                target.sendPacket(sump);
            }
        }


        @Override
    View Full Code Here

    Examples of net.sf.l2j.gameserver.model.L2Character.sendPacket()

                            {
                                skill.getEffects(activeChar, target);

                                SystemMessage sm = new SystemMessage(SystemMessageId.YOU_FEEL_S1_EFFECT);
                                sm.addSkillName(skill.getId());
                                target.sendPacket(sm);
                            }
                            else
                            {
                                SystemMessage sm = new SystemMessage(SystemMessageId.S1_WAS_UNAFFECTED_BY_S2);
                                sm.addString(target.getName());
    View Full Code Here

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

                          // Attempt to charge first shot on activation
                          if (_itemId == 6645 || _itemId == 6646 || _itemId == 6647)
                          {
                              activeChar.addAutoSoulShot(_itemId);
                              ExAutoSoulShot atk = new ExAutoSoulShot(_itemId, _type);
                              activeChar.sendPacket(atk);

                              //start the auto soulshot use
                              SystemMessage sm = new SystemMessage(SystemMessageId.USE_OF_S1_WILL_BE_AUTO);
                              sm.addString(item.getItemName());
                              activeChar.sendPacket(sm);
    View Full Code Here

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

                              activeChar.sendPacket(atk);

                              //start the auto soulshot use
                              SystemMessage sm = new SystemMessage(SystemMessageId.USE_OF_S1_WILL_BE_AUTO);
                              sm.addString(item.getItemName());
                              activeChar.sendPacket(sm);
                              sm = null;

                              activeChar.rechargeAutoSoulShot(true, true, true);
                          }
                          else {
    View Full Code Here

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

                                && item.getItem().getCrystalType() == activeChar.getActiveWeaponItem().getCrystalType())
                            {
                              if (_itemId>=3947 && _itemId<=3952 && activeChar.isInOlympiadMode()){
                                SystemMessage sm = new SystemMessage(SystemMessageId.THIS_ITEM_IS_NOT_AVAILABLE_FOR_THE_OLYMPIAD_EVENT);
                                sm.addString(item.getItemName());
                                activeChar.sendPacket(sm);
                                sm = null;
                              }else{
                                activeChar.addAutoSoulShot(_itemId);
                                ExAutoSoulShot atk = new ExAutoSoulShot(_itemId, _type);
                                activeChar.sendPacket(atk);
    View Full Code Here

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

                                activeChar.sendPacket(sm);
                                sm = null;
                              }else{
                                activeChar.addAutoSoulShot(_itemId);
                                ExAutoSoulShot atk = new ExAutoSoulShot(_itemId, _type);
                                activeChar.sendPacket(atk);

                                // start the auto soulshot use
                                SystemMessage sm = new SystemMessage(SystemMessageId.USE_OF_S1_WILL_BE_AUTO);
                                sm.addString(item.getItemName());
                                activeChar.sendPacket(sm);
    View Full Code Here

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

                                activeChar.sendPacket(atk);

                                // start the auto soulshot use
                                SystemMessage sm = new SystemMessage(SystemMessageId.USE_OF_S1_WILL_BE_AUTO);
                                sm.addString(item.getItemName());
                                activeChar.sendPacket(sm);
                                sm = null;

                                activeChar.rechargeAutoSoulShot(true, true, false);
                              }
                            }
    View Full Code Here

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

                                activeChar.rechargeAutoSoulShot(true, true, false);
                              }
                            }
                            else {
                              if ((_itemId >= 2509 && _itemId <= 2514) || (_itemId >= 3947 && _itemId <= 3952) || _itemId == 5790)
                                activeChar.sendPacket(new SystemMessage(SystemMessageId.SPIRITSHOTS_GRADE_MISMATCH));
                              else
                                activeChar.sendPacket(new SystemMessage(SystemMessageId.SOULSHOTS_GRADE_MISMATCH));
                            }
                          }
                        }
    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.