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

Conditions to enable Sniper

Open abhinavagrawal1995 opened this issue 10 years ago • 5 comments

Short Description

Add a set of conditions similar to MoveToMapPokemon in Sniper like:

"max_sniping distance": 10000, "max__walking_distance": 500, "min_time": 60, "min_ball": 50, "prioritize_vips": true,

Also, add a minimum great ball and minimum ultra ball condition to both sniping tasks.

How it would help others

Sniping with only a few pokeballs and no greatballs to catch a dragonite would end up with the player having no balls if the pokemon doesn't vanish in time.

abhinavagrawal1995 avatar Sep 24 '16 12:09 abhinavagrawal1995

And nobody likes a player with no balls, amirite?

Gobberwart avatar Sep 24 '16 21:09 Gobberwart

One of the designer's intentions for Sniper was to keep config to a minimum which has both positive and negative impacts. MoveToMapPokemon is highly configurable, but also unwieldy and leads to confusion, so I'm not sure this is a great idea. @YvesHenri your thoughts?

Gobberwart avatar Sep 24 '16 22:09 Gobberwart

At bare minimum, at least a condition for checking number of great balls?

abhinavagrawal1995 avatar Sep 24 '16 22:09 abhinavagrawal1995

I'm in the process of putting together some code that will automatically disable ALL catching tasks when a ball-threshold is reached, for a user-configurable time period. Something like:

{
  "type": "CatchPokemonLimiter",
  "config": {
    "enabled": true,
    "min_balls": 20,
    "duration": 15
  }
}

Would basically turn off ALL catch tasks (sniper, mtmp, regular catching) for a period of 15 minutes if less than 20 balls on hand. Would automatically resume after 15 minutes... assuming more than 20 balls, which there should be after 15 minutes of looting, but you could increase that to 30 minutes, change the ball threshold etc.

Would that work for you?

Gobberwart avatar Sep 24 '16 23:09 Gobberwart

That would work even better than what I had in mind.

On Sep 25, 2016 5:10 AM, "Stuart Travers" [email protected] wrote:

I'm in the process of putting together some code that will automatically disable ALL catching tasks when a ball-threshold is reached, for a user-configurable time period. Something like:

{ "type": "CatchPokemonLimiter", "config": { "enabled": true, "min_balls": 20, "duration": 15 } }

Would basically turn off ALL catch tasks (sniper, mtmp, regular catching) for a period of 15 minutes if less than 20 balls on hand. Would automatically resume after 15 minutes... assuming more than 20 balls, which there should be after 15 minutes of looting, but you could increase that to 30 minutes, change the ball threshold etc.

Would that work for you?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/PokemonGoF/PokemonGo-Bot/issues/5655#issuecomment-249393607, or mute the thread https://github.com/notifications/unsubscribe-auth/AIN85cLCrkeeSqhmGy8E0p595f5dXb1Rks5qtbTggaJpZM4KFoLJ .

abhinavagrawal1995 avatar Sep 24 '16 23:09 abhinavagrawal1995