-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Public Sniping List Integration #3672
Comments
won't you get softbanned for teleporting? |
When I was looking at doing this I felt it wasn't possible with the current sniping code. To make the encounter_api_call we need the encounter_id and either fort_id or spawnpoint_id. I looked at http://pokesnipers.com/api/v1/pokemon.json and they don't provide this. To get it I think we need to change the code to teleport then request map objects so we can get those ids. I can't say for sure but I think this will be seen as teleporting and therefore softban. I'd love to be proven wrong. For reference
@solderzzc might have a better insight? EDIT: http://haxton.io/api/pokemon does provide the required data =D |
Snipping doesn't 'cause a soft ban. You teleport to wherever the pokemon is, start the encounter, then teleport back and catch. It's easily done through Android emulators manually. |
can we just use this url and use pokemongo-map to encounter it, after that we can snipe it. i'm always using it like that, first i see coordinate in pokesniper, i entered it in pokemongo-map web location interface, and wait for encounter after that the bot try catch it. |
pretty much what I am doing is having pogm , go to a new location imported from sniping API's long/lats then PokemonGo-Bot see's them and snipes them alternatively , import locations into the sql database that pogm uses ? |
so i saw on dev chat the other day someone mentioning Pokesnipers.com providing a json feed api, and i wrote up this https://gist.github.com/nearalias/1c7b7d82a8897fa59e1cc0d3c8908745 to use for myself. however it seems kinda of buggy sometimes, and i'm not sure if it's due to teleporting mechanics incorrectly implemented, niantic ip banning, or just Pokesnipers feed being inaccurate. but feel free to build from this if it helps. |
@nearalias itry use your code but have errors, I thinks errors about 'EventNotRegisteredException: Event use_pokesnipers not registered...' |
I think you can stop building this feature... Permanent Bans are active now and may be agains Sniping. I was running two bot, in the same area. Both with "MoveToMapPokemon" one was on sniping mode and this account got a Permanent Ban the other still work. #3724 |
@DimaVIII That's a bit short-sighted just to say "stop building they have perma banned people" |
@k4n30 I just hit up google for a hour and find lots of reports that confirm my observation. One of the trigger is teleporting. |
doesn't mean they won't find a new pattern or a new way to achieve the same outcome |
I was sniping in a 4km range and this feature will snipe around the world. So there is for sure no way to get around this ban. The server saves the location of caught pokemons and if you caught one in NYC and 2 min later one in Hong Kong... |
I wasn't sniping last night... still got the 2 accounts I was running banned. So please write this feature. :) |
@TheSavior where's this awesome feature implementation you promised us? :p |
Based on the recent ban waves and the riskiness of sniping in general, I don't think I'm going to be building this. If someone else feels the urge, feel free. |
@k4n30 @TheSavior would you say we meet this with our social feature? |
I'd say no, but I'm also kind of with what TheSaviour has said about sniping in general - Will allow him to make final decision |
I think sniping should be a manual thing. You run out of poke balls really really fast if you automate it. |
|
https://github.com/5andr0/PogoLocationFeeder |
I bring good news. I made a PR (see above) which covers pretty much this issue. I've also adapted the above PogoLocationFeeder mentioned by @oralunal to work with our bot (see my github). Perhaps some of you could give some thoughts on the PR to convince @solderzzc and someone that always used walking sniper (he thinks its safer). There are always improvements to be done (increase flexibility) so all help are appreciated. |
Utilizing Sniping Lists
There are a bunch of services right now that provide lists of pokemon that are live, and snipeable. Examples include:
We want to be able to allow our bots to support sniping from these lists. Each site has a different way to read data from their api.
Requirements for a valid solution:
Solution:
Example Configuration
I imagine the configuration for this task to be something like this:
Providers
In this solution I will use the term
Provider
to mean a python class that provides the data from a single source.There will be a
SnipingProviderBase
class that providers can implement. Here is a sample implementation:And then for an idea of what the
SnipePokemon
task might look something like this:I imagine a real solution would be more complicated to have more caching and not need to make a request to the provider on every tick. Since we will have a list of pokemon waiting for us that just needs to be refreshed.
Keeping track of what has already been caught
If each provider is returning a list of the pokemon that match the configuration, and we cache that list so we don't make a request every tick, then when we catch pokemon, we need to be able to make sure we ignore the pokemon we have already caught. We can do this by having the
SnipingTask
keep a list of the pokemon it has already caught. On every tick we will remove from that list every pokemon that would no longer be visible. Then, when we get the lists from all of the providers, we can remove all of the ones in our already_caught list. This means we need some unique ID per sighting. If there is no unique ID provided by the api, we can create a hash of the object.Plugins
We currently support plugins for tasks, and anything we do for sniping providers should work with that same base.
By specifying in the config as an array of class names of providers, the SnipingTask can work very similarly to the way we create the list of tasks.
Future Directions
By making it possible to create sniping providers as plugins, and as easily configurable as our bot currently is, I could imagine a significant amount of the projects on the web that work to gather pokemon data actually being able to be built on top of this. Imagine this configuration:
With no other configuration, the bot would do nothing except walk in a spiral and report the pokemon it finds to the configured server. Neat!
The text was updated successfully, but these errors were encountered: