RocketBot
RocketBot copied to clipboard
Feature Request > Store in a csv file all pokemon caught
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?
Everything is possible :^)
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.