Skip to content
This repository has been archived by the owner on Jul 30, 2020. It is now read-only.

[Suggestion] Any plan to switch to PokeGOAPI-Java by Grover-c13? #12

Closed
vfuyong opened this issue Sep 8, 2016 · 19 comments
Closed

[Suggestion] Any plan to switch to PokeGOAPI-Java by Grover-c13? #12

vfuyong opened this issue Sep 8, 2016 · 19 comments
Assignees
Milestone

Comments

@vfuyong
Copy link

vfuyong commented Sep 8, 2016

As PokeGOAPI-Java seems to be actively updated, does it make sense to switch to it and invoke it in runtime? e.g. using Jni4net.

https://github.com/Grover-c13/PokeGOAPI-Java

It is always good to leverage community projects.

@vfuyong vfuyong changed the title Any plan to switch to PokeGOAPI-Java by Grover-c13? [Suggestion] Any plan to switch to PokeGOAPI-Java by Grover-c13? Sep 8, 2016
@Silph-Road
Copy link
Contributor

Silph-Road commented Sep 8, 2016

Yes, it is in the works.
@everyone If you are a developer with experience porting other languages to C#, contact us here and post link to your git/repo projects.

@jjskuld
Copy link
Contributor

jjskuld commented Sep 8, 2016

Long term seems best solution. I think I also had mentioned it previously. For now I am porting over the most important client emulation logic to fix up rocket API as a temporary fix so we are at less risk.

jjskuld referenced this issue in Necrobot-Private/PokemonGo.RocketAPI Sep 8, 2016
…ttings hash and properly handle dynamic api url (status code 53)."

This reverts commit c25a5c0.
@Silph-Road Silph-Road added this to the In Progress milestone Sep 8, 2016
@SiBangkotan
Copy link
Contributor

For such a major change, even better to consider merging this piece of code to a MITM. No more >Unknown6< or whatever in future, as long as base proto is not totally changed.

The catch is that it will eventually require a slim and clean andro stacking, wonder if there is any.

@jjskuld
Copy link
Contributor

jjskuld commented Sep 11, 2016

About 95% done porting the Java API but it may be bad timing because niantic just pushed out 0.37. Completely different protos, new captcha, and other security features will make it hard to crack. Unknown6 is gone in 0.37 since they have switched to something else altogether.

@ghost ghost added the in progress label Sep 12, 2016
@ntatoo ntatoo closed this as completed Sep 12, 2016
@ghost ghost added in progress and removed in progress labels Sep 12, 2016
@ghost ghost reopened this Sep 12, 2016
@vfuyong
Copy link
Author

vfuyong commented Sep 12, 2016

Interesting that the old bot still works with 0.37. Just to share this finding.

@kuntau
Copy link

kuntau commented Sep 12, 2016

Of course they give their player base some grace period for upgrading before dropping the old API

@vfuyong
Copy link
Author

vfuyong commented Sep 12, 2016

@kuntau I heard pokemon go actually mandate updating to the latest client before logging in?

@ghost ghost removed the in progress label Sep 12, 2016
@kuntau
Copy link

kuntau commented Sep 13, 2016

Sure, but we don't know yet. I'm still using 0.3.5 and AFAIK iOS version still pending for apple verification

@Silph-Road
Copy link
Contributor

Anyone here with android? I need someone to verify something:

trying to test if the .33 api is bait and they forced apps to .35 but left .33 api active
cuz .33 api works,
but if they forced update,
all those accounts are not official client as all apps are forced to .35.... easy filter to ban before new update

If anyone with .33 APK or 1.31 IPA can test, i would appreciate it!!

what i am trying to test if niantic is forcing:
Android .33 to update to .35 (currently the latest in app stores) before they push 0.37.0 <--- newest
OR
iOS 1.31 to update to 1.50 (currently the latest in app stores) before they push 1.70 <--- newest

@vfuyong
Copy link
Author

vfuyong commented Sep 13, 2016

There is some chance that the old API does work because the new features in 0.37 do not require changes to existing API.

@jjskuld
Copy link
Contributor

jjskuld commented Sep 13, 2016

I will bet that they will allow 0.35 to connect even after 1.70 comes out.. This is why I suggested kill switch based on checking when the App Stores release the new versions.

@Silph-Road
Copy link
Contributor

yeah, they will allow for maybe a day or few hours.
I have a scanner checking App store and will activate kill switch in 60 seconds of release.

@Silph-Road
Copy link
Contributor

@vfuyong they will work until they disable .35 API from their end on the servers, like they did when they released .33 and everyone was forced to update.

@samuraitruong
Copy link
Contributor

They not update api. Just update app:)) keep botting

Get Outlook for Androidhttps://aka.ms/ghei36

On Tue, Sep 13, 2016 at 9:21 AM +1000, "vfuyong" <notifications@github.commailto:notifications@github.com> wrote:

Interesting that the old bot still works with 0.37. Just to share this finding.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com//issues/12#issuecomment-246526277, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABINoogJ6khNqnagBI9bCMAXQIH8zGCDks5qpd5xgaJpZM4J3pME.

@vfuyong
Copy link
Author

vfuyong commented Sep 13, 2016

@samuraitruong May I know how you confirmed these?

msx752 pushed a commit that referenced this issue Sep 20, 2016
@jjskuld
Copy link
Contributor

jjskuld commented Sep 25, 2016

Not sure why I never came across this but AeonLucid has a C# pogolib library in addition to maintaining the pogoprotos!!

https://github.com/AeonLucid/POGOLib

Seems to be actively maintained and they are striving to make it compatible with .net on multiple platforms (mac, android, etc)

I've completed almost all the Grover-c13 API porting from Java for the main classes and only have the lower level networking, sensor info, and device info code left.

This is perfect since the AeonLucid library fills in for the code i have not ported.

I've looked through the AeonLucid code and it looks well written. My thinking on this is:

  1. Switch out Rocket API and move to pogolib from AeonLucid. It is much more low level than Grover-c13's code so it actually maps closer to Rocket API than the Java port.
  2. Contribute back to AeonLucid the critical bug fixes that we ported into Rocket API from the main Python pogo library.
  3. Contribute back to AeonLucid other missing functionality from Grover-c13 (such as iOS client emulation)
  4. Contribute back to Grover-c13 the ported .net implementation of his own API for him to maintain if he so wishes.

AeonLucid library has some nice features in it like better handling of oauth token refreshes, auto map refresh, and runs on more than just windows platform.

The change to Grover-c13 port can be done incrementally once we've got pogolib in.

@jjskuld
Copy link
Contributor

jjskuld commented Sep 25, 2016

Of course this is assuming that niantic doesn't force 0.35 update any time soon.

@holmeschou
Copy link
Contributor

I also think it is a good idea to use pogolib. POGOLib keeps update.

@samuraitruong
Copy link
Contributor

Closed, We will maintain our rocket API keep it sync with Pogolib and any update comming

msx752 added a commit that referenced this issue Jan 30, 2017
Furtif referenced this issue in Furtif/NecroBot May 20, 2017
Furtif referenced this issue in Furtif/NecroBot May 20, 2017
Furtif referenced this issue in Furtif/NecroBot May 20, 2017
Lord-Haji pushed a commit that referenced this issue Jun 1, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

9 participants