{"action":"closed","issue":{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/2495","repository_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot","labels_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/2495/labels{/name}","comments_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/2495/comments","events_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/2495/events","html_url":"https://github.com/PokemonGoF/PokemonGo-Bot/issues/2495","id":169163286,"number":2495,"title":"[Features Request] Bot Report, XP and Egg Notifications","user":{"login":"joaodragao","id":20815349,"avatar_url":"https://avatars.githubusercontent.com/u/20815349?v=3","gravatar_id":"","url":"https://api.github.com/users/joaodragao","html_url":"https://github.com/joaodragao","followers_url":"https://api.github.com/users/joaodragao/followers","following_url":"https://api.github.com/users/joaodragao/following{/other_user}","gists_url":"https://api.github.com/users/joaodragao/gists{/gist_id}","starred_url":"https://api.github.com/users/joaodragao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joaodragao/subscriptions","organizations_url":"https://api.github.com/users/joaodragao/orgs","repos_url":"https://api.github.com/users/joaodragao/repos","events_url":"https://api.github.com/users/joaodragao/events{/privacy}","received_events_url":"https://api.github.com/users/joaodragao/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-03T15:37:52Z","updated_at":"2016-08-06T20:49:59Z","closed_at":"2016-08-06T20:49:59Z","body":"### Bot Report Feature\r\n\r\nI would like to have a report that tells me which Pokemons were captured and which were kept and released after a few hours running the bot. So I modified some code to have this on test file.\r\n\r\n```\r\nMagikarp -- CP 89 -- 0.84 \r\nZubat -- CP 82 -- 0.87 \r\nZubat -- CP 332 -- 0.36 -- released\r\nRattata -- CP 10 -- 0.53 -- released\r\nPidgey -- CP 96 -- 0.44 -- released\r\nWeedle -- CP 216 -- 0.42 -- released\r\nEevee -- CP 451 -- 0.89 \r\nWeedle -- CP 16 -- 0.64 -- released\r\nPidgey -- CP 56 -- 0.24 -- released\r\nPidgey -- CP 176 -- 0.4 -- released\r\nCaterpie -- CP 105 -- 0.42 -- released\r\nTentacool -- CP 180 -- 0.58 -- released\r\n```\r\n\r\nIf it possible to include this feature where users can turn on and off in the configuration file.\r\n\r\nThis is the code.\r\n\r\n```\r\nif not is_vanished:\r\n    with open(\r\n            os.path.join(os.path.dirname(__file__),\r\n                         os.pardir,\r\n                         os.pardir,\r\n                         'caught_pokemons.txt'),\r\n            'a') as fileout:\r\n        print >> fileout, '{} -- CP {} -- {} {}'.format(\r\n            wild_pokemon_name,\r\n            wild_poekemon_cp,\r\n            wild_pokemon_potential,\r\n            '-- released' if is_released_pokemon else '')\r\nelse:\r\n    # runaway Pokemon! If you want to get that report too\r\n```\r\n\r\nSome other useful reports could be:\r\n* How many XP did player earned\r\n* Stardusts and Candies\r\n* New Pokemon found?\r\n\r\n### XP Notification Feature\r\n\r\nI would like to capture the **Level Up** screenshot. However, the bot won't stop for that. If there is a feature that terminates the bot when it is about 200 XP to reach next level, that would be cool. I can implement that but I want you to adapt that feature.\r\n\r\n### Hatch Egg Notification Feature\r\n\r\nI also want to record egg hatching moment. For 2Km or 5Km, I can use to fake GPS. But 10Km requires a few hours. If the bot can stop after like 100m before hatching, that would be awesome. Can you adapt that feature too.\r\n\r\nAll of these features can be turn on and off in the configuration file."}}
{"actor":{"display_login":"solderzzc"}}