Closed evilness9999 closed 8 years ago
I can confirm I have similar issue where the web UI stop updating the position.
Usually after a "RandomAlivePause" with a "NotLoggedInException" like the one below.
File "pokecli.py", line 530, in main() File "pokecli.py", line 138, in main report_summary(bot) File "pokecli.py", line 147, in report_summary metrics.capture_stats() File "/home/raviss_e/PokemonGo-Bot/pokemongo_bot/metrics.py", line 76, in capture_stats response_dict = request.call() File "/home/raviss_e/PokemonGo-Bot/pokemongo_bot/api_wrapper.py", line 90, in call if not self.can_call(): File "/home/raviss_e/PokemonGo-Bot/pokemongo_bot/api_wrapper.py", line 58, in can_call raise NotLoggedInException() pgoapi.exceptions.NotLoggedInException
The simpleHTTPServer will only show "inventory" request but not "location" or "catchable" request.
Expected Behavior
view pokemongo-bot web ui with docker running windows 10
Actual Behavior
config.json
{ "auth_service": "", "username": "", "password": "", "location": "", "gmapkey": "", "encrypt_location": "", "websocket_server": false, "heartbeat_threshold": 10, "enable_social": true, "tasks": [ { "//NOTE: This task MUST be placed on the top of task list": {}, "type": "RandomAlivePause", "config": { "enabled": false, "min_duration": "00:00:10", "max_duration": "00:10:00", "min_interval": "00:05:00", "max_interval": "01:30:00" } }, { "type": "HandleSoftBan" }, { "type": "SleepSchedule", "config": { "enabled": false, "time": "22:54", "duration":"7:46", "time_random_offset": "00:24", "duration_random_offset": "00:43", "wake_up_at_location": "" } }, { "type": "RandomPause", "config": { "enabled": false, "min_duration": "00:00:10", "max_duration": "00:10:00", "min_interval": "00:10:00", "max_interval": "02:00:00" } }, { "type": "CompleteTutorial", "config": { "enabled": false, "// set a name": "", "nickname": "" } }, { "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": false, "min_interval": 10, "stats": ["username", "uptime", "stardust_earned", "xp_earned", "xp_per_hour", "stops_visited"], "terminal_log": true, "terminal_title": true } }, { "type": "UpdateLiveInventory", "config": { "enabled": false, "min_interval": 120, "show_all_multiple_lines": false, "items": ["pokemon_bag", "space_info", "pokeballs", "greatballs", "ultraballs", "razzberries", "luckyegg"] } }, { "type": "TransferPokemon", "config": { "enabled": true, "min_free_slot": 5, "transfer_wait_min": 3, "transfer_wait_max": 5 } }, { "type": "NicknamePokemon", "config": { "enabled": false, "nickname_above_iv": 0.9, "nickname_template": "{ivpct}{iv_ads}" } }, { "type": "EvolvePokemon", "config": { "enabled": false, "evolve_all": "none", "first_evolve_by": "cp", "evolve_above_cp": 1000, "evolve_above_iv": 0.98, "logic": "or", "min_evolve_speed": 25, "max_evolve_speed": 30, "use_lucky_egg": false } }, { "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" : 5 }, "Greatball": { "keep" : 25}, "Ultraball": { "keep" : 120}, "Masterball": { "keep" : 10}, "Potion": { "keep" : 0 }, "Super Potion": { "keep" : 0 }, "Hyper Potion": { "keep" : 40 }, "Max Potion": { "keep" : 0 }, "Revive": { "keep" : 30 }, "Max Revive": { "keep" : 0 }, "Razz Berry": { "keep" : 100 } }, "recycle_wait_min": 3, "recycle_wait_max": 5 } }, { "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 } } }, { "type": "SpinFort", "config": { "enabled": true, "spin_wait_min": 3, "spin_wait_max": 5 } }, { "type": "MoveToMapPokemon", "config": { "enabled": true, "address": "http://192.168.99.100:8000", "max_distance": 500, "min_ball": 50, "prioritize_vips": true, "snipe": true, "snipe_high_prio_only": true, "snipe_high_prio_threshold": 400, "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,
}
Steps to Reproduce
run the PokemonGo-Bot-Start.bat
Other Information
OS: Windows 10 Anniversary Update
Branch: dev
Git Commit: Fatal: not a git repository (or any of the parent directories): .git
Python Version: 2.7.12
Any other relevant files/configs (eg: path files) windows 10 sux so does docker =/