Open navijo opened 7 years ago
Try a conf like this,
"enabled": true,
"url": "http://pokewatchers.com/grab/",
"timeout": 15,
"key": "",
"mappings": {
"id": { "param": "pid" },
"name": { "param": "pokemon" },
"latitude": { "param": "cords" },
"longitude": { "param": "cords" }
}
I retrieve pokemons, but none appear at given coordinates...
Hi! If I ommit the "expiration": { "param": "timeend", "format": "milliseconds" }}, it happens also to me that when teleporting, no pokemon is there.
With this other configuration, no pokemon is detected for snipping but the url returns results.
{
"enabled": true,
"url": "http://pokewatchers.com/grab/",
"timeout": 15,
"key": "",
"mappings": {
"iv": { "param": "iv" },
"id": { "param": "pid" },
"name": { "param": "pokemon" },
"latitude": { "param": "cords" },
"longitude": { "param": "cords" },
"expiration": { "param": "timeend", "format": "milliseconds" }
}
}
What could be happening?
@navijo Niantic has increase the timing before any Pokemon can be seen after teleport. Can take up to a few mins thus rendering sniping useless. Pokemon will not be seen and pokestop will also not be usable once teleported back to original location.
@MerlionRock This might not be true. I'm sniping quite happily here.
[2016-11-18 21:47:46] [MainThread] [MoveToFort] [INFO] Moving towards pokestop Red White Chairs - 0.22km [2016-11-18 21:47:52] [MainThread] [ Sniper] [INFO] Teleporting to meet Doduo (-33.4466452538; -70.6457053778)... [2016-11-18 21:47:55] [MainThread] [ Sniper] [INFO] Yay! There really is a wild Doduo nearby! [2016-11-18 21:47:56] [MainThread] [ Sniper] [INFO] Teleporting back to the old position (3.16559229955; 101.605817983)... [2016-11-18 21:47:59] [MainThread] [PokemonCatchWorker] [INFO] A wild Doduo appeared! (CP: 420 IV: 0.6 A/D/S 10/4/13 NCP: 0.49) [2016-11-18 21:48:04] [MainThread] [PokemonCatchWorker] [INFO] Threw a Razz Berry! Catch rate with Pokeball is now: 51.52 [2016-11-18 21:48:09] [MainThread] [PokemonCatchWorker] [INFO] Great Curveball throw! Used Pokeball, with chance 51.52 (5 left)
@breakawayt Interesting ! Which source do you use ? Do you mind sharing your Sniper task configuration ?
Sure do. This is my "MoveToMapPokemon" and "Sniper" tasks: pogobot_sniper.pdf *uploading in PDF to try to preserve the indentation as much as possible.
I'm basically adapting my config.json file from the template of "~/PokemonGo-Bot/configs/config.json.map.example".
**Unfortunately the sniping exercise doesn't get me Dragonite/Snorlax/Gyarados.. etc. Still not WOW enough to show-off to my cute nephew yet.
Hope this helps.
Thanks! And if you disable your MoveToMapPokemon task, did you still Snipe ? (you could add a debug parameter, like :
"enabled": true,
"debug": true,
"mode": "url",
in your Sniper config to add some trace)
@GhosterBot Yeap, it failed with the changes you've proposed: Disable "MoveToMapPokemon" task, and changing "Sniper" task with the 3x directives.
Output are as follow:
[2016-11-19 07:27:35] [MainThread] [RandomAlivePause] [INFO] Next random alive pause at 08:31:51, for a duration of 0:06:12 [2016-11-19 07:27:35] [MainThread] [RecycleItems] [INFO] Next forced item recycle at 07:30:28 [2016-11-19 07:27:35] [MainThread] [ Sniper] [INFO] Validating sources: http://localhost:5000/raw_data, http://pokewatchers.com/grab/, http://pokesnipers.com/api/v1/pokemon.json... [2016-11-19 07:27:35] [MainThread] [ Sniper] [INFO] Source 'http://localhost:5000/raw_data' contains errors. Details: Source not available. Removing from sources list... [2016-11-19 07:27:35] [MainThread] [ Sniper] [INFO] Source 'http://pokewatchers.com/grab/' contains errors. Details: Empty reply. Removing from sources list... [2016-11-19 07:27:36] [MainThread] [ Sniper] [INFO] Source 'http://pokesnipers.com/api/v1/pokemon.json' contains errors. Details: Empty reply. Removing from sources list... [2016-11-19 07:27:36] [MainThread] [ Sniper] [INFO] There is no source available. Disabling Sniper... [2016-11-19 07:27:38] [MainThread] [pokemongo_bot.health_record.bot_event] [INFO] Health check is enabled. For more information: [2016-11-19 07:27:38] [MainThread] [pokemongo_bot.health_record.bot_event] [INFO] https://github.com/PokemonGoF/PokemonGo-Bot/tree/dev#analytics
Also, @GhosterBot , this might not reflect the complete picture.
The URL "http://pokewatchers.com/grab/" is currently down:
I remember pokewatchers site did return a long list of result yesterday (around 24hrs ago) as i'm going through their return list to look for Dragonite.
I've noticed that https://pokewatchers.com/grab/ is not longer working, but changing the URL to a non secure one: http://pokewatchers.com/grab/, it return results. Nonetheless, the bot fails with the following error:
[2016-11-16 12:49:19] [MainThread] [ Sniper] [INFO] Could not fetch data from 'http://pokewatchers.com/grab/'. Details: Could not find pokemon named Missingn o. Skipping...