RocketBot icon indicating copy to clipboard operation
RocketBot copied to clipboard

Stop the Bot from Transferring SPECIFIC Pokemons?

Open nolzzz opened this issue 10 years ago • 1 comments

Like when I have a Dragoran 2000CP and im about to get another one with lets say 1950CP I don't want the bot to transfer the lower one. What code do I have to add exactly where? thanks

nolzzz avatar Jul 25 '16 16:07 nolzzz

If you want the bot to not transfer certain pokemon you can just favorite them otherwise you can do this:

(this is assuming you are using "duplicate" transfer mode)

  1. Go to Program.cs under ...\PokemonGo\RocketAPI\Console
  2. Go to Line 528 where it says "if (dubpokemon.Favorite == 0)"
  3. If you want it to not transfer certain types, for example Dragoran, change that line to "if (dubpokemon.Favorite == 0 && dubpokemon.PokemonId != PokemonId.Dragonite)"
  4. If you want it to not transfer certain types over a certain CP level, you can change it to something like "if (dubpokemon.Favorite == 0 && dubpokemon.PokemonId != PokemonId.Dragonite && dubpokemon.Cp < 1800)"

Just replace "1800" with whatever CP level you want, and replace PokemonId.Dragonite with whatever pokemon duplicate you don't want it to transfer.

maxkondra avatar Jul 25 '16 17:07 maxkondra