Skip to content
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

why remove all sources of sniper, it still works? #5650

Closed
desert0616 opened this issue Sep 24, 2016 · 3 comments
Closed

why remove all sources of sniper, it still works? #5650

desert0616 opened this issue Sep 24, 2016 · 3 comments

Comments

@desert0616
Copy link

desert0616 commented Sep 24, 2016

In order to config my own source, I try to remove all sources of the sniper to avoid any distraction on my debugging. But I found that even if I remove all sources of the sniper. It still works and can get some coordinates of Pokemon. Why? Does any predefined source exist?

Thanks.

@kolinkorr839
Copy link
Contributor

When I removed all the sources in the sniper config, I get this message which means sniper will not be triggered at all.

[2016-09-24 11:02:29] [    Sniper] Validating sources: ...
[2016-09-24 11:02:29] [    Sniper] There is no source available. Disabling Sniper...
...
...
[2016-09-24 11:03:14] [    Sniper] Sniper was disabled for some reason. Scroll up to find out.

@novadev94
Copy link
Contributor

@desert0616 From https://github.com/PokemonGoF/PokemonGo-Bot/blob/master/docs/configuration_files.md#sniper.

The default configuration file has mode = social which means it will use the data from social network instead of specified urls. Try changing it to mode = url and see if it works with blank url list.

@Gobberwart
Copy link
Contributor

Correct answer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants