0.45 API Update - Fix
Can someone update the project with the latest API posted?
https://github.com/pogodevorg/pgoapi/pull/155
They haven't merge yet. Just wait.
I got it working but I only change for my Mac os only....
Who ever updating the project for Mac under get_hash_lib(self) use .dylib extension instead of .so
Also note no changes for encrypt
which file did you update the extensions in? going to manually modify to get working on Win
The extension changes is only for Mac.
My guess is overwrite your existing DLL with the updated 0.45 should get you working on the new API.
get errors when starting bot after updating files and changes from 0.45. I assume you updated your src/pogoapi folder with the new changes (commit by Noctem) and it worked?
@ElliotRobot1 I make changes to rpc_api.py & utilities.py too
https://github.com/pogodevorg/pgoapi/pull/155/commits/ceb8dd58039cb406a013c4d572df12c782df261b
I did as well.
On Nov 11, 2016, at 11:16 PM, MerlionRock [email protected] wrote:
@ElliotRobot1 I make changes to rpc_api.py & utilities.py too
pogodevorg/pgoapi@ceb8dd5
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Got it working with new 0.45 API! PM me for the details.
@ElliotRobot1 Keep getting error after pulling new changes from pogodevorg/pgoapi@ceb8dd5
File "/Users/xxxxxx/Documents/PokemonGo-Bot/src/pgoapi/pgoapi/rpc_api.py", line 310, in _generate_signature signature = b''.join(list(map(lambda x: six.int2byte(x), output.contents))) ValueError: NULL pointer access [2016-11-11 21:40:53] [sentry.errors] [ERROR] Sentry responded with an error: 'ascii' codec can't decode byte 0x9c in position 1: ordinal not in range(128) (url: https://app.getsentry.com/api/90254/store/) Traceback (most recent call last):
Can't seem to PM you on github. Could you give some details here?
Thanks!
same here, did you solved it? @ElliotRobot1: can you pls show details?
Thx
Can someone post some detailed steps please?
Instructions Below:
https://github.com/Noctem/pokecrypt-pgoapi/tree/a9a36903277fc0f0fa31827eff8f166b127417ff
grab libniantichash-windows-x86-64.dll rename to niantichash64.dll replace file in \src\pgoapi\pgoapi\lib
grab libpcrypt-windows-x86-64.dll rename to encrypt64.dll replace file in \src\pgoapi\pgoapi\lib
Also update all other encrypt.dll locations (windows_bat).
update rpc_api.py by
(Change value may be different) sig.field25 = 10038237239822475814
(To) sig.field25 = 16892874496697272497
update utilities.py by
(Change)HASH_SEED = 0x61247FBF # static hash seed from app
(To)HASH_SEED = 0x46E945F8 # static hash seed from app
Should work at this point. Cant confirm if it actually using the new API 0.45 You can also wait for the full commit, devs are really close.
@ElliotRobot1 changes in rpc_api.py and utilities.py are already there if you pull down from https://github.com/Noctem/pgoapi.git@ceb8dd58039cb406a013c4d572df12c782df261b
I downloaded new files from https://github.com/Noctem/pokecrypt-pgoapi/tree/a9a36903277fc0f0fa31827eff8f166b127417ff But same error :-(
you cant pull down the rpc_api and utilities files because they do not include the encrypt path hashs, so you need to use the old 0.43.3 file and simply modify them manually as per above.
@Dr8g0n make sure libpcrypt-windows-x86-64.dll is present in the lib folder as well. pgoapi.zip
From 0.43 -> 0.45, the encryption does not changed, but only hash.
on Discord, devs has to update some paths in the crypto files, code didn't change (from what I understand)
@ElliotRobot1 Yes, when I say "make changes to rpc_api.py & utilities.py", I mean edit the old files and replace the hash in the files. Encrypt, from what I last heard, no change.
So for linux what needs to be done?
@tunayuyar update the utilities.py hash and encrypt paths for the Linux section. Use Noctem's .so files.