brianzhouzc / RocketBot

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

Google Maps Directions API issue #1188

Open philz94 opened 7 years ago

philz94 commented 7 years ago

Hi all,

Can someone help, I download the latest bot 2.0, and cannot run properly with the google API.

Config file did not change except for the device info. Google API is properly created, in the manager Dashboard, it shows 1 call with success for Google Maps Directions API after launching bot. Unfortunately the following errors are repeating:

[20:07:42] Pokemon Servers might be offline / unstable. Trying again... [20:07:43] Error: System.ArgumentOutOfRangeException: L'index était hors limites. Il ne doit pas être négatif et doit être inférieur à la taille de la collection. Nom du paramètre : index à System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) à System.Collections.Generic.List`1.get_Item(Int32 index) à Newtonsoft.Json.Linq.JContainer.GetItem(Int32 index) à Newtonsoft.Json.Linq.JArray.get_Item(Object key) à PokemonGo.RocketBot.Logic.Navigation.Route(ISession session, GeoCoordinate start, GeoCoordinate dest) dans C:\Users\Brian\Documents\Visual Studio 2015\Projects\RocketBot\PokemonGo.RocketBot.Logic\Navigation.cs:ligne 134

tim2003251 commented 7 years ago

The same here.