-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
New API basic support #5784
New API basic support #5784
Conversation
@@ -1,6 +1,6 @@ | |||
numpy==1.11.0 | |||
networkx==1.11 | |||
-e git+https://github.com/pogodevorg/pgoapi.git/@3a02e7416f6924b1bbcbcdde60c10bd247ba8e11#egg=pgoapi | |||
-e git+https://github.com/pogodevorg/pgoapi.git#egg=pgoapi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you need the add the tag? To get the latest update from a branch? This is what I put on my requirements.txt
:
-e git+https://github.com/pogodevorg/pgoapi.git/@v0.43.3-alpha#egg=pgoapi
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can use
-e git+https://github.com/pogodevorg/pgoapi.git/@1a112879f424b518f994b99f43859dd95cd43fdf#egg=pgoapi
for consistency
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you guys, I'll make the change, I knew i had to be missing something in case the repository gets updated
else: | ||
file_name = 'niantichash32.dll' | ||
else: | ||
file_name = 'libniantichash-linux-x86-64.so' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will this work on mac osx?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also linux 32?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No I don't think so, I haven't worked on mac ever so I don't know what to check the _platform variable against? care to help me on that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's 'darwin' on mine, not sure about the linux though
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I understand, the Linux library works for both 32 and 64 bit architecture.
And thank you for the OSX info, I'll make a condition for it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's not working on linux 32-bit
I made some changes now. |
if _platform.lower() == "linux" or _platform.lower() == "linux2":
file_name = 'src/pgoapi/pgoapi/lib/libniantichash-linux-x86-64.so' In |
8f95451
to
6f342be
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not working on linux 32-bit .
@lukasz138 try @enginebai solution, i've updated my branch (in a very ugly way) in order for it to work on linux now. |
Exception: Could not find linux2 encryption library /root/pgoapi/PokemonGo-Bot/src/pgoapi/pgoapi/lib/libencrypt-linux-x86-32.so |
@lukasz138 run pip install -r requirements.txt to download the new API to the src directory, or maybe I made a mistake, let me know please. |
still the same |
@lukasz138 I encountered this problem before, and solved by locating the current encryption and hash lib file. Make sure |
Problem is in pgoapi/utilities.py : (there is no 32-bit libraries) elif sys.platform.startswith('linux'): |
Can you make the PR for extra libs here? https://github.com/pogodevorg/pgoapi/pull/ It'll help me ;) |
OK, tell me how ? |
This was intended for original op |
@nullpixel1 This same PR? to the pogo dev branch? Id be honored. |
@pablossp Just PR your binaries 😀 We need people to compile them for us, as we don't have all the binaries |
Ohh, I think you might be mistaken, we are actually missing them, @lukasz138 is saying he is having an error because he does not have them. If I get to compile any of them when Im back home Ill be glad to send any missing binaries to the project. |
We've got a PR that's got them. I'll review and merge them later |
Let me merge and have it run on Linux :) Everybody can't wait to see the green log. |
Is bot working after latest update with CP changes? |
Short Description: