Skip to content

Commit

Permalink
add hashing key to setup.sh and PokemonGo-Bot-Configurator.bat and fo…
Browse files Browse the repository at this point in the history
…rced older commits of pogoapi (#5870)
  • Loading branch information
pogarek authored and solderzzc committed Jan 13, 2017
1 parent d97386b commit 7bbf02c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# PokemonGo-Bot
[PokemonGo-Bot](https://github.com/PokemonGoF/PokemonGo-Bot) is a project created by the [PokemonGoF](https://github.com/PokemonGoF) team. Now running with HASH-Server.
[PokemonGo-Bot](https://github.com/PokemonGoF/PokemonGo-Bot) is a project created by the [PokemonGoF](https://github.com/PokemonGoF) team. Now running with HASH-Server.
Usage of Hash-server (and 0.51 api) require a purchase of hashing key from http://hashing.pogodev.org/ .
150 RPM key should be enough even for 3 bots.

## Table of Contents
- [Installation](https://github.com/PokemonGoF/PokemonGo-Bot/blob/dev/docs/installation.md)
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
numpy==1.11.0
networkx==1.11
git+https://github.com/pogodevorg/pgoapi.git@develop#egg=pgoapi
git+https://github.com/pogodevorg/pgoapi.git@0b13191a8043d8572647a17326b0f7b384774c63#egg=pgoapi
geopy==1.11.0
geographiclib==1.46.3
protobuf==3.0.0b4
Expand Down
3 changes: 3 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,12 @@ Input Location
" location
read -p "Input Google API Key (gmapkey)
" gmapkey
read -p "Input Hashing servers key (hashkey)
" hashkey
[[ $auth = "2" || $auth = "ptc" ]] && auth="ptc" || auth="google"
sed -e "s/YOUR_USERNAME/$username/g" -e "s/YOUR_PASSWORD/$password/g" \
-e "s/SOME_LOCATION/$location/g" -e "s/GOOGLE_MAPS_API_KEY/$gmapkey/g" \
-e "s/YOUR_PURCHASED_HASH_KEY/$hashkey/g" \
-e "s/google/$auth/g" configs/auth.json.example > configs/auth.json
echo "Edit ./configs/auth.json to modify auth or location."
}
Expand Down
3 changes: 3 additions & 0 deletions windows_bat/PokemonGo-Bot-Configurator.bat
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ ECHO. ],>>%auth%
SET /p GOOGLE_API="What's your Google Maps API Key ?: "
ECHO. "gmapkey": "%GOOGLE_API%",>>%auth%
ECHO.
SET /p hashkey="What's your Hashing Server Key ?: "
ECHO. "hashkey": "%hashkey%",>>%auth%
ECHO.
ECHO. "encrypt_location": "",>>%auth%
SET /p telegram="What's your telegram token? Enter for leave blank: "
ECHO. "telegram_token": "%telegram%">>%auth%
Expand Down

0 comments on commit 7bbf02c

Please sign in to comment.