Package lineage2.commons.configuration

Examples of lineage2.commons.configuration.ExProperties


  /**
   * Method loadSpoilConfig.
   */
  public static void loadSpoilConfig()
  {
    ExProperties spoilSettings = load(SPOIL_CONFIG_FILE);
    BASE_SPOIL_RATE = spoilSettings.getProperty("BasePercentChanceOfSpoilSuccess", 78.);
    MINIMUM_SPOIL_RATE = spoilSettings.getProperty("MinimumPercentChanceOfSpoilSuccess", 1.);
    ALT_SPOIL_FORMULA = spoilSettings.getProperty("AltFormula", false);
    MANOR_SOWING_BASIC_SUCCESS = spoilSettings.getProperty("BasePercentChanceOfSowingSuccess", 100.);
    MANOR_SOWING_ALT_BASIC_SUCCESS = spoilSettings.getProperty("BasePercentChanceOfSowingAltSuccess", 10.);
    MANOR_HARVESTING_BASIC_SUCCESS = spoilSettings.getProperty("BasePercentChanceOfHarvestingSuccess", 90.);
    MANOR_DIFF_PLAYER_TARGET = spoilSettings.getProperty("MinDiffPlayerMob", 5);
    MANOR_DIFF_PLAYER_TARGET_PENALTY = spoilSettings.getProperty("DiffPlayerMobPenalty", 5.);
    MANOR_DIFF_SEED_TARGET = spoilSettings.getProperty("MinDiffSeedMob", 5);
    MANOR_DIFF_SEED_TARGET_PENALTY = spoilSettings.getProperty("DiffSeedMobPenalty", 5.);
    ALLOW_MANOR = spoilSettings.getProperty("AllowManor", true);
    MANOR_REFRESH_TIME = spoilSettings.getProperty("AltManorRefreshTime", 20);
    MANOR_REFRESH_MIN = spoilSettings.getProperty("AltManorRefreshMin", 00);
    MANOR_APPROVE_TIME = spoilSettings.getProperty("AltManorApproveTime", 6);
    MANOR_APPROVE_MIN = spoilSettings.getProperty("AltManorApproveMin", 00);
    MANOR_MAINTENANCE_PERIOD = spoilSettings.getProperty("AltManorMaintenancePeriod", 360000);
  }
View Full Code Here


  /**
   * Method loadFormulasConfig.
   */
  public static void loadFormulasConfig()
  {
    ExProperties formulasSettings = load(FORMULAS_CONFIGURATION_FILE);
    SKILLS_CHANCE_MOD = formulasSettings.getProperty("SkillsChanceMod", 11.);
    SKILLS_CHANCE_POW = formulasSettings.getProperty("SkillsChancePow", 0.5);
    SKILLS_CHANCE_MIN = formulasSettings.getProperty("SkillsChanceMin", 5.);
    SKILLS_CHANCE_CAP = formulasSettings.getProperty("SkillsChanceCap", 95.);
    SKILLS_CAST_TIME_MIN = formulasSettings.getProperty("SkillsCastTimeMin", 333);
    ALT_ABSORB_DAMAGE_MODIFIER = formulasSettings.getProperty("AbsorbDamageModifier", 1.0);
    ALT_ABSORB_DAMAGE_ONLY_MEELE = formulasSettings.getProperty("AbsorbDamageOnlyMeele", true);
    LIM_PATK = formulasSettings.getProperty("LimitPatk", 20000);
    LIM_MATK = formulasSettings.getProperty("LimitMAtk", 25000);
    LIM_PDEF = formulasSettings.getProperty("LimitPDef", 15000);
    LIM_MDEF = formulasSettings.getProperty("LimitMDef", 15000);
    LIM_PATK_SPD = formulasSettings.getProperty("LimitPatkSpd", 1500);
    LIM_MATK_SPD = formulasSettings.getProperty("LimitMatkSpd", 1999);
    LIM_CRIT_DAM = formulasSettings.getProperty("LimitCriticalDamage", 2000);
    BOW_REUSE = formulasSettings.getProperty("bowReuse", 1500);
    CROSSBOW_REUSE = formulasSettings.getProperty("crossbowReuse", 850);
    LIM_CRIT = formulasSettings.getProperty("LimitCritical", 500);
    LIM_MCRIT = formulasSettings.getProperty("LimitMCritical", 200);
    LIM_ACCURACY = formulasSettings.getProperty("LimitAccuracy", 300);
    LIM_MACCURACY = formulasSettings.getProperty("LimitMAccuracy", 300);
    LIM_MEVASION = formulasSettings.getProperty("LimitMEvasion", 300);
    LIM_EVASION = formulasSettings.getProperty("LimitEvasion", 300);
    LIM_MOVE = formulasSettings.getProperty("LimitMove", 250);
    GM_LIM_MOVE = formulasSettings.getProperty("GmLimitMove", 1500);
    LIM_FAME = formulasSettings.getProperty("LimitFame", 3000000);
    ALT_NPC_PATK_MODIFIER = formulasSettings.getProperty("NpcPAtkModifier", 1.0);
    ALT_NPC_MATK_MODIFIER = formulasSettings.getProperty("NpcMAtkModifier", 1.0);
    ALT_NPC_MAXHP_MODIFIER = formulasSettings.getProperty("NpcMaxHpModifier", 1.58);
    ALT_NPC_MAXMP_MODIFIER = formulasSettings.getProperty("NpcMapMpModifier", 1.11);
    ALT_POLE_DAMAGE_MODIFIER = formulasSettings.getProperty("PoleDamageModifier", 1.0);
  }
View Full Code Here

  /**
   * Method loadExtSettings.
   */
  public static void loadExtSettings()
  {
    ExProperties properties = load(EXT_FILE);
    EX_NEW_PETITION_SYSTEM = properties.getProperty("NewPetitionSystem", false);
    EX_JAPAN_MINIGAME = properties.getProperty("JapanMinigame", false);
    EX_LECTURE_MARK = properties.getProperty("LectureMark", false);
  }
View Full Code Here

  /**
   * Method loadAltSettings.
   */
  public static void loadAltSettings()
  {
    ExProperties altSettings = load(ALT_SETTINGS_FILE);
    ALT_ARENA_EXP = altSettings.getProperty("ArenaExp", true);
    ALT_GAME_EXP_LOST = altSettings.getProperty("AltGameExpLost", false);
    ALT_SAVE_UNSAVEABLE = altSettings.getProperty("AltSaveUnsaveable", false);
    ALT_SAVE_EFFECTS_REMAINING_TIME = altSettings.getProperty("AltSaveEffectsRemainingTime", 5);
    ALT_SHOW_REUSE_MSG = altSettings.getProperty("AltShowSkillReuseMessage", true);
    ALT_DELETE_SA_BUFFS = altSettings.getProperty("AltDeleteSABuffs", false);
    AUTO_LOOT = altSettings.getProperty("AutoLoot", false);
    AUTO_LOOT_HERBS = altSettings.getProperty("AutoLootHerbs", false);
    AUTO_LOOT_INDIVIDUAL = altSettings.getProperty("AutoLootIndividual", false);
    AUTO_LOOT_FROM_RAIDS = altSettings.getProperty("AutoLootFromRaids", false);
    AUTO_LOOT_PK = altSettings.getProperty("AutoLootPK", false);
    ALT_GAME_KARMA_PLAYER_CAN_SHOP = altSettings.getProperty("AltKarmaPlayerCanShop", false);
    SAVING_SPS = altSettings.getProperty("SavingSpS", false);
    MANAHEAL_SPS_BONUS = altSettings.getProperty("ManahealSpSBonus", false);
    CRAFT_MASTERWORK_CHANCE = altSettings.getProperty("CraftMasterworkChance", 3.);
    CRAFT_DOUBLECRAFT_CHANCE = altSettings.getProperty("CraftDoubleCraftChance", 3.);
    ALT_RAID_RESPAWN_MULTIPLIER = altSettings.getProperty("AltRaidRespawnMultiplier", 1.0);
    ALT_ALLOW_AUGMENT_ALL = altSettings.getProperty("AugmentAll", false);
    ALT_ALLOW_DROP_AUGMENTED = altSettings.getProperty("AlowDropAugmented", false);
    ALT_GAME_UNREGISTER_RECIPE = altSettings.getProperty("AltUnregisterRecipe", true);
    ALT_GAME_SHOW_DROPLIST = altSettings.getProperty("AltShowDroplist", true);
    ALLOW_NPC_SHIFTCLICK = altSettings.getProperty("AllowShiftClick", true);
    ALT_FULL_NPC_STATS_PAGE = altSettings.getProperty("AltFullStatsPage", false);
    ALT_GAME_SUBCLASS_WITHOUT_QUESTS = altSettings.getProperty("AltAllowSubClassWithoutQuest", false);
    ALT_ALLOW_SUBCLASS_WITHOUT_BAIUM = altSettings.getProperty("AltAllowSubClassWithoutBaium", true);
    ALT_GAME_LEVEL_TO_GET_SUBCLASS = altSettings.getProperty("AltLevelToGetSubclass", 75);
    ALT_GAME_SUB_ADD = altSettings.getProperty("AltSubAdd", 0);
    ALT_GAME_SUB_BOOK = altSettings.getProperty("AltSubBook", false);
    ALT_GAME_RESET_CERTIFICATION_COST = altSettings.getProperty("AltResetCertificationCost", 10000000);
    ALT_GAME_RESET_DUALCERTIFICATION_COST = altSettings.getProperty("AltResetDualCertificationCost", 20000000);
    ALT_GAME_REMOVE_PREVIOUS_CERTIFICATES = altSettings.getProperty("AltRemovePreviousCertificates", false);
    ALT_GAME_DUALCLASS_REAWAKENING_COST = altSettings.getProperty("AltGameDualClassReawakeningCost", new double[]
    {
      100,
      90,
      80,
      70,
      60,
      50,
      40,
      30,
      20,
      10       
    });
    _log.warn("altGameReawakeningCost = " + ALT_GAME_DUALCLASS_REAWAKENING_COST.length);
    if(ALT_GAME_DUALCLASS_REAWAKENING_COST.length != 10)
    {
      double [] DefaultValues = new double[]
      {
        100,
        90,
        80,
        70,
        60,
        50,
        40,
        30,
        20,
        10           
      };
      ALT_GAME_DUALCLASS_REAWAKENING_COST = DefaultValues;
      _log.warn("altGameReawakeningCost = Incorrect values for corresponding levels, loaded default values");
    }
    ALT_MAX_LEVEL = Math.min(altSettings.getProperty("AltMaxLevel", 99), Experience.LEVEL.length - 1);
    ALT_MAX_SUB_LEVEL = Math.min(altSettings.getProperty("AltMaxSubLevel", 80), Experience.LEVEL.length - 1);
    ALT_MAX_DUAL_SUB_LEVEL = Math.min(altSettings.getProperty("AltMaxDualSubLevel", 99), Experience.LEVEL.length - 1);
    ALT_ALLOW_OTHERS_WITHDRAW_FROM_CLAN_WAREHOUSE = altSettings.getProperty("AltAllowOthersWithdrawFromClanWarehouse", false);
    ALT_ALLOW_CLAN_COMMAND_ONLY_FOR_CLAN_LEADER = altSettings.getProperty("AltAllowClanCommandOnlyForClanLeader", true);
    ALT_GAME_REQUIRE_CLAN_CASTLE = altSettings.getProperty("AltRequireClanCastle", false);
    ALT_GAME_REQUIRE_CASTLE_DAWN = altSettings.getProperty("AltRequireCastleDawn", true);
    ALT_GAME_ALLOW_ADENA_DAWN = altSettings.getProperty("AltAllowAdenaDawn", true);
    ALT_CLAN_PLAYER_COUNT_6LVL = altSettings.getProperty("AltClanPlayer_6", 30);
    ALT_CLAN_REP_COUNT_6LVL = altSettings.getProperty("AltClanRep_6", 5000);
    ALT_CLAN_PLAYER_COUNT_7LVL = altSettings.getProperty("AltClanPlayer_7", 50);
    ALT_CLAN_REP_COUNT_7LVL = altSettings.getProperty("AltClanRep_7", 10000);
    ALT_CLAN_PLAYER_COUNT_8LVL = altSettings.getProperty("AltClanPlayer_8", 80);
    ALT_CLAN_REP_COUNT_8LVL = altSettings.getProperty("AltClanRep_8", 20000);
    ALT_CLAN_PLAYER_COUNT_9LVL = altSettings.getProperty("AltClanPlayer_9", 120);
    ALT_CLAN_REP_COUNT_9LVL = altSettings.getProperty("AltClanRep_9", 40000);
    ALT_CLAN_PLAYER_COUNT_10LVL = altSettings.getProperty("AltClanPlayer_10", 140);
    ALT_CLAN_REP_COUNT_10LVL = altSettings.getProperty("AltClanRep_10", 75000);
    ALT_CLAN_PLAYER_COUNT_11LVL = altSettings.getProperty("AltClanPlayer_11", 170);
    ALT_CLAN_REP_COUNT_11LVL = altSettings.getProperty("AltClanRep_11", 75000);
    ALT_ADD_RECIPES = altSettings.getProperty("AltAddRecipes", 0);
    SS_ANNOUNCE_PERIOD = altSettings.getProperty("SSAnnouncePeriod", 0);
    PETITIONING_ALLOWED = altSettings.getProperty("PetitioningAllowed", true);
    MAX_PETITIONS_PER_PLAYER = altSettings.getProperty("MaxPetitionsPerPlayer", 5);
    MAX_PETITIONS_PENDING = altSettings.getProperty("MaxPetitionsPending", 25);
    AUTO_LEARN_SKILLS = altSettings.getProperty("AutoLearnSkills", false);
    AUTO_LEARN_FORGOTTEN_SKILLS = altSettings.getProperty("AutoLearnForgottenSkills", false);
    ENCHANT_SKILLSID_RETAIL = altSettings.getProperty("EnchantSkillsIdRetail", false);
    ALT_SOCIAL_ACTION_REUSE = altSettings.getProperty("AltSocialActionReuse", false);
    ALT_DISABLE_SPELLBOOKS = altSettings.getProperty("AltDisableSpellbooks", false);
    ALT_DELETE_SKILL_PROF = altSettings.getProperty("AltDeleteSkillProf", false);
    ALT_DELETE_SKILL_RELATION = altSettings.getProperty("AltDeleteSkillRelation", false);
    ALT_DELETE_AWAKEN_SKILL_FROM_DB = altSettings.getProperty("AltDeleteAwakenSkillFromDB", true);
    ALT_CHECK_SKILLS_AWAKENING = altSettings.getProperty("AltCheckSkillsPostAwakening", false);
    ALT_SIMPLE_SIGNS = altSettings.getProperty("PushkinSignsOptions", false);
    ALT_TELE_TO_CATACOMBS = altSettings.getProperty("TeleToCatacombs", false);
    ALT_BS_CRYSTALLIZE = altSettings.getProperty("BSCrystallize", false);
    ALT_MAMMON_UPGRADE = altSettings.getProperty("MammonUpgrade", 6680500);
    ALT_MAMMON_EXCHANGE = altSettings.getProperty("MammonExchange", 10091400);
    ALT_ALLOW_TATTOO = altSettings.getProperty("AllowTattoo", false);
    ALT_BUFF_LIMIT = altSettings.getProperty("BuffLimit", 20);
    ALT_DEATH_PENALTY = altSettings.getProperty("EnableAltDeathPenalty", false);
    ALLOW_DEATH_PENALTY_C5 = altSettings.getProperty("EnableDeathPenaltyC5", true);
    ALT_DEATH_PENALTY_C5_CHANCE = altSettings.getProperty("DeathPenaltyC5Chance", 10);
    ALT_DEATH_PENALTY_C5_EXPERIENCE_PENALTY = altSettings.getProperty("DeathPenaltyC5RateExpPenalty", 1);
    ALT_DEATH_PENALTY_C5_KARMA_PENALTY = altSettings.getProperty("DeathPenaltyC5RateKarma", 1);
    ALT_PK_DEATH_RATE = altSettings.getProperty("AltPKDeathRate", 0.);
    NONOWNER_ITEM_PICKUP_DELAY = altSettings.getProperty("NonOwnerItemPickupDelay", 15L) * 1000L;
    ALT_NO_LASTHIT = altSettings.getProperty("NoLasthitOnRaid", false);
    ALT_KAMALOKA_NIGHTMARES_PREMIUM_ONLY = altSettings.getProperty("KamalokaNightmaresPremiumOnly", false);
    ALT_KAMALOKA_NIGHTMARE_REENTER = altSettings.getProperty("SellReenterNightmaresTicket", true);
    ALT_KAMALOKA_ABYSS_REENTER = altSettings.getProperty("SellReenterAbyssTicket", true);
    ALT_KAMALOKA_LAB_REENTER = altSettings.getProperty("SellReenterLabyrinthTicket", true);
    ALT_PET_HEAL_BATTLE_ONLY = altSettings.getProperty("PetsHealOnlyInBattle", true);
    CHAR_TITLE = altSettings.getProperty("CharTitle", false);
    ADD_CHAR_TITLE = altSettings.getProperty("CharAddTitle", "");
    ALT_ALLOW_SELL_COMMON = altSettings.getProperty("AllowSellCommon", true);
    ALT_ALLOW_SHADOW_WEAPONS = altSettings.getProperty("AllowShadowWeapons", true);
    ALT_DISABLED_MULTISELL = altSettings.getProperty("DisabledMultisells", ArrayUtils.EMPTY_INT_ARRAY);
    ALT_SHOP_PRICE_LIMITS = altSettings.getProperty("ShopPriceLimits", ArrayUtils.EMPTY_INT_ARRAY);
    ALT_SHOP_UNALLOWED_ITEMS = altSettings.getProperty("ShopUnallowedItems", ArrayUtils.EMPTY_INT_ARRAY);
    ALT_ALLOWED_PET_POTIONS = altSettings.getProperty("AllowedPetPotions", new int[]
    {
      735,
      1060,
      1061,
      1062,
      1374,
      1375,
      1539,
      1540,
      6035,
      6036
    });
    ALLOW_CLANSKILLS = altSettings.getProperty("AllowClanSkills", true);
    ALLOW_LEARN_TRANS_SKILLS_WO_QUEST = altSettings.getProperty("AllowLearnTransSkillsWOQuest", false);
    PARTY_LEADER_ONLY_CAN_INVITE = altSettings.getProperty("PartyLeaderOnlyCanInvite", true);
    ALLOW_TALK_WHILE_SITTING = altSettings.getProperty("AllowTalkWhileSitting", true);
    ALLOW_NOBLE_TP_TO_ALL = altSettings.getProperty("AllowNobleTPToAll", false);
    ALLOW_FAKE_PLAYERS = altSettings.getProperty("AllowFakePlayers", false);
    ALLOW_TOTAL_ONLINE = altSettings.getProperty("AllowVoiceCommandOnline", false);
    FAKE_PLAYERS_PERCENT = altSettings.getProperty("FakePlayersPercent", 100);
    CLANHALL_BUFFTIME_MODIFIER = altSettings.getProperty("ClanHallBuffTimeModifier", 1.0);
    SONGDANCETIME_MODIFIER = altSettings.getProperty("SongDanceTimeModifier", 1.0);
    MAXLOAD_MODIFIER = altSettings.getProperty("MaxLoadModifier", 1.0);
    GATEKEEPER_MODIFIER = altSettings.getProperty("GkCostMultiplier", 1.0);
    GATEKEEPER_FREE = altSettings.getProperty("GkFree", 40);
    CRUMA_GATEKEEPER_LVL = altSettings.getProperty("GkCruma", 65);
    ALT_IMPROVED_PETS_LIMITED_USE = altSettings.getProperty("ImprovedPetsLimitedUse", false);
    ALT_CHAMPION_CHANCE1 = altSettings.getProperty("AltChampionChance1", 0.);
    ALT_CHAMPION_CHANCE2 = altSettings.getProperty("AltChampionChance2", 0.);
    ALT_CHAMPION_CAN_BE_AGGRO = altSettings.getProperty("AltChampionAggro", false);
    ALT_CHAMPION_CAN_BE_SOCIAL = altSettings.getProperty("AltChampionSocial", false);
    ALT_CHAMPION_TOP_LEVEL = altSettings.getProperty("AltChampionTopLevel", 75);
    ALT_VITALITY_ENABLED = altSettings.getProperty("AltVitalityEnabled", true);
    ALT_VITALITY_RATE = altSettings.getProperty("AltVitalityRate", 2.);
    ALT_VITALITY_CONSUME_RATE = altSettings.getProperty("AltVitalityConsumeRate", 1.);
    ALT_PCBANG_POINTS_ENABLED = altSettings.getProperty("AltPcBangPointsEnabled", false);
    ALT_PCBANG_POINTS_BONUS_DOUBLE_CHANCE = altSettings.getProperty("AltPcBangPointsDoubleChance", 10.);
    ALT_PCBANG_POINTS_BONUS = altSettings.getProperty("AltPcBangPointsBonus", 0);
    ALT_PCBANG_POINTS_DELAY = altSettings.getProperty("AltPcBangPointsDelay", 20);
    ALT_PCBANG_POINTS_MIN_LVL = altSettings.getProperty("AltPcBangPointsMinLvl", 1);
    ALT_DEBUG_ENABLED = altSettings.getProperty("AltDebugEnabled", false);
    ALT_DEBUG_PVP_ENABLED = altSettings.getProperty("AltDebugPvPEnabled", false);
    ALT_DEBUG_PVP_DUEL_ONLY = altSettings.getProperty("AltDebugPvPDuelOnly", true);
    ALT_DEBUG_PVE_ENABLED = altSettings.getProperty("AltDebugPvEEnabled", false);
    ALT_MAX_ALLY_SIZE = altSettings.getProperty("AltMaxAllySize", 3);
    ALT_PARTY_DISTRIBUTION_RANGE = altSettings.getProperty("AltPartyDistributionRange", 1500);
    ALT_PARTY_BONUS = altSettings.getProperty("AltPartyBonus", new double[]
    {
      1.00,
      1.10,
      1.20,
      1.30,
      1.40,
      1.50,
      2.00,
      2.10,
      2.20
    });
    ALT_ALL_PHYS_SKILLS_OVERHIT = altSettings.getProperty("AltAllPhysSkillsOverhit", true);
    ALT_REMOVE_SKILLS_ON_DELEVEL = altSettings.getProperty("AltRemoveSkillsOnDelevel", true);
    ALLOW_CH_DOOR_OPEN_ON_CLICK = altSettings.getProperty("AllowChDoorOpenOnClick", true);
    ALT_CH_ALL_BUFFS = altSettings.getProperty("AltChAllBuffs", false);
    ALT_CH_ALLOW_1H_BUFFS = altSettings.getProperty("AltChAllowHourBuff", false);
    ALT_CH_SIMPLE_DIALOG = altSettings.getProperty("AltChSimpleDialog", false);
    AUGMENTATION_NG_SKILL_CHANCE = altSettings.getProperty("AugmentationNGSkillChance", 15);
    AUGMENTATION_NG_GLOW_CHANCE = altSettings.getProperty("AugmentationNGGlowChance", 0);
    AUGMENTATION_MID_SKILL_CHANCE = altSettings.getProperty("AugmentationMidSkillChance", 30);
    AUGMENTATION_MID_GLOW_CHANCE = altSettings.getProperty("AugmentationMidGlowChance", 40);
    AUGMENTATION_HIGH_SKILL_CHANCE = altSettings.getProperty("AugmentationHighSkillChance", 45);
    AUGMENTATION_HIGH_GLOW_CHANCE = altSettings.getProperty("AugmentationHighGlowChance", 70);
    AUGMENTATION_TOP_SKILL_CHANCE = altSettings.getProperty("AugmentationTopSkillChance", 60);
    AUGMENTATION_TOP_GLOW_CHANCE = altSettings.getProperty("AugmentationTopGlowChance", 100);
    AUGMENTATION_BASESTAT_CHANCE = altSettings.getProperty("AugmentationBaseStatChance", 1);
    AUGMENTATION_ACC_SKILL_CHANCE = altSettings.getProperty("AugmentationAccSkillChance", 10);
    ALT_OPEN_CLOAK_SLOT = altSettings.getProperty("OpenCloakSlot", false);
    ALT_SHOW_SERVER_TIME = altSettings.getProperty("ShowServerTime", false);
    FOLLOW_RANGE = altSettings.getProperty("FollowRange", 100);
    ALT_ITEM_AUCTION_ENABLED = altSettings.getProperty("AltItemAuctionEnabled", true);
    ALT_ITEM_AUCTION_CAN_REBID = altSettings.getProperty("AltItemAuctionCanRebid", false);
    ALT_ITEM_AUCTION_START_ANNOUNCE = altSettings.getProperty("AltItemAuctionAnnounce", true);
    ALT_ITEM_AUCTION_BID_ITEM_ID = altSettings.getProperty("AltItemAuctionBidItemId", 57);
    ALT_ITEM_AUCTION_MAX_BID = altSettings.getProperty("AltItemAuctionMaxBid", 1000000L);
    ALT_ITEM_AUCTION_MAX_CANCEL_TIME_IN_MILLIS = altSettings.getProperty("AltItemAuctionMaxCancelTimeInMillis", 604800000);
    ALT_FISH_CHAMPIONSHIP_ENABLED = altSettings.getProperty("AltFishChampionshipEnabled", true);
    ALT_FISH_CHAMPIONSHIP_REWARD_ITEM = altSettings.getProperty("AltFishChampionshipRewardItemId", 57);
    ALT_FISH_CHAMPIONSHIP_REWARD_1 = altSettings.getProperty("AltFishChampionshipReward1", 800000);
    ALT_FISH_CHAMPIONSHIP_REWARD_2 = altSettings.getProperty("AltFishChampionshipReward2", 500000);
    ALT_FISH_CHAMPIONSHIP_REWARD_3 = altSettings.getProperty("AltFishChampionshipReward3", 300000);
    ALT_FISH_CHAMPIONSHIP_REWARD_4 = altSettings.getProperty("AltFishChampionshipReward4", 200000);
    ALT_FISH_CHAMPIONSHIP_REWARD_5 = altSettings.getProperty("AltFishChampionshipReward5", 100000);
    ALT_ENABLE_BLOCK_CHECKER_EVENT = altSettings.getProperty("EnableBlockCheckerEvent", true);
    ALT_MIN_BLOCK_CHECKER_TEAM_MEMBERS = Math.min(Math.max(altSettings.getProperty("BlockCheckerMinTeamMembers", 1), 1), 6);
    ALT_RATE_COINS_REWARD_BLOCK_CHECKER = altSettings.getProperty("BlockCheckerRateCoinReward", 1.);
    ALT_HBCE_FAIR_PLAY = altSettings.getProperty("HBCEFairPlay", false);
    ALT_PET_INVENTORY_LIMIT = altSettings.getProperty("AltPetInventoryLimit", 12);
    SAVE_GM_SPAWN_CUSTOM = altSettings.getProperty("SaveGmSpawnCustom", false);
    LOAD_GM_SPAWN_CUSTOM = altSettings.getProperty("LoadGmSpawnCustom", false);
  }
View Full Code Here

  /**
   * Method loadServicesSettings.
   */
  public static void loadServicesSettings()
  {
    ExProperties servicesSettings = load(SERVICES_FILE);
    for (int id : servicesSettings.getProperty("AllowClassMasters", ArrayUtils.EMPTY_INT_ARRAY))
    {
      if (id != 0)
      {
        ALLOW_CLASS_MASTERS_LIST.add(id);
      }
    }
    CLASS_MASTERS_PRICE = servicesSettings.getProperty("ClassMastersPrice", "0,0,0,0");
    if (CLASS_MASTERS_PRICE.length() >= 7)
    {
      int level = 1;
      for (String id : CLASS_MASTERS_PRICE.split(","))
      {
        CLASS_MASTERS_PRICE_LIST[level] = Integer.parseInt(id);
        level++;
      }
    }
    CLASS_MASTERS_PRICE_ITEM = servicesSettings.getProperty("ClassMastersPriceItem", "0,0,0,0");
    if (CLASS_MASTERS_PRICE_ITEM.length() >= 7)
    {
      int level = 1;
      for (String id : CLASS_MASTERS_PRICE_ITEM.split(","))
      {
        CLASS_MASTERS_PRICE_ITEM_LIST[level] = Integer.parseInt(id);
        level++;
      }
    }
    SERVICES_CHANGE_NICK_ENABLED = servicesSettings.getProperty("NickChangeEnabled", false);
    SERVICES_CHANGE_NICK_PRICE = servicesSettings.getProperty("NickChangePrice", 100);
    SERVICES_CHANGE_NICK_ITEM = servicesSettings.getProperty("NickChangeItem", 4037);
    SERVICES_CHANGE_CLAN_NAME_ENABLED = servicesSettings.getProperty("ClanNameChangeEnabled", false);
    SERVICES_CHANGE_CLAN_NAME_PRICE = servicesSettings.getProperty("ClanNameChangePrice", 100);
    SERVICES_CHANGE_CLAN_NAME_ITEM = servicesSettings.getProperty("ClanNameChangeItem", 4037);
    SERVICES_CHANGE_PET_NAME_ENABLED = servicesSettings.getProperty("PetNameChangeEnabled", false);
    SERVICES_CHANGE_PET_NAME_PRICE = servicesSettings.getProperty("PetNameChangePrice", 100);
    SERVICES_CHANGE_PET_NAME_ITEM = servicesSettings.getProperty("PetNameChangeItem", 4037);
    SERVICES_EXCHANGE_BABY_PET_ENABLED = servicesSettings.getProperty("BabyPetExchangeEnabled", false);
    SERVICES_EXCHANGE_BABY_PET_PRICE = servicesSettings.getProperty("BabyPetExchangePrice", 100);
    SERVICES_EXCHANGE_BABY_PET_ITEM = servicesSettings.getProperty("BabyPetExchangeItem", 4037);
    SERVICES_CHANGE_SEX_ENABLED = servicesSettings.getProperty("SexChangeEnabled", false);
    SERVICES_CHANGE_SEX_PRICE = servicesSettings.getProperty("SexChangePrice", 100);
    SERVICES_CHANGE_SEX_ITEM = servicesSettings.getProperty("SexChangeItem", 4037);
    SERVICES_CHANGE_BASE_ENABLED = servicesSettings.getProperty("BaseChangeEnabled", false);
    SERVICES_CHANGE_BASE_PRICE = servicesSettings.getProperty("BaseChangePrice", 100);
    SERVICES_CHANGE_BASE_ITEM = servicesSettings.getProperty("BaseChangeItem", 4037);
    SERVICES_SEPARATE_SUB_ENABLED = servicesSettings.getProperty("SeparateSubEnabled", false);
    SERVICES_SEPARATE_SUB_PRICE = servicesSettings.getProperty("SeparateSubPrice", 100);
    SERVICES_SEPARATE_SUB_ITEM = servicesSettings.getProperty("SeparateSubItem", 4037);
    SERVICES_CHANGE_NICK_COLOR_ENABLED = servicesSettings.getProperty("NickColorChangeEnabled", false);
    SERVICES_CHANGE_NICK_COLOR_PRICE = servicesSettings.getProperty("NickColorChangePrice", 100);
    SERVICES_CHANGE_NICK_COLOR_ITEM = servicesSettings.getProperty("NickColorChangeItem", 4037);
    SERVICES_CHANGE_NICK_COLOR_LIST = servicesSettings.getProperty("NickColorChangeList", new String[]
    {
      "00FF00"
    });
    SERVICES_BASH_ENABLED = servicesSettings.getProperty("BashEnabled", false);
    SERVICES_BASH_SKIP_DOWNLOAD = servicesSettings.getProperty("BashSkipDownload", false);
    SERVICES_BASH_RELOAD_TIME = servicesSettings.getProperty("BashReloadTime", 24);
    SERVICES_RATE_TYPE = servicesSettings.getProperty("RateBonusType", Bonus.NO_BONUS);
    SERVICES_RATE_BONUS_PRICE = servicesSettings.getProperty("RateBonusPrice", new int[]
    {
      1500
    });
    SERVICES_RATE_BONUS_ITEM = servicesSettings.getProperty("RateBonusItem", new int[]
    {
      4037
    });
    SERVICES_RATE_BONUS_VALUE = servicesSettings.getProperty("RateBonusValue", new double[]
    {
      1.25
    });
    SERVICES_RATE_BONUS_DAYS = servicesSettings.getProperty("RateBonusTime", new int[]
    {
      30
    });
    SERVICES_NOBLESS_SELL_ENABLED = servicesSettings.getProperty("NoblessSellEnabled", false);
    SERVICES_NOBLESS_SELL_PRICE = servicesSettings.getProperty("NoblessSellPrice", 1000);
    SERVICES_NOBLESS_SELL_ITEM = servicesSettings.getProperty("NoblessSellItem", 4037);
    SERVICES_HERO_SELL_ENABLED = servicesSettings.getProperty("HeroSellEnabled", false);
    SERVICES_HERO_SELL_DAY = servicesSettings.getProperty("HeroSellDay", new int[]
    {
      30
    });
    SERVICES_HERO_SELL_PRICE = servicesSettings.getProperty("HeroSellPrice", new int[]
    {
      30
    });
    SERVICES_HERO_SELL_ITEM = servicesSettings.getProperty("HeroSellItem", new int[]
    {
      4037
    });
    SERVICES_EXPAND_INVENTORY_ENABLED = servicesSettings.getProperty("ExpandInventoryEnabled", false);
    SERVICES_EXPAND_INVENTORY_PRICE = servicesSettings.getProperty("ExpandInventoryPrice", 1000);
    SERVICES_EXPAND_INVENTORY_ITEM = servicesSettings.getProperty("ExpandInventoryItem", 4037);
    SERVICES_EXPAND_INVENTORY_MAX = servicesSettings.getProperty("ExpandInventoryMax", 250);
    SERVICES_EXPAND_WAREHOUSE_ENABLED = servicesSettings.getProperty("ExpandWarehouseEnabled", false);
    SERVICES_EXPAND_WAREHOUSE_PRICE = servicesSettings.getProperty("ExpandWarehousePrice", 1000);
    SERVICES_EXPAND_WAREHOUSE_ITEM = servicesSettings.getProperty("ExpandWarehouseItem", 4037);
    SERVICES_EXPAND_CWH_ENABLED = servicesSettings.getProperty("ExpandCWHEnabled", false);
    SERVICES_EXPAND_CWH_PRICE = servicesSettings.getProperty("ExpandCWHPrice", 1000);
    SERVICES_EXPAND_CWH_ITEM = servicesSettings.getProperty("ExpandCWHItem", 4037);
    SERVICES_DELEVEL_ENABLED = servicesSettings.getProperty("DelevelEnabled", false);
    SERVICES_DELEVEL_PRICE = servicesSettings.getProperty("DelevelPrice", 1);
    SERVICES_DELEVEL_ITEM = servicesSettings.getProperty("DelevelItem", 4037);
    SERVICES_SELLPETS = servicesSettings.getProperty("SellPets", "");
    SERVICES_OFFLINE_TRADE_ALLOW = servicesSettings.getProperty("AllowOfflineTrade", false);
    SERVICES_OFFLINE_TRADE_ALLOW_OFFSHORE = servicesSettings.getProperty("AllowOfflineTradeOnlyOffshore", true);
    SERVICES_OFFLINE_TRADE_MIN_LEVEL = servicesSettings.getProperty("OfflineMinLevel", 0);
    SERVICES_OFFLINE_TRADE_NAME_COLOR = Integer.decode("0x" + servicesSettings.getProperty("OfflineTradeNameColor", "B0FFFF"));
    SERVICES_OFFLINE_TRADE_PRICE_ITEM = servicesSettings.getProperty("OfflineTradePriceItem", 0);
    SERVICES_OFFLINE_TRADE_PRICE = servicesSettings.getProperty("OfflineTradePrice", 0);
    SERVICES_OFFLINE_TRADE_SECONDS_TO_KICK = servicesSettings.getProperty("OfflineTradeDaysToKick", 14) * 86400L;
    SERVICES_OFFLINE_TRADE_RESTORE_AFTER_RESTART = servicesSettings.getProperty("OfflineRestoreAfterRestart", true);
    SERVICES_NO_TRADE_ONLY_OFFLINE = servicesSettings.getProperty("NoTradeOnlyOffline", false);
    SERVICES_TRADE_TAX = servicesSettings.getProperty("TradeTax", 0.0);
    SERVICES_OFFSHORE_TRADE_TAX = servicesSettings.getProperty("OffshoreTradeTax", 0.0);
    SERVICES_TRADE_TAX_ONLY_OFFLINE = servicesSettings.getProperty("TradeTaxOnlyOffline", false);
    SERVICES_OFFSHORE_NO_CASTLE_TAX = servicesSettings.getProperty("NoCastleTaxInOffshore", false);
    SERVICES_TRADE_ONLY_FAR = servicesSettings.getProperty("TradeOnlyFar", false);
    SERVICES_TRADE_MIN_LEVEL = servicesSettings.getProperty("MinLevelForTrade", 0);
    SERVICES_TRADE_RADIUS = servicesSettings.getProperty("TradeRadius", 30);
    SERVICES_GIRAN_HARBOR_ENABLED = servicesSettings.getProperty("GiranHarborZone", false);
    SERVICES_PARNASSUS_ENABLED = servicesSettings.getProperty("ParnassusZone", false);
    SERVICES_PARNASSUS_NOTAX = servicesSettings.getProperty("ParnassusNoTax", false);
    SERVICES_PARNASSUS_PRICE = servicesSettings.getProperty("ParnassusPrice", 500000);
    SERVICES_ALLOW_LOTTERY = servicesSettings.getProperty("AllowLottery", false);
    SERVICES_LOTTERY_PRIZE = servicesSettings.getProperty("LotteryPrize", 50000);
    SERVICES_ALT_LOTTERY_PRICE = servicesSettings.getProperty("AltLotteryPrice", 2000);
    SERVICES_LOTTERY_TICKET_PRICE = servicesSettings.getProperty("LotteryTicketPrice", 2000);
    SERVICES_LOTTERY_5_NUMBER_RATE = servicesSettings.getProperty("Lottery5NumberRate", 0.6);
    SERVICES_LOTTERY_4_NUMBER_RATE = servicesSettings.getProperty("Lottery4NumberRate", 0.4);
    SERVICES_LOTTERY_3_NUMBER_RATE = servicesSettings.getProperty("Lottery3NumberRate", 0.2);
    SERVICES_LOTTERY_2_AND_1_NUMBER_PRIZE = servicesSettings.getProperty("Lottery2and1NumberPrize", 200);
    SERVICES_ALLOW_ROULETTE = servicesSettings.getProperty("AllowRoulette", false);
    SERVICES_ROULETTE_MIN_BET = servicesSettings.getProperty("RouletteMinBet", 1L);
    SERVICES_ROULETTE_MAX_BET = servicesSettings.getProperty("RouletteMaxBet", Long.MAX_VALUE);
    SERVICES_ENABLE_NO_CARRIER = servicesSettings.getProperty("EnableNoCarrier", false);
    SERVICES_NO_CARRIER_MIN_TIME = servicesSettings.getProperty("NoCarrierMinTime", 0);
    SERVICES_NO_CARRIER_MAX_TIME = servicesSettings.getProperty("NoCarrierMaxTime", 90);
    SERVICES_NO_CARRIER_DEFAULT_TIME = servicesSettings.getProperty("NoCarrierDefaultTime", 60);
    ITEM_BROKER_ITEM_SEARCH = servicesSettings.getProperty("UseItemBrokerItemSearch", false);
    ALLOW_EVENT_GATEKEEPER = servicesSettings.getProperty("AllowEventGatekeeper", false);
  }
View Full Code Here

  /**
   * Method loadOlympiadSettings.
   */
  public static void loadOlympiadSettings()
  {
    ExProperties olympSettings = load(OLYMPIAD);
    ENABLE_OLYMPIAD = olympSettings.getProperty("EnableOlympiad", true);
    ENABLE_OLYMPIAD_SPECTATING = olympSettings.getProperty("EnableOlympiadSpectating", true);
    ALT_OLY_DAYS = olympSettings.getProperty("AltOlyDays", false);
    ALT_OLY_START_TIME = olympSettings.getProperty("AltOlyStartTime", 18);
    ALT_OLY_MIN = olympSettings.getProperty("AltOlyMin", 0);
    ALT_OLY_CPERIOD = olympSettings.getProperty("AltOlyCPeriod", 21600000);
    ALT_OLY_WPERIOD = olympSettings.getProperty("AltOlyWPeriod", 604800000);
    ALT_OLY_VPERIOD = olympSettings.getProperty("AltOlyVPeriod", 43200000);
    CLASS_GAME_MIN = olympSettings.getProperty("ClassGameMin", 5);
    NONCLASS_GAME_MIN = olympSettings.getProperty("NonClassGameMin", 9);
    TEAM_GAME_MIN = olympSettings.getProperty("TeamGameMin", 4);
    GAME_MAX_LIMIT = olympSettings.getProperty("GameMaxLimit", 50);
    GAME_CLASSES_COUNT_LIMIT = olympSettings.getProperty("GameClassesCountLimit", 20);
    GAME_NOCLASSES_COUNT_LIMIT = olympSettings.getProperty("GameNoClassesCountLimit", 40);
    ALT_OLY_REG_DISPLAY = olympSettings.getProperty("AltOlyRegistrationDisplayNumber", 100);
    ALT_OLY_BATTLE_REWARD_ITEM = olympSettings.getProperty("AltOlyBattleRewItem", 13722);
    ALT_OLY_CLASSED_RITEM_C = olympSettings.getProperty("AltOlyClassedRewItemCount", 50);
    ALT_OLY_NONCLASSED_RITEM_C = olympSettings.getProperty("AltOlyNonClassedRewItemCount", 40);
    ALT_OLY_TEAM_RITEM_C = olympSettings.getProperty("AltOlyTeamRewItemCount", 50);
    ALT_OLY_COMP_RITEM = olympSettings.getProperty("AltOlyCompRewItem", 13722);
    ALT_OLY_GP_PER_POINT = olympSettings.getProperty("AltOlyGPPerPoint", 1000);
    ALT_OLY_HERO_POINTS = olympSettings.getProperty("AltOlyHeroPoints", 180);
    ALT_OLY_RANK1_POINTS = olympSettings.getProperty("AltOlyRank1Points", 120);
    ALT_OLY_RANK2_POINTS = olympSettings.getProperty("AltOlyRank2Points", 80);
    ALT_OLY_RANK3_POINTS = olympSettings.getProperty("AltOlyRank3Points", 55);
    ALT_OLY_RANK4_POINTS = olympSettings.getProperty("AltOlyRank4Points", 35);
    ALT_OLY_RANK5_POINTS = olympSettings.getProperty("AltOlyRank5Points", 20);
    OLYMPIAD_STADIAS_COUNT = olympSettings.getProperty("OlympiadStadiasCount", 160);
    OLYMPIAD_BATTLES_FOR_REWARD = olympSettings.getProperty("OlympiadBattlesForReward", 15);
    OLYMPIAD_POINTS_DEFAULT = olympSettings.getProperty("OlympiadPointsDefault", 50);
    OLYMPIAD_POINTS_WEEKLY = olympSettings.getProperty("OlympiadPointsWeekly", 10);
    OLYMPIAD_OLDSTYLE_STAT = olympSettings.getProperty("OlympiadOldStyleStat", false);
  }
View Full Code Here

   * @param file File
   * @return ExProperties
   */
  public static ExProperties load(File file)
  {
    ExProperties result = new ExProperties();
    try
    {
      result.load(file);
    }
    catch (IOException e)
    {
      _log.error("Error loading config : " + file.getName() + "!");
    }
View Full Code Here

  /**
   * Method loadPvPSettings.
   */
  public static void loadPvPSettings()
  {
    ExProperties pvpSettings = load(PVP_CONFIG_FILE);
    KARMA_MIN_KARMA = pvpSettings.getProperty("MinKarma", 240);
    KARMA_SP_DIVIDER = pvpSettings.getProperty("SPDivider", 7);
    KARMA_LOST_BASE = pvpSettings.getProperty("BaseKarmaLost", 0);
    KARMA_DROP_GM = pvpSettings.getProperty("CanGMDropEquipment", false);
    KARMA_NEEDED_TO_DROP = pvpSettings.getProperty("KarmaNeededToDrop", true);
    DROP_ITEMS_ON_DIE = pvpSettings.getProperty("DropOnDie", false);
    DROP_ITEMS_AUGMENTED = pvpSettings.getProperty("DropAugmented", false);
    KARMA_DROP_ITEM_LIMIT = pvpSettings.getProperty("MaxItemsDroppable", 10);
    MIN_PK_TO_ITEMS_DROP = pvpSettings.getProperty("MinPKToDropItems", 5);
    KARMA_RANDOM_DROP_LOCATION_LIMIT = pvpSettings.getProperty("MaxDropThrowDistance", 70);
    KARMA_DROPCHANCE_BASE = pvpSettings.getProperty("ChanceOfPKDropBase", 20.);
    KARMA_DROPCHANCE_MOD = pvpSettings.getProperty("ChanceOfPKsDropMod", 1.);
    NORMAL_DROPCHANCE_BASE = pvpSettings.getProperty("ChanceOfNormalDropBase", 1.);
    DROPCHANCE_EQUIPPED_WEAPON = pvpSettings.getProperty("ChanceOfDropWeapon", 3);
    DROPCHANCE_EQUIPMENT = pvpSettings.getProperty("ChanceOfDropEquippment", 17);
    DROPCHANCE_ITEM = pvpSettings.getProperty("ChanceOfDropOther", 80);
    KARMA_LIST_NONDROPPABLE_ITEMS = new ArrayList<Integer>();
    for (int id : pvpSettings.getProperty("ListOfNonDroppableItems", new int[]
    {
      57,
      1147,
      425,
      1146,
      461,
      10,
      2368,
      7,
      6,
      2370,
      2369,
      3500,
      3501,
      3502,
      4422,
      4423,
      4424,
      2375,
      6648,
      6649,
      6650,
      6842,
      6834,
      6835,
      6836,
      6837,
      6838,
      6839,
      6840,
      5575,
      7694,
      6841,
      8181
    }))
    {
      KARMA_LIST_NONDROPPABLE_ITEMS.add(id);
    }
    PVP_TIME = pvpSettings.getProperty("PvPTime", 40000);
    REPUTATION_COUNT = pvpSettings.getProperty("CountReputation", 360);
    PK_KILLER_NAME_COLOUR = Integer.decode("0x" + pvpSettings.getProperty("PKKillerNameColour", "00FF00"));
  }
View Full Code Here

  /**
   * Method loadAISettings.
   */
  public static void loadAISettings()
  {
    ExProperties aiSettings = load(AI_CONFIG_FILE);
    AI_TASK_MANAGER_COUNT = aiSettings.getProperty("AiTaskManagers", 1);
    AI_TASK_ATTACK_DELAY = aiSettings.getProperty("AiTaskDelay", 1000);
    AI_TASK_ACTIVE_DELAY = aiSettings.getProperty("AiTaskActiveDelay", 1000);
    BLOCK_ACTIVE_TASKS = aiSettings.getProperty("BlockActiveTasks", false);
    ALWAYS_TELEPORT_HOME = aiSettings.getProperty("AlwaysTeleportHome", false);
    RND_WALK = aiSettings.getProperty("RndWalk", true);
    RND_WALK_RATE = aiSettings.getProperty("RndWalkRate", 1);
    RND_ANIMATION_RATE = aiSettings.getProperty("RndAnimationRate", 2);
    AGGRO_CHECK_INTERVAL = aiSettings.getProperty("AggroCheckInterval", 250);
    NONAGGRO_TIME_ONTELEPORT = aiSettings.getProperty("NonAggroTimeOnTeleport", 15000);
    MAX_DRIFT_RANGE = aiSettings.getProperty("MaxDriftRange", 100);
    MAX_PURSUE_RANGE = aiSettings.getProperty("MaxPursueRange", 4000);
    MAX_PURSUE_UNDERGROUND_RANGE = aiSettings.getProperty("MaxPursueUndergoundRange", 2000);
    MAX_PURSUE_RANGE_RAID = aiSettings.getProperty("MaxPursueRangeRaid", 5000);
  }
View Full Code Here

  /**
   * Method loadGeodataSettings.
   */
  public static void loadGeodataSettings()
  {
    ExProperties geodataSettings = load(GEODATA_CONFIG_FILE);
    GEO_X_FIRST = geodataSettings.getProperty("GeoFirstX", 11);
    GEO_Y_FIRST = geodataSettings.getProperty("GeoFirstY", 10);
    GEO_X_LAST = geodataSettings.getProperty("GeoLastX", 26);
    GEO_Y_LAST = geodataSettings.getProperty("GeoLastY", 26);
    GEOFILES_PATTERN = geodataSettings.getProperty("GeoFilesPattern", "(\\d{2}_\\d{2})\\.l2j");
    ALLOW_GEODATA = geodataSettings.getProperty("AllowGeodata", true);
    ALLOW_FALL_FROM_WALLS = geodataSettings.getProperty("AllowFallFromWalls", false);
    ALLOW_KEYBOARD_MOVE = geodataSettings.getProperty("AllowMoveWithKeyboard", true);
    COMPACT_GEO = geodataSettings.getProperty("CompactGeoData", false);
    CLIENT_Z_SHIFT = geodataSettings.getProperty("ClientZShift", 16);
    PATHFIND_BOOST = geodataSettings.getProperty("PathFindBoost", 2);
    PATHFIND_DIAGONAL = geodataSettings.getProperty("PathFindDiagonal", true);
    PATH_CLEAN = geodataSettings.getProperty("PathClean", true);
    PATHFIND_MAX_Z_DIFF = geodataSettings.getProperty("PathFindMaxZDiff", 32);
    MAX_Z_DIFF = geodataSettings.getProperty("MaxZDiff", 64);
    MIN_LAYER_HEIGHT = geodataSettings.getProperty("MinLayerHeight", 64);
    PATHFIND_MAX_TIME = geodataSettings.getProperty("PathFindMaxTime", 10000000);
    PATHFIND_BUFFERS = geodataSettings.getProperty("PathFindBuffers", "8x96;8x128;8x160;8x192;4x224;4x256;4x288;2x320;2x384;2x352;1x512");
  }
View Full Code Here

TOP

Related Classes of lineage2.commons.configuration.ExProperties

Copyright © 2018 www.massapicom. 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.