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

Note that project still works with original #211

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rmwxiong
Copy link

Project still works fine with the original release version of PoGo. As of now, you can still catch pokemon on a newer installation, and then switch to an older version of the app to analyze the data.

@@ -1,6 +1,6 @@
# Pokemon GO Optimizer

This project is no longer being developed because as of July 30th Niantic has implemented SSL pinning, rendering this method useless. Happy hunting, everyone.
**This project is only compatible with the initial release version of Pokemon Go. As of July 30th Niantic has implemented SSL pinning, rendering this method useless on any newer versions.**
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe list the version number:

As of Pokémon GO v1.1.0 (released on July 30th)

@dortamiguel
Copy link

Someone just figured out how to remove the certificate pinning https://eaton-works.com/2016/07/31/reverse-engineering-and-removing-pokemon-gos-certificate-pinning/

@benjaminhallock
Copy link

benjaminhallock commented Jul 31, 2016

That requires decompiling the apk and patching some file.... lol not going to work. It's a shame I really liked this project.

@dortamiguel
Copy link

mmm well, maybe an apk patcher would work?

@macmanchomp
Copy link

macmanchomp commented Jul 31, 2016 via email

@dortamiguel
Copy link

Patching the apk will be safer than using an external unofficial API?

@nelsonzheng
Copy link
Contributor

How is pokeadvisor doing it?

@btimo
Copy link

btimo commented Jul 31, 2016

https://github.com/rastapasta/pokemon-go-xposed

@rastapasta the developer of the MITM did this for rooted android user: Pogo-Optimizer is working again !

@gvdn78
Copy link

gvdn78 commented Jul 31, 2016

Justr wondering if we could get Pogo-Optimizer working on Bluestacks or Nox and if so would anyone be willing to maybe share how we can do that?

@macmanchomp
Copy link

macmanchomp commented Aug 1, 2016 via email

@justinleewells
Copy link
Owner

The problem right now is that I don't have an Android device. If I continue this project, then it would have to be a spoofing implementation.

@rmwxiong
Copy link
Author

rmwxiong commented Aug 1, 2016

@justinleewells It should work on bluestacks, no?

@macmanchomp
Copy link

macmanchomp commented Aug 1, 2016 via email

@eq2kazial
Copy link

If you're able to downgrade to the previous version on your iPhone you can continue to use pogo-optimizer. That's my solution for now while I hope @justinleewells and other developers are able to figure out a workaround with the SSL pinning.

@justinleewells
Copy link
Owner

I am pretty sure that there's no way to bypass the SSL pinning on iOS without rooting your phone. Would you guys prefer that I make an Electron version with spoofing or just close the project? I'm pretty sure they'll end up banning people who use the third-party APIs.

@rmwxiong
Copy link
Author

rmwxiong commented Aug 1, 2016

Well since it works totally fine on Android with 29.3, it makes sense to me to keep it open. I still use it whenever I have lots of pokemon.

@macmanchomp
Copy link

macmanchomp commented Aug 1, 2016 via email

@macmanchomp
Copy link

macmanchomp commented Aug 1, 2016 via email

@Fasgort
Copy link

Fasgort commented Aug 1, 2016

Still using a root method, but the apk doesn't need to be modified anymore.

https://www.reddit.com/r/pokemongodev/comments/4viajn/allow_mitm_again_with_app_version_030_xposed/

@quincygogo
Copy link

Is it possible, instead of using a proxy server, to scan the inventory to know the IVs?

@mathiasbynens
Copy link
Contributor

@quincygogo How would you “scan the inventory” without man-in-the-middling?

@quincygogo
Copy link

@mathiasbynens I've seen some bots can know the IVs of your inventory like https://github.com/Novalys/PokemonGo-Bot-SimpleGUI , http://www.ownedcore.com/forums/pokemon-go/pokemon-go-hacks-cheats/566323-necrobot-nice-gui-coded-me.html

It might require us to use third-party API, but looks doable

@eq2kazial
Copy link

@quincygogo The benefit of the MITM method is that it doesn't make API calls and you don't have to use your login information. I'd much prefer being able to find a similar method, if possible, than potentially sending info that Niantic could later ban from.

@justinleewells
Copy link
Owner

I might just require rooting to use the app and call it a day. I can jailbreak my iPhone and install ssl kill switch.

@mathiasbynens
Copy link
Contributor

Note that Pokémon GO crashes on startup on jailbroken devices (by design — they go out of their way to detect it!), but there’s a workaround.

@justinleewells
Copy link
Owner

Thanks for the information, @mathiasbynens.

@macmanchomp
Copy link

macmanchomp commented Aug 2, 2016 via email

@haaayden
Copy link

haaayden commented Aug 2, 2016

Just to let you guys know, I'm still able to use this project on Windows with Android(PoGo 0.30) by following this guide and using this Xposed module. Thanks a lot for the excellent project!

@jane0815
Copy link

Yes. But better rooted phone then loosing account for breaking TOS.

@justinleewells
Copy link
Owner

It looks like the first ban-wave is coming out. Definitely not intending to do the API version now.

@macmanchomp
Copy link

macmanchomp commented Aug 12, 2016 via email

@raddison1971
Copy link

@macmanchomp help me to understand. I have an ESXi Server running an Ubuntu server with latest build. Then log into POGO using NOX App Player and I will receive an error and it will still capture the information I needed? Is this detectable? Is using NOX detectable?

@macmanchomp
Copy link

macmanchomp commented Aug 12, 2016 via email

@quincygogo
Copy link

Sorry I've lost the context but can anyone please summary a little? I'm using an IOS device, does this great tool still work on IOS? If so, what should I do to make it work? I've tried using proxy server directly but I failed to login

@macmanchomp
Copy link

What we were just talking about was the use of an Android emulator to run
an older version of the game from before the security measures were put in.
You can then log in, but will not be able to actually play, but instead
will receive a prompt to update. Once you receive that you can shut down
the emulator (maybe wait 15 seconds) and the proxy server will have
received the output we want. It will not update as you perform actions, but
it will give you the information you need to make the best decisions.

On Aug 13, 2016 12:31 AM, "quincygogo" notifications@github.com wrote:

Sorry I've lost the context but can anyone please summary a little? I'm
using an IOS device, does this great tool still work on IOS? If so, what
should I do to make it work? I've tried using proxy server directly but I
failed to login


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#211 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABCQDcsNXCqKh3v4duqoksrSENx9XNpxks5qfXK1gaJpZM4JY_Di
.

@jane0815
Copy link

There is a very high chance using Android Emulator will get your accounts banned too.

@ghost
Copy link

ghost commented Aug 20, 2016

Hi does it still work with the old apk ? I've tried with 0.29.0 and 0.29.3 but when i launch the game, the docker crash ( the website crash and the server doesnt appear in the list when i use the command "docker ps"). Does it work for anyone or is it a problem on my side ?

@Slivo-fr
Copy link

Still working for me

@Jorge22f
Copy link

I haven't used this in a couple weeks and I keep getting an error now. Not sure if it is because of the latest update, but here is the .log file:

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'start' ]
2 info using npm@2.15.9
3 info using node@v4.5.0
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart pogo-optimizer@1.3.2
6 info start pogo-optimizer@1.3.2
7 verbose unsafe-perm in lifecycle true
8 info pogo-optimizer@1.3.2 Failed to exec start script
9 verbose stack Error: pogo-optimizer@1.3.2 start: gulp && node index
9 verbose stack Exit status 1
9 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:217:16)
9 verbose stack at emitTwo (events.js:87:13)
9 verbose stack at EventEmitter.emit (events.js:172:7)
9 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/lib/utils/spawn.js:24:14)
9 verbose stack at emitTwo (events.js:87:13)
9 verbose stack at ChildProcess.emit (events.js:172:7)
9 verbose stack at maybeClose (internal/child_process.js:829:16)
9 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
10 verbose pkgid pogo-optimizer@1.3.2
11 verbose cwd /home/jorge/pogo-optimizer
12 error Linux 4.4.0-34-generic
13 error argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
14 error node v4.5.0
15 error npm v2.15.9
16 error code ELIFECYCLE
17 error pogo-optimizer@1.3.2 start: gulp && node index
17 error Exit status 1
18 error Failed at the pogo-optimizer@1.3.2 start script 'gulp && node index'.
18 error This is most likely a problem with the pogo-optimizer package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error gulp && node index
18 error You can get information on how to open an issue for this project with:
18 error npm bugs pogo-optimizer
18 error Or if that isn't available, you can get their info via:
18 error
18 error npm owner ls pogo-optimizer
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]

@macmanchomp
Copy link

macmanchomp commented Aug 24, 2016 via email

@AllAboutWinning
Copy link

It's still working for me — Are the DPS numbers for each move still
correct? Effectively, what data am I still able to trust?

P.S. @justinleewells this app is baller. Thank you a million times over.
I literally got a new phone so I could use your app with my old phone that
still has Pokémon GO v1.1.0.

On Wed, Aug 24, 2016 at 1:53 AM, macmanchomp notifications@github.com
wrote:

You might try npm install again. If you updated from an old version you
might just need to install the libraries that were implemented between the
two versions. Hope this helps.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#211 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AT3jLAV3zfB1NUqo3WyDI5bOteAAm9jzks5qi-pNgaJpZM4JY_Di
.

@bh016088
Copy link

This app becomes less and less useful with the addition of the appraisal system in combination with https://pokeassistant.com/main/ivcalculator.

By following the instructions I have analyzed dozens of pokemon and only 1 had an IV range of larger than 4%. Most of the time it hits it right on the head first try.

Just an FYI

@Slivo-fr
Copy link

Still usefull for bulk checking and pokemon counting :D

@dglaude
Copy link

dglaude commented Dec 5, 2016

DPS computation in pokemon.js fail when Ditto is in the inventory because the move 242 is missing from moves.json and this generate a crash.

Here is the problematic line:
var pow = m1.Power || 0;
But m1.Type will fail next.

To avoid the crash, I disabled the dps computation with the following change in pokemon.js:

// calculate dps
// var pow = m1.Power || 0;
// var stab = 1;
// if (m1.Type === pkmn.type1 || m1.Type === pkmn.type2) stab = 1.25;
// this.metadata.dps = atk * stab * (pow / (m1.DurationMs / 1000));
// this.metadata.max_dps = ((ba + iva) * LevelToCPM['40']) * stab * (pow / (m1.DurationMs / 1000))
this.metadata.dps = 0;
this.metadata.max_dps = 0

@buckycu
Copy link

buckycu commented Dec 6, 2016

@dglaude Thank you for the workaround. I tried adding an entry for Transform in moves.json but it didn't solve the problem.

@dglaude
Copy link

dglaude commented Dec 6, 2016

@buckycu I also tried to create from scratch the missing move 242. But apparently my change were not taken into account. I might be missing one step or the other.

Another issue I have is to know if the new formula are taken into account or what should I modify where.
This software seems to be abandon despite it's usefulness.

@eq2kazial
Copy link

@dglaude Thank you for this workaround! This is still the quickest way to get IV info, I hate having to manually enter stats into an IV calc and half the time there's 2 or more possible IV ranges. If @justinleewells is still around it'd be great to have this updated with Gen 2 when it releases next week.

@justinleewells
Copy link
Owner

I honestly didn't even know that people were still using this tool. Glad to see that it's still useful! If someone wants to submit a PR updating the game data files for the new gen, I'd be glad to merge it.

@rastapasta
Copy link

And I honestly wasn't aware that the pokemon-go-mitm is still workin with current versions 😂
Have to check and update the compatibility list. Cheers and happy end of the year!

@buckycu
Copy link

buckycu commented Dec 13, 2016

@justinleewells Due to the addition of baby pokemon from Gen 2, an update is needed for an inventory with new pokemon. Could you please tell me which files needs to be updated? Back when trying to solve the Ditto issue, I tried editing game/moves.json manually but it didn't work.

I found the new game master file here: https://gist.githubusercontent.com/anonymous/4c7c0032156a351a7fbbbc91b2d6c333/raw/a651a52fd6ec0f5ef7c8158456bcf6882090ea13/GAME_MASTER-12.12

@justinleewells
Copy link
Owner

justinleewells commented Dec 13, 2016

You'll have to make a script that converts the new game data into the same format the app uses, and it should be added to game/moves.json and game/pokemon.json. I'm not sure why that didn't work before, but that's certainly where it's supposed to go.

@rawdr
Copy link

rawdr commented Dec 14, 2016

Just wanted to chime in here and say that I'm still using this project as well.... I use an old phone with an outdated client to get the info. Thanks @justinleewells for the effort.

If anybody manages to convert the new data into an updated pokemon.json and moves.json please send it upstream. Thanks

@buckycu
Copy link

buckycu commented Dec 19, 2016

Here are the updated pokemon.json and moves.json.

However, simply updating these files is not enough. @justinleewells, it seems that the variable pkmn in lib/pokemon.js is undefined for Gen 2 pokemon and that breaks the code. Probably because some modules don't support new pokemon?

A way to get around this (at least to get through to the spreadsheet with minor errors) is to set relevant variables to certain values whenever pkmn is undefined. Please see the modified pokemon.js here -- line 29-36 and 46-49. Line 66-72 is to treat Ditto issue as mentioned by @dglaude . Such pokemon will appear on the spreadsheet as a Bulbasaur with the name, for example, 'Unknown_enum_value_pokemonid_172'. (It's actually a Pichu).

@dglaude
Copy link

dglaude commented Dec 19, 2016

I might have found a bug in the "Evolution" tab.
I believe I have ZERO Sandshrew candy left (as I have just powered my best evolution of it), so this could explain the "NaN" because of a divide by zero error somewhere (and the number of candy is not shown on the interface).

I wish I would understand the code better and know in witch source file this stuff is computed, but I don't, so don't expect a fix from me until someone point the finger on it for me. ;-)
I have other wish for the evolution part, like sorting by Pokemon number (and maybe make it visible) so that the order can be made consistent with the order for the inventory.

Name Cost Count Candy Evos Evos+ Xfers
Sandshrew 50 2 NaN NaN 0

@dglaude
Copy link

dglaude commented Jan 2, 2017 via email

@eq2kazial
Copy link

I'm no longer able to log in via PTC on Android running version .35, I always get the "Unable to connect" message when trying to log in. I can log in via Google, but that doesn't help since my main account is PTC. I'm assuming they changed the PTC login servers and so all older versions are SOL. Anyone else experiencing this/have a workaround? Thanks

@rawdr
Copy link

rawdr commented Feb 6, 2017

For a couple weeks now, I'm unable to login with 0.35.0 on Google account, even directly, after disabling the proxy. Gives me 'unable to authenticate.'

@buckycu
Copy link

buckycu commented Feb 15, 2017

It stops working for me. Last time I used this was three days ago and it was fine via the old 0.29 client. Now it seems like it can't get past authentication.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet