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

Sniper.py is not able to verify the pokemon #5863

Closed
pogarek opened this issue Jan 10, 2017 · 4 comments
Closed

Sniper.py is not able to verify the pokemon #5863

pogarek opened this issue Jan 10, 2017 · 4 comments

Comments

@pogarek
Copy link
Contributor

pogarek commented Jan 10, 2017

If json data is missing EcounterID and SpawnpointID, then sniper.py do a verification of pokemon.
However it always fails for me - from my investigation it seems, like results are empty ( get_meta_cell => find_close_cells => get_map_objects : catchable pokemons)...

It seems like get_map_object returns forts only.

Unfortunatelly I have no idea how to fix it.

@MerlionRock
Copy link
Contributor

MerlionRock commented Jan 13, 2017

It's me. Replied you in Discord :) Documenting it for future developers to take note.

After version 0.45, Niantic implemented a delay for Pokemon spawns after a teleport (both to and back) Once Niantic's server detected a jump in position all Pokemons will not be shown on map for a few mins (up to even 5mins). But once in a while, if you're lucky, it's just a few secs (which explain why sometimes you can snipe without Encounter ID & Spawn Point ID).

You can try this with Pokemon Go and a spoofing app to verify the above information.

For my new snipping through telegram feature, I've increased the MIN_SECONDS_ALLOWED_FOR_CELL_CHECK to 180 secs.

If i'm not wrong, Sniper.py will bypass the check if there's EncounterID and SpawnpointID. So this increase in timing is only for my Telegram Snipe and Url that doesn't provide EncounterID and SpawnpointID.

@MerlionRock
Copy link
Contributor

Ok...

Update: Just today, it doesn't work anymore even after 300 secs of delay.

@MerlionRock
Copy link
Contributor

Found out what happened with sniper.py
Fixed. Will be doing a PR.

@pogarek
Copy link
Contributor Author

pogarek commented Jan 18, 2017

fixed by #5877

@pogarek pogarek closed this as completed Jan 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants