{"action":"created","issue":{"url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/768","repository_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map","labels_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/768/labels{/name}","comments_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/768/comments","events_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/768/events","html_url":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/768","id":171627063,"number":768,"title":"Add lured pokemon","user":{"login":"Zoruk","id":8281179,"avatar_url":"https://avatars.githubusercontent.com/u/8281179?v=3","gravatar_id":"","url":"https://api.github.com/users/Zoruk","html_url":"https://github.com/Zoruk","followers_url":"https://api.github.com/users/Zoruk/followers","following_url":"https://api.github.com/users/Zoruk/following{/other_user}","gists_url":"https://api.github.com/users/Zoruk/gists{/gist_id}","starred_url":"https://api.github.com/users/Zoruk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zoruk/subscriptions","organizations_url":"https://api.github.com/users/Zoruk/orgs","repos_url":"https://api.github.com/users/Zoruk/repos","events_url":"https://api.github.com/users/Zoruk/events{/privacy}","received_events_url":"https://api.github.com/users/Zoruk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-08-17T10:42:00Z","updated_at":"2016-08-17T19:12:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/768","html_url":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/768","diff_url":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/768.diff","patch_url":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/768.patch"},"body":"<!--- Provide a general summary of your changes in the Title above -->\r\n\r\n## Description\r\n<!--- Describe your changes in detail -->\r\nThe problem here is that lure_info field is only present when the scan is close enough to the pokestop this way if we store those info in the pokestop database as soon an other scan find the pokestop but is too far from the stop to get the lure_info field it will erase the lured pokemon from the database\r\n\r\nSo we have two possibility:\r\n\r\n1. Store the lured pokemon in the pokemon table like I did here but with a fake spawnpoint id \r\n2. Add a new table for lured pokemon\r\n\r\n## Motivation and Context\r\n<!--- Why is this change required? What problem does it solve? -->\r\n<!--- If it fixes an open issue, please link to the issue here. -->\r\nSince last api change the lured pokemon arent displayed \r\nFIX https://github.com/PokemonGoMap/PokemonGo-Map/issues/715\r\n\r\n## How Has This Been Tested?\r\n<!--- Please describe in detail how you tested your changes. -->\r\n<!--- Include details of your testing environment, and the tests you ran to -->\r\n<!--- see how your change affects other areas of the code, etc. -->\r\nTested on my own server\r\n\r\n## Types of changes\r\n<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->\r\n- [ ] Bug fix (non-breaking change which fixes an issue)\r\n- [x] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n\r\n## Checklist:\r\n<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->\r\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\r\n- [x] My code follows the code style of this project.\r\n- [ ] My change requires a change to the documentation.\r\n- [ ] I have updated the documentation accordingly.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/comments/240516141","html_url":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/768#issuecomment-240516141","issue_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/768","id":240516141,"user":{"login":"Zoruk","id":8281179,"avatar_url":"https://avatars.githubusercontent.com/u/8281179?v=3","gravatar_id":"","url":"https://api.github.com/users/Zoruk","html_url":"https://github.com/Zoruk","followers_url":"https://api.github.com/users/Zoruk/followers","following_url":"https://api.github.com/users/Zoruk/following{/other_user}","gists_url":"https://api.github.com/users/Zoruk/gists{/gist_id}","starred_url":"https://api.github.com/users/Zoruk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zoruk/subscriptions","organizations_url":"https://api.github.com/users/Zoruk/orgs","repos_url":"https://api.github.com/users/Zoruk/repos","events_url":"https://api.github.com/users/Zoruk/events{/privacy}","received_events_url":"https://api.github.com/users/Zoruk/received_events","type":"User","site_admin":false},"created_at":"2016-08-17T19:12:03Z","updated_at":"2016-08-17T19:12:03Z","body":"@BaIthamel It's now 100% separated from pokemon table. The lured pokemon are stored in a new one (lurepokemon)\r\n\r\n@Zentriert Now it's exactly like it was before"}}
{"actor":{"display_login":"Zoruk"}}