From d77eff9430e81ad1d5d085fb82df300098bdd839 Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Tue, 12 Jul 2022 21:21:09 +0000 Subject: [PATCH] Load properly TeleportShareLocationLcoinCost configuration. Contributed by nasseka. --- .../dist/game/config/General.ini | 26 +++++++++---------- .../java/org/l2jmobius/Config.java | 2 +- .../dist/game/config/General.ini | 26 +++++++++---------- .../java/org/l2jmobius/Config.java | 2 +- .../dist/game/config/General.ini | 26 +++++++++---------- .../java/org/l2jmobius/Config.java | 2 +- .../dist/game/config/General.ini | 26 +++++++++---------- .../java/org/l2jmobius/Config.java | 2 +- 8 files changed, 56 insertions(+), 56 deletions(-) diff --git a/L2J_Mobius_Essence_4.2_DwellingOfSpirits/dist/game/config/General.ini b/L2J_Mobius_Essence_4.2_DwellingOfSpirits/dist/game/config/General.ini index e56aaf622f..4096e5f053 100644 --- a/L2J_Mobius_Essence_4.2_DwellingOfSpirits/dist/game/config/General.ini +++ b/L2J_Mobius_Essence_4.2_DwellingOfSpirits/dist/game/config/General.ini @@ -675,6 +675,19 @@ AutoPlayAttackAction = True ResumeAutoPlay = False +# --------------------------------------------------------------------------- +# Share Location Settings +# --------------------------------------------------------------------------- + +Share loction L-Coin cost. +# Default: 50 +ShareLocationLcoinCost = 1000 + +# Teleport share location L-Coin cost. +# Default: 400 +TeleportShareLocationLcoinCost = 400 + + # --------------------------------------------------------------------------- # Developer Settings # --------------------------------------------------------------------------- @@ -703,16 +716,3 @@ AltDevShowQuestsLoadInLogs = False # Show scripts while loading them. # Default: False AltDevShowScriptsLoadInLogs = False - - -# --------------------------------------------------------------------------- -# Share Location Settings -# --------------------------------------------------------------------------- - -Share loction Lcoin cost. -# Default: 50 -ShareLocationLcoinCost= 1000 - -# Teleport share location Lcoin cost. -# Default: 400 -TeleportShareLocationLcoinCost= 400 diff --git a/L2J_Mobius_Essence_4.2_DwellingOfSpirits/java/org/l2jmobius/Config.java b/L2J_Mobius_Essence_4.2_DwellingOfSpirits/java/org/l2jmobius/Config.java index 6992b0f762..83072615fd 100644 --- a/L2J_Mobius_Essence_4.2_DwellingOfSpirits/java/org/l2jmobius/Config.java +++ b/L2J_Mobius_Essence_4.2_DwellingOfSpirits/java/org/l2jmobius/Config.java @@ -2155,7 +2155,7 @@ public class Config AUTO_PLAY_ATTACK_ACTION = generalConfig.getBoolean("AutoPlayAttackAction", true); RESUME_AUTO_PLAY = generalConfig.getBoolean("ResumeAutoPlay", false); SHARING_LOCATION_COST = generalConfig.getInt("ShareLocationLcoinCost", 1); - TELEPORT_SHARE_LOCATION_COST = generalConfig.getInt("ShareLocationLcoinCost", 1); + TELEPORT_SHARE_LOCATION_COST = generalConfig.getInt("TeleportShareLocationLcoinCost", 1); // Load FloodProtector config file final PropertiesParser floodProtectorConfig = new PropertiesParser(FLOOD_PROTECTOR_CONFIG_FILE); diff --git a/L2J_Mobius_Essence_5.2_FrostLord/dist/game/config/General.ini b/L2J_Mobius_Essence_5.2_FrostLord/dist/game/config/General.ini index 5da39901ac..b55a61653a 100644 --- a/L2J_Mobius_Essence_5.2_FrostLord/dist/game/config/General.ini +++ b/L2J_Mobius_Essence_5.2_FrostLord/dist/game/config/General.ini @@ -683,6 +683,19 @@ SubjugationTopicHeader = Purge reward SubjugationTopicBody = Reward for being in the top of the best players in clearing the lands of Aden +# --------------------------------------------------------------------------- +# Share Location Settings +# --------------------------------------------------------------------------- + +Share loction L-Coin cost. +# Default: 50 +ShareLocationLcoinCost = 1000 + +# Teleport share location L-Coin cost. +# Default: 400 +TeleportShareLocationLcoinCost = 400 + + # --------------------------------------------------------------------------- # Developer Settings # --------------------------------------------------------------------------- @@ -711,16 +724,3 @@ AltDevShowQuestsLoadInLogs = False # Show scripts while loading them. # Default: False AltDevShowScriptsLoadInLogs = False - - -# --------------------------------------------------------------------------- -# Share Location Settings -# --------------------------------------------------------------------------- - -Share loction Lcoin cost. -# Default: 50 -ShareLocationLcoinCost= 1000 - -# Teleport share location Lcoin cost. -# Default: 400 -TeleportShareLocationLcoinCost= 400 diff --git a/L2J_Mobius_Essence_5.2_FrostLord/java/org/l2jmobius/Config.java b/L2J_Mobius_Essence_5.2_FrostLord/java/org/l2jmobius/Config.java index b3416cbdaa..a941dc19aa 100644 --- a/L2J_Mobius_Essence_5.2_FrostLord/java/org/l2jmobius/Config.java +++ b/L2J_Mobius_Essence_5.2_FrostLord/java/org/l2jmobius/Config.java @@ -2256,7 +2256,7 @@ public class Config SUBJUGATION_TOPIC_BODY = generalConfig.getString("SubjugationTopicBody", "Reward for being in the top of the best players in clearing the lands of Aden"); SUBJUGATION_TOPIC_HEADER = generalConfig.getString("SubjugationTopicHeader", "Purge reward"); SHARING_LOCATION_COST = generalConfig.getInt("ShareLocationLcoinCost", 1); - TELEPORT_SHARE_LOCATION_COST = generalConfig.getInt("ShareLocationLcoinCost", 1); + TELEPORT_SHARE_LOCATION_COST = generalConfig.getInt("TeleportShareLocationLcoinCost", 1); // Load FloodProtector config file final PropertiesParser floodProtectorConfig = new PropertiesParser(FLOOD_PROTECTOR_CONFIG_FILE); diff --git a/L2J_Mobius_Essence_6.1_BattleChronicle/dist/game/config/General.ini b/L2J_Mobius_Essence_6.1_BattleChronicle/dist/game/config/General.ini index 5da39901ac..b55a61653a 100644 --- a/L2J_Mobius_Essence_6.1_BattleChronicle/dist/game/config/General.ini +++ b/L2J_Mobius_Essence_6.1_BattleChronicle/dist/game/config/General.ini @@ -683,6 +683,19 @@ SubjugationTopicHeader = Purge reward SubjugationTopicBody = Reward for being in the top of the best players in clearing the lands of Aden +# --------------------------------------------------------------------------- +# Share Location Settings +# --------------------------------------------------------------------------- + +Share loction L-Coin cost. +# Default: 50 +ShareLocationLcoinCost = 1000 + +# Teleport share location L-Coin cost. +# Default: 400 +TeleportShareLocationLcoinCost = 400 + + # --------------------------------------------------------------------------- # Developer Settings # --------------------------------------------------------------------------- @@ -711,16 +724,3 @@ AltDevShowQuestsLoadInLogs = False # Show scripts while loading them. # Default: False AltDevShowScriptsLoadInLogs = False - - -# --------------------------------------------------------------------------- -# Share Location Settings -# --------------------------------------------------------------------------- - -Share loction Lcoin cost. -# Default: 50 -ShareLocationLcoinCost= 1000 - -# Teleport share location Lcoin cost. -# Default: 400 -TeleportShareLocationLcoinCost= 400 diff --git a/L2J_Mobius_Essence_6.1_BattleChronicle/java/org/l2jmobius/Config.java b/L2J_Mobius_Essence_6.1_BattleChronicle/java/org/l2jmobius/Config.java index 3466d32922..32659ea9e9 100644 --- a/L2J_Mobius_Essence_6.1_BattleChronicle/java/org/l2jmobius/Config.java +++ b/L2J_Mobius_Essence_6.1_BattleChronicle/java/org/l2jmobius/Config.java @@ -2263,7 +2263,7 @@ public class Config SUBJUGATION_TOPIC_BODY = generalConfig.getString("SubjugationTopicBody", "Reward for being in the top of the best players in clearing the lands of Aden"); SUBJUGATION_TOPIC_HEADER = generalConfig.getString("SubjugationTopicHeader", "Purge reward"); SHARING_LOCATION_COST = generalConfig.getInt("ShareLocationLcoinCost", 1); - TELEPORT_SHARE_LOCATION_COST = generalConfig.getInt("ShareLocationLcoinCost", 1); + TELEPORT_SHARE_LOCATION_COST = generalConfig.getInt("TeleportShareLocationLcoinCost", 1); // Load FloodProtector config file final PropertiesParser floodProtectorConfig = new PropertiesParser(FLOOD_PROTECTOR_CONFIG_FILE); diff --git a/L2J_Mobius_Essence_6.2_Vanguard/dist/game/config/General.ini b/L2J_Mobius_Essence_6.2_Vanguard/dist/game/config/General.ini index 5da39901ac..b55a61653a 100644 --- a/L2J_Mobius_Essence_6.2_Vanguard/dist/game/config/General.ini +++ b/L2J_Mobius_Essence_6.2_Vanguard/dist/game/config/General.ini @@ -683,6 +683,19 @@ SubjugationTopicHeader = Purge reward SubjugationTopicBody = Reward for being in the top of the best players in clearing the lands of Aden +# --------------------------------------------------------------------------- +# Share Location Settings +# --------------------------------------------------------------------------- + +Share loction L-Coin cost. +# Default: 50 +ShareLocationLcoinCost = 1000 + +# Teleport share location L-Coin cost. +# Default: 400 +TeleportShareLocationLcoinCost = 400 + + # --------------------------------------------------------------------------- # Developer Settings # --------------------------------------------------------------------------- @@ -711,16 +724,3 @@ AltDevShowQuestsLoadInLogs = False # Show scripts while loading them. # Default: False AltDevShowScriptsLoadInLogs = False - - -# --------------------------------------------------------------------------- -# Share Location Settings -# --------------------------------------------------------------------------- - -Share loction Lcoin cost. -# Default: 50 -ShareLocationLcoinCost= 1000 - -# Teleport share location Lcoin cost. -# Default: 400 -TeleportShareLocationLcoinCost= 400 diff --git a/L2J_Mobius_Essence_6.2_Vanguard/java/org/l2jmobius/Config.java b/L2J_Mobius_Essence_6.2_Vanguard/java/org/l2jmobius/Config.java index 7ff5f08b04..358c14633b 100644 --- a/L2J_Mobius_Essence_6.2_Vanguard/java/org/l2jmobius/Config.java +++ b/L2J_Mobius_Essence_6.2_Vanguard/java/org/l2jmobius/Config.java @@ -2263,7 +2263,7 @@ public class Config SUBJUGATION_TOPIC_BODY = generalConfig.getString("SubjugationTopicBody", "Reward for being in the top of the best players in clearing the lands of Aden"); SUBJUGATION_TOPIC_HEADER = generalConfig.getString("SubjugationTopicHeader", "Purge reward"); SHARING_LOCATION_COST = generalConfig.getInt("ShareLocationLcoinCost", 1); - TELEPORT_SHARE_LOCATION_COST = generalConfig.getInt("ShareLocationLcoinCost", 1); + TELEPORT_SHARE_LOCATION_COST = generalConfig.getInt("TeleportShareLocationLcoinCost", 1); // Load FloodProtector config file final PropertiesParser floodProtectorConfig = new PropertiesParser(FLOOD_PROTECTOR_CONFIG_FILE);