Package com.l2jfrozen.gameserver.network.serverpackets

Examples of com.l2jfrozen.gameserver.network.serverpackets.UserInfo


   *
   * @param flag the new karma flag
   */
  public void setKarmaFlag(int flag)
  {
    sendPacket(new UserInfo(this));
    for(L2PcInstance player : getKnownList().getKnownPlayers().values())
    {
      player.sendPacket(new RelationChanged(this, getRelation(player), isAutoAttackable(player)));
     
      if(getPet()!=null){
View Full Code Here


   * (broadcast).<BR>
   * <BR>
   */
  public void broadcastKarma()
  {
    sendPacket(new UserInfo(this));
    for(L2PcInstance player : getKnownList().getKnownPlayers().values())
    {
      player.sendPacket(new RelationChanged(this, getRelation(player), isAutoAttackable(player)));
     
      if(getPet()!=null){
View Full Code Here

    // Send Server->Client HennaInfo packet to this L2PcInstance
    sendPacket(new HennaInfo(this));

    // Send Server->Client UserInfo packet to this L2PcInstance
    sendPacket(new UserInfo(this));

    // Add the recovered dyes to the player's inventory and notify them.
    getInventory().addItem("Henna", henna.getItemIdDye(), henna.getAmountDyeRequire() / 2, this, null);

    SystemMessage sm = new SystemMessage(SystemMessageId.EARNED_S2_S1_S);
View Full Code Here

        HennaInfo hi = new HennaInfo(this);
        sendPacket(hi);
        hi = null;

        // Send Server->Client UserInfo packet to this L2PcInstance
        UserInfo ui = new UserInfo(this);
        sendPacket(ui);
        ui = null;
       
        getInventory().refreshWeight();
View Full Code Here

    }

    _mountType = mountType;

    // Send a Server->Client packet InventoryUpdate to the L2PcInstance in order to update speed
    UserInfo ui = new UserInfo(this);
    sendPacket(ui);
    ui = null;
    return true;
  }
View Full Code Here

  /**
   * Reload pvp hero aura.
   */
  public void reloadPVPHeroAura()
  {
    sendPacket(new UserInfo(this));
  }
View Full Code Here

    broadcastUserInfo();
    refreshOverloaded();
    refreshExpertisePenalty();
    refreshMasteryPenality();
    refreshMasteryWeapPenality();
    sendPacket(new UserInfo(this));
    sendPacket(new ItemList(this, false));
    getInventory().refreshWeight();
   
    // Clear resurrect xp calculation
    setExpBeforeDeath(0);
View Full Code Here

        {
        }
       
      }
     
      UserInfo ui = new UserInfo(activeChar);
      ui._critical_test = true;
     
      activeChar.sendPacket(ui);
     
     
View Full Code Here

        else
        {
          member.setSiegeState((byte) 1);
        }

        member.sendPacket(new UserInfo(member));

        for(L2PcInstance player : member.getKnownList().getKnownPlayers().values())
        {
          player.sendPacket(new RelationChanged(member, member.getRelation(player), member.isAutoAttackable(player)));
        }
      }
    }
    for(L2SiegeClan siegeclan : getDefenderClans())
    {
      clan = ClanTable.getInstance().getClan(siegeclan.getClanId());

      for(L2PcInstance member : clan.getOnlineMembers(""))
      {
        if(clear)
        {
          member.setSiegeState((byte) 0);
        }
        else
        {
          member.setSiegeState((byte) 2);
        }

        member.sendPacket(new UserInfo(member));

        for(L2PcInstance player : member.getKnownList().getKnownPlayers().values())
        {
          player.sendPacket(new RelationChanged(member, member.getRelation(player), member.isAutoAttackable(player)));
        }
View Full Code Here

        target.teleToLocation(target.getX(), target.getY(), target.getZ(), true);

        CharInfo info1 = new CharInfo(target);
        target.broadcastPacket(info1);

        UserInfo info2 = new UserInfo(target);
        target.sendPacket(info2);

        target = null;
        info1 = null;
        info2 = null;
View Full Code Here

TOP

Related Classes of com.l2jfrozen.gameserver.network.serverpackets.UserInfo

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.