brianzhouzc / RocketBot

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

Can you explain this error? Is it because he doesn't found Pokestop near the starting point? #1128

Open jutoto opened 7 years ago

jutoto commented 7 years ago

20:16:40 Pokemon Servers might be offline / unstable. Trying again... 20:16:41 Error: System.InvalidOperationException: La séquence ne contient aucun élément. à System.Linq.Enumerable.First[TSource](IEnumerable1 source) à PokemonGo.RocketBot.Logic.Utils.RouteOptimizeUtil.FindNn(IEnumerable1 pokeStops, Double cLatitude, Double cLongitude) dans C:\Users\Brian\Documents\Visual Studio 2015\Projects\RocketBot\PokemonGo.RocketBot.Logic\Utils\RouteOptimizeUtil.cs:ligne 107 à PokemonGo.RocketBot.Logic.Utils.RouteOptimizeUtil.Optimize(FortData[] pokeStops, Double lat, Double lng) dans C:\Users\Brian\Documents\Visual Studio 2015\Projects\RocketBot\PokemonGo.RocketBot.Logic\Utils\RouteOptimizeUtil.cs:ligne 16 à PokemonGo.RocketBot.Logic.Tasks.FarmPokestopsTask.d3.MoveNext() dans C:\Users\Brian\Documents\Visual Studio 2015\Projects\RocketBot\PokemonGo.RocketBot.Logic\Tasks\FarmPokestopsTask.cs:ligne 58 --- End of stack trace from previous location where exception was thrown --- à System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) à System.Runtime.CompilerServices.TaskAwaiter.GetResult() à PokemonGo.RocketBot.Logic.State.FarmState.d0.MoveNext() dans C:\Users\Brian\Documents\Visual Studio 2015\Projects\RocketBot\PokemonGo.RocketBot.Logic\State\FarmState.cs:ligne 66 --- End of stack trace from previous location where exception was thrown --- à System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) à System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() à PokemonGo.RocketBot.Logic.State.StateMachine.d__3.MoveNext() dans C:\Users\Brian\Documents\Visual Studio 2015\Projects\RocketBot\PokemonGo.RocketBot.Logic\State\StateMachine.cs:ligne 56

Ultima123 commented 7 years ago

Try logging in on your phone. It that doesn't work then your banned.

jutoto commented 7 years ago

it is not a ban because I restart from an other location (in the city near the next position) and it work . I can't login with my phone because the position is too far from me. The previous location was into a natural parc where there is not many pokestop and may be not enouth road refered into Gmap. I tried this place because there is rare pokemon. may I have to desable human walk parameter?