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

Poke hunter lockon #5902

Merged
merged 4 commits into from
Feb 7, 2017
Merged

Conversation

davidakachaos
Copy link
Contributor

Short Description:

In a Pokemon littered place (London, or where ever) the Pokemon Hunter sometimes doesn't get to a needed Pokemon, because there are all kind of trash pokemon (compaired to the missing one you're hunting) and the bot will catch those first.

Normally this isn't a problem. But because hunting is safer then sniping (no teleporting, just walking to a Pokemon) and I hope to catch those rares better.

Default setting is false (don't "Lock on") and when enabled the bot will notify you when skipping a Pokemon because of the lock on 😄

@mention-bot
Copy link

@davidakachaos, thanks for your PR! By analyzing the history of the files in this pull request, we identified @mjmadsen, @Quantra and @rawgni to be potential reviewers.

@solderzzc
Copy link
Contributor

solderzzc commented Feb 7, 2017

👍

Approved with PullApprove

@solderzzc solderzzc merged commit a03ad63 into PokemonGoF:dev Feb 7, 2017
@atxfun
Copy link
Contributor

atxfun commented Feb 7, 2017

I just updated my working bot and now I'm getting this error message:
AttributeError: 'PokemonGoBot' object has no attribute 'hunter_locked_target'

@leefwang
Copy link

leefwang commented Feb 7, 2017

I got this message, too.

[2017-02-07 15:16:31] [sentry.errors.uncaught] [ERROR] [u"AttributeError: 'PokemonGoBot' object has no attribute 'hunter_locked_target'", u' File "pokecli.py", line 865, in ', u' File "pokecli.py", line 206, in main', u' File "pokemongo_bot/init.py", line 778, in tick', u' File "pokemongo_bot/cell_workers/catch_pokemon.py", line 55, in work']

@davidakachaos
Copy link
Contributor Author

I'm sorry you're encountering this error message. Can one of you supply your config (pastebin) so I can troubleshoot this error?
I think it has to do with the order of the tasks (shouldn't be a problem, but maybe it is.)

@alandeguz
Copy link

alandeguz commented Feb 7, 2017

Here's a pastebin for my config. It's just a tweak and cleanup from config.json.example. I am also getting the reported error. I switched my local copy to the previous working commit 7c2722d.

@davidakachaos
Copy link
Contributor Author

Just like I thought; the solution is in #5904 Hope it will get merged soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants