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 #4178

Merged
merged 41 commits into from
Aug 17, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
c1743c9
Do not spin fort on timeout when restarting the bot (#3931)
julienlavergne Aug 16, 2016
ad32f1d
Fixed references to self.bot.config.walk (#4046)
mjmadsen Aug 16, 2016
6fa57fe
Updating run.sh and install.sh (#4033)
simonsmh Aug 16, 2016
7d0da5a
Fixing typo
TheSavior Aug 16, 2016
91aea57
Added heartbeat threshold, it's not reasonable to send heartbeat to s…
solderzzc Aug 16, 2016
f2853ff
Merge branch 'master' into dev
solderzzc Aug 16, 2016
0c5da81
heartbeat_threshold using time delta (#4095)
Quantra Aug 16, 2016
46c1b28
Fixing live stats crash on first run (#4088)
gfreivasc Aug 16, 2016
2825452
try to fix system platform in init.py (#4068)
simonsmh Aug 16, 2016
c80dc40
Fix get_top_rank (#3823)
julienlavergne Aug 16, 2016
2dd8a5e
Enhancement/sleep schedule check if current sleep is over (#4031)
Aug 16, 2016
e6c8f53
MoveToMapPokemon: Replacing min_time with reachable distance calculat…
mvrska Aug 16, 2016
64c7575
Make PokemonOptimizer calculate correct transfer / evolve groups (#4099)
TheSavior Aug 16, 2016
abb8570
Humanize & better app simulation for catches (#3872)
Quantra Aug 16, 2016
e68c2e8
re-Wording followPath to more readable, recycle_items.should_run shou…
fake-or-dead Aug 16, 2016
20491b0
Send bot through Tor (#4108)
Aug 16, 2016
8dc5e63
Update setup.sh (#4117)
jonhkr Aug 16, 2016
488a037
Update run.sh (#4123)
simonsmh Aug 16, 2016
86994d4
Fixing values on UpdateLiveStatus (#4127)
gfreivasc Aug 16, 2016
e98b52c
Updated wiki, explain how to use Docker under Windows (#4136)
supercourgette Aug 17, 2016
805930d
Bring together CatchVisiblePokemon & CatchLuredPokemon in config (#3966)
Quantra Aug 17, 2016
8a7580e
User configurable delay when spinning fort (#4109)
Quantra Aug 17, 2016
ad91ac7
fix followCluster & MoveToMapPokemon (#4115)
mvrska Aug 17, 2016
7cb32e3
Showing detailed sleep info (#4066)
cmezh Aug 17, 2016
8e40230
Windows installation instructions refit (#3898)
danielsdian Aug 17, 2016
7136348
Deprecate action_wait_min/max in favour of task specific options (#4048)
Quantra Aug 17, 2016
3d5e270
Update update_live_stats.py (#3985)
Kassadd Aug 17, 2016
41d5628
SQLite backend for bot/plugin use (#4129)
cwild Aug 17, 2016
0233882
Patch snipey in move_to_map_pokemon.py (#4146)
Gurzeh Aug 17, 2016
a940e54
Add files via upload (#4151)
RedViper9 Aug 17, 2016
6181839
fix example config
rawgni Aug 17, 2016
8baa4c9
fix config file
rawgni Aug 17, 2016
332aec5
added a script to check json, and updated .travis.yml
rawgni Aug 17, 2016
a96c18e
Update json-validate.py
rawgni Aug 17, 2016
4df7d6e
Documenting docker-compose with Tor (#4161)
Aug 17, 2016
e253db1
Remove `,` at line 112 (#4171)
thanhson1085 Aug 17, 2016
0768ae8
Merge branch 'fix-example-config' of https://github.com/rawgni/Pokemo…
solderzzc Aug 17, 2016
0c010fb
Merge branch 'rawgni-fix-example-config' into dev
solderzzc Aug 17, 2016
181fba5
Minor config fix (#4173)
Bashin Aug 17, 2016
96bdbb6
Fix no pokeballs log spamming (#4000)
umbreon222 Aug 17, 2016
6af2c32
Merge branch 'master' into dev
solderzzc Aug 17, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ out/
# Personal load details
src/
web/
data/*.db
data/last-location*.json
data/cells-*.json
data/map-caught-*.json
Expand Down
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ install:
- pip install pylint
script:
- python pylint-recursive.py
- python json-validate.py configs/*.json.*
- python -m unittest discover -v -p "*_test.py"
2 changes: 2 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,5 @@
* Quantra
* pmquan
* net8q
* SyncX
* umbreon222
69 changes: 53 additions & 16 deletions configs/config.json.cluster.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"location": "SOME_LOCATION",
"gmapkey": "GOOGLE_MAPS_API_KEY",
"encrypt_location": "",
"websocket_server": false,
"heartbeat_threshold": 10,
"tasks": [
{
"type": "HandleSoftBan"
Expand Down Expand Up @@ -39,7 +41,18 @@
}
},
{
"type": "TransferPokemon"
"type": "TransferPokemon",
"config": {
"transfer_wait_min": 1,
"transfer_wait_max": 4
}
},
{
"type": "NicknamePokemon",
"config": {
"enabled": false,
"nickname_template": "{iv_pct}_{iv_ads}"
}
},
{
"type": "EvolvePokemon",
Expand All @@ -57,24 +70,53 @@
"type": "RecycleItems",
"config": {
"min_empty_space": 15,
"max_balls_keep": 150,
"max_potions_keep": 50,
"max_berries_keep": 70,
"max_revives_keep": 70,
"item_filter": {
"Pokeball": { "keep" : 100 },
"Potion": { "keep" : 10 },
"Super Potion": { "keep" : 20 },
"Hyper Potion": { "keep" : 30 },
"Revive": { "keep" : 30 },
"Razz Berry": { "keep" : 100 }
}
},
"recycle_wait_min": 1,
"recycle_wait_max": 4
}
},
{
"type": "CatchPokemon",
"config": {
"catch_visible_pokemon": true,
"catch_lured_pokemon": true,
"min_ultraball_to_keep": 5,
"catch_throw_parameters": {
"excellent_rate": 0.1,
"great_rate": 0.5,
"nice_rate": 0.3,
"normal_rate": 0.1,
"spin_success_rate" : 0.6
},
"catch_simulation": {
"flee_count": 3,
"flee_duration": 2,
"catch_wait_min": 2,
"catch_wait_max": 6,
"berry_wait_min": 2,
"berry_wait_max": 3,
"changeball_wait_min": 2,
"changeball_wait_max": 3
}
}
},
{
"type": "CatchVisiblePokemon"
},
{
"type": "CatchLuredPokemon"
},
{
"type": "SpinFort"
"type": "SpinFort",
"config": {
"spin_wait_min": 2,
"spin_wait_max": 3
}
},
{
"type": "FollowCluster",
Expand All @@ -86,22 +128,17 @@
],
"forts": {
"avoid_circles": true,
"max_circle_size": 50
"max_circle_size": 50,
"cache_recent_forts": true
},
"websocket_server": false,
"walk_max": 4.16,
"walk_min": 2.16,
"action_wait_min": 1,
"action_wait_max": 4,
"debug": false,
"test": false,
"health_record": true,
"location_cache": true,
"distance_unit": "km",
"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