brianzhouzc / RocketBot

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

Who is Brian? (dev, that's why it appears in the code) #1029

Open ckmkaya opened 7 years ago

ckmkaya commented 7 years ago

Sorry for Chinese. here is the exceptions.

[13:54:54] Error: System.InvalidOperationException: 序列未包含項目 於 System.Linq.Enumerable.First[TSource](IEnumerable1 source) 於 PokemonGo.RocketBot.Logic.Utils.RouteOptimizeUtil.FindNn(IEnumerable1 pokeStops, Double cLatitude, Double cLongitude) 於 C:\Users\Brian\Documents\Visual Studio 2015\Projects\RocketBot\PokemonGo.RocketBot.Logic\Utils\RouteOptimizeUtil.cs: 行 109 於 PokemonGo.RocketBot.Logic.Utils.RouteOptimizeUtil.Optimize(FortData[] pokeStops, Double lat, Double lng) 於 C:\Users\Brian\Documents\Visual Studio 2015\Projects\RocketBot\PokemonGo.RocketBot.Logic\Utils\RouteOptimizeUtil.cs: 行 18 於 PokemonGo.RocketBot.Logic.Tasks.FarmPokestopsTask.d3.MoveNext() 於 C:\Users\Brian\Documents\Visual Studio 2015\Projects\RocketBot\PokemonGo.RocketBot.Logic\Tasks\FarmPokestopsTask.cs: 行 53 --- 先前擲回例外狀況之位置中的堆疊追蹤結尾 --- 於 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() 於 C:\Users\Brian\Documents\Visual Studio 2015\Projects\RocketBot\PokemonGo.RocketBot.Logic\State\FarmState.cs: 行 66 --- 先前擲回例外狀況之位置中的堆疊追蹤結尾 --- 於 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() 於 C:\Users\Brian\Documents\Visual Studio 2015\Projects\RocketBot\PokemonGo.RocketBot.Logic\State\StateMachine.cs: 行 56

alexthepink95 commented 7 years ago

please explain as to when this occurred

ckmkaya commented 7 years ago

when launch the bot, i think the reason is telegram

PureIso commented 7 years ago

The .pdb file is likely the corporate. I don't think it should be part of the release version, debug maybe but not release.

InteractiveNoise commented 7 years ago

So, how can you fix the problem? I just download the Beta2.

[00:09:25] Error: System.NullReferenceException: Referencia a objeto no establecida como instancia de un objeto. en PokemonGo.RocketBot.Logic.Inventory.<GetPokemonFamilies>d__34.MoveNext() en C:\Users\Brian\Documents\Visual Studio 2015\Projects\RocketBot\PokemonGo.RocketBot.Logic\Inventory.cs:línea 380 --- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción --- en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) en System.Runtime.CompilerServices.TaskAwaiter1.GetResult() en PokemonGo.RocketBot.Logic.Tasks.DisplayPokemonStatsTask.d2.MoveNext() en C:\Users\Brian\Documents\Visual Studio 2015\Projects\RocketBot\PokemonGo.RocketBot.Logic\Tasks\DisplayPokemonStatsTask.cs:línea 24 --- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción --- en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) en System.Runtime.CompilerServices.TaskAwaiter.GetResult() en PokemonGo.RocketBot.Logic.State.InfoState.d0.MoveNext() en C:\Users\Brian\Documents\Visual Studio 2015\Projects\RocketBot\PokemonGo.RocketBot.Logic\State\InfoState.cs:línea 16 --- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción --- en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) en System.Runtime.CompilerServices.TaskAwaiter1.GetResult() en PokemonGo.RocketBot.Logic.State.StateMachine.<Start>d__3.MoveNext() en C:\Users\Brian\Documents\Visual Studio 2015\Projects\RocketBot\PokemonGo.RocketBot.Logic\State\StateMachine.cs:línea 56 [00:09:25] Logging in using Google

asgerschnuchel commented 7 years ago

I had this error and i had forgot to put quotations around my login details in the config file