RocketBot icon indicating copy to clipboard operation
RocketBot copied to clipboard

Feature Request > Store in a csv file all pokemon caught

Open m0uthless opened this issue 10 years ago • 2 comments

Hi, it's is possibile store in a csv file all pokemon caught with CP, HP, Stardust for power-up and coordinates where caught to analize this data?

m0uthless avatar Jul 22 '16 15:07 m0uthless

Everything is possible :^)

Sen66 avatar Jul 22 '16 16:07 Sen66

So I looked at this and threw this together - I'm not sure if it's what you're looking for but here:

Program.cs, CTRL+F "We caught a"

Add underneath: `string strPath = Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory);

                using (StreamWriter sw = new StreamWriter(strPath + @"\pokemon.txt", true))
                {
                    sw.WriteLine($"{pokemonName} // {encounterPokemonResponse?.WildPokemon?.PokemonData.Cp} CP");
                    sw.Close();
                }`

It'll log the pokemon caught to the desktop along with CP.

Versified avatar Jul 23 '16 10:07 Versified