PokemonGoF / PokemonGo-Bot

The Pokemon Go Bot, baking with community.
MIT License
3.87k stars 1.54k forks source link

Pokemonhunter max_distance #6194

Open guenterneust opened 7 years ago

guenterneust commented 7 years ago

Hello

I am having the following text in my config file: { "type": "PokemonHunter", "config": { "enabled": true, "max_distance": 200, "hunt_all": true, "hunt_vip": true, "hunt_pokedex": true, "lock_on_target": false, "lock_vip_only": true, "disabled_while_camping": false, "treat_unseen_as_vip": true } }, Yet, I'm getting the following: [2017-08-05 08:27:46] [PokemonHunter] [INFO] Moving towards target Hoothoot - 0.55km [2017-08-05 08:27:53] [PokemonHunter] [INFO] Moving towards target Hoothoot - 0.55km ... I was expecting the Pokemonhunter to only go after pokemons within 200 meters, but this suggests that it's doing otherwise. What is the meaning of max_distance?

crvfts commented 7 years ago

perhaps you need to set values to other options so they override defaults. https://github.com/PokemonGoF/PokemonGo-Bot/blob/dev/docs/configuration_files.md#pokemonhunter

guenterneust commented 7 years ago

Thank you for the interest, and the link from the other mail.I didn't knew about the page with the settings.I guess, hunt_for_trash_to_fill_bag + hunt_closest_firstwill be an good workaround for the issue. Günter

On Sunday, August 6, 2017, 12:46:18 AM GMT+3, crvfts notifications@github.com wrote:

try setting "hunt_all": false

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.