-
Notifications
You must be signed in to change notification settings - Fork 472
32-bit support for hash function #145
Comments
Sorry if I'm not understanding this (maybe you meant there are more steps involved) but I compiled the code you've linked to as libniantichash-linux-arm-32.so and the scanner fails with Exception while downloading map: NULL pointer access |
Yes, I get that too on arm. I don't believe it's related to the hash function (whose code does work on Ubuntu x64), but possibly something else needs updating/fixing? Anyone know what has failed when you get "Exception while downloading map: NULL pointer access"? |
I have sanity checked that the arm32 build produces the same hashes as Ubuntu 64 (both original with 128-bit ints and my version without). Test code here: |
can you help me. How to build this on raspberry. Or can you please give me the .so file? |
You'll need to put it somewhere it will be found. I put in here: |
I think i have the right libencrypt and libniantichash, but still get below error: Exception while downloading map: NULL pointer access did anyone meet this problem then solved? |
Which libencrypt are you using? |
PokemonGoMap/PokemonGo-Map@74a49e2 this is supposedly a fix for the null pointer error but I've checked and I have that version of the script and it's still giving me the error so it must be something else. |
I was wondering about libencrypt-linux-arm-32.so referenced here: Not sure if arm builds are missing an update there. |
@popcornmix I am running CentOS 6.7, and using: libniantichash-centos-x86-64.so: compiled by my self. libencrypt-centos-x86-64.so: fetched from https://github.com/favll/pogom/tree/master/pogom/libencrypt do you have any idea? |
See #148 |
I can't repo the null pointer error. What OS are you running? And steps to repro please 😉 |
I believe the null pointer came from using the older version of libencrypt. |
Thanks. |
running for me but no pokemon found. general problem? |
Closing as all lib issues are handled by https://github.com/pokecrypt/pokecrypt-pgoapi . Thanks |
I've made a version of the hash function that avoids the 128-bit integers that are not supported on gcc for 32-bit targets like raspberry pi.
I've successfully used this version to get api results on Ubuntu x64
https://gist.github.com/popcornmix/f94e6ab0566a60b7fd1e8acccc0647f8
It should be possible to build a libniantichash-linux-arm-32.so with it.
The text was updated successfully, but these errors were encountered: