Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with finding all Pokemon in cells #60

Open
weaseel opened this issue Jul 31, 2016 · 6 comments
Open

Issue with finding all Pokemon in cells #60

weaseel opened this issue Jul 31, 2016 · 6 comments

Comments

@weaseel
Copy link

weaseel commented Jul 31, 2016

Hello,

first of all: thank you for that amazing project!

I currently struggle with finding all the pokemon around my location.

I set my location:
session.setCoordinates(lat, lng)

Then I call:
cells = session.getMapObjects(radius = 4)

After that I loop through the cells with:

for cell in cells.map_cells:
     pokemons = [p for p in cell.wild_pokemons] + [p for p in cell.catchable_pokemons]
     for pokemon in pokemons:
.....

But I only find very few pokemon (I scanned already a big area). Did anything change with the update tonight? I just finished this script yesterday evening, so I can't tell you if I would have found more pokemon in the last days.

I dont want to catch any of them. I only want to create a Database for myself to get the spawn points and spawn times of certain pokemon.

Thanks in advance!

edit: sorry for posting two issues... I just tried to edit the top line....

@ulasozguler
Copy link

API started to throttle map object requests with last update. You cannot call getMapObjects more frequent than every 5 seconds. If you do, it returns an empty list of pokemons.

@kwkroll32
Copy link

@ulasozguler Do you have a source for that information? I'd like to read about that, and any other API-side limitations that I don't know about yet.

@ulasozguler
Copy link

ulasozguler commented Jul 31, 2016

@kwkroll32 There is no official information, of course. But you can read about it in dev subreddit: https://www.reddit.com/r/pokemongodev
Many mappers were down after update.

@dnsBlah
Copy link
Contributor

dnsBlah commented Aug 1, 2016

I'm having the same problem here.
Even tho I get reply on the mapobjects,
9/10 times there are no wild_pokemon, or catchable_pokemon
Only nearby_pokemon
But there are no coordinates for them, as I guess these are the pokemons inside the 'radar' and only showing pokemon_id, distance (always 200) and encounter_id

@maxbit89
Copy link

I get general empty cells they only contain s2_cell_id and a timestamp

@ajvish91
Copy link

Yes! I am having the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants