jekirl / poketrainer

The original Pokemon Go bot
Other
120 stars 56 forks source link

PROBLEM WITH ENCRYPT? CHECK HERE #436

Open jekirl opened 8 years ago

jekirl commented 8 years ago

Thanks @rhythem

wget http://pgoapi.com/pgoencrypt.tar.gz && tar -xf pgoencrypt.tar.gz && cd pgoencrypt/src/ && make

IllidanU commented 8 years ago

can't run this under windows. works in MAC. Thanks I just change my system to mac

jekirl commented 8 years ago

I don't have a windows vm, so if someone could provide instructions for that it would be much appreciated

IllidanU commented 8 years ago
2016-08-07 8 36 03

some problem happens after I build it, rename to encrypt.so then copy it into poke train-master folder

infinitewarp commented 8 years ago

No module named gevent is unrelated to the encrypt library. If you don't have gevent, then you're probably missing other dependencies because you didn't have git installed when you ran pip install. In this case:

  1. Install git
  2. cd into the poketrainer directory.
  3. pip install --upgrade -r requirements.txt

The git requirement is mentioned in the readme, but it was only added last week. So, if you have an older version of poketrainer, you definitely need to install git and upgrade the pip requirements to have a functioning poketrainer.

IllidanU commented 8 years ago

So sorry to bother you guys! ALL WORKING NOW! THANKS A LOT

djadstar commented 8 years ago

So after using the make command what is the actual command to run it now? Before the default was python pokecli.py, whats the new command?

jekirl commented 8 years ago

python pokecli.pi -e encrypt_lib_name.so -i 0

olife373 commented 8 years ago

For those using linux you need to use your command like so python pokecli.pi -e ./encrypt_lib_name.so -i 0 If you don't linux wont recognize the path to the file.

NathanWaudby commented 8 years ago

I got this working on windows, I downloaded a program called cygwin and installed the wget and cmake packages as they're not installed by default.

Takes an age!

Then run the command mentioned above: wget http://pgoapi.com/pgoencrypt.tar.gz && tar -xf pgoencrypt.tar.gz && cd pgoencrypt/src/ && make

Copy out the libencrypt.so in the folder where you keep pokecli.py and rename it encrypt.so

Then run the usual python pokecli.py -i 0 -e encrypt.so

olife373 commented 8 years ago

Working on WIKI entry for libencrypt.so and related development. would love some assistance see here.