Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev merge to master, PR #3891

Merged
merged 170 commits into from
Aug 14, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
170 commits
Select commit Hold shift + click to select a range
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
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
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
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
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)
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
234baa4
Checking config file exists in run.sh (#3326)
mjmadsen Aug 9, 2016
afb139d
Improve and update pokemon.json (#3331)
amal 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) (#…
amal 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…
amal 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…
amal 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
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…
amal 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
9b72ee5
[Feature] added locale support for NicknamePokemon (#2539)
mhdasding Aug 13, 2016
cdd7a26
Windows batch files and documentation fixes (#3781)
Aug 14, 2016
1ebe76b
Update nicknaming configuration documentation (#3880)
vdubus Aug 14, 2016
1651d1a
Updated RecycleItems config documentation (#3887)
BriceSD Aug 14, 2016
cdd1d53
Merge branch 'master' into dev
solderzzc Aug 14, 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
10 changes: 0 additions & 10 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
# We are aware that there are mass bans of different magnitudes being experienced by a lot of the bot users with symptoms such as:
1. Bot being able to login, and catch pokemon but NOT spin forts
2. Bot being able to login, NOT catch pokemon (vanishing) but able to spin forts
4. Some accounts not being able to login at all

We are also aware of the getting stuck between 2 forts and getting caught in an infinite loop

# If any issues are created relating to the above KNOWN issues they will be closed without reason

## 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.
Expand All @@ -28,6 +19,5 @@ your config here

### Other Information
OS:
Branch: dev or master
Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here)
Python Version: (run 'python -V' and paste it here)
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ share/
# PyCharm IDE settings
.idea/
*.iml
out/

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

# Virtualenv folders
bin/
Expand Down
4 changes: 4 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,8 @@
* cmezh
* Nivong
* kestel
* simonsmh
* joaodragao
* extink
* Quantra
* pmquan
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
FROM python:2.7

WORKDIR /usr/src/app
VOLUME ["/usr/app/configs", "/usr/src/app/web"]
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 \
Expand Down
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
3 changes: 2 additions & 1 deletion configs/config.json.cluster.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"password": "YOUR_PASSWORD",
"location": "SOME_LOCATION",
"gmapkey": "GOOGLE_MAPS_API_KEY",
"libencrypt_location": "",
"encrypt_location": "",
"tasks": [
{
"type": "HandleSoftBan"
Expand Down Expand Up @@ -100,6 +100,7 @@
"reconnecting_timeout": 15,
"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"},
Expand Down
13 changes: 11 additions & 2 deletions configs/config.json.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"password": "YOUR_PASSWORD",
"location": "SOME_LOCATION",
"gmapkey": "GOOGLE_MAPS_API_KEY",
"libencrypt_location": "",
"encrypt_location": "",
"tasks": [
{
"type": "HandleSoftBan"
Expand Down Expand Up @@ -101,7 +101,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 @@ -115,12 +116,20 @@
"reconnecting_timeout": 15,
"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
3 changes: 2 additions & 1 deletion configs/config.json.map.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"password": "YOUR_PASSWORD",
"location": "SOME_LOCATION",
"gmapkey": "GOOGLE_MAPS_API_KEY",
"libencrypt_location": "",
"encrypt_location": "",
"tasks": [
{
"type": "HandleSoftBan"
Expand Down Expand Up @@ -342,6 +342,7 @@
"reconnecting_timeout": 15,
"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"},
Expand Down
156 changes: 156 additions & 0 deletions configs/config.json.optimizer.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
{
"auth_service": "google",
"username": "YOUR_USERNAME",
"password": "YOUR_PASSWORD",
"location": "SOME_LOCATION",
"gmapkey": "GOOGLE_MAPS_API_KEY",
"encrypt_location": "",
"tasks": [
{
"type": "HandleSoftBan"
},
{
"type": "CollectLevelUpReward"
},
{
"type": "IncubateEggs",
"config": {
"longer_eggs_first": true
}
},
{
"type": "PokemonOptimizer",
"config": {
"// the 'transfer' parameter activate or deactivate the transfer of pokemons": {},
"// at false, no pokemon is going to be transfered, ever": {},
"// at false, you will still get the log information of what the optimizer": {},
"// would have transfered if the parameter was true": {},
"transfer": true,
"// the 'evolve' parameter activate or deactivate the evolution of pokemons": {},
"// at false, no pokemon is going to be evolved, ever": {},
"// at false, you will still get the log information of what the": {},
"// optimizer would have evolved if the parameter was true": {},
"evolve": true,
"// the 'use_candies_for_xp' parameter let you choose if you want the optimizer": {},
"// to use your candies to evolve low quality pokemons in order to maximize your xp": {},
"// at false, the optimizer will still use candies to evolve your best Pokemons": {},
"use_candies_for_xp": true,
"// the 'use_lucky_egg' parameter let you choose if you want the optimizer": {},
"// to use a lucky egg right before evolving Pokemons. At false; the optimizer": {},
"// is free to evolve Pokemons even if you do not have any lucky egg.": {},
"use_lucky_egg": true,
"// the 'evolve_only_with_lucky_egg' parameter let you choose if you want the optimizer": {},
"// to only Evolve Pokemons when a lucky egg is available": {},
"evolve_only_with_lucky_egg": true,
"// the 'minimum_evolve_for_lucky_egg' parameter let you define the minimum": {},
"// number of Pokemons that must evolve before using a lucky egg": {},
"// If that number is not reached, and evolve_only_with_lucky_egg is true, evolution will be skipped": {},
"// If that number is not reached, and evolve_only_with_lucky_egg is false,": {},
"// evolution will be performed without using a lucky egg": {},
"minimum_evolve_for_lucky_egg": 90,
"// the 'keep' parameter let you define what pokemons you consider are the 'best'. These Pokemons": {},
"// will be keep and evolved. Note that Pokemons are evaluated inside their whole family": {},
"// Multiple way of ranking can be defined. Following configuration let you keep the best iv,": {},
"// the best ncp and the best cp": {},
"keep": [
{
"// Following setting let you keep the best iv of the family": {},
"// the 'top' parameter allow you to define how many Pokemons you want to keep": {},
"// at the top of your ranking. If several Pokemons get the same score, they are": {},
"// considered equal. Thus, top=1 might result in keeping more than 1 Pokemon.": {},
"top": 1,
"// the 'evolve' parameter let you choose if you want to evolve the Pokemons you keep": {},
"evolve": true,
"// the 'sort' parameter define how you want to rank your pokemons": {},
"// Critera are sorted fro, the most important to the least important.": {},
"// Available criteria are:": {},
"// 'iv' = individual value": {},
"// 'ivcp' = iv weigted so that for equal iv, attack > defense > stamina": {},
"// 'cp' = combat power (can be increased with candies)": {},
"// 'cp_exact' = combar power (not rounded)": {},
"// 'ncp' (normalized cp) or 'cp_percent' = ratio cp / max_cp": {},
"// iv_attack = attach component of iv": {},
"// iv_defense = defense component of iv": {},
"// iv_stamina = stamina component of iv": {},
"// dps = raw dps based on the moves of the pokemon": {},
"// dps_attack = average dps when attacking": {},
"// dps_defense = average dps when defending": {},
"// Note that the more criteria you add to this list, the less likely Pokemons": {},
"// will be equals": {},
"sort": ["iv"]
},
{
"// Following setting let you keep keep the best normalized cp of the family": {},
"// That is the Pokemon with higher CP once fully evolved": {},
"top": 1,
"evolve": true,
"sort": ["ncp"]
},
{
"// Following setting let you keep keep the best cp of the family.": {},
"// But will not evolve it further (in favor of the best ncp)": {},
"top": 1,
"evolve": false,
"sort": ["cp"]
}
]
}
},
{
"type": "RecycleItems",
"config": {
"min_empty_space": 15,
"item_filter": {
"Pokeball": { "keep": 100 },
"Potion": { "keep": 10 },
"Super Potion": { "keep": 20 },
"Hyper Potion": { "keep": 30 },
"Revive": { "keep": 30 },
"Razz Berry": { "keep": 100 }
}
}
},
{
"type": "CatchVisiblePokemon"
},
{
"type": "CatchLuredPokemon"
},
{
"type": "SpinFort",
"config": {
"ignore_item_count": true
}
},
{
"type": "MoveToFort",
"config": {
"lure_attraction": true,
"lure_max_distance": 2000,
"ignore_item_count": true
}
}
],
"map_object_cache_time": 5,
"forts": {
"avoid_circles": true,
"max_circle_size": 50
},
"websocket_server": true,
"walk": 4.16,
"action_wait_min": 1,
"action_wait_max": 4,
"debug": false,
"test": false,
"health_record": false,
"location_cache": true,
"distance_unit": "km",
"reconnecting_timeout": 15,
"min_ultraball_to_keep": 10,
"logging_color": true,
"catch": {
"any": {
"always_catch": true
}
}
}
3 changes: 2 additions & 1 deletion configs/config.json.path.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"password": "YOUR_PASSWORD",
"location": "SOME_LOCATION",
"gmapkey": "GOOGLE_MAPS_API_KEY",
"libencrypt_location": "",
"encrypt_location": "",
"tasks": [
{
"type": "HandleSoftBan"
Expand Down Expand Up @@ -102,6 +102,7 @@
"reconnecting_timeout": 15,
"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"},
Expand Down
3 changes: 2 additions & 1 deletion configs/config.json.pokemon.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"password": "YOUR_PASSWORD",
"location": "SOME_LOCATION",
"gmapkey": "GOOGLE_MAPS_API_KEY",
"libencrypt_location": "",
"encrypt_location": "",
"tasks": [
{
"type": "HandleSoftBan"
Expand Down Expand Up @@ -108,6 +108,7 @@
"reconnecting_timeout": 15,
"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" },
Expand Down
Loading