You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having a major problem implementing this API call. I am successful in gathering gym details and also initiating a fight using 6 pokemon. My problem, is that I am able to call attack_gym and my pokemon is able to loose health in the process, but I never seem to be doing damage.
Overall, if anyone could provide exactly what should and shouldn't be included in attack_actions list that would be much appreciated.
However, I can't tell if attacker_index and target_index need to be something specific and not -1 to work, or if active_pokemon_id and target_pokemon_id should be same. It just isn't working out too well for me.
The text was updated successfully, but these errors were encountered:
I saw that last night but haven't been able to get the fix implemented yet. I believe my packets I was sending was accurate to what the server expected, just didn't have the right code to handle nested types properly.
FYI: this is what I used to verify I had the right info http://pastebin.com/enDzFvUN
I am trying to implement it with the C# api, but I seem to not be able to put the parameters to AttackGym... Most of the time I get "status_code: 3" back, but - and that's interesting! - sometimes, I get a success...
I am having a major problem implementing this API call. I am successful in gathering gym details and also initiating a fight using 6 pokemon. My problem, is that I am able to call attack_gym and my pokemon is able to loose health in the process, but I never seem to be doing damage.
Overall, if anyone could provide exactly what should and shouldn't be included in attack_actions list that would be much appreciated.
I am using this as a reference:
https://github.com/tejado/pgoapi/blob/master/pgoapi/protos/POGOProtos/Data/Battle_pb2.py
However, I can't tell if attacker_index and target_index need to be something specific and not -1 to work, or if active_pokemon_id and target_pokemon_id should be same. It just isn't working out too well for me.
The text was updated successfully, but these errors were encountered: