Package com.l2jfrozen.gameserver.network.serverpackets

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


      // client.getConnection().sendPacket(iu);
      activeChar.sendPacket(iu);
    }
    else
    {
      sendPacket(new ItemList(activeChar, true));
    }
   
    StatusUpdate su = new StatusUpdate(activeChar.getObjectId());
    su.addAttribute(StatusUpdate.CUR_LOAD, activeChar.getCurrentLoad());
    activeChar.sendPacket(su);
View Full Code Here


        iu.addModifiedItem(element);
      }
      activeChar.sendPacket(iu);
      activeChar.broadcastUserInfo();

      ItemList il = new ItemList(activeChar, true);
      activeChar.sendPacket(il);
    }
   
    L2ItemInstance dropedItem = activeChar.dropItem("Drop", _objectId, _count, _x, _y, _z, null, false, false);
View Full Code Here

    {
      player.sendPacket(playerIU);
    }
    else
    {
      player.sendPacket(new ItemList(player, false));
    }

    // Update current load status on player
    StatusUpdate su = new StatusUpdate(player.getObjectId());
    su.addAttribute(StatusUpdate.CUR_LOAD, player.getCurrentLoad());
View Full Code Here

    }

    StatusUpdate su = new StatusUpdate(player.getObjectId());
    su.addAttribute(StatusUpdate.CUR_LOAD, player.getCurrentLoad());
    player.sendPacket(su);
    player.sendPacket(new ItemList(player, true));
  }
View Full Code Here

            activeChar.sendPacket(iu);
          }
          else
          {
            activeChar.sendPacket(new ItemList(activeChar, true));
          }

          StatusUpdate su = new StatusUpdate(activeChar.getObjectId());
          su.addAttribute(StatusUpdate.CUR_LOAD, activeChar.getCurrentLoad());
          activeChar.sendPacket(su);

          activeChar.broadcastUserInfo();

          L2World world = L2World.getInstance();
          world.removeObject(destroyItem);
        }
        else
        {
          if(blessedScroll){
            item.setEnchantLevel(Config.BREAK_ENCHANT);
            item.updateDatabase();
          }
          else if(crystalScroll)
          {
            if(Config.ENABLE_CRYSTAL_ENCHANT_BREAK)
            {
              item.setEnchantLevel(Config.CRYSTAL_ENCHANT_MIN);
            }
            item.updateDatabase();
          }
         
         
        }
      }
    }
    sm = null;

    StatusUpdate su = new StatusUpdate(activeChar.getObjectId());
    su.addAttribute(StatusUpdate.CUR_LOAD, activeChar.getCurrentLoad());
    activeChar.sendPacket(su);
    su = null;

    activeChar.sendPacket(new EnchantResult(item.getEnchantLevel())); //FIXME i'm really not sure about this...
    activeChar.sendPacket(new ItemList(activeChar, false)); //TODO update only the enchanted item
    activeChar.broadcastUserInfo();
  }
View Full Code Here

    // Update current load as well
    StatusUpdate su = new StatusUpdate(player.getObjectId());
    su.addAttribute(StatusUpdate.CUR_LOAD, player.getCurrentLoad());
    player.sendPacket(su);
    player.sendPacket(new ItemList(player, true));
  }
View Full Code Here

    // Send packets info
    sendPacket(new ClientSetTime()); // SetClientTime
    sendPacket(new UserInfo(activeChar)); //
    sendPacket(new HennaInfo(activeChar));
    sendPacket(new FriendList(activeChar));
    sendPacket(new ItemList(activeChar, false));
    sendPacket(new ShortCutInit(activeChar));

    // Send all skills to char
    activeChar.sendSkillList();
   
View Full Code Here

    activeChar.updateNameTitleColor();

    sendPacket(new UserInfo(activeChar));
    sendPacket(new HennaInfo(activeChar));
    sendPacket(new FriendList(activeChar));
    sendPacket(new ItemList(activeChar, false));
    sendPacket(new ShortCutInit(activeChar));
    activeChar.broadcastUserInfo();
    activeChar.sendPacket(new EtcStatusUpdate(activeChar));
  }
View Full Code Here

      activeChar.sendPacket(iu);
    }
    else
    {
      activeChar.sendPacket(new ItemList(activeChar, false));
    }

    // status & user info
    StatusUpdate su = new StatusUpdate(activeChar.getObjectId());
    su.addAttribute(StatusUpdate.CUR_LOAD, activeChar.getCurrentLoad());
View Full Code Here

  @Override
  protected void runImpl()
  {
    if(getClient() != null && getClient().getActiveChar() != null && !getClient().getActiveChar().isInvetoryDisabled())
    {
      ItemList il = new ItemList(getClient().getActiveChar(), true);
      sendPacket(il);
    }
  }
View Full Code Here

TOP

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

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.