Dummies guide for WIN10
Hello guys,
I have seen many people posting guides on Linux or OS but nothing on WIN10.
I just got the bot running on my PC so I decided to put together a small guide. 1. Install: Python 2.7+ Pip GitBash virtualenv PyYAML-3.11-cp27-cp27m-win32.whl / PyYAML-3.11-cp27-cp27m-win_amd64.whl (all links in Read me) Microsoft visual c++ compiler package for python 2.7
2.Commands:
a) in the directory where you have PyYAML run Git Bash and then run command
$ pip2 install PyYAML-3.11-cp27-cp27m-win32.whl
// $ pip2 install PyYAML-3.11-cp27-cp27m-win_amd64.whl
b) download the bot files - I recommend pulling from dev branch.
$ git clone -b master https://github.com/PokemonGoF/PokemonGo-Bot
//$ git clone -b dev https://github.com/PokemonGoF/PokemonGo-Bot
c) close Git Bash and go to the "PokemonGo-Bot" folder and rerun Git Bash
$ virtualenv .
$ scripts\activate
$ pip2 install -r requirements.txt
$ git submodule init
$ git submodule update
3. Join the Pokemon-go Bot Slack team and download encrypt.dll for your respective version from shared files:

3.a. If you use the 64bit Win rename the file to "encrypt_64.dll" (this works for the dev branch. for Master you have to modify your init file or you will get error message. change the line in init.py, located in .\PokemonGo-Bot\pokemongo_bot to self.api.activate_signature("./encrypt_64.dll") or self.api.activate_signature("./encrypt.dll") Make sure to download the correct encrypt.dll file for your windows OS version (32 or 64 bit) ) 3.b save the encrypt_64.dll file into the "...\PokemonGo-Bot-dev" folder
4. Create/Modify config.json file. 4.a Change the "Health_record":true to false (this fixes the ascii issue)
5. Run Git Bash in the Pokemongo-bot main folder and run command $ python pokecli.py --config ./configs/config.json
I might have forgotten something so if you encounter any issues let me know
Any specific reason to use python in git bash not native?
sorry I dont understand your question...
So you copy pasted the installation guide for Windows and put it all under issues section? You didn't even bother fixing the typo with (script\activate), smfh
@RaizenInstinct You forgot the instructions to change the line in __ init__.py, located in .\PokemonGo-Bot\pokemongo_bot
to
self.api.activate_signature("./encrypt64bit.dll")
or
self.api.activate_signature("./encrypt.dll")
mentioned at the pastery
@iHatePython half is copied half is not there. I don't think the script/activate is even necessary I don't recall having an issue with it so I just let it there. It worked for me so idc what you think :P
@DSFARGEG if I change it I keep getting WindowsError. Without change it works OK... so I don't recommend to change it...
@DSFARGEG That's no longer required on the dev branch since this commit: https://github.com/PokemonGoF/PokemonGo-Bot/commit/e927195fec5883c11a8e95dd6046856063c4931c
@RaizenInstinct The issue that @iHatePython mentioned was that it had to be scripts instead of script. Notice the missing s? script folder doesn't exist after you run virtualenv ..
@BobbyWibowo fixed thx :)
in which folder should i put the encrypt.dll file?
@Nathanian I have it in the "....\PokemonGo-Bot-dev" folder, i.e. the main folder.
@PokePy that looks like an error in your config file. Namely in your coordinates...
@PokePy
TypeError: 40.758485 has type <type 'float'>, but expected one of: (<type 'int'>, <type 'long'>)
is the relevant part, the location must follow the format 'latitude, longitude', ie: 25.215062, 55.190368
@PokePy yeah write it like "location": "40.765237, -73.973217", if you want to start at Central Park
I followed all the steps above and I am currently seeing this error:
Traceback (most recent call last):
File ".\pokecli.py", line 502, in
@starret67 Make sure you're using the same architecture of encrypt.dll as your Python installation (that 32/64 bit thing is the architecture).
Figured it out I was using 64bit when i needed to use 32 bit
I am getting the below error. I have tried both branches, both versions of the encrypt.dll for windows, hardcoding it into the init, I am at my wit's end.
2016-08-07 14:11:35,345 [ cli] [INFO] PokemonGO Bot v1.0 2016-08-07 14:11:35,349 [ cli] [INFO] Configuration initialized 2016-08-07 14:11:35,352 [PokemonGoBot] [INFO] [set_start_location] Setting start location. 2016-08-07 14:11:35,352 [PokemonGoBot] [INFO] [x] Coordinates found in passed in location, not geocoding. 2016-08-07 14:11:35,352 [PokemonGoBot] [INFO] [location_found] Location found: 40.713693, -74.032123 (40.713693, -74.032123, 0.0) 2016-08-07 14:11:35,352 [PokemonGoBot] [INFO] [position_update] Now at (40.713693, -74.032123, 0) 2016-08-07 14:11:35,352 [PokemonGoBot] [INFO] [login_started] Login procedure started. Traceback (most recent call last): File "pokecli.py", line 493, in main() File "pokecli.py", line 127, in main report_summary(bot) File "pokecli.py", line 136, in report_summary metrics.capture_stats() File "C:\Users\ahirsch.CDCSERVICES\Downloads\PokemonGoafter\PokemonGo-Bot\pokemongo_bot\metrics.py", line 73, in capture_stats request = self.bot.api.create_request() File "C:\Users\ahirsch.CDCSERVICES\Downloads\PokemonGoafter\PokemonGo-Bot\pokemongo_bot\api_wrapper.py", line 27, in create_request self.position_alt File "C:\Users\ahirsch.CDCSERVICES\Downloads\PokemonGoafter\PokemonGo-Bot\pokemongo_bot\api_wrapper.py", line 43, in _init PGoApiRequest.init(self, *args) TypeError: init() takes exactly 6 arguments (5 given)
How do I "Join the Pokemon-go Bot Slack team and download encrypt.dll for your respective version from shared files"?
^same