Closed pranavperfect closed 8 years ago
Looks like keep_best_cp is applied like all pokemon are the same
Yeah, the log shows the bot keep 2 cp on each type but then after, keep 2 cp from all of them. From your log:
... 2016-08-25 00:07:53,955 [TransferPokemon] [INFO] [keep_best_release] Keeping best 2 Pinsir, based on cp 2016-08-25 00:07:54,269 [TransferPokemon] [INFO] [pokemon_release] Exchanged Pinsir [IV 0.69] [CP 399] [56 candies] 2016-08-25 00:07:56,264 [TransferPokemon] [INFO] [pokemon_release] Exchanged Pinsir [IV 0.62] [CP 452] [57 candies] 2016-08-25 00:07:58,164 [TransferPokemon] [INFO] [pokemon_release] Exchanged Pinsir [IV 0.91] [CP 409] [58 candies] 2016-08-25 00:08:00,564 [TransferPokemon] [INFO] [keep_best_release] Keeping best 2 all, based on cp ...
@pranavperfect this has been fixed in #4639 which is now in both master and dev. Please update to the latest version
@k4n30 when i do ./setup.sh -u it says already up to date.
if i do git pull, it says aborting due to local changes that i've made (which i've not made). please suggest a way out.
This is the branch i'm running
ae314b666a1eb71de8872289ef3a298af09e4637
There's a conflict probably you accidentally modified a file. Try this:
git reset --hard HEAD
Then do:
git pull
root@localhost# git reset --hard HEAD HEAD is now at ae314b6 Merge pull request #4701 from PokemonGoF/dev root@localhost# git pull Already up-to-date. root@localhost#
@pranavperfect you're bot is already the latest. Could you verify if the problem still happening on the latest update?
It did not release all pokemon. I guess one of the hard resets fixed the issue.
Thanks everyone.
Expected Behavior
Bot should keep 2 best pokemon by cp of each pokemon.
Actual Behavior
Bot released almost all pokemon. I'm left with only 4 pokemon now.
Your FULL config.json (remove your username, password, gmapkey and any other private info)
`{ "auth_service": "ptc", "username": "", "password": "", "location": "", "gmapkey": "", "encrypt_location": "", "websocket_server": false, "heartbeat_threshold": 10, "tasks": [ { "type": "HandleSoftBan" }, { "type": "SleepSchedule", "config": { "enabled": true, "time": "23:54", "duration":"6:46", "time_random_offset": "00:24", "duration_random_offset": "00:43" } }, { "type": "RandomPause", "config": { "enabled": true, "min_duration": "00:00:50", "max_duration": "00:25:00", "min_interval": "00:25:00", "max_interval": "02:00:00" } }, { "type": "CompleteTutorial", "config": { "enabled": false, "// set a name": "", "nickname": "" } }, { "type": "CollectLevelUpReward" }, { "type": "IncubateEggs", "config": { "longer_eggs_first": true } }, { "type": "UpdateLiveStats", "config": { "enabled": true, "min_interval": 10, "stats": ["username", "uptime", "stardust_earned", "xp_earned", "xp_per_hour", "stops_visited"], "terminal_log": true, "terminal_title": true } }, { "type": "UpdateLiveInventory", "config": { "enabled": true, "min_interval": 120, "show_all_multiple_lines": false, "items": ["pokemon_bag", "space_info", "pokeballs", "greatballs", "ultraballs", "razzberries", "luckyegg"] } }, { "type": "TransferPokemon", "config": { "min_free_slot": 5, "transfer_wait_min": 1, "transfer_wait_max": 4 } }, { "type": "NicknamePokemon", "config": { "enabled": false, "nickname_template": "{ivpct}{iv_ads}" } }, { "type": "EvolvePokemon", "config": { "evolve_all": "Pidgey,Pidgeotto,Rattata,Weedle,Caterpie,Zubat,Psyduck,Krabby,Doduo,Spearow,Ponyta,Staryu,Slowpoke,Horsea,Goldeen,Ekans,Tentacool,Paras,Meowth,Mankey,Cubone,Sandshrew,Machop,Machoke,Growlithe,Venonat,Diglett,Geodude,Graveler,Rhyhorn,Eevee,Nidoran M,Nidoran F", "first_evolve_by": "cp", "evolve_above_cp": 10, "evolve_above_iv": 0.9, "logic": "or", "evolve_speed": 20, "use_lucky_egg": false } }, { "type": "RecycleItems", "config": { "min_empty_space": 15, "max_balls_keep": 200, "max_potions_keep": 50, "max_berries_keep": 70, "max_revives_keep": 70, "item_filter": { "Pokeball": { "keep" : 10 }, "Greatball": { "keep" : 50 }, "Ultraball": { "keep" : 120 }, "Potion": { "keep" : 0 }, "Super Potion": { "keep" : 0 }, "Hyper Potion": { "keep" : 15 }, "Revive": { "keep" : 15 }, "Razz Berry": { "keep" : 25 } }, "recycle_wait_min": 1, "recycle_wait_max": 4 } }, { "type": "CatchPokemon", "config": { "catch_visible_pokemon": true, "catch_lured_pokemon": true, "min_ultraball_to_keep": 5, "berry_threshold": 0.35, "vip_berry_threshold": 0.9, "catch_throw_parameters": { "excellent_rate": 0.1, "great_rate": 0.5, "nice_rate": 0.3, "normal_rate": 0.1, "spin_success_rate" : 0.6, "hit_rate": 0.75 }, "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": "SpinFort", "config": { "spin_wait_min": 2, "spin_wait_max": 3 } }, { "type": "MoveToFort", "config": { "lure_attraction": true, "lure_max_distance": 2000, "walker": "StepWalker" } }, { "type": "FollowSpiral", "config": { "diameter": 2, "step_size": 20 } } ], "map_object_cache_time": 5, "forts": { "avoid_circles": true, "max_circle_size": 50, "cache_recent_forts": true }, "pokemon_bag": { "// if 'show_at_start' is true, it will log all the pokemons in the bag (not eggs) at bot start": {}, "show_at_start": false, "// if 'show_count' is true, it will show the amount of each pokemon (minimum 1)": {}, "show_count": true, "// 'pokemon_info' parameter define which info to show for each pokemon": {}, "// the available options are": {}, "// ['cp', 'iv_ads', 'iv_pct', 'ivcp', 'ncp', 'level', 'hp', 'moveset', 'dps']": {}, "pokemon_info": ["cp", "iv_pct"] }, "walk_max": 9.16, "walk_min": 5.16, "alt_min": 500, "alt_max": 1000, "gps_default_altitude": 8.0, "replicate_gps_xy_noise": false, "replicate_gps_z_noise": false, "gps_xy_noise_range": 0.000125, "gps_z_noise_range": 12.5, "debug": false, "test": false, "health_record": true, "location_cache": true, "distance_unit": "km", "reconnecting_timeout": 15, "logging_color": true, "daily_catch_limit": 800, "catch": { "any": {"catch_above_cp": 0, "catch_above_iv": 0, "logic": "or"}, "// Example of always catching Rattata:": {}, "// Rattata": { "always_catch" : true } }, "release": { "any": {"keep_best_cp": 2}, "// Example of always releasing Rattata:": {}, "// Rattata": {"always_release": true}, "// Example of keeping 3 stronger (based on CP) Pidgey:": {}, "// Pidgey": {"keep_best_cp": 3}, "// Example of keeping 2 best (based on IV) Zubat:": {}, "// Zubat": {"keep_best_iv": 2}, "// Also, it is working with any": {}, "// any": {"keep_best_iv": 3}, "// Example of keeping the 2 strongest (based on CP) and 3 best (based on IV) Zubat:": {}, "// Zubat": {"keep_best_cp": 2, "keep_best_iv": 3}, "// Example of custom order of static criterion": {}, "// Zubat": {"keep_best_custom": "iv, cp, hp_max", "amount":2} }, "vips" : { "Any pokemon put here directly force to use Berry & Best Ball to capture, to secure the capture rate!": {}, "any": {"catch_above_cp": 1500, "catch_above_iv": 0.98, "logic": "or" }, "Lapras": {}, "Moltres": {}, "Zapdos": {}, "Articuno": {},
}`
Output when issue occurred
N/A
Other Information
OS: Win 10 Branch: Master Git Commit: f448a7728e575c1016328c02ab39e8493e983119 Python Version: Python 2.7.6