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

API check failed with new key (but not really?) #6053

Closed
crvfts opened this issue May 31, 2017 · 13 comments
Closed

API check failed with new key (but not really?) #6053

crvfts opened this issue May 31, 2017 · 13 comments

Comments

@crvfts
Copy link
Contributor

crvfts commented May 31, 2017

Using fresh clone of master and new key purchased today, I received this error on all ptc and google account:

[2017-05-31 16:29:09] Login procedure started. [2017-05-31 16:29:17] Login successful. [2017-05-31 16:29:17] Niantic Official API Version: 0.63.1 [2017-05-31 16:29:17] Latest Bossland Hashing API Version: 0.63.1 [2017-05-31 16:29:17] We have detected a Pokemon API Change. Latest Niantic Version is: 0.63.1. Program Exiting...

If I tun off api check in config the bot runs fine and I do not appear to be shadowbanned. All captcha checks passed as well.

OS: Windows 8.1

@MerlionRock
Copy link
Contributor

Do me a favor, at line 1064 add the following

print(format(officialAPI_int))
print(format(hashingAPI_int))

Let me know what are their values and are they different

@crvfts
Copy link
Contributor Author

crvfts commented Jun 1, 2017

[2017-06-01 11:16:39] Login successful.
[2017-06-01 11:16:40] Niantic Official API Version: 0.63.1
[2017-06-01 11:16:41] Latest Bossland Hashing API Version: 0.63.1
631
610
[2017-06-01 11:16:41] We have detected a Pokemon API Change. Latest Niantic Version is: 0.63.1. Program Exiting...

@MerlionRock
Copy link
Contributor

610?????!

You are using 0.61.0 Hashing.... in your requirement.txt, do you have this line?
git+https://github.com/pogodevorg/pgoapi.git@develop#egg=pgoapi

@MerlionRock
Copy link
Contributor

I would advise that you stop your bots until you are sure you are using latest hashing instead of old one. I have no idea why are you using 0.61.0 Hash

@crvfts
Copy link
Contributor Author

crvfts commented Jun 2, 2017

I cloned fresh, but I double-checked requirements and it's exactly as it appears on the current commit.

@crvfts
Copy link
Contributor Author

crvfts commented Jun 2, 2017

question- do we need to clone recursively or something? when i clone i do:

git clone -b master https://github.com/PokemonGoF/PokemonGo-Bot

then do: pip install -r requirements

but that should have nothing to do with the install correct? api is on bossland's end, right?

@MerlionRock
Copy link
Contributor

We are using API from https://github.com/pogodevorg/pgoapi/tree/develop

What is werid is that you are using a old api. There have to be something that went wrong or your pervious installation of pogo API wasn't overwrite by new one. @pogarek You able to give suggestion?

@MerlionRock
Copy link
Contributor

Have you tried running PokemonGo-Bot-Updater.bat?

@crvfts
Copy link
Contributor Author

crvfts commented Jun 2, 2017

I tried that but it seems to hang will installing the web submodule.

@crvfts
Copy link
Contributor Author

crvfts commented Jun 2, 2017

OK I see what's happening- somehow the pip install is install to my Python3.5 installation! I have been using Python2.7 to run the bot.

@MerlionRock
Copy link
Contributor

So problem solved? :) Can this issue be closed? :)

@crvfts
Copy link
Contributor Author

crvfts commented Jun 2, 2017

Uninstalled 3.5 and removed from PATH, reboot, FIXED!

@MerlionRock
Copy link
Contributor

:)

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

2 participants