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

catch _pokemon give empty response #46

Closed
setyongr opened this issue Jul 20, 2016 · 10 comments
Closed

catch _pokemon give empty response #46

setyongr opened this issue Jul 20, 2016 · 10 comments

Comments

@setyongr
Copy link

I run this code
api.catch_pokemon(encounter_id=poke['encounter_id'], pokeball=1, normalized_reticle_size=1.950, spawn_point_guid=poke['spawnpoint_id'], hit_pokemon=True, spin_modifier=1, NormalizedHitPosition=1)
When i print the response, i get
"responses": { "CATCH_POKEMON": {} }

@tejado
Copy link
Owner

tejado commented Jul 20, 2016

Hi,

I didnt verified this yet so it is also not listed as supported in the Readme. I will have a look into it. Are you willing to provide me your additional surrounding code (e.g. private per mail or public?)

@setyongr
Copy link
Author

hi, thanks for replying :)
i just made a small modify to pokecli.py
rest of the code its just searching catchable pokemon throught get_map_objects. But if you want to look all of the code maybe i can send you via email

@tejado
Copy link
Owner

tejado commented Jul 20, 2016

Ah okay, no then it is okay. I will check it myself :)

@setyongr
Copy link
Author

opps, sorry my bad
its working perfectly, i just forgot to encounter the pokemon

@ericlewis
Copy link

Could you explain how you made encounter work? I always get status 3

@ztukaz
Copy link

ztukaz commented Jul 21, 2016

Could you explain how you made encounter work? I always get status 3 -> +1

@setyongr
Copy link
Author

@ericlewis @ztukaz maybe you got softban because you jump to far

@ztukaz
Copy link

ztukaz commented Jul 22, 2016

@setyongr it was working perfectly, but for a parameter ( jus myBad )

@samuelteixeiras
Copy link
Contributor

@ztukaz what command do you run (params) ?

@ztukaz
Copy link

ztukaz commented Jul 22, 2016

You should encounter first the pokemon, than catch
catch_pokemon(encounter_id= encounter_id, pokeball=1, normalized_reticle_size=1.950, spawn_point_guid = spawn_point_guid, hit_pokemon=True, spin_modifier=1, NormalizedHitPosition=1)

Note that Pokeball = 1 refers to pokeball, pokeball = 2 i think it's for mega ball(not tested yet), 3 for master?

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

5 participants