seikur0 / PGO-mapscan-opt

GNU General Public License v3.0
111 stars 50 forks source link

Adding some messages to indicate an account is successfully verified #291

Open kaiyan910 opened 7 years ago

kaiyan910 commented 7 years ago

after putting the token into the token_captcha.txt and hit enter there is no response to tell me whether the verification is success or not.

from my experience I get a second, third and forth captcha for the same account does it means that the verification for the first time is fail ?

and the second and third captcha message show nearly at the same time, I just verified the third one, then some time later the forth one appear (the line space indicate my "hit enter" point)

[+] Authorization refresh.
[+] Authorization refresh.
[1] Captcha required: https://pgorelease.nianticlabs.com/plfe/91/captcha/7E656B4FE5A744D8D45067DB6977B057
[1] Hit return to read captcha token from res/token_captcha.txt file.
[+] Authorization refresh.
[+] Authorization refresh.
[+] Authorization refresh.

[+] Authorization refresh.
[1] Captcha required: https://pgorelease.nianticlabs.com/plfe/91/captcha/F8D23F0FE66B6C4270D0DF4CD7771229
[1] Captcha required: https://pgorelease.nianticlabs.com/plfe/91/captcha/28012579417F21CF751AED831C4BD3A7

[1] Captcha required: https://pgorelease.nianticlabs.com/plfe/91/captcha/1CA34C81FD599EAA038687BBB49FFC29
[1] Hit return to read captcha token from res/token_captcha.txt file.
seikur0 commented 7 years ago

from my experience I get a second, third and forth captcha for the same account does it means that the verification for the first time is fail?

Yeah, if you get Captcha required again, it was no success, simple as that. You should check, if you're doing everything correctly.

edit: I'm not sure, which other messages you want? I could make it show the token from the file?

edit2: Apparently you also have to wait 10-20 seconds before generating the captcha, try that.

c00ni commented 7 years ago

Not that it matters right now until 0.39 API is cracked but I had already implemented the success / failure of the verification. See https://www.reddit.com/r/pokemongodev/comments/51l3kg/most_underrated_scanner_for_pc_pgomapscanopt/d8hibje

seikur0 commented 7 years ago

How useful is it to parse the response?^^ If it failed you'll see from that account needing a captcha again I guess.

c00ni commented 7 years ago

I guess it especially helped when figuring out timings of the captchas and what format everything needed to be in. It certainly doesn't take much effort to parse and is something that's prone to fail (like in the future when more direct relaying of captchas is implemented)