/**
* 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);
}