Open fergatr0n opened 7 years ago
Seems that there are not available pokestops near you. Try to move your bot and try again.
There are 173 Pojestops a reasonable radius of my GPS coordinates so I know that is not the issue. This suggests that it is something to do with a value in the settings but I can't figure out which one. System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Getting the same error this side on two separate accounts, checking "Disable Human Walking" in Advance settings solves the problem.
Just speculating here but it might have something to do with the Google API functionality.
I get this error repeatedly when starting the bot, all my settings are accurate from what I see. I have attached my config file as a text file, can anyone see why I would be getting this error? Thanks.
[06:49:17] Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) at System.Collections.Generic.Listd3.MoveNext() in C:\Users\Brian\Documents\Visual Studio 2015\Projects\RocketBot\PokemonGo.RocketBot.Logic\Tasks\FarmPokestopsTask.cs:line 88
--- 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.d 0.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
config.txt
1.get_Item(Int32 index) at Newtonsoft.Json.Linq.JContainer.GetItem(Int32 index) at Newtonsoft.Json.Linq.JArray.get_Item(Object key) at PokemonGo.RocketBot.Logic.Navigation.Route(ISession session, GeoCoordinate start, GeoCoordinate dest) in C:\Users\Brian\Documents\Visual Studio 2015\Projects\RocketBot\PokemonGo.RocketBot.Logic\Navigation.cs:line 134 at PokemonGo.RocketBot.Logic.Navigation.<Move>d__11.MoveNext() in C:\Users\Brian\Documents\Visual Studio 2015\Projects\RocketBot\PokemonGo.RocketBot.Logic\Navigation.cs:line 205 --- 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.Tasks.FarmPokestopsTask.