PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

PokemonHunter spam

Open iruy opened this issue 10 years ago • 3 comments

Expected Behavior

Not spamming and catching VIPS only. How am I supposed to use this Task?

I'm not a contributor (tried once but I'm not skilled enough) and I don't want to offend anyone, but a little more effort in writing docs would be much appreciated and probably would prevent a lot of issues to be opened..

Actual Behavior

I'm trying to use PokemonHunter but it results in a lot of spam and try to catch non-vip pokemon..

[2016-09-19 09:50:16] [MainThread] New destination at 150.46 meters: Psyduck
[2016-09-19 09:50:16] [MainThread] New destination at 150.46 meters: Psyduck
[2016-09-19 09:50:16] [MainThread] New destination at 150.46 meters: Psyduck
[2016-09-19 09:50:16] [MainThread] New destination at 150.46 meters: Psyduck
[2016-09-19 09:50:16] [MainThread] New destination at 150.46 meters: Psyduck
[2016-09-19 09:50:16] [MainThread] New destination at 150.46 meters: Psyduck
[2016-09-19 09:50:16] [MainThread] New destination at 150.46 meters: Psyduck
[2016-09-19 09:50:16] [MainThread] New destination at 150.46 meters: Psyduck
[2016-09-19 09:50:16] [MainThread] New destination at 150.46 meters: Psyduck
[2016-09-19 09:50:16] [MainThread] New destination at 150.46 meters: Psyduck
[2016-09-19 09:50:16] [MainThread] New destination at 150.46 meters: Psyduck
[2016-09-19 09:50:16] [MainThread] New destination at 150.46 meters: Psyduck
[2016-09-19 09:50:16] [MainThread] New destination at 150.46 meters: Psyduck
[2016-09-19 09:50:16] [MainThread] New destination at 150.46 meters: Psyduck
[2016-09-19 09:50:16] [MainThread] New destination at 150.46 meters: Psyduck
[2016-09-19 09:50:16] [MainThread] New destination at 150.46 meters: Psyduck
[2016-09-19 09:50:16] [MainThread] New destination at 150.46 meters: Psyduck
[2016-09-19 09:50:16] [MainThread] New destination at 150.46 meters: Psyduck
[2016-09-19 09:50:16] [MainThread] New destination at 150.46 meters: Psyduck
[2016-09-19 09:50:16] [MainThread] New destination at 150.46 meters: Psyduck
[2016-09-19 09:50:16] [MainThread] New destination at 150.46 meters: Psyduck
[2016-09-19 09:50:16] [MainThread] New destination at 150.46 meters: Psyduck
[2016-09-19 09:50:16] [MainThread] New destination at 150.46 meters: Psyduck
[2016-09-19 09:50:16] [MainThread] New destination at 150.46 meters: Psyduck

Your FULL config.json (remove your username, password, gmapkey and any other private info)

{
    "websocket_server": false,
    "heartbeat_threshold": 10,
    "enable_social": false,
    "live_config_update": {
        "enabled": false,
        "tasks_only": false
    },
    "tasks": [
        {
            "type": "RandomPause",
            "config": {
                "enabled": true,
                "min_duration": "00:05:00",
                "max_duration": "00:10:00",
                "min_interval": "00:10:00",
                "max_interval": "01:00:00"
            }
        },
        {
            "type": "CompleteTutorial",
            "config": {
                "enabled": false,
                "// set a name": "",
                "nickname": ""
            }
        },
        {
            "type": "CollectLevelUpReward",
            "config": {
                "collect_reward": true,
                "level_limit": -1
            }
        },
        {
            "type": "IncubateEggs",
            "config": {
                "enabled": true,
                "infinite_longer_eggs_first": false,
                "breakable_longer_eggs_first": false,
                "min_interval": 50,
                "infinite": [2, 5, 10],
                "breakable": [2, 5, 10]
            }
        },
        {
            "type": "UpdateLiveStats",
            "config": {
                "enabled": true,
                "min_interval": 1000,
                "stats": [
                    "username",
                    "uptime",
                    "level_stats",
                    "stardust_earned",
                    "xp_earned",
                    "stops_visited",
                    "pokemon_stats"
                ],
                "terminal_log": true,
                "terminal_title": true
            }
        },
        {
            "type": "ShowBestPokemon",
            "config": {
                "enabled": true,
                "min_interval": 1000,
                "amount": 10,
                "order_by": "cp",
                "info_to_show": ["cp","ivcp","dps"]
            }
        },
        {
            "type": "TransferPokemon",
            "config": {
                "enabled": true,
                "min_free_slot": 150,
                "transfer_wait_min": 3,
                "transfer_wait_max": 5
            }
        },
        {
            "type": "RecycleItems",
            "config": {
                "enabled": true,
                "min_empty_space": 15,
                "max_balls_keep": 150,
                "max_potions_keep": 50,
                "max_berries_keep": 70,
                "max_revives_keep": 70,
                "item_filter": {
                    "Pokeball": {"keep": 80},
                    "Greatball": {"keep": 50},
                    "Ultraball": {"keep": 50},
                    "Potion": {"keep": 0},
                    "Super Potion": {"keep": 0},
                    "Hyper Potion": {"keep": 30},
                    "Revive": {"keep": 10},
                    "Razz Berry": {"keep": 20}
                },
                "recycle_wait_min": 3,
                "recycle_wait_max": 5,
                "recycle_force": true,
                "recycle_force_min": "00:01:00",
                "recycle_force_max": "00:05:00"
            }
        },
        {
            "type": "CatchPokemon",
            "config": {
                "enabled": true,
                "catch_visible_pokemon": true,
                "catch_lured_pokemon": true,
                "min_ultraball_to_keep": 5,
                "berry_threshold": 0.3,
                "vip_berry_threshold": 0.9,
                "treat_unseen_as_vip": true,
                "daily_catch_limit": 500,
                "catch_throw_parameters": {
                    "excellent_rate": 0.1,
                    "great_rate": 0.1,
                    "nice_rate": 0.3,
                    "normal_rate": 0.5,
                    "spin_success_rate": 0.6,
                    "hit_rate": 0.75
                },
                "catch_simulation": {
                    "flee_count": 3,
                    "flee_duration": 2,
                    "catch_wait_min": 3,
                    "catch_wait_max": 6,
                    "berry_wait_min": 3,
                    "berry_wait_max": 5,
                    "changeball_wait_min": 3,
                    "changeball_wait_max": 5,
                    "newtodex_wait_min": 20,
                    "newtodex_wait_max": 30
                }
            }
        },
        {
            "type": "SpinFort",
            "config": {
                "enabled": true,
                "spin_wait_min": 3,
                "spin_wait_max": 5,
                "daily_spin_limit": 700
            }
        },
        {
            "type": "PokemonHunter",
            "config": {
                "enabled": true,
                "max_distance": 1500,
                "hunt_all": false,
                "hunt_vip": true,
                "hunt_pokedex": true
            }
        },
                {
                    "type": "CampFort",
                    "config": {
                        "enabled": true,
                        "max_distance": 1500,
                        "min_forts_count": 3,
                        "min_lured_forts_count": 2,
                        "camping_time": 1800,
                        "moving_time": 600
                    }
                },
        {
            "type": "MoveToFort",
            "config": {
                "enabled": true,
                "lure_attraction": true,
                "lure_max_distance": 300,
                "ignore_item_count": true,
                "walker": "PolylineWalker",
                "log_interval": 5
            }
        }
    ],
    "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": true,
        "// if 'show_count' is true, it will show the amount of each pokemon (minimum 1)": {},
        "show_count": true,
        "// if 'show_candies' is true, it will show the amount of candies for each pokemon": {},
        "show_candies": 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", "ncp"]
    },
    "walk_max": 12.16,
    "walk_min": 8.16,
    "alt_min": 120,
    "alt_max": 125,
    "gps_default_altitude": 122.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,
    "walker_limit_output": false,
    "health_record": false,
    "location_cache": true,
    "distance_unit": "km",
    "reconnecting_timeout": 15,
    "logging": {
        "color": true,
        "show_datetime": true,
        "show_process_name": false,
        "show_log_level": false
    },
    "catch": {
        "any": {"catch_above_cp": 0, "catch_above_iv": 0, "logic": "or"}
    },
    "release": {
        "any": {
            "release_below_cp": 500, "release_below_iv": 0.7, "logic": "or", "keep_best_custom": "cp,iv", "amount": 1
        }
    },
    "vips": {
        "Any pokemon put here directly force to use Berry & Best Ball to capture, to secure the capture rate": {},
        "any": {"catch_above_cp": 1200,"catch_above_iv": 0.9,"logic": "or"},
        "Lapras": {},
        "Moltres": {},
        "Zapdos": {},
        "Articuno": {},
        "// S-Tier pokemons (if pokemon can be evolved into tier, list the representative)": {},
        "Mewtwo": {},
        "Dragonite": {},
        "Snorlax": {},
        "// Mew evolves to Mewtwo": {},
        "Mew": {},
        "Arcanine": {},
        "Vaporeon": {},
        "Gyarados": {},
        "Exeggutor": {},
        "Muk": {},
        "Weezing": {},
        "Flareon": {}
    }
}

iruy avatar Sep 19 '16 07:09 iruy

That's because currently all pokemon are being treated as vips. The issue has been solved on the dev branch.

abhinavagrawal1995 avatar Sep 19 '16 08:09 abhinavagrawal1995

I'm actually using latest dev branch, and also tried to disable "// any" as I read ti was a temporary fix for that issue, but still catchingall pokemon..

iruy avatar Sep 19 '16 08:09 iruy

Looks like disabling "hunt_pokedex": false is fixing it. Now it is reporting: [2016-09-19 10:47:42] [MainThread] There is no nearby pokemon worth hunting down [Spearow, Ekans, Rattata, Weedle]

iruy avatar Sep 19 '16 08:09 iruy