From b485202ddc9ba4c2b853c175c5d5c61d5833fa45 Mon Sep 17 00:00:00 2001 From: Ryuichiro Date: Sat, 30 Jul 2016 18:22:46 +0200 Subject: [PATCH 1/2] MaxSpawnLocationOffset explicit casting added explicit double cast, not sure if nessecary. --- 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 bf2181e4a..edf0dfaeb 100644 --- a/PoGo.NecroBot.Logic/Settings.cs +++ b/PoGo.NecroBot.Logic/Settings.cs @@ -487,7 +487,7 @@ double ISettings.DefaultLatitude { get { - return _settings.DefaultLatitude + _rand.NextDouble() * (_settings.MaxSpawnLocationOffset / 111111); + return _settings.DefaultLatitude + _rand.NextDouble() * ((double)_settings.MaxSpawnLocationOffset / 111111); } set @@ -500,7 +500,7 @@ double ISettings.DefaultLongitude { get { - return _settings.DefaultLongitude + _rand.NextDouble() * (_settings.MaxSpawnLocationOffset / 111111 / Math.Cos(_settings.DefaultLatitude)); + return _settings.DefaultLongitude + _rand.NextDouble() * ((double)_settings.MaxSpawnLocationOffset / 111111 / Math.Cos(_settings.DefaultLatitude)); } set From 636cf76e1d08ead92371a2cbc030cc43dff19299 Mon Sep 17 00:00:00 2001 From: Javier Sayago Date: Sat, 30 Jul 2016 18:24:13 +0200 Subject: [PATCH 2/2] Update translation.es.json --- .../Config/Translations/translation.es.json | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/PoGo.NecroBot.CLI/Config/Translations/translation.es.json b/PoGo.NecroBot.CLI/Config/Translations/translation.es.json index 5ecb499d4..8ad9377c8 100644 --- a/PoGo.NecroBot.CLI/Config/Translations/translation.es.json +++ b/PoGo.NecroBot.CLI/Config/Translations/translation.es.json @@ -244,6 +244,10 @@ "Key": "finishedUnpackingFiles", "Value": "Terminada la desempaquetación de los archivos..." }, + { + "Key": "finishedTransferringConfig", + "Value": "Terminado de transferir su configuración a la nueva versión..." + }, { "Key": "updateFinished", "Value": "Actualización terminada, puede cerrar esta ventana ahora." @@ -372,9 +376,25 @@ "Key": "snipeScan", "Value": "[Sniper] Escaneando en busca de Pokemons en {0}..." }, + { + "Key": "snipeScanEx", + "Value": "[Sniper] Sniping a {0} con {1} IV en {2}..." + }, { "Key": "noPokemonToSnipe", "Value": "[Sniper] No se encontraron Pokemons :(" + }, + { + "Key": "notEnoughPokeballsToSnipe", + "Value": "No hay suficientes Pokeballs para iniciar Sniping! ({0}/{1})" + }, + { + "Key": "displayHighestMOVE1Header", + "Value": "MOVIMIENTO1" + }, + { + "Key": "displayHighestMOVE2Header", + "Value": "MOVIMIENTO2" } ] }