pokemon catcher interface for https://github.com/AHAAAAAAA/PokemonGo-Map#2217
pokemon catcher interface for https://github.com/AHAAAAAAA/PokemonGo-Map#2217GNSPS wants to merge 6 commits intoPokemonGoF:devfrom
Conversation
# Conflicts: # CONTRIBUTORS.md # pokemongo_bot/__init__.py # pokemongo_bot/cell_workers/__init__.py # pokemongo_bot/cell_workers/move_to_fort.py
|
Fixing the conflicts which I didn't notice but broke it all! |
|
Don't merge, rebase |
|
max_travel_time seems to be seconds. So the needed_speed is in distance_unit / seconds. |
|
Also, I think such mechanism should check pokemon cp / iv to make sure we don't run for a pokemon that we are going to release. |
|
Yes, you're right! 30 m/s was what I was using in the tests which is 108 km/h it is a bit fast but on the other hand really rare pokemons tend to spawn far away if you let the task define the needed speed you take ages to reach the desired pokemon and cannot move to forts at the same time. So it's kind of a difficult choice! |
|
Nice point! Going to add that when I can. For now let's assume you'll only use this for VIP pokemons in your config! |
|
We could configure the minimum and maximum speed. |
|
That is exactly what is coded here! The speed in the config is the minimum speed. The maximum is the 120 km/h which is tested by the pokemongo-webspoof guys! But no harm in making the max configurable too! 😄 |
|
On detail is that we do not check the speed in get_nearest_pokemon. So we might return an encounter that is not reachable. That would be good to filter out all encounter not reachable at max speed. |
|
Right! important point, I'm on it! |
|
@GNSPS please, also use a task config, like the |
|
Is this ~same as #1992 ? |
|
I thought about #1992 but that way you can't connect to an external server and this way you can |
|
@GNSPS you redid the whole work just to be able to connect to an external server? This is easy to implement there. |
|
@GNSPS also, tasks don't store state in |
|
No! I didn't see #1992, I was just saying I thought of that method and it wasn't as effective! Gonçalo Sent from my mobile,
|
|
@GNSPS it's the same, i forgot to update the description to reflect the change that it now parses the spawns from /raw_data of PokemonGo-Map ;) |
|
Ok! ;) Closing this now! |
* Add scalingo.json * Update readme : Add scalingo one click deploy
Short Description:
This PR has a whole new worker to interface with https://github.com/AHAAAAAAA/PokemonGo-Map and go after rare pokemons (specified in the configs by id) found in the map.
When it is working it stops the move_to_fort worker because the pokemons have a limited lifetime and the bot cannot run the other worker simultaneously.
Fixes: