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

Basic GYM Suport #14

Closed
ledevmacedo opened this issue Feb 8, 2017 · 19 comments
Closed

Basic GYM Suport #14

ledevmacedo opened this issue Feb 8, 2017 · 19 comments

Comments

@ledevmacedo
Copy link

English Text
Hello, When POGO-UWP was still alive there was a PR to add a basic system of GYM, we could see who was there, and even possibly put a pokemon. I would like to know the chances of implementing these features in your project.

Link> ST-Apps#1715
Link> ST-Apps#1743

Text in Portuguese
Olá, Quando POGO-UWP ainda era vivo havia uma PR para adicionar um sistema basico de GYM, poderiamos ver quem estava lá, E até possivelmente colocar um pokemon. Gostaria de saber quais as chances de implementar estes recursos no seu projeto.

@WodsonKun
Copy link

@mtaheij já disse que iria adicionar em uma update... Mas nao sei se haverá batalhas...

@WodsonKun
Copy link

Se você olhar a última commit, vai ver que as mudanças envolvendo Gyms já começaram...

@ledevmacedo
Copy link
Author

As batalhas eu sei que não irão ocorrer, já que nestes PR já diziam que era apenas para ver o GYM, no máximo colocar um pokemon caso estivesse disponível, o outro PR é as animações para caso alguém crie o sistema de batalhas, Este projeto esta bem mais promissor do que o Pogo do ST-APPS.

@mtaheij
Copy link
Owner

mtaheij commented Feb 9, 2017

In the latest commit there is basic support for gyms, the databinding is not correct, but I wanted to show you some extra changes. This weekend, the gym support will be further extended (no fighting or training).

@WodsonKun
Copy link

WodsonKun commented Feb 9, 2017

No battles? Phew... But, in ST-Apps#1743 We have the codes for battling and training (I seems)... Not completed (I seems again), but useful...

Manual English, not using Google Translate (Try to understand... Kkkkk)

@mtaheij
Copy link
Owner

mtaheij commented Feb 9, 2017

Actually, I copied in the changes from ST-Apps#1715 for the Gym UI.
The animation that is shown in ST-Apps#1743 doesn't have actual gameplay, it's an animation of how it could look.

As a matter of fact, it's not clear what requests we need to sent during a battle.
We have to be careful implementing trainings and battles, as they (Niantic) might be able to detect we are not using the official app if we send requests in the wrong order, incomplete requests or something like that.
That's why the basic UI, showing the current Gym contents is not that difficult and even deploying a Pokémon to a gym is easy.

@WodsonKun
Copy link

We can use this?:
wp_ss_20170209_0001
Provided by @Malavos

@mtaheij
Copy link
Owner

mtaheij commented Feb 10, 2017

I'm not sure how this is related to Gym support, but why should you want to use this?
The current API implementation is a 'proved concept' using a device profile that looks legit to Niantic when sent in a request.

@Malavos
Copy link

Malavos commented Feb 10, 2017

@mtaheij are you sure about that? If so, how did they track way back, the first ban batch?The ID looks like out of standart from the Device ID from apple and droid.

I started a discussion about that with another user, but I still did not have the time to make a code review over that.

@BadiBasso
Copy link

ST-Apps#575

@Malavos
Copy link

Malavos commented Feb 10, 2017

@BadiBasso yeah, not real a deviceID there.

@BadiBasso
Copy link

@Malavos PR coming soon to correct this issue, I hope?

@Malavos
Copy link

Malavos commented Feb 10, 2017

I can't work on anything for this project right now. I hope maybe by the end of this month. I wanted to also port it to something else. We'll see....

@mtaheij
Copy link
Owner

mtaheij commented Feb 14, 2017

I had some trouble implementing the 'choose team' dialog.
This is now almost done, in the next release you will be able to:

  • see gyms on the map
  • when opening a gym when you're not yet level 5, you will be asked by the professor to return when you've reached level 5.
  • choose a team
  • see the details of a Gym, including al deployed pokémons (memberships)
  • deploy a pokémon to a gym
    As I said, some setbacks, but it will be available this week.

@Malavos
Copy link

Malavos commented Feb 14, 2017

@mtaheij you're the best.

I hope I can help by the end of this month. Keep going!

@BadiBasso
Copy link

BadiBasso commented Feb 14, 2017

@mtaheij Have you checked this: https://github.com/Necrobot-Private/NecroBot/blob/v1.0.0.101/PoGo.NecroBot.Logic/Tasks/UseGymBattleTask.cs
Seems to have most, if not all, necessary methods for training/battling

@mtaheij
Copy link
Owner

mtaheij commented Feb 20, 2017

Can anyone try with the latest source version to deploy a pokemon to a gym? I always get the message 'Gym is full'.

@andremvm
Copy link

Sadly right now all (or the ones I know of) in my city are from a different team and already level 10 gyms, so I don't think I will be able to try it any time soon...

@mtaheij
Copy link
Owner

mtaheij commented Feb 26, 2017

I have successfully deployed a Pokémon to a level 2 gym this afternoon.

@mtaheij mtaheij closed this as completed Feb 26, 2017
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

6 participants