Closed dummyaja closed 8 years ago
i'm also having this issue on both master and dev branch. it doesn't give the error that it doesn't detect the map when it isn't running either
Same here.
guys, set this:
"social_enable": false
and try again
@sohje thanks, disable social_enable fix snipe problem
Snipe works but your config is broken. You need to change the value in:
"max_distance": 500"
To define the sniping range.
ISSUE
Expected Behavior
Snipe / Teleport to Pokemon position from PokemonGo-Map raw-data
Actual Behavior
Nothing happen, never saw logs for teleporting to pokemon position in map
Your FULL config.json (remove your username, password, gmapkey and any other private info)
{ "auth_service": "ptc", "username": "xxx", "password": "xxx", "location": "xxx, xxx", "favorite_locations":[ {"name": "xxx", "coords": xxx, xxx"} ], "gmapkey": "xxx", "encrypt_location": "", "websocket_server": false, "heartbeat_threshold": 10, "enable_social": true, "live_config_update": { "enabled": true, "tasks_only": false }, "tasks": [ { "//NOTE: This task MUST be placed on the top of task list": {}, "type": "RandomAlivePause", "config": { "enabled": true, "min_duration": "00:00:10", "max_duration": "00:10:00", "min_interval": "00:05:00", "max_interval": "01:30:00" } }, { "type": "HandleSoftBan" }, { "type": "RandomPause", "config": { "enabled": true, "min_duration": "00:00:10", "max_duration": "00:10:00", "min_interval": "00:10:00", "max_interval": "02:00:00" } }, { "type": "CompleteTutorial", "config": { "enabled": true, "// set a name": "", "nickname": "botblaz1" } }, { "type": "CollectLevelUpReward", "config": { "collect_reward": true, "level_limit": -1 } }, { "type": "IncubateEggs", "config": { "enabled": true, "longer_eggs_first": true, "min_interval": 120, "infinite": [2,5,10], "breakable": [2,5,10] } }, { "type": "UpdateLiveStats", "config": { "enabled": true, "min_interval": 23, "stats": ["username", "uptime", "stardust_earned", "xp_earned", "xp_per_hour", "level"], "terminal_log": true, "terminal_title": true } }, { "type": "UpdateLiveInventory", "config": { "enabled": true, "min_interval": 124, "show_all_multiple_lines": false, "items": ["pokemon_bag", "space_info", "pokeballs", "greatballs", "ultraballs", "razzberries", "luckyegg"] } }, { "type": "ShowBestPokemon", "config": { "enabled": true, "min_interval": 65, "amount": 5, "order_by": "cp", "info_to_show": ["cp", "ivcp", "dps", "hp"] } }, { "type": "TransferPokemon", "config": { "enabled": true, "min_free_slot": 999, "transfer_wait_min": 3, "transfer_wait_max": 5 } }, { "type": "NicknamePokemon", "config": { "enabled": true, "nickname_above_iv": 0.7, "nicknametemplate": "{name}{ivcp_pct2}" } }, { "type": "EvolvePokemon", "config": { "enabled": true, "evolve_all": "all", "first_evolve_by": "cp", "evolve_above_cp": 1600, "evolve_above_iv": 0.99, "logic": "and", "min_evolve_speed": 25, "max_evolve_speed": 30, "use_lucky_egg": true } }, { "type": "RecycleItems", "config": { "enabled": true, "min_empty_space": 15, "max_balls_keep": 150, "max_potions_keep": 50, "max_berries_keep": 70, "max_revives_keep": 70, "item_filter": { "Pokeball": {"keep": 60}, "Greatball": {"keep": 60}, "Ultraball": {"keep": 60}, "Masterball": {"keep": 60}, "Potion": {"keep": 20}, "Super Potion": {"keep": 20}, "Hyper Potion": {"keep": 20}, "Revive": {"keep": 10}, "Razz Berry": {"keep": 40}, "Bluk Berry": {"keep": 20}, "Nanab Berry": {"keep": 20}, "Wepar Berry": {"keep": 20}, "Pinap Berry": {"keep": 20} }, "recycle_wait_min": 3, "recycle_wait_max": 5, "recycle_force": true, "recycle_force_min": "00:01:00", "recycle_force_max": "00:05:00" } }, { "type": "CatchPokemon", "config": { "enabled": true, "catch_visible_pokemon": true, "catch_lured_pokemon": true, "min_ultraball_to_keep": 5, "berry_threshold": 0.35, "vip_berry_threshold": 0.9, "treat_unseen_as_vip": true, "catch_throw_parameters": { "excellent_rate": 0.1, "great_rate": 0.5, "nice_rate": 0.3, "normal_rate": 0.1, "spin_success_rate" : 0.6, "hit_rate": 0.75 }, "catch_simulation": { "flee_count": 3, "flee_duration": 2, "catch_wait_min": 3, "catch_wait_max": 6, "berry_wait_min": 3, "berry_wait_max": 5, "changeball_wait_min": 3, "changeball_wait_max": 5, "newtodex_wait_min": 20, "newtodex_wait_max": 30 } } }, { "type": "SpinFort", "config": { "enabled": true, "spin_wait_min": 3, "spin_wait_max": 5 } }, { "type": "UpdateWebInventory", "config": { "enabled": true } }, { "type": "MoveToMapPokemon", "config": { "enabled": true, "address": "http://localhost:5000", "max_distance": 500, "min_ball": 50, "prioritize_vips": true, "snipe": true, "snipe_high_prio_only": true, "snipe_high_prio_threshold": 300, "update_map": true, "mode": "priority", "map_path": "raw_data", "walker": "StepWalker", "max_extra_dist_fort": 10, "catch": { "==========Legendaries==========": 0, "Aerodactyl": 1000, "Snorlax": 1000, "Articuno": 1000, "Zapdos": 1000, "Moltres": 1000, "Dratini": 1000, "Dragonair": 1000, "Dragonite": 1000, "Mewtwo": 1000, "Mew": 1000,
}
Output when issue occurred
none
Steps to Reproduce
Other Information
OS: Ubuntu 16.04
Branch: Master Git Commit: ed095936e8fb2bdb7442c9966630664f0cb739ea Python Version: Python 2.7.12