PokemonGoBot icon indicating copy to clipboard operation
PokemonGoBot copied to clipboard

Randomly miss a throw every so often.

Open wartickler opened this issue 10 years ago • 2 comments

I understand that the code throws perfect curve balls to the dead center every time. That's cool, though I sometimes mess those up and end up throwing a straight that misses. Sometimes I even miss straight throws when I play on the client. Shouldn't I miss here too? Maybe make a small, random margin of error in each toss that might miss to the top, left, bottom, or right every so often?

wartickler avatar Jul 22 '16 14:07 wartickler

The API already does some randomization by itself. You can easily replace this line with whatever margin you like.

I'm more worried about the timing between encounters though. Catching a couple of pokemon within seconds seems like a good way to get banned. (edit: ah, #59 seems to address that issue)

daveystruijk avatar Jul 22 '16 14:07 daveystruijk

Implemented some time ago with the desired catch rate thing.

jabbink avatar Aug 03 '16 09:08 jabbink