Package l2p.gameserver.model

Examples of l2p.gameserver.model.L2Player.broadcastUserInfo()


                        p.setOfflineMode(true);
                        p.setConnected(false);
                        p.setNameColor(Config.SERVICES_OFFLINE_TRADE_NAME_COLOR);
                        p.restoreEffects();
                        p.restoreDisableSkills();
                        p.broadcastUserInfo(true);
                        if (p.getClan() != null && p.getClan().getClanMember(p.getObjectId()) != null) {
                            p.getClan().getClanMember(p.getObjectId()).setPlayerInstance(p);
                        }
                        if (Config.SERVICES_OFFLINE_TRADE_SECONDS_TO_KICK > 0) {
                            p.startKickTask((Config.SERVICES_OFFLINE_TRADE_SECONDS_TO_KICK + Integer.parseInt(e.get(
View Full Code Here


        cha.abortAttack(true, true);
        cha.abortCast(true);
      }
    }
    cha.refreshExpertisePenalty();
    cha.broadcastUserInfo(true);
  }

  public L2ItemInstance unEquipItemInSlot(int pdollSlot)
  {
    return setPaperdollItem(pdollSlot, null);
View Full Code Here

      {
        stopAction();
        if(owner.isDead())
        {
          owner.setAgathion(0);
          owner.broadcastUserInfo(true);
        }
        return;
      }
      try
      {
View Full Code Here

    }
    if(count != 0)
    {
      activeChar.setSellList(listsell);
      activeChar.setPrivateStoreType(_package ? L2Player.STORE_PRIVATE_SELL_PACKAGE : L2Player.STORE_PRIVATE_SELL);
      activeChar.broadcastUserInfo(true);
      activeChar.broadcastPacket(new PrivateStoreMsgSell(activeChar));
      activeChar.sitDown();
    }
    else
    {
View Full Code Here

    if (count > 0)
    {
      activeChar.setBuyList(listbuy);
      activeChar.setPrivateStoreType(L2Player.STORE_PRIVATE_BUY);
      activeChar.broadcastPacket(new ChangeWaitType(activeChar, ChangeWaitType.WT_SITTING));
      activeChar.broadcastUserInfo(true);
      activeChar.broadcastPacket(new PrivateStoreMsgBuy(activeChar));
      activeChar.sitDown();
      return;
    }
    L2TradeList.cancelStore(activeChar);
View Full Code Here

        }
        else
        {
          player.setTerritorySiege(entry.getValue());
        }
        player.broadcastUserInfo(true);
        player.broadcastRelationChanged();
      }
    }
  }
View Full Code Here

        weapon.setChargedSpiritshot(L2ItemInstance.CHARGED_NONE);
        weapon.setChargedSoulshot(L2ItemInstance.CHARGED_NONE);
      }
      player.setCurrentHpMp(player.getMaxHp(), player.getMaxMp());
      player.setCurrentCp(player.getMaxCp());
      player.broadcastUserInfo(true);
    }
    catch(Exception e)
    {
      e.printStackTrace();
    }
View Full Code Here

              player.getWarehouse().destroyItem(item.getItemId(), 1);
            }
          }
          player.setHero(false);
          player.updatePledgeClass();
          player.broadcastUserInfo(true);
        }
      }
    }
    _heroes.clear();
  }
View Full Code Here

      if(!player.isNoble())
      {
        player.setTitle("");
      }
      player.setLeaveClanCurTime();
      player.broadcastUserInfo(true);
      player.broadcastRelationChanged();
      player.sendPacket(Msg.YOU_HAVE_RECENTLY_BEEN_DISMISSED_FROM_A_CLAN_YOU_ARE_NOT_ALLOWED_TO_JOIN_ANOTHER_CLAN_FOR_24_HOURS, Msg.PledgeShowMemberListDeleteAll);
    }
  }
}
View Full Code Here

        // Destroy
        if(player.getInventory().destroyItemByItemId(cw.getItemId(), 1, false) == null)
        {
          _log.info("CursedWeaponsManager[395]: Error! Cursed weapon not found!!!");
        }
        player.broadcastUserInfo(true);
      }
      else
      {
        // Remove from Db
        _log.info("CursedWeaponsManager: " + cw.getName() + " being removed offline.");
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.