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

Sniper teleporting to wrong pokemon #5710

Closed
iruy opened this issue Sep 27, 2016 · 2 comments
Closed

Sniper teleporting to wrong pokemon #5710

iruy opened this issue Sep 27, 2016 · 2 comments

Comments

@iruy
Copy link

iruy commented Sep 27, 2016

Expected Behavior

Teleport to pokemon in catch list only.
Is it possible to enable TWO sources? Is this a correct config?

Actual Behavior

Teleporting to almost any pokemon,

[2016-09-27 10:06:49] [MainThread] Teleporting to meet Nidorino (25.1416255549; 121.499572646)...
[2016-09-27 10:06:52] [MainThread] Yay! There really is a wild Nidorino nearby!
[2016-09-27 10:06:52] [MainThread] Teleporting back to the old position (45.4538804302; 9.14844031967)...
[2016-09-27 10:06:55] [MainThread] A wild Nidorino appeared! (CP: 367 IV: 0.67 A/D/S 11/7/12 NCP: 0.27)
[2016-09-27 10:06:58] [MainThread] This is a VIP pokemon. Catch!!!
[2016-09-27 10:07:07] [MainThread] OK throw! Used Greatball, with chance 33.31 (14 left)
[2016-09-27 10:07:07] [MainThread] Nidorino capture failed.. trying again!
[2016-09-27 10:07:20] [MainThread] Great Curveball throw! Used Greatball, with chance 33.31 (13 left)
[2016-09-27 10:07:20] [MainThread] Captured Nidorino! (CP: 367 IV: 0.67 11/7/12 NCP: 0.27) Catch Limit: (24/500) +660 exp +100 stardust

Your FULL config.json (remove your username, password, gmapkey and any other private info)

        {
            "type": "Sniper",
            "config": {
                "enabled": true,
                "mode": "social",
                "bullets": 1,
                "homing_shots": true,
                "special_iv": 100,
                "order": ["missing", "vip", "priority"],
                "sources": [
                    {
                        "enabled": false,
                        "url": "http://localhost:5000/raw_data",
                        "timeout": 3,
                        "key": "pokemons",
                        "mappings": {
                            "id": {"param": "pokemon_id"},
                            "name": {"param": "pokemon_name"},
                            "latitude": {"param": "latitude"},
                            "longitude": {"param": "longitude"},
                            "expiration": {"param": "disappear_time", "format": "milliseconds"}
                        }
                    },
                    {
                        "enabled": true,
                        "url": "https://pokewatchers.com/grab/",
                        "timeout": 10,
                        "mappings": {
                            "iv": {"param": "iv"},
                            "id": {"param": "pid"},
                            "name": {"param": "pokemon"},
                            "latitude": {"param": "cords"},
                            "longitude": {"param": "cords"},
                            "expiration": {"param": "timeend", "format": "milliseconds"}
                        }
                    },
                    {
                        "enabled": true,
                        "url": "http://pokesnipers.com/api/v1/pokemon.json",
                        "timeout": 10,
                        "key": "results",
                        "mappings": {
                            "iv": {"param": "iv"},
                            "name": {"param": "name"},
                            "latitude": {"param": "coords"},
                            "longitude": {"param": "coords"},
                            "expiration": {"param": "until", "format": "utc"}
                        }
                    }
                ],
                "catch": {
                    "Snorlax": 1000,
                    "Lapras": 1000,
                    "Moltres": 1000,
                    "Zapdos": 1000,
                    "Articuno": 1000,
                    "Aerodactyl": 1000,
                    "Farfetchd": 1000,
                    "Gyarados": 1000,
                    "Venusaur": 1000,
                    "Blastoise": 1000,
                    "Charizard": 1000,
                    "Mew": 1000,
                    "Mewtwo": 1000,
                    "Tauros": 1000,
                    "Kangaskhan": 1000,
                    "Dragonite": 1000,
                    "Arcanine": 1000,
                    "Golem": 1000,
                    "Nidoqueen":800,
                    "Nidoking":800,
                    "Dragonair":800,
                    "Growlithe": 800,
                    "Vaporeon": 800,
                    "Jolteon": 800,
                    "Flareon": 800,
                    "Primeape": 800,
                    "Haunter": 800,
                    "Dratini": 500,
                    "Clefable": 500,
                    "Hitmonlee": 500,
                    "Machamp": 500,
                    "Chansey": 500
                }
            }
        }
        },
    ......
    ........
    "vips": {
        "Any pokemon put here directly force to use Berry & Best Ball to capture, to secure the capture rate": {},
        "any": {"catch_above_cp": 1000, "catch_above_iv": 0.8, "logic": "or"},
        "Lapras": {},
        "Moltres": {},
        "Zapdos": {},
        "Articuno": {},
        "Mewtwo": {},
        "Dratini": {},
        "Dragonair": {},
        "Dragonite": {},
        "Snorlax": {},
        "Mew": {},
        "Growlithe": {},
        "Arcanine": {},
        "Vaporeon": {},
        "Gyarados": {},
        "Exeggutor": {},
        "Muk": {},
        "Weezing": {},
        "Ponyta": {},
        "Rapidash": {},
        "Bulbasaur": {},
        "Ivysaur": {},
        "Venusaur": {},
        "Squirtle": {},
        "Wartortle": {},
        "Blastoise": {},
        "Charmander": {},
        "Charmeleon": {},
        "Charizard": {}
    }
@iruy iruy changed the title Sniper catching wrong pokemon Sniper teleporting to wrong pokemon Sep 27, 2016
@Gobberwart
Copy link
Contributor

What's in the rest of your config file... in particular your vip list. Sniper will automatically add your vips to its catch list.

@iruy
Copy link
Author

iruy commented Sep 27, 2016

Actually Nidorino was an unknown pokemon, so the bot teleported to it. All running correctly then. Closed

@iruy iruy closed this as completed Sep 27, 2016
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

2 participants