Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
215 commits
Select commit Hold shift + click to select a range
6e99169
remove file exist checks to fix webview, remove gmaps api key write t…
SteffanLong Jul 25, 2016
32cefee
Update README.md (#782)
AdaptCharm Jul 25, 2016
3aca6d7
Update README.md (#896)
solderzzc Jul 26, 2016
8934837
Linux/Mac needs sudo (#924)
maestroi Jul 26, 2016
9ea015e
Fix pgoapi package repository hash (#1117)
rhysd Jul 27, 2016
0ce208e
changed line from tabs to spaces (#1294) (#1297)
iCodeSometime Jul 28, 2016
c7ab5b0
Update README.md (#1332)
solderzzc Jul 28, 2016
ec2b7ad
Adding messaging to the readme about gym captures
elicwhite Jul 28, 2016
3f1f8e3
Update README.md (#1542)
solderzzc Jul 29, 2016
03f1b42
Delete pokemon_spawn_locations.json (#1704)
Grace Jul 29, 2016
55390cf
Update README.md (#1805)
gregtampa Jul 30, 2016
78c5f2b
Tidy up readme.md a little (#1900)
GregBowyer Jul 30, 2016
4182e93
Add Python version to ISSUE_TEMPLATE.md (#1939)
Jul 31, 2016
463bb1b
Fix instance where evolve_all is unicode - fixes #2281 (#2305)
JSchwerberg Aug 2, 2016
d7574b2
Evolve only if evolvable candidates no less than a certain number.
Aug 1, 2016
361c0fa
Adding a section on analytics and metrics to the Readme (#2434)
elicwhite Aug 3, 2016
2f91fd0
Fix to display stats on iterm2 terminal (#2440)
lucasfevi Aug 3, 2016
02d9102
Fix #2442 - should_retry_throttle isn't defined (#2461)
DayBr3ak Aug 3, 2016
b2983f7
Replace all `logger.log` calls with events! (#2173)
douglascamata Aug 3, 2016
4f48e0a
correct parsing evolve_all (#2455)
xnning Aug 3, 2016
053e0a4
Remove max_steps from examples and set EvolveAll to EvolvePokemon (#2…
theVDude Aug 3, 2016
0466584
Adding Raven to send exception reports to Sentry (#2514)
elicwhite Aug 4, 2016
69fb64f
changing license from MIT to GPLv3
douglascamata Aug 4, 2016
1d7f6b7
Address API changes in README.md (#2590)
alexratman Aug 4, 2016
cc528df
Updated README.md to state bot status (#2586)
mjmadsen Aug 4, 2016
90e5628
Handling KeyboardInterrupt and some other exceptions (#2599)
elicwhite Aug 5, 2016
fe2eb5a
Update README.md (#2625)
solderzzc Aug 6, 2016
b5b3e70
Merge branch 'master' into dev
solderzzc Aug 6, 2016
e8218f6
Dev merge to master (#2627)
solderzzc Aug 6, 2016
38c2c6c
Update README.md
solderzzc Aug 7, 2016
5584610
Upgrade to the new api (#2636)
solderzzc Aug 7, 2016
0315892
Update README.md
solderzzc Aug 7, 2016
c21fad0
Fixed a bug.
solderzzc Aug 7, 2016
0e7cb10
Merge branch 'master' into dev
solderzzc Aug 7, 2016
c81666d
Update README.md
solderzzc Aug 7, 2016
c58bed9
Corrected "Spun" to "Spinning" (#2656)
raulgbcr Aug 7, 2016
dc0f386
Upgrade pgoapi to 249d3be7fbbdabc7f9adea17cbc899d6549e47a2. (#2658)
solderzzc Aug 7, 2016
97ab25a
fix for softban worker -- thanks a lot, doug (#2662)
reddivision Aug 7, 2016
44a6602
Revert "Corrected "Spun" to "Spinning"" (#2672)
solderzzc Aug 7, 2016
03b1086
Merge branch 'devlocal'
solderzzc Aug 7, 2016
b53f70f
Merge branch 'master' of https://github.com/PokemonGoF/PokemonGo-Bot
solderzzc Aug 7, 2016
ad6c21a
Update README.md (#2685)
solderzzc Aug 7, 2016
85f7607
Adding plugin support (#2679)
elicwhite Aug 7, 2016
f114be6
Moving the base task to the project root (#2702)
elicwhite Aug 7, 2016
0b319bc
Adding a heartbeat to the analytics (#2709)
elicwhite Aug 7, 2016
1c369a4
Don't double track clients
elicwhite Aug 7, 2016
e16b5ea
Fix 'local variable 'bot' referenced before assignment'
elicwhite Aug 7, 2016
e93431c
Providing an error if tasks don't work for the given api (#2732)
elicwhite Aug 7, 2016
d5bb09f
Fix for utf8 encoding when catching lured pokemon (#2720)
dkim1000 Aug 7, 2016
420c1be
Fix For catchable not being displayed on the web (#2719)
AcorpBG Aug 7, 2016
77200af
Added encrypt.so compilation process to Dockerfile (#2695)
Aug 7, 2016
e927195
OS Detection for encrypt lib (#2768)
brantje Aug 7, 2016
4f7888b
Fix Typo in unexpected_response_retry (#2531)
peter-bonanni Aug 7, 2016
e8f804a
Revert "changing license from MIT to GPLv3"
douglascamata Aug 7, 2016
27cf678
Merge branch 'dev' of github.com:PokemonGoF/PokemonGo-Bot into dev
douglascamata Aug 7, 2016
4eb7b38
When the google analytics domain is blocked the bot crashed. (#2764)
brantje Aug 7, 2016
6960f35
Fixes #2698 - Prevents "Possibly searching too often" error after re-…
geek-man Aug 7, 2016
eeecbc6
Support loading plugins from .zip files (#2766)
elicwhite Aug 7, 2016
fddf30d
Update Readme (#2847)
garyking Aug 7, 2016
2750255
Keep track of how many pokemon released (#2884)
bixuanzju Aug 7, 2016
823ba83
Setting Library path to work with encrypt.so (#2899)
bernardoVale Aug 7, 2016
fc4e802
:sparkles: Added login and username to available stats (#2494)
Aug 7, 2016
e5b7eda
[dev] small fixes (#2912)
mjmadsen Aug 7, 2016
5b3fe3d
Dev merge to master (#2939)
solderzzc Aug 7, 2016
dee28d9
Rename load_path to load_plugin (#2947)
elicwhite Aug 7, 2016
0855dac
Adding some logic for pulling plugins from github (#2967)
elicwhite Aug 8, 2016
a1733b9
flush after title update (#2977)
mhdasding Aug 8, 2016
e66c509
correctly re-raise exception to keep backtrace (#2944)
rbignon Aug 8, 2016
bdcf251
Update MoveToMapPokemon to use events instead of logger. (#2913)
chrisle Aug 8, 2016
95902d6
Config/encrypt.so (#2964)
DevScarabyte Aug 8, 2016
41ed10c
Fixed mispelling for "formatted" variable (#2984)
middleagedman Aug 8, 2016
563f898
Loading plugins from Github (#2992)
elicwhite Aug 8, 2016
229381c
Fixed #3000 (#3003)
raulgbcr Aug 8, 2016
1a18b9f
Added MaxPotion inventory count to summary. (#3015)
JaapMoolenaar Aug 8, 2016
4faf962
Added cleanup of download and files for encrypt.so after they are no …
Aug 8, 2016
7cc524e
Fix bot not returning back after telepoting (#3014)
bixuanzju Aug 8, 2016
283c17e
Fix Dockerfile installation (#3057)
nikofil Aug 8, 2016
351ea76
Fix for #3045 (#3055)
cmezh Aug 8, 2016
ae0ae81
Update README.md (#3090)
solderzzc Aug 8, 2016
20aeb90
Added request to check configuration (#3089)
mjmadsen Aug 8, 2016
ff380cd
Fixed Dockerfile - missing \ on command lines (#3096)
middleagedman Aug 8, 2016
a5e9131
Fix for FileIO slowing bot performance.This puts the map writing into…
ajurna Aug 8, 2016
d8546d7
Change word usage: "fled" to "escaped" (#3118)
DeviousFusion Aug 8, 2016
0b3aa4f
Update the example config file (#3120)
hklcf Aug 8, 2016
d0f60a2
typo: logrmation -> information (#2601)
gokaygurcan Aug 8, 2016
f648be3
Change fled to escaped (#3129)
pmquan Aug 8, 2016
47ab81f
When JSON parsing fails, give a rough indication of why (#3137)
cwild Aug 8, 2016
c8a33bc
Handle Github Download Zip Format (#3108)
elicwhite Aug 8, 2016
625275c
Merge branch 'master' into dev
solderzzc Aug 8, 2016
5fb1f04
Merge branch 'dev' of https://github.com/PokemonGoF/PokemonGo-Bot int…
solderzzc Aug 8, 2016
3c9806b
Dev merge to master, PR (#3146)
solderzzc Aug 8, 2016
4b16e9d
Refactor catch worker (#2527)
pokepal Aug 8, 2016
597196e
Added Run-Loop (#3143)
devn0ll Aug 9, 2016
ec3babc
fixing loop in spin fort task (#3165)
douglascamata Aug 9, 2016
a2b9fe9
Some love for the vim users (#3154)
gurupras Aug 9, 2016
8a2a52b
Updated README with link to desktop version (#3208)
JVenberg Aug 9, 2016
5e3179b
Fix for #3190 (#3197)
bigkraig Aug 9, 2016
e4c54dc
MoveToMap: Add minimum balls to run (#3166)
pmquan Aug 9, 2016
61b6854
added config to ignore item count for Spin and MoveToFort (#3160)
douglascamata Aug 9, 2016
03d7f92
[Inventory Management] Add a central class for caching/parsing invent…
aeckert Aug 9, 2016
f6d73af
Keeping a cache of gym information (#3236)
elicwhite Aug 9, 2016
ce9eb2b
New Option: "dont_nickname_favorite" (#2496)
aceradryd Aug 9, 2016
7e699dd
Restart the loop when catching pokemon and there are more to catch (#…
elicwhite Aug 9, 2016
e73d302
fixed NameError: global name 'pokemon_name' is not defined (#3244)
schubter Aug 9, 2016
8203f36
Stop fetching gym details (#3245)
elicwhite Aug 9, 2016
4c95259
Checking all forts for lured pokemon (#3163)
douglascamata Aug 9, 2016
d420823
Fix flooding of keep_best_release (#3223)
phphong Aug 9, 2016
0f9351e
[Feature] Recycle Threshold (#2465)
Aug 9, 2016
49f9177
Call heartbeat on step_walker even if speed is higher than distance (…
lucasfevi Aug 9, 2016
59f55fd
Return an empty list if no pokemon are available. (#3259)
poupas Aug 9, 2016
79266a0
Allow UpdateTitleStats to emit events instead of rewriting the consol…
Aug 9, 2016
b3d8d86
Updating our issue and PR templates to be more helpful (#3262)
elicwhite Aug 9, 2016
1060afa
Dev (#3277)
mvrska Aug 9, 2016
f4b4c28
Update pgoapi to a newer version (#3241)
eriweb Aug 9, 2016
3e1dc1b
Fix unexpected egg incubation retry (#3276)
eevee-github Aug 9, 2016
0f2bddd
has_next_evolution is a function not a property (#3284)
thebigjc Aug 9, 2016
2ded2ee
Powerful setup.sh (#3263)
simonsmh Aug 9, 2016
e03f834
Added +x to run.sh
solderzzc Aug 9, 2016
c8aaf4b
Added a configuration option "path_startmode" (conflict merge #2489) …
JaapMoolenaar Aug 9, 2016
80a307e
Adding documentation for how to use and write plugins (#3254)
elicwhite Aug 9, 2016
932fd2b
Updating link to the plugin docs in the readme
elicwhite Aug 9, 2016
6bcc631
Merge branch 'master' into dev
solderzzc Aug 9, 2016
63f777b
Dev merge to master, PR (#3334)
solderzzc Aug 9, 2016
234baa4
Checking config file exists in run.sh (#3326)
mjmadsen Aug 9, 2016
afb139d
Improve and update pokemon.json (#3331)
art-shen Aug 9, 2016
2b31f93
Made paths to .json files absolute so pokecli.py can be called from C…
Aug 9, 2016
ceb5db7
Add fast & charged moves data from #2117 (originally by @iananass) (#…
art-shen Aug 9, 2016
bb2c952
Upgrade pgoapi to the b4bf0e089dfe09903f8dda37dae56910e01f94cc commit…
solderzzc Aug 9, 2016
9172937
Revert "Upgrade pgoapi to the b4bf0e089dfe09903f8dda37dae56910e01f94c…
solderzzc Aug 9, 2016
3519c31
Added map_path configuration for move_to_map. (#3339)
solderzzc Aug 9, 2016
b94d369
Log stats on terminal (#3312)
sergiopalacio Aug 9, 2016
2127bef
changes to improve event system based on new web ui devs requests
douglascamata Aug 9, 2016
c556b48
typo :D
douglascamata Aug 9, 2016
9c1a943
let's use dict.get a bit to avoid errors
douglascamata Aug 10, 2016
61df52f
keeping the account in the remote command response
douglascamata Aug 10, 2016
9f9146c
Add ColoredLoggingHandler (#3198)
eevee-github Aug 10, 2016
8b5af8d
Update TransferPokemon to use new Inventory Class (#3320)
achretien Aug 10, 2016
310f578
Some text fixes for setup.sh (#3390)
simonsmh Aug 10, 2016
b3f9e0f
Fix path of shells in install.sh (#3393)
simonsmh Aug 10, 2016
67fe00b
Fix evolution error in pokemon.json (#3344)
jebabin Aug 10, 2016
01bc14d
Improve formatting consistency in transfer_pokemon.py (#3397)
esqew Aug 10, 2016
41de6f7
Merge branch 'refactor-for-webui' into dev
brantje Aug 10, 2016
d22c5b2
Remove unnecessary file
brantje Aug 10, 2016
0c3c4c0
Put info on the next line in run.sh (#3422)
simonsmh Aug 10, 2016
72622b4
Fix Struct() argument 1 must be string, not unicode. (#3375)
vanishing Aug 10, 2016
558540e
Give the possibility to disable a task without removing it (#3417)
achretien Aug 10, 2016
99187ab
fix config creation (#3482)
Aug 10, 2016
edeb2c2
Remove unused IV calculation from evolve_pokemon (#3487)
leadboots5 Aug 10, 2016
f823d77
Don't show Inventory full event if we set "ignore_item_count" (#3440)
achretien Aug 10, 2016
9ae1b78
Fix showing the date in run.sh (#3433)
simonsmh Aug 10, 2016
1183b93
Typo fix: show new catch rate after berry throw. (#3521)
cmezh Aug 10, 2016
41e5758
Fix stdout is not a terminal (#3511)
net8q Aug 10, 2016
e60da10
Ensure recycling happens if bag is over capacity. (#3531)
rdrgmnzs Aug 11, 2016
00a5b2f
Better inventory: attacks & movesets, IV CP perfection, pokemon le…
art-shen Aug 11, 2016
e9b229e
Revert "Better inventory: attacks & movesets, IV CP perfection, po…
Aug 11, 2016
9ccadcd
run.bat for windows (#3542)
sia84 Aug 11, 2016
847154d
Fix error when MoveToFort called from handle_soft_ban.py (#3500)
cmezh Aug 11, 2016
e2e3288
Fixed list of charged attacks for Venonat (#3548) + BaseDefense/BaseS…
art-shen Aug 11, 2016
f7975bb
Blacklisting tejado from getting mentioned by the mention-bot
elicwhite Aug 11, 2016
a8242f7
Moving wiki pages to docs folder
elicwhite Aug 11, 2016
04d4c26
Merge branch 'master' into dev
solderzzc Aug 11, 2016
d7cb7df
Dev merge to master, PR (#3564)
solderzzc Aug 11, 2016
8674d0d
UpdateTitleStats -> UpdateLiveStats, new stat, refactoring (#3467)
Aug 11, 2016
045f297
Update installation docs to reflect setup sh changes (#3567)
Aug 11, 2016
350148e
Fixed chmod in setup.sh (#3565)
Aug 11, 2016
de09f34
Updated readme to have better readability (#3569)
Aug 11, 2016
9623133
More documentation changes making it noob proof(er) (#3575)
Aug 11, 2016
59fea6c
Update Readme to point to the latest wiki and documentation (#3579)
Aug 11, 2016
d5812e9
Improve Docker Image and `docker-compose.yml` (#3583)
lawliet89 Aug 11, 2016
651c909
Small fixes and improvments in setup.sh (#3585)
kestel Aug 11, 2016
0292c2f
Remove the "evolve_captured" flag in favor of the EvolveTask (#3530)
achretien Aug 11, 2016
138b664
Improved documentation (#3604)
pensiero Aug 11, 2016
6633630
Update installation.md (#3618)
devn0ll Aug 11, 2016
f3c0ce3
moving_to_fort and moving_to_lured_fort now also emit current_positio…
brantje Aug 11, 2016
78649ae
Fix handle soft ban (#3629)
joaodragao Aug 11, 2016
1bfabca
[config] new tasks in example files (#3457)
Aug 11, 2016
493ccec
Merge branch 'master' into dev
solderzzc Aug 11, 2016
01ac445
Revert "moving_to_fort and moving_to_lured_fort now also emit current…
douglascamata Aug 11, 2016
543226e
Return RUNNING if there are more forts to spin (#3412)
elicwhite Aug 11, 2016
b033783
Correct colored logging (#3637)
extink Aug 11, 2016
44d7b39
Allow to set throw quality and spin odds (#2534)
GepLik Aug 11, 2016
c344fe2
sending location update if distance to move is smaller than step size
douglascamata Aug 11, 2016
60843d8
Merge branch 'dev' of github.com:PokemonGoF/PokemonGo-Bot into dev
douglascamata Aug 11, 2016
c1517fd
removing useless comma
douglascamata Aug 11, 2016
ca4a197
removing old catch randomizer stuff
douglascamata Aug 11, 2016
b8af467
Improved item recycling (#2482)
BriceSD Aug 11, 2016
f83e767
remove Debian python-protobuf dependency (#3670)
hongxuchen Aug 12, 2016
b8ea368
First basic features of the pokemon optimizer (#2956)
julienlavergne Aug 12, 2016
ac07ad3
NicknamePokemon: Format iv_pct on 3 digits (#3698)
vdubus Aug 12, 2016
50cd7bf
Config/encrypt fix (#3707)
DevScarabyte Aug 12, 2016
62715ae
Fixed EventManager handlers to be list instead of tuple (#3734)
cwild Aug 12, 2016
fff1eac
Heaps of updates to docs and other small errors in running the bot. (…
Aug 12, 2016
ee9c6f3
Update docker.md
douglascamata Aug 12, 2016
6f626fa
Modify pokemon_catch_worker.py to use Inventory class and fix #3411 (…
cmezh Aug 12, 2016
59d0865
Use Ultraball If No Other Balls (With Constraint) (#3421)
joaodragao Aug 12, 2016
76587de
Add and Remove pokemon from the inventory cache when catch, release a…
achretien Aug 12, 2016
d580dfe
Update configuration_files.md (#3742)
Gurzeh Aug 12, 2016
12b47d3
Cache recent forts (for forts.max_circle_size) (#3556)
Quantra Aug 12, 2016
4b632d8
Update use ultraball with constraint (#3760)
joaodragao Aug 12, 2016
a50ca97
Rewrite NicknamePokemon for new Inventory sysem + a lot of new keys f…
art-shen Aug 12, 2016
471515d
Added Procfile to deploy to Heroku (#3719)
Abeldvlpr Aug 12, 2016
912970a
Update installation.md (#3764)
devn0ll Aug 12, 2016
5a8a95a
Writing the location file to fix the web ui (#3767)
elicwhite Aug 12, 2016
cd084b7
Revert #3500 Fix error when MoveToFort called from handle_soft_ban.py…
cmezh Aug 12, 2016
a3d1f36
Clean old catch parameters (#3776)
joaodragao Aug 12, 2016
c450b19
Fix incorrect variable name in pokemon_catch_worker that makes bot un…
pmquan Aug 12, 2016
cf8d2bf
added action_delay when recycling items (#3799)
Quantra Aug 13, 2016
9b40f58
Pokemon optimizer enhancements (#3743)
julienlavergne Aug 13, 2016
d4200e9
small fix in VOLUME in Dockerfile (#3779)
mercuriete Aug 13, 2016
653ff05
Fix looping between equidstant pokestops (#3787)
umbreon222 Aug 13, 2016
1817d00
Revert "Fix looping between equidstant pokestops" (#3848)
solderzzc Aug 13, 2016
6ffc8c0
configuration_files.md - Update nicknaming sample usages (#3833)
vdubus Aug 13, 2016
dbf26d5
Now track inventory when spinning a fort (#3774)
BriceSD Aug 13, 2016
1e22ae1
Evolve only if evolvable candidates no less than a certain number.
Aug 1, 2016
c22f1ce
Merge branch 'lucky-egg' of https://github.com/coderplay/PokemonGo-Bo…
Aug 13, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,12 +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)
18 changes: 13 additions & 5 deletions .github/PULL_REQUEST_TEMPLATE.md
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):
-
-
-

11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ var/
.pydevproject
.settings/

# Cloud9 Users
.c9/

# Installer logs
pip-log.txt
pip-delete-this-directory.txt
Expand Down Expand Up @@ -86,6 +89,8 @@ celerybeat-schedule
# virtualenv
venv/
ENV/
local/
share/

# Spyder project settings
.spyderproject
Expand All @@ -95,6 +100,8 @@ ENV/

# PyCharm IDE settings
.idea/
*.iml
out/

# Personal load details
src/
Expand All @@ -113,10 +120,14 @@ configs/*
!configs/config.json.map.example
!configs/path.example.json
!config.json.cluster.example
!config.json.optimizer.example

# Virtualenv folders
bin/
include/

# Pip check file
pip-selfcheck.json

# Some love for the vim users
.*.sw*
3 changes: 3 additions & 0 deletions .mention-bot
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"userBlacklist": ["tejado"]
}
19 changes: 19 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,22 @@
* z4ppy.bbc
* matheussampaio
* Abraxas000
* lucasfevi
* pokepal
* Moonlight-Angel
* mjmadsen
* nikofil
* bigkraig
* nikhil-pandey
* thebigjc
* JaapMoolenaar
* eevee-github
* g0vanish
* cmezh
* Nivong
* kestel
* simonsmh
* joaodragao
* extink
* Quantra
* pmquan
23 changes: 18 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +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 \
&& 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

VOLUME ["/usr/src/app/web"]
COPY . /usr/src/app

ENTRYPOINT ["python", "pokecli.py"]
ENTRYPOINT ["python", "pokecli.py"]
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
worker: python pokecli.py $EXTRA_ARGS
41 changes: 19 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# PokemonGo-Bot
PokemonGo bot is a project created by the [PokemonGoF](https://github.com/PokemonGoF) team.
The project is currently setup in two main branches. `dev` and `master`.

We use [Slack](https://slack.com) as a web chat. [Click here to join the chat!](https://pokemongo-bot.herokuapp.com)
The project is currently setup in two main branches. `dev` also known as `beta` and `master` also known as `stable`. Submit your PR's to `dev`.

If you need any help please don't create an issue here on github we have a great community on Slack, [Click here to join the chat!](https://pokemongo-bot.herokuapp.com). You can count on the community in #help channel.

## Table of Contents
- [Installation](https://github.com/PokemonGoF/PokemonGo-Bot/blob/dev/docs/installation.md)
- [Documentation](https://github.com/PokemonGoF/PokemonGo-Bot/blob/dev/docs/)
- [Features](#features)
- [Wiki](#wiki)
- [Credits](#credits)
- [Donation](#donation)


## Features
- [x] GPS Location configuration
Expand All @@ -23,37 +23,34 @@ We use [Slack](https://slack.com) as a web chat. [Click here to join the chat!](
- [x] Rudimentary IV Functionality filter
- [x] Ignore certain pokemon filter
- [x] Adjust delay between Pokemon capture & Transfer as per configuration
- [ ] Standalone Desktop Application
- [x] Hatch eggs
- [x] Incubate eggs
- [ ] [Standalone Desktop Application] (https://github.com/PokemonGoF/PokemonGo-Bot-Desktop)
- [ ] Use candy
- [ ] Inventory cleaner

## Gym Battles
This bot takes a strong stance against automating gym battles. Botting gyms will have a negative effect on most players and thus the game as a whole. We will thus never accept contributions or changes containing code specific for gym battles.

## Wiki
All information on [Getting Started](https://github.com/PokemonGoF/PokemonGo-Bot/wiki/Getting-Started) is available in the [Wiki](https://github.com/PokemonGoF/PokemonGo-Bot/wiki/)!
- __Installation__
- [Requirements] (https://github.com/PokemonGoF/PokemonGo-Bot/wiki/Installation#requirements-click-each-one-for-install-guide)
- [How to run with Docker](https://github.com/PokemonGoF/PokemonGo-Bot/wiki/How-to-run-with-Docker)
- [Linux] (https://github.com/PokemonGoF/PokemonGo-Bot/wiki/Installation#installation-linux)
- [Mac] (https://github.com/PokemonGoF/PokemonGo-Bot/wiki/Installation#installation-mac)
- [Windows] (https://github.com/PokemonGoF/PokemonGo-Bot/wiki/Installation#installation-windows)
- [Develop PokemonGo-Bot](https://github.com/PokemonGoF/PokemonGo-Bot/wiki/Develop-PokemonGo-Bot)
- [Configuration-files](https://github.com/PokemonGoF/PokemonGo-Bot/wiki/Configuration-files)
- [Front end web module - Google Maps API] (https://github.com/PokemonGoF/PokemonGo-Bot/wiki/Google-Maps-API-(web-page))
- [Docker Usage](https://github.com/PokemonGoF/PokemonGo-Bot/wiki/FAQ#how-to-run-with-docker)
- [FAQ](https://github.com/PokemonGoF/PokemonGo-Bot/wiki/FAQ)

To ensure that all updates are documented - [@eggins](https://github.com/eggins) will keep the Wiki updated with the latest information on installing, updating and configuring the bot.
## Analytics
This bot is very popular and has a vibrant community. Because of that, it has become very difficult for us to know how the bot is used and what errors people hit. By capturing small amounts of data, we can prioritize our work better such as fixing errors that happen to a large percentage of our user base, not just a vocal minority.

Our goal is to help inform our decisions by capturing data that helps us get aggregate usage and error reports, not personal information. To view the code that handles analytics in our master branch, you can use this [search link](https://github.com/PokemonGoF/PokemonGo-Bot/search?utf8=%E2%9C%93&q=BotEvent).

If there are any concerns with this policy or you believe we are tracking something we shouldn't, please open a ticket in the tracker. The contributors always intend to do the right thing for our users, and we want to make sure we are held to that path.

If you do not want any data to be gathered, you can turn off this feature by setting `health_record` to `false` in your `config.json`.

## Help Needed on [Desktop Version](https://github.com/PokemonGoF/PokemonGo-Bot-Desktop)


## Credits
- [tejado](https://github.com/tejado) many thanks for the API
- [U6 Group](http://pgoapi.com) for the U6
- [Mila432](https://github.com/Mila432/Pokemon_Go_API) for the login secrets
- [elliottcarlson](https://github.com/elliottcarlson) for the Google Auth PR
- [AeonLucid](https://github.com/AeonLucid/POGOProtos) for improved protos
- [AHAAAAAAA](https://github.com/AHAAAAAAA/PokemonGo-Map) for parts of the s2sphere stuff


[![Analytics](https://ga-beacon.appspot.com/UA-81468120-1/welcome-page-dev)](https://github.com/igrigorik/ga-beacon)
[![Analytics](https://ga-beacon.appspot.com/UA-81468120-1/welcome-page-master)](https://github.com/igrigorik/ga-beacon)
27 changes: 25 additions & 2 deletions configs/config.json.cluster.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,21 @@
"password": "YOUR_PASSWORD",
"location": "SOME_LOCATION",
"gmapkey": "GOOGLE_MAPS_API_KEY",
"encrypt_location": "",
"tasks": [
{
"type": "HandleSoftBan"
},
{
"type": "SleepSchedule",
"config": {
"enabled": false,
"time": "22:54",
"duration":"7:46",
"time_random_offset": "00:24",
"duration_random_offset": "00:43"
}
},
{
"type": "CollectLevelUpReward"
},
Expand All @@ -17,6 +28,16 @@
"longer_eggs_first": true
}
},
{
"type": "UpdateLiveStats",
"config": {
"enabled": false,
"min_interval": 10,
"stats": ["uptime", "stardust_earned", "xp_earned", "xp_per_hour", "stops_visited"],
"terminal_log": true,
"terminal_title": true
}
},
{
"type": "TransferPokemon"
},
Expand All @@ -27,6 +48,7 @@
"first_evolve_by": "cp",
"evolve_above_cp": 500,
"evolve_above_iv": 0.8,
"evolve_num_min": 5,
"logic": "or",
"evolve_speed": 20,
"use_lucky_egg": false
Expand All @@ -35,6 +57,7 @@
{
"type": "RecycleItems",
"config": {
"min_empty_space": 15,
"item_filter": {
"Pokeball": { "keep" : 100 },
"Potion": { "keep" : 10 },
Expand Down Expand Up @@ -62,7 +85,6 @@
}
}
],
"max_steps": 5,
"forts": {
"avoid_circles": true,
"max_circle_size": 50
Expand All @@ -77,9 +99,10 @@
"location_cache": true,
"distance_unit": "km",
"reconnecting_timeout": 15,
"evolve_captured": "NONE",
"catch_randomize_reticle_factor": 1.0,
"catch_randomize_spin_factor": 1.0,
"min_ultraball_to_keep": 10,
"logging_color": true,
"catch": {
"any": {"catch_above_cp": 0, "catch_above_iv": 0, "logic": "or"},
"// Example of always catching Rattata:": {},
Expand Down
43 changes: 41 additions & 2 deletions configs/config.json.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,21 @@
"password": "YOUR_PASSWORD",
"location": "SOME_LOCATION",
"gmapkey": "GOOGLE_MAPS_API_KEY",
"encrypt_location": "",
"tasks": [
{
"type": "HandleSoftBan"
},
{
"type": "SleepSchedule",
"config": {
"enabled": false,
"time": "22:54",
"duration":"7:46",
"time_random_offset": "00:24",
"duration_random_offset": "00:43"
}
},
{
"type": "CollectLevelUpReward"
},
Expand All @@ -17,16 +28,34 @@
"longer_eggs_first": true
}
},
{
"type": "UpdateLiveStats",
"config": {
"enabled": false,
"min_interval": 10,
"stats": ["uptime", "stardust_earned", "xp_earned", "xp_per_hour", "stops_visited"],
"terminal_log": true,
"terminal_title": true
}
},
{
"type": "TransferPokemon"
},
{
"type": "NicknamePokemon",
"config": {
"enabled": false,
"nickname_template": "{iv_pct}_{iv_ads}"
}
},
{
"type": "EvolvePokemon",
"config": {
"evolve_all": "none",
"first_evolve_by": "cp",
"evolve_above_cp": 500,
"evolve_above_iv": 0.8,
"evolve_num_min": 5,
"logic": "or",
"evolve_speed": 20,
"use_lucky_egg": false
Expand All @@ -35,6 +64,7 @@
{
"type": "RecycleItems",
"config": {
"min_empty_space": 15,
"item_filter": {
"Pokeball": { "keep" : 100 },
"Potion": { "keep" : 10 },
Expand Down Expand Up @@ -72,7 +102,8 @@
"map_object_cache_time": 5,
"forts": {
"avoid_circles": true,
"max_circle_size": 50
"max_circle_size": 50,
"cache_recent_forts": true
},
"websocket_server": false,
"walk": 4.16,
Expand All @@ -84,14 +115,22 @@
"location_cache": true,
"distance_unit": "km",
"reconnecting_timeout": 15,
"evolve_captured": "NONE",
"catch_randomize_reticle_factor": 1.0,
"catch_randomize_spin_factor": 1.0,
"min_ultraball_to_keep": 10,
"logging_color": true,
"catch": {
"any": {"catch_above_cp": 0, "catch_above_iv": 0, "logic": "or"},
"// Example of always catching Rattata:": {},
"// Rattata": { "always_catch" : true }
},
"catch_throw_parameters": {
"excellent_rate": 0.1,
"great_rate": 0.5,
"nice_rate": 0.3,
"normal_rate": 0.1,
"spin_success_rate" : 0.6
},
"release": {
"any": {"release_below_cp": 0, "release_below_iv": 0, "logic": "or"},
"// Example of always releasing Rattata:": {},
Expand Down
Loading