Package net.sf.l2j.gameserver.model.actor.instance

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


    // status & user info
    StatusUpdate su = new StatusUpdate(activeChar.getObjectId());
    su.addAttribute(StatusUpdate.CUR_LOAD, activeChar.getCurrentLoad());
    activeChar.sendPacket(su);

    activeChar.broadcastUserInfo();

    L2World world = L2World.getInstance();
    world.removeObject(removedItem);

    activeChar.setInCrystallize(false);
View Full Code Here


            sendPacket(new ActionFailed());
            return;
        }
    if(player.getPrivateStoreType() != 0){
      player.setPrivateStoreType(L2PcInstance.STORE_PRIVATE_NONE);
      player.broadcastUserInfo();
      if (player.isSitting()) player.standUp();
        }
        if (player.getCreateList() == null)
        {
            player.setCreateList(new L2ManufactureList());
View Full Code Here

        getClient().sendPacket(new ActionFailed());
        return;
      }
      if(activeChar.getPrivateStoreType() != 0){
        activeChar.setPrivateStoreType(L2PcInstance.STORE_PRIVATE_NONE);
        activeChar.broadcastUserInfo();
          }
      if (activeChar.isSitting())
        activeChar.standUp();

      if (activeChar.getCreateList() == null)
View Full Code Here

        getClient().sendPacket(new ActionFailed());
        return;
      }
      if(activeChar.getPrivateStoreType() != 0){
        activeChar.setPrivateStoreType(L2PcInstance.STORE_PRIVATE_NONE);
        activeChar.broadcastUserInfo();
          }
      if (activeChar.isSitting())
        activeChar.standUp();

      if (activeChar.getCreateList() == null)
View Full Code Here

                        iu.addRemovedItem(item);
                        player.sendPacket(iu);
                    }

                    player.sendPacket(new UserInfo(player));
                    player.broadcastUserInfo();
                } catch (NullPointerException e) {}
            }
        }

        if (newHeroes.size() == 0)
View Full Code Here

                    sm.addString(name);
                    sm.addNumber(1000);
            clan.broadcastToOnlineMembers(sm);
                }
                player.sendPacket(new UserInfo(player));
                player.broadcastUserInfo();

            }
            else
            {
              java.sql.Connection con = null;
View Full Code Here

    }

    activeChar.sendPacket(iu);

    activeChar.abortAttack();
    activeChar.broadcastUserInfo();

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

                    {
                        iu.addModifiedItem(unequiped[i]);
                    }
                    activeChar.sendPacket(iu);
               
                    activeChar.broadcastUserInfo();
                }
               
                int count = item.getCrystalCount() - (item.getItem().getCrystalCount() +1) / 2;
                if (count < 1) 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();
    }
   
    /* (non-Javadoc)
     * @see net.sf.l2j.gameserver.clientpackets.ClientBasePacket#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.