Make catching Pokemon faster
Expected Behavior
Catching Pokemon should be faster.
Actual Behavior
The time it takes to catch a Pokemon is very high. As a comparison, the bot from https://github.com/TomTheBotter/Pokemon-Go-Bot-Working-Hack-API catches around 14 Pokemon per minute whilst this bot only does around 3-4.
Steps to Reproduce
Changing the walk speed only speeds up the time it takes to get from one Pokestop to another but the actual Pokemon catching in between is very slow.
Other Information
OS: Ubuntu 16.04.1 LTS Git Commit: 32cefeed4760d6b5d2b3eb76d783d0f13d068e83
I think its intentionally slower to appear more human.
probably cause of #485
would rather it not catch all pokemon instantly as we try to improve humanization of the bot and not make it more robotic.
There are 2 reasons why that bot catches more :
- It walks in way bigger steps (actually does more of a teleport than walking, pretty risky)
- It checks for pokemons from lures - we should implement that, too
+1 on checking pokemons from lures!
+1 on checking pokemons from lures!
some hints: api.fort_search()
pokemon at lures ->
name='active_pokemon_id', full_name='POGOProtos.Map.Fort.FortLureInfo.active_pokemon_id'
pokemon in the wild ->
name='pokemon_id', full_name='POGOProtos.Data.PokemonData.pokemon_id'
just another data field to check, shouldnt be hard
if 'lure_info' in fort: send to worker
same way you use
for pokemon in cell['catchable_pokemons']:
Working on it now.
Implemented catching pokemon from lures : https://github.com/PokemonGoF/PokemonGo-Bot/pull/1009
Great to hear that the lure bug is being fixed!
However, my initial request was around speeding up certain actions from catching the Pokemon itself. Things like: throwing the Pokeball right away and not waiting any time between one Pokemon and the next.
I agree that this behaviour might get banned eventually by Niantic but it is not the case right now so at least an option to use this "fast capture mode" could be implemented.
Well, if someone would want to implement it, it would be very simple. All pauses use the sleep method from HumanBehaviour.
A simple check could be added there to skip the wait.
If you want to add it in your code right away, just change :
def sleep(seconds, delta=0.3):
return <-- add this
jitter = ceil(delta * seconds)
in pokemongo_bot/human_behaviour.py
This issue has been resolved.
/closed