brianzhouzc / RocketBot

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

New release - Main error - Pokemon Servers might be offline / unstable #1148

Closed xtrmbuster closed 8 years ago

xtrmbuster commented 8 years ago

I got this error today trying the new release.

I didn't change anything in the config.

I got the right Google API key.

I re-used the device config (iOS)

When i started the application, it began by transfering all pokemon and after it did these erros :

[15:40:59] Nosferalto   - 1234 /  61.39%   [Meilleur  1234 /  61.39%] 28 Bonbons
[15:41:01] Pokédex (151) : Rencontré 82 | Capturé 82
[15:41:01] Poké Balls: 160 | Super Balls: 120 | Hyper Balls: 128 | Master Balls: 0
[15:41:01] Potions: 50 | Super Potions: 60 | Hyper Potions: 140 | Potions Max: 26
[15:41:01] Rappels: 177 | Rappels Max: 0
[15:41:01] Baies: 140 | Encens: 8 | Œuf chance: 6 | Leurres: 6
[15:41:01] ItemPokeBall x160
[15:41:04] ItemGreatBall x120
[15:41:06] ItemUltraBall x8
[15:41:09] ItemPotion x50
[15:41:11] ItemSuperPotion x60
[15:41:14] ItemHyperPotion x86
[15:41:16] ItemRevive x117
[15:41:19] ItemRazzBerry x90
[15:41:21] Pokemon Servers might be offline / unstable. Trying again...
[15:41:22] Error: System.InvalidOperationException: La séquence ne contient aucun élément.
   à System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
   à PokemonGo.RocketBot.Logic.Utils.RouteOptimizeUtil.FindNn(IEnumerable`1 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.<Execute>d__3.MoveNext() dans C:\Users\Brian\Documents\Visual Studio 2015\Projects\RocketBot\PokemonGo.RocketBot.Logic\Tasks\FarmPokestopsTask.cs:ligne 58
--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
   à System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   à System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   à PokemonGo.RocketBot.Logic.State.FarmState.<Execute>d__0.MoveNext() dans C:\Users\Brian\Documents\Visual Studio 2015\Projects\RocketBot\PokemonGo.RocketBot.Logic\State\FarmState.cs:ligne 66
--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
   à 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.<Start>d__3.MoveNext() dans C:\Users\Brian\Documents\Visual Studio 2015\Projects\RocketBot\PokemonGo.RocketBot.Logic\State\StateMachine.cs:ligne 56
[15:41:22] Connexion via Google

And this is the same again and again.

Fle-zz-xa commented 8 years ago

i have exactly the same issue

xtrmbuster commented 8 years ago

When I'm looking for information about this error message, it let me think that this a banned message.

I tried to re-use my account on a new apple device, same error.

I'm going to try again in 2 hours.

What do you think about that ? Do I have to press the "Unban" button ?

JunpeiL commented 8 years ago

same here

gandoulf0 commented 8 years ago

try to launch it on nox?? it workéd for me

xtrmbuster commented 8 years ago

Why launch it on Nox android emulator ?

RocketBot is a Windows application.

Do you mean that you want me to log in the account on the Pokemon application on Nox emulator ?

AutomaticAutobot commented 8 years ago

Do NOT log into Nox, when it requests the packets about your system information it will return (BigNox) leading or marking you for a ban. KOPlayer has the option to setup system / device information and is compatible for GO, tho a little sloppy on the WASD as it does not limit the movement speed, so you better be tapping to move.

As for the error it looks like you did not get the proper google api, https://console.developers.google.com/apis/ The one you need to get is the Google Maps API > Google Maps Geolocation API

gandoulf0 commented 8 years ago

use nox to launch the real game on your location

flymesky74 commented 8 years ago

i have exactly the same issue

Gioby92 commented 8 years ago

Same here, i try the API automaticAutobot says, but i have the same error again and again

Evalcne commented 8 years ago

The comment above is wrong. You need to enable Google Maps Directions API. I haven't had this working for @24hrs, added the API and enabled, problem solved.

Gioby92 commented 8 years ago

how can i enable google maps directions API?

Evalcne commented 8 years ago

Same link as above, https://console.developers.google.com/apis/ Create a project if you haven't already. Navigate to the Library menu option. Expand the Google Maps APIs section with the More option, click Google Maps Directions API. Enable it. If you haven't created a key, use the credentials Menu to make one. I have a bunch of APIs enabled and that's the only one that registered any traffic.

Gioby92 commented 8 years ago

i try your method for API, but i have the same error:

[19:23:25] Log in tramite Google [19:23:26] Loggato come T*** [19:23:26] Controlla che Lat e Lng siano corretti. Chiudi il programma se non lo sono! Lat: 40.7849059087182 Lng: -73.9677543454029 [19:23:26] Pokemon Servers might be offline / unstable. Trying again... [19:23:27] Error: System.NullReferenceException: Riferimento a un oggetto non impostato su un'istanza di oggetto. in PokemonGo.RocketBot.Logic.Inventory.d34.MoveNext() in C:\Users\Brian\Documents\Visual Studio 2015\Projects\RocketBot\PokemonGo.RocketBot.Logic\Inventory.cs:riga 380 --- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione --- in System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() in PokemonGo.RocketBot.Logic.Tasks.DisplayPokemonStatsTask.d2.MoveNext() in C:\Users\Brian\Documents\Visual Studio 2015\Projects\RocketBot\PokemonGo.RocketBot.Logic\Tasks\DisplayPokemonStatsTask.cs:riga 25 --- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione --- in System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in System.Runtime.CompilerServices.TaskAwaiter.GetResult() in PokemonGo.RocketBot.Logic.State.InfoState.d0.MoveNext() in C:\Users\Brian\Documents\Visual Studio 2015\Projects\RocketBot\PokemonGo.RocketBot.Logic\State\InfoState.cs:riga 16 --- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione --- in System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() in PokemonGo.RocketBot.Logic.State.StateMachine.d3.MoveNext() in C:\Users\Brian\Documents\Visual Studio 2015\Projects\RocketBot\PokemonGo.RocketBot.Logic\State\StateMachine.cs:riga 56

Evalcne commented 8 years ago

That appears to error on inventory and pokemon stats, not route optimization like the original post. Have you verified your account isn't banned and that you can at least login using the app?

xtrmbuster commented 8 years ago

You're right Evalcne, Google maps API was not activated.

I activated it, re-created new iOS API key.

Launched bot but the same error.

EDIT : Sorry i have just seen that it is Google Maps DIRECTIONS api that i have to activate.

I did it. I'm waiting to retry.

EDIT 2 : IT WORKS !!!

Solved by activation of "Google Maps DIRECTIONS api" as written by Evalcne.

Thanks to him !

CLOSED