forked from PokemonGoF/PokemonGo-Bot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into nickname_locale
* dev: (143 commits) small fix in VOLUME in Dockerfile (PokemonGoF#3779) Pokemon optimizer enhancements (PokemonGoF#3743) added action_delay when recycling items (PokemonGoF#3799) Fix incorrect variable name in pokemon_catch_worker that makes bot unusable (PokemonGoF#3780) Clean old catch parameters (PokemonGoF#3776) Revert PokemonGoF#3500 Fix error when MoveToFort called from handle_soft_ban.py (PokemonGoF#3772) Writing the location file to fix the web ui (PokemonGoF#3767) Update installation.md (PokemonGoF#3764) Added Procfile to deploy to Heroku (PokemonGoF#3719) Rewrite NicknamePokemon for new Inventory sysem + a lot of new keys for 'nickname_template' option (PokemonGoF#3756) Update use ultraball with constraint (PokemonGoF#3760) Cache recent forts (for forts.max_circle_size) (PokemonGoF#3556) Update configuration_files.md (PokemonGoF#3742) Add and Remove pokemon from the inventory cache when catch, release and evolve (PokemonGoF#3738) Use Ultraball If No Other Balls (With Constraint) (PokemonGoF#3421) Modify pokemon_catch_worker.py to use Inventory class and fix PokemonGoF#3411 (PokemonGoF#3496) Update docker.md Heaps of updates to docs and other small errors in running the bot. (PokemonGoF#3593) Fixed EventManager handlers to be list instead of tuple (PokemonGoF#3734) Config/encrypt fix (PokemonGoF#3707) ...
- Loading branch information
Showing
80 changed files
with
9,711 additions
and
3,315 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,23 @@ | ||
## Stop! Before you create this issue (you can delete this section when opening the issue): | ||
1. Have you validated that your config.json is valid JSON? Use http://jsonlint.com/ to check. | ||
2. Have you searched to see if there are other issues for the same issue? If so, comment on that issue instead. | ||
3. Are you running `master`? We work on the `dev` branch and then add that functionality to `master`. Your issue may be fixed on `dev` and there is no need for this issue, just wait and it will eventually be merged to `master`. | ||
|
||
### Expected Behavior | ||
|
||
|
||
### Actual Behavior | ||
|
||
|
||
### Your config.json (remove your credentials and any other private info) | ||
``` | ||
your config here | ||
``` | ||
|
||
### Steps to Reproduce | ||
|
||
|
||
### Other Information | ||
OS: | ||
OS: | ||
Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here) | ||
Python Version: (run 'python -V' and paste it here) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,15 @@ | ||
Short Description: | ||
# Please Note (you may remove this section before opening your PR): | ||
We receive lots of PRs and it is hard to give proper review to PRs. Please make it easy on us by following these guidelines: | ||
|
||
Fixes: | ||
- | ||
- | ||
- | ||
1. We do not accept changes to `master`. Please make sure your pull request is aimed at `dev`. | ||
2. If you changed a bunch of files (that aren't config files) or multiple workers to implement your feature, it probably won't get proper attention. Please split it up into multiple, smaller, more focused, and iterative PRs if you can. | ||
3. If you are adding a config value to something, make sure you update the appropriate `config.json` example files. | ||
|
||
|
||
## Short Description: | ||
|
||
## Fixes (provide links to github issues if you can): | ||
- | ||
- | ||
- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"userBlacklist": ["tejado"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,26 @@ | ||
FROM python:2.7-onbuild | ||
FROM python:2.7 | ||
|
||
WORKDIR /usr/src/app | ||
VOLUME ["/usr/src/app/configs", "/usr/src/app/web"] | ||
|
||
ARG timezone=Etc/UTC | ||
RUN echo $timezone > /etc/timezone \ | ||
&& ln -sfn /usr/share/zoneinfo/$timezone /etc/localtime \ | ||
&& dpkg-reconfigure -f noninteractive tzdata | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y python-protobuf | ||
RUN cd /tmp && wget "http://pgoapi.com/pgoencrypt.tar.gz" \ | ||
&& tar zxvf pgoencrypt.tar.gz \ | ||
&& cd pgoencrypt/src \ | ||
&& make \ | ||
&& cp libencrypt.so /usr/src/app/encrypt.so | ||
|
||
VOLUME ["/usr/src/app/web"] | ||
&& cp libencrypt.so /usr/src/app/encrypt.so \ | ||
&& cd /tmp \ | ||
&& rm -rf /tmp/pgoencrypt* | ||
|
||
ENV LD_LIBRARY_PATH /usr/src/app | ||
|
||
COPY requirements.txt /usr/src/app/ | ||
RUN pip install --no-cache-dir -r requirements.txt | ||
|
||
COPY . /usr/src/app | ||
|
||
ENTRYPOINT ["python", "pokecli.py"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
worker: python pokecli.py $EXTRA_ARGS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.