Examples of sendUserInfo()


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

          String pledgeName = st.nextToken();
          L2Clan clan = ClanTable.getInstance().createClan(target, pledgeName);
          if(clan != null)
          {
            target.sendPacket(new PledgeShowInfoUpdate(clan));
            target.sendUserInfo(true);
            target.sendPacket(Msg.CLAN_HAS_BEEN_CREATED);
            return true;
          }
        }
        catch(Exception e)
View Full Code Here

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

        var += skill.getId();
        activeChar.setVar("TransferSkills" + item_id, var);
      }
      activeChar.addSkill(skill, true);
      activeChar.updateStats();
      activeChar.sendUserInfo(true);
    }
    else
    {
      int _requiredSp = SkillTreeTable.getInstance().getSkillCost(activeChar, skill);
      if(activeChar.getSp() >= _requiredSp || SkillLearn.common || SkillLearn.transformation)
View Full Code Here

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

        if(!SkillLearn.common && !SkillLearn.transformation)
        {
          activeChar.setSp(activeChar.getSp() - _requiredSp);
        }
        activeChar.updateStats();
        activeChar.sendUserInfo(true);
        //update all the shortcuts to this skill
        if(_level > 1)
        {
          for(L2ShortCut sc : activeChar.getAllShortCuts())
          {
View Full Code Here

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

      }
    }
    sendPackets(packets);
    packets.clear();
    activeChar.entering = false;
    activeChar.sendUserInfo(true);
    if(activeChar.isSitting())
    {
      activeChar.sendPacket(new ChangeWaitType(activeChar, ChangeWaitType.WT_SITTING));
    }
    if(activeChar.getPrivateStoreType() != L2Player.STORE_PRIVATE_NONE)
View Full Code Here

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

      packets.clear();
      activeChar.broadcastUserInfo(false);
    }
    else
    {
      activeChar.sendUserInfo(false);
    } // Отобразит права в клане
    if(getClient().getBonus() < 0)
    {
      activeChar.callScripts("services.Activation", "activation_page");
    }
View Full Code Here

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

  public void onStart()
  {
    super.onStart();
    L2Player player = (L2Player) _effected;
    player.setInvisible(true);
    player.sendUserInfo(true);
    if(player.getCurrentRegion() != null)
    {
      for(L2WorldRegion neighbor : player.getCurrentRegion().getNeighbors())
      {
        neighbor.removePlayerFromOtherPlayers(player);
View Full Code Here

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

        }
        activeChar.sendPacket(sm);
        activeChar.refreshExpertisePenalty();
        if(item.getItem().getType2() == L2Item.TYPE2_ACCESSORY || item.getItem().isTalisman())
        {
          activeChar.sendUserInfo(true);
          // TODO убрать, починив предварительно отображение бижы
          activeChar.sendPacket(new ItemList(activeChar, false));
        }
        else
        {
View Full Code Here

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

    L2Player player = getClient().getActiveChar();
    if(player == null)
    {
      return;
    }
    player.sendUserInfo(true);
    if(player.getCurrentRegion() != null)
    {
      for(L2WorldRegion neighbor : player.getCurrentRegion().getNeighbors())
      {
        neighbor.showObjectsToPlayer(player);
View Full Code Here

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

        }
        else
        {
          activeChar.setRunning();
        }
        activeChar.sendUserInfo(true);
        break;
      case 7: // Next Target
        L2Character nearest_target = null;
        for(L2Character cha : L2World.getAroundCharacters(activeChar, 400, 200))
        {
View Full Code Here

Examples of lineage2.gameserver.model.Player.sendUserInfo()

      {
        activeChar.stopFishing();
      }
    }
    activeChar.entering = false;
    activeChar.sendUserInfo();
    if (activeChar.isSitting())
    {
      activeChar.sendPacket(new ChangeWaitType(activeChar, ChangeWaitType.WT_SITTING));
    }
    if (activeChar.getPrivateStoreType() != Player.STORE_PRIVATE_NONE)
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.