RocketBot icon indicating copy to clipboard operation
RocketBot copied to clipboard

How to stop the bot from Transferring specific pokemons?

Open nolzzz opened this issue 10 years ago • 3 comments

Im a big noob when it comes to finding the black/white list in visual studio... and also I don't quite understand it. I want to prevent the bot from transferring specific Pokemons even if they have low CP, for example if you have 2 dragonirs with 1600 and 1700 cp i don't want the bot to transfer the lower ones. So where exactly do I find the whitelist to put these pokemons in? All the other pokemons like the lower tier ones i don't care if they get transferred if theres one lower

thanks =)

nolzzz avatar Jul 24 '16 23:07 nolzzz

Put this in the code under the function TransferDuplicatePokemon(Client client) on MainForm.cs replace the line that does

if(dubpokemon.Favorite == 0)

to

if (dubpokemon.Favorite == 0 && !new string[] { "growlithe", "dragonite", "lapras" }.Contains(dubpokemon.PokemonId.ToString().ToLower()))

replace the list of pokemons that i have with the names of the pokemons u want to exclude from transfer... also make sure they are lowercased

nicktag avatar Jul 25 '16 02:07 nicktag

I don't quite understand... I need more detailed explanation :(

nolzzz avatar Jul 25 '16 14:07 nolzzz

@nicktag

Should it look like this, or am i just lucky i had my pokemon at a gym so it cant get transfered ?

http://imgur.com/a/MdDZM

This is how its look in my Mainform.cs file

http://imgur.com/a/z1yvY

Erik55on avatar Jul 26 '16 19:07 Erik55on