brianzhouzc / RocketBot

An automated Pokémon Go Bot
GNU General Public License v3.0
564 stars 316 forks source link

Error can't use the program #1232

Closed sanals closed 7 years ago

sanals commented 7 years ago

[23:58:27] (EVOLVED) Potential Evolutions: 0 [23:58:28] (INFO) Amount of Pokemon Seen: 20/151, Amount of Pokemon Caught: 2/151 [23:58:28] (ERROR) Pokemon Servers might be offline / unstable. Trying again... [23:58:29] (ERROR) Error: System.InvalidOperationException: Sequence contains no elements at System.Linq.Enumerable.First[TSource](IEnumerable1 source) at PokemonGo.RocketBot.Logic.Utils.RouteOptimizeUtil.FindNn(IEnumerable1 pokeStops, Double cLatitude, Double cLongitude) in C:\Users\Brian\Documents\Visual Studio 2015\Projects\RocketBot\PokemonGo.RocketBot.Logic\Utils\RouteOptimizeUtil.cs:line 107 at PokemonGo.RocketBot.Logic.Utils.RouteOptimizeUtil.Optimize(FortData[] pokeStops, Double lat, Double lng) in C:\Users\Brian\Documents\Visual Studio 2015\Projects\RocketBot\PokemonGo.RocketBot.Logic\Utils\RouteOptimizeUtil.cs:line 16 at PokemonGo.RocketBot.Logic.Tasks.FarmPokestopsTask.d3.MoveNext() in C:\Users\Brian\Documents\Visual Studio 2015\Projects\RocketBot\PokemonGo.RocketBot.Logic\Tasks\FarmPokestopsTask.cs:line 58 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.GetResult() at PokemonGo.RocketBot.Logic.State.FarmState.d0.MoveNext() in C:\Users\Brian\Documents\Visual Studio 2015\Projects\RocketBot\PokemonGo.RocketBot.Logic\State\FarmState.cs:line 66 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at PokemonGo.RocketBot.Logic.State.StateMachine.d__3.MoveNext() in C:\Users\Brian\Documents\Visual Studio 2015\Projects\RocketBot\PokemonGo.RocketBot.Logic\State\StateMachine.cs:line 56

sanals commented 7 years ago

Was an error with my account