get_gym_details: Pokemons sometimes missing individual values
Closed this issue · 4 comments
Not sure if it's related to pgoapi or to the PogoProtos directly:
Sometimes when fetching the gym details, Pokemons in this arena are missing some individual values. Until now, I have only seen these cases:
- One IV is missing: Always the same is missing for this particular Pokemon, but I've seen Pokemons missing either individual_attack, individual_defense or individual_stamina
- All three are there, so everything fine
Here's an example response:
{'responses': {'GET_GYM_DETAILS': {'gym_state': {'memberships': [{'pokemon_data': {'additional_cp_multiplier': 0.051370274275541306, 'cp': 1187, 'cp_multiplier': 0.5822789072990417, 'creation_time_ms': 1471887048069, 'height_m': 1.1274545192718506, 'id': 6122737618367250596, 'individual_attack': 5, 'individual_defense': 6, 'move_1': 210, 'move_2': 121, 'num_upgrades': 7, 'owner_name': 'xxx', 'pokeball': 1, 'pokemon_id': 18, 'stamina': 210, 'stamina_max': 210, 'weight_kg': 1.700265884399414}, 'trainer_public_profile': {'avatar': {'eyes': 4, 'hair': 4}, 'level': 21, 'name': 'xxx'}}, ...
Same thing happens in the pogo-optimizer script... it's not a new bug, been
around since day one.
On Sat, Aug 27, 2016 at 8:05 AM, Andy Hofmann notifications@github.com
wrote:
Not sure if it's related to pgoapi or to the PogoProtos directly:
Sometimes when fetching the gym details, Pokemons in this arena are
missing some individual values. Until now, I have only seen these cases:
- One IV is missing: Always the same is missing for this particular
Pokemon, but I've seen Pokemons missing either individual_attack,
individual_defense or individual_stamina- All three are there, so everything fine Here's an example response: {'responses':
{'GET_GYM_DETAILS': {'gym_state': {'memberships': [{'pokemon_data':
{'additional_cp_multiplier': 0.051370274275541306, 'cp': 1187,
'cp_multiplier': 0.5822789072990417, 'creation_time_ms': 1471887048069,
'height_m': 1.1274545192718506, 'id': 6122737618367250596,
'individual_attack': 5, 'individual_defense': 6, 'move_1': 210, 'move_2':
121, 'num_upgrades': 7, 'owner_name': 'xxx', 'pokeball': 1, 'pokemon_id':
18, 'stamina': 210, 'stamina_max': 210, 'weight_kg': 1.700265884399414},
'trainer_public_profile': {'avatar': {'eyes': 4, 'hair': 4}, 'level': 21,
'name': 'xxx'}}, ...—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#119, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAImzRiS5EKcEsvz68tL_hpXq0SpBuYrks5qkCgggaJpZM4JurnW
.
Ryan Hope, PhD
Psychology Department
Carnegie Mellon University
Isn't this then more a "Type: bug" than question?
Hasn't been determined that this is an actual bug yet.
At this point, I don't feel it's an actual bug of pgoapi itself, so closing off for now.