Package com.l2jfrozen.gameserver.model.actor.instance

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.broadcastUserInfo()


        activeChar.checkSSMatch(null, element);
        iu.addModifiedItem(element);
      }
     
      activeChar.sendPacket(iu);
      activeChar.broadcastUserInfo();
    }
   
    if (L2PetDataTable.isPetItem(itemId))
    {
      Connection con = null;
View Full Code Here


        activeChar.checkSSMatch(null, element);

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

      ItemList il = new ItemList(activeChar, true);
      activeChar.sendPacket(il);
    }
   
View Full Code Here

    }

    if(player.getPrivateStoreType() != 0)
    {
      player.setPrivateStoreType(L2PcInstance.STORE_PRIVATE_NONE);
      player.broadcastUserInfo();
      if(player.isSitting())
      {
        player.standUp();
      }
    }
View Full Code Here

      iu.addModifiedItem(element);
    }

    activeChar.sendPacket(iu);

    activeChar.broadcastUserInfo();

    // this can be 0 if the user pressed the right mouse button twice very fast
    if(unequiped.length > 0)
    {
View Full Code Here

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

            activeChar.broadcastUserInfo();
          }

          int count = item.getCrystalCount() - (item.getItem().getCrystalCount() + 1) / 2;
          if(count < 1)
          {
View Full Code Here

          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
View Full Code Here

    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();
  }

  @Override
  public String getType()
  {
View Full Code Here

     
      _activeChar.sendPacket(new PartyMatchDetail(_activeChar, _room));
      _activeChar.sendPacket(new ExPartyRoomMember(_activeChar, _room, 2));
     
      _activeChar.setPartyRoom(_room.getId());
      _activeChar.broadcastUserInfo();
    }
    else
    {
      // Add to waiting list
      PartyMatchWaitingList.getInstance().addPlayer(_activeChar);
View Full Code Here

    }
   
    if (_count <= 0)
    {
      player.setPrivateStoreType(L2PcInstance.STORE_PRIVATE_NONE);
      player.broadcastUserInfo();
      return;
    }
   
    if (player.isProcessingTransaction())
    {
View Full Code Here

      }
    }
   
    player.sitDown();
    player.setPrivateStoreType(L2PcInstance.STORE_PRIVATE_BUY);
    player.broadcastUserInfo();
    player.broadcastPacket(new PrivateStoreMsgBuy(player));
  }
 
  @Override
  public String getType()
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.