RocketBot icon indicating copy to clipboard operation
RocketBot copied to clipboard

Suggestion: adding IV to the dpulicate mod transfer

Open NicolasGB opened this issue 10 years ago • 2 comments

it would be awesome if someone could implement a chacking in the duplicate transfer, because even though a pokemon has more CP , another one with less could be more close to the perfect pokemon! thanks guys, awesome bot!!

NicolasGB avatar Jul 24 '16 19:07 NicolasGB

Something like this?

                if (dubpokemon.Favorite == 0)
                {
                    if (Perfect(dubpokemon) >= 80)
                    {
                        var transfer = await client.TransferPokemon(dubpokemon.Id);
                        string pokemonName;
                        if (ClientSettings.Language == "german")
                        {
                            string name_english = Convert.ToString(dubpokemon.PokemonId);
                            var request = (HttpWebRequest)WebRequest.Create("http://boosting-service.de/pokemon/index.php?pokeName=" + name_english);
                            var response = (HttpWebResponse)request.GetResponse();
                            pokemonName = new StreamReader(response.GetResponseStream()).ReadToEnd();
                        }
                        else
                            pokemonName = Convert.ToString(dubpokemon.PokemonId);
                        ColoredConsoleWrite(Color.DarkGreen,
                            $"Transferred {pokemonName} with {dubpokemon.Cp} CP (Highest is {dupes.ElementAt(i).Last().value.Cp})");
                    }
                }

tenix avatar Jul 24 '16 20:07 tenix

Some one made it up already over here. https://github.com/DetectiveSquirrel/Pokemon-Go-Rocket-API/issues/181

maddhadder90 avatar Jul 25 '16 10:07 maddhadder90