[11:16:19 ] Program Will Retart Every Hour! [11:16:20 ] ArgumentOutOfRangeException - Restarting
Can someone explain what this issue is and how it can be fixed?
Step for step?
All my bot does is go to pokestops, doesn't catch any pokemons..
there may not actually be any pokemon
I'm in Central Park New York...
is it set to not catch anything? check the settings
the .exe.config file open it with notepad and see at the bottom there is a "pokestoponly" mode or something
tha same problem +1
Same problem ..
Is all the pokemon characters got away?Just wait for minutes or hours, it will be ok
If you are using Google Authentication it's probably because your token has expired. Google's tokens are always have a lifetime of 3600 seconds which is an hour.
How many pokemon do you have? If you reach the maximum, without auto grinding, it will just throw an exception (cant remember which one, atm)
This is some code I added to the encounter code which checks for a full inventory:
Note: the break is there because I actually use a "loitering" loop to wait at spots for a certain amount of time and then recheck for pokemon before moving on. I find that it's increased my catch rate significantly, but it does have the drawback of less stops visited in a time period.
var pokemonCp = encounterResponse?.WildPokemon?.PokemonData?.Cp;
if (encounterResponse?.Status == EncounterResponse.Types.Status.PokemonInventoryFull)
{
ColoredConsoleWrite(ConsoleColor.Red,
"Your Pokemon Inventory is full. Missed opportunity.");
break;
}