FeroxRev / Pokemon-Go-Rocket-API

Client API Library
GNU General Public License v3.0
369 stars 231 forks source link

Attacking Gym #149

Open ghost opened 8 years ago

ghost commented 8 years ago

so when i attack a gym my pokemon get hurt but dont hurt the opponents pokemon any ideas why?

ghost commented 8 years ago

how do you attack? it would be easier to debug if you would post some code...

ghost commented 8 years ago

Look at the code it's all there to start to battle and all there to set battle actions Just when in there it doesn't attack

ghost commented 8 years ago

What defendingPokemonId and/or attackingPokemonIds do you pass? are you sure all attacking pokemons are able to attack (check health).

ghost commented 8 years ago

Yes before sending them into battle it will revive or heal any Pokemon to max in the 6 selected

ghost commented 8 years ago

noob question, but did you checked the responses?

ghost commented 8 years ago

Yes responses all act normal and even dumped it from legit playing and same have you got email or something as don't want the code going public

AresDraco commented 8 years ago

Hum... I could not made it attack, I am stuck at starting battle, then I receive the 2 attacks and the join acction but then I'm lost, any idea how to populate the actions list with attack?

jamie2016-1 commented 8 years ago

Im stuck at StartGymBattle I get an empty response all the time. You got this part working? I have it working under python but this API i get nothing.