From 8d0b5faaaf72cd8acd0cde96ad428acb5fbba09f Mon Sep 17 00:00:00 2001 From: redChrillz Date: Tue, 2 Aug 2016 13:58:41 +0200 Subject: [PATCH] Add lat and long to EventFortUsed event --- PoGo.NecroBot.CLI/ConsoleEventListener.cs | 2 +- PoGo.NecroBot.Logic/Common/Translations.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PoGo.NecroBot.CLI/ConsoleEventListener.cs b/PoGo.NecroBot.CLI/ConsoleEventListener.cs index caacedaaf..ed68d8a73 100644 --- a/PoGo.NecroBot.CLI/ConsoleEventListener.cs +++ b/PoGo.NecroBot.CLI/ConsoleEventListener.cs @@ -100,7 +100,7 @@ private static void HandleEvent(FortUsedEvent fortUsedEvent, ISession session) : fortUsedEvent.Items; Logger.Write( session.Translation.GetTranslation(TranslationString.EventFortUsed, fortUsedEvent.Name, fortUsedEvent.Exp, fortUsedEvent.Gems, - itemString), + itemString, fortUsedEvent.Latitude, fortUsedEvent.Longitude), LogLevel.Pokestop); } diff --git a/PoGo.NecroBot.Logic/Common/Translations.cs b/PoGo.NecroBot.Logic/Common/Translations.cs index 006c61621..0f14c5791 100644 --- a/PoGo.NecroBot.Logic/Common/Translations.cs +++ b/PoGo.NecroBot.Logic/Common/Translations.cs @@ -169,7 +169,7 @@ public class Translation : ITranslation new KeyValuePair(TranslationString.FarmPokestopsNoUsableFound, "No usable PokeStops found in your area. Is your maximum distance too small?"), new KeyValuePair(TranslationString.EventFortUsed, - "Name: {0} XP: {1}, Gems: {2}, Items: {3}"), + "Name: {0} XP: {1}, Gems: {2}, Items: {3}, Lat: {4}, Long: {5}"), new KeyValuePair(TranslationString.EventFortFailed, "Name: {0} INFO: Looting failed, possible softban. Unban in: {1}/{2}"), new KeyValuePair(TranslationString.EventFortTargeted,