From c8e5c599bb977eba8534cb2a8bbf93a2423a0ebe Mon Sep 17 00:00:00 2001 From: Oolaruu Date: Tue, 2 Aug 2016 10:53:05 +0200 Subject: [PATCH 1/3] Fixed typos itemsToRecylce -> itemsToRecycle --- PoGo.NecroBot.Logic/Inventory.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/PoGo.NecroBot.Logic/Inventory.cs b/PoGo.NecroBot.Logic/Inventory.cs index c07645cb3..8551b95f6 100644 --- a/PoGo.NecroBot.Logic/Inventory.cs +++ b/PoGo.NecroBot.Logic/Inventory.cs @@ -232,10 +232,10 @@ public async Task GetTotalItemCount() public async Task> GetItemsToRecycle(ISession session) { - var itemsToRecylce = new List(); + var itemsToRecycle = new List(); var myItems = (await GetItems()).ToList(); - var otherItemsToRecylce = myItems + var otherItemsToRecycle = myItems .Where(x => _logicSettings.ItemRecycleFilter.Any(f => f.Key == x.ItemId && x.Count > f.Value)) .Select( x => @@ -246,9 +246,9 @@ public async Task> GetItemsToRecycle(ISession session) Unseen = x.Unseen }); - itemsToRecylce.AddRange(otherItemsToRecylce); + itemsToRecycle.AddRange(otherItemsToRecycle); - return itemsToRecylce; + return itemsToRecycle; } public double GetPerfect(PokemonData poke) @@ -435,4 +435,4 @@ public async Task UpgradePokemon(ulong pokemonid) return upgradeResult; } } -} \ No newline at end of file +} From ecf12ea6423c1aa2d388675593cb80cf61ca7f50 Mon Sep 17 00:00:00 2001 From: Oolaruu Date: Tue, 2 Aug 2016 13:34:18 +0200 Subject: [PATCH 2/3] Update Settings.cs Fixed TotalAmountOfPokebalsToKeep to TotalAmountOfPokeballsToKeep Thanks to Whosdaman --- PoGo.NecroBot.Logic/Settings.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PoGo.NecroBot.Logic/Settings.cs b/PoGo.NecroBot.Logic/Settings.cs index 6ba32539f..c2483a96d 100644 --- a/PoGo.NecroBot.Logic/Settings.cs +++ b/PoGo.NecroBot.Logic/Settings.cs @@ -242,7 +242,7 @@ public class GlobalSettings [DefaultValue(1000)] public int MaxTravelDistanceInMeters; [DefaultValue(120)] - public int TotalAmountOfPokebalsToKeep; + public int TotalAmountOfPokeballsToKeep; [DefaultValue(80)] public int TotalAmountOfPotionsToKeep; [DefaultValue(60)] @@ -784,7 +784,7 @@ public LogicSettings(GlobalSettings settings) public bool SnipeIgnoreUnknownIv => _settings.SnipeIgnoreUnknownIv; public int MinDelayBetweenSnipes => _settings.MinDelayBetweenSnipes; public double SnipingScanOffset => _settings.SnipingScanOffset; - public int TotalAmountOfPokeballsToKeep => _settings.TotalAmountOfPokebalsToKeep; + public int TotalAmountOfPokeballsToKeep => _settings.TotalAmountOfPokeballsToKeep; public int TotalAmountOfPotionsToKeep => _settings.TotalAmountOfPotionsToKeep; public int TotalAmountOfRevivesToKeep => _settings.TotalAmountOfRevivesToKeep; public int TotalAmountOfBerriesToKeep => _settings.TotalAmountOfBerriesToKeep; From 10873bbcb52f1f819d1dacbd78823445b41a91a7 Mon Sep 17 00:00:00 2001 From: Oolaruu Date: Tue, 2 Aug 2016 14:30:45 +0200 Subject: [PATCH 3/3] Update translation.fr.json Fixed: eventFortUsed eventPokemonCapture --- PoGo.NecroBot.CLI/Config/Translations/translation.fr.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PoGo.NecroBot.CLI/Config/Translations/translation.fr.json b/PoGo.NecroBot.CLI/Config/Translations/translation.fr.json index 890ba0035..62834f4ed 100644 --- a/PoGo.NecroBot.CLI/Config/Translations/translation.fr.json +++ b/PoGo.NecroBot.CLI/Config/Translations/translation.fr.json @@ -30,7 +30,7 @@ }, { "Key": "eventFortUsed", - "Value": "{0} | {1}XP, Objets: {3} | {2}" + "Value": "{0} | {1}XP | {2} | Objets: {3} | Lat: {4}, Long: {5}" }, { "Key": "eventFortFailed", @@ -74,7 +74,7 @@ }, { "Key": "eventPokemonCapture", - "Value": "({0}) |{1}-{2} | Lv {3} {6}% {4}/{5} | {7}% Chance sur {8}m | {10} {9} restant, {11}" + "Value": "({0}) |{1}-{2}| Lv {3} {6}% {4}/{5} | {7}% dist {8}m | {10} {9} restant | {11} | lat: {12} long: {13}"" }, { "Key": "eventNoPokeballs",