Package lineage2.gameserver.model

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


      st.giveItems(9627, 1);
      st.takeItems(DeadSoldierOrbs, -1);
      st.setState(COMPLETED);
      st.exitCurrentQuest(false);
      st.playSound(SOUND_FINISH);
      player.broadcastUserInfo();
      player.sendPacket(new ExShowScreenMessage(NpcString.CONGRATULATIONS_YOU_WILL_NOW_GRADUATE_FROM_THE_CLAN_ACADEMY_AND_LEAVE_YOUR_CURRENT_CLAN_AS_A_GRADUATE_OF_THE_ACADEMY_YOU_CAN_IMMEDIATELY_JOIN_A_CLAN_AS_A_REGULAR_MEMBER_WITHOUT_BEING_SUBJECT_TO_ANY_PENALTIES, 10000, ScreenMessageAlign.MIDDLE_CENTER, true));
      return StartNPC + "-7.htm";
    }
    return htmltext;
View Full Code Here


      weapon.setChargedSpiritshot(ItemInstance.CHARGED_NONE);
      weapon.setChargedSoulshot(ItemInstance.CHARGED_NONE);
    }
    player.setCurrentHpMp(player.getMaxHp(), player.getMaxMp());
    player.setCurrentCp(player.getMaxCp());
    player.broadcastUserInfo();
  }
 
  /**
   * Method saveNobleData.
   */
 
View Full Code Here

          {
            inventory.writeUnlock();
          }
          player.setHero(false);
          player.updatePledgeClass();
          player.broadcastUserInfo();
        }
      }
    }
    _heroes.clear();
    _herodiary.clear();
View Full Code Here

      return;
    }
    if (param[0].equalsIgnoreCase("FFFFFF"))
    {
      player.setNameColor(Integer.decode("0xFFFFFF"));
      player.broadcastUserInfo();
      return;
    }
    if (player.getInventory().destroyItemByItemId(Config.SERVICES_CHANGE_NICK_COLOR_ITEM, Config.SERVICES_CHANGE_NICK_COLOR_PRICE))
    {
      player.setNameColor(Integer.decode("0x" + param[0]));
View Full Code Here

      return;
    }
    if (player.getInventory().destroyItemByItemId(Config.SERVICES_CHANGE_NICK_COLOR_ITEM, Config.SERVICES_CHANGE_NICK_COLOR_PRICE))
    {
      player.setNameColor(Integer.decode("0x" + param[0]));
      player.broadcastUserInfo();
    }
    else if (Config.SERVICES_CHANGE_NICK_COLOR_ITEM == 57)
    {
      player.sendPacket(Msg.YOU_DO_NOT_HAVE_ENOUGH_ADENA);
    }
View Full Code Here

    if (!player.isInvisible())
    {
      return;
    }
    player.setInvisibleType(_invisibleType);
    player.broadcastUserInfo();
    for (Summon summon : player.getSummonList())
    {
      summon.broadcastCharInfo();
    }
  }
View Full Code Here

    Olympiad.addNoble(player);
    player.setNoble(true);
    player.updatePledgeClass();
    player.updateNobleSkills();
    player.sendSkillList();
    player.broadcastUserInfo();
  }
}
View Full Code Here

    }
    if (activeChar.consumeItem(item.getItemId(), 1))
    {
      activeChar.setTitleColor(COLORS[_colorNum]);
      activeChar.setTitle(_title);
      activeChar.broadcastUserInfo();
    }
  }
}
View Full Code Here

      if (!cw.getPlayer().getInventory().destroyItemByItemId(cw.getItemId(), 1))
      {
        _log.info("CursedWeaponsManager[453]: Error! Cursed weapon not found!!!");
      }
      player.sendChanges();
      player.broadcastUserInfo();
    }
    else if (cw.getItem() != null)
    {
      cw.getItem().deleteMe();
      cw.getItem().delete();
View Full Code Here

    {
      case INITIAL_MARK:
      case EVANGELIST_MARK:
      case OFF_MARK:
        player.setLectureMark(_mark);
        player.broadcastUserInfo();
        break;
    }
  }
}
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.