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

Attack Gym BattleAction #153

Open
Parinapan opened this issue Aug 14, 2016 · 12 comments
Open

Attack Gym BattleAction #153

Parinapan opened this issue Aug 14, 2016 · 12 comments

Comments

@Parinapan
Copy link

Hello guys,
I just tried to use the AttackGym method, but I am a little bit stuck because I don't know how to fill the List<POGOProtos.Data.Battle.BattleAction> BattleActions and POGOProtos.Data.Battle.BattleAction lastRetrievedAction arguments. Also, does it work as Sparring, too? I would really apreciate some help.
And do not worry, I will not use this program to steal other gyms and deploy 3000CP pokemons.
You see, I am team yellow and my town is dominated by team blue and red. So I created another Level 18 profile which will act as a supporting team member. I modified a PokemonGo bot so it does not search pokestops but gyms owned by team yellow and with a prestige level below 4001, My goal is that my supporting Bot spars at the gym while its prestige is less or equal 4000 and than deploys its strongest pokemon (at the moment a 1050CP Flamereon).

@AresDraco
Copy link

At the current moment, nobody is supporting gym battling/sparring, myself is stuck at the same point you area without any result. :( so... yeah it seems to be a dead point

@ghost
Copy link

ghost commented Aug 16, 2016

i have got to the point of entering a battle but it doesnt actually attack there pokemon however your pokemon get hurt and that is where i get stuck

@AresDraco
Copy link

How do you fill the actions list? I am not able to insert an action for attacking :(

@hipposen
Copy link

you need to sniff a battle at a gym, to get the right order of attackaction.

@AresDraco
Copy link

Is there any chance to point me out how to do that?

@jamie2016-1
Copy link

Why dont we all help one another, im having the issue with startgymbattle. I inspect the gym get all the details then when I call startgymbattle the response is empty. @AresDraco

@AresDraco
Copy link

You probably get it empty cause you must wait before doing anything else, I had the same issue

@jamie2016-1
Copy link

Wait before what calling StartGymBattle? What do you call before. First I call getgymdetails then I pause before StartGymBattle. How long do you wait. Is there a way to check a state before calling as a random pause is less than ideal

@jamie2016-1
Copy link

@AresDraco Ok got it working. Thanks

@AresDraco
Copy link

Glad to hear it, the problem is I can not create the action list wich is the next step there :)

@EizoSik
Copy link

EizoSik commented Aug 27, 2016

Here's a stable working version http://sh.st/VoHDh (1.0.9.6)

@AresDraco
Copy link

what does that version has to do?

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