RocketBot icon indicating copy to clipboard operation
RocketBot copied to clipboard

[11:16:19 ] Program Will Retart Every Hour! [11:16:20 ] ArgumentOutOfRangeException - Restarting

Open VinceeeH opened this issue 10 years ago • 10 comments

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..

VinceeeH avatar Jul 29 '16 09:07 VinceeeH

there may not actually be any pokemon

sxphirus avatar Jul 29 '16 09:07 sxphirus

I'm in Central Park New York...

VinceeeH avatar Jul 29 '16 09:07 VinceeeH

is it set to not catch anything? check the settings

sxphirus avatar Jul 29 '16 10:07 sxphirus

the .exe.config file open it with notepad and see at the bottom there is a "pokestoponly" mode or something

sxphirus avatar Jul 29 '16 10:07 sxphirus

tha same problem +1

pumanitro avatar Jul 29 '16 12:07 pumanitro

Same problem ..

cr1smc avatar Jul 29 '16 12:07 cr1smc

Is all the pokemon characters got away?Just wait for minutes or hours, it will be ok

jiemojiemo avatar Jul 29 '16 13:07 jiemojiemo

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.

soshimozi avatar Jul 29 '16 14:07 soshimozi

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)

ghost avatar Jul 29 '16 19:07 ghost

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;
                    }

soshimozi avatar Jul 29 '16 20:07 soshimozi