Open camnomis opened 7 years ago
i never ever see that message in bot
Sometimes the bot gets stuck on its way to a Pokestop as reported in #6065 this message is an attempt to fix those problems and was introduced in #6092 is the bot not moving at all, or does it just skip the stop?
The bot seems to be moving, buddy still walked, eggs still incubated, but skips the stops and moves to the next
I have the same problem that it just "freezes" into moving to a pokestop after some time. MoveToFort just gets stuck.
@camnomis that's the intended behaviour 😄
@goedzo do you still have that problem a lot while using the latest dev?
@davidakachaos that good to know, however what causes the behaviour? Do we know what causes the Pokestop's to not spin, or more importantly is/could this be a flag for Niantic to suspect 3rd party usage?
This isn't caused by not spinning the Pokestop, it's a problem somewhere in the walker that makes it confused about moving to the Pokestop in question. Polyline sometimes has the problem a stop isn't reachable from the road (according to Google Maps) I admit, this is just a bandage and doesn't solve the real problem. I don't know why the Walkers sometimes have problems moving toward a stop. And most other times it seems to work fine, that is why I created this solution; skip the stop for 5 minutes and move on.
Yep. Had it yesterday evening on two accounts.
I'm getting the same error and on top of that sometimes it starts towards a pokestop or a gym and then starts towards another and never goes to either.
[2017-07-20 18:24:45] Moving towards pokestop Roland Gibson Gallery - 130.84m
[2017-07-20 18:25:14] Moving towards pokestop The Reader - 89.24m
[2017-07-20 18:25:31] Moving towards pokestop Outdoor Class - 91.77m
[2017-07-20 18:25:33] Evolvable: 0/0
[2017-07-20 18:25:40] Moving towards pokestop Outdoor Class - 75.33m
[2017-07-20 18:25:45] Moving towards pokestop Golas Memorial - 108.27m
[2017-07-20 18:25:47] Having difficulty walking to Golas Memorial
[2017-07-20 18:26:19] Moving towards pokestop Satterlee Hall - 60.62m
[2017-07-20 18:26:24] Moving towards pokestop Zodiac wall - 124.53m
I swapped in an older version of move_to_fort.py and I no longer experience the issue! Not sure which commit this is from but here's the move_to_fort.py i'm using that's working fine. I am 100% sure that it is unmodified from when originally cloned. https://pastebin.com/xDKrydS5 .
Actually, it stopped working after 15 minutes.... maybe the issue isn't with the walker it self but elsewhere... ??
Are you all in dense area with lots of pokestops?
here is my config, i dont have any issue:
@MerlionRock in my play area there are about 20 stops and 5 gyms. In my instance, only 2 stops can be reached simultaneously, all others require walking of ~10-15 meters. I have noted that at times my bot will actually pursue a fort that is further away than the one it was previously walking to.
This looks like the issue. It's running in circles. Ps. This is the new web-ui on moble.
Having difficulty walking to Laddermen Memorial. Changing walker.
First time on me when i changed StepWalker to PolylineWalker
@Jcolomar it's okay. Polyline Walker follows path, but some gyms and pokestop won't have path leading to them, so changing Walker is appropriate
It seems that I have this:
{
"type": "MoveToFort",
"config": {
"enabled": true,
"lure_attraction": true,
"lure_max_distance": 2000,
"walker": "PolylineWalker",
"log_interval": 60
}
},
So maybe that is why it cannog make it,. Howevel polyline is the safest, because it follows real roads. So what to do here? I would like to keep it.
I'm also having this problem, on different systems (ubuntu and raspbian), and on all my accounts. I normally bot in my hometown, but I also used it when I was on holidays at the holiday resort, about four weeks ago, when I first stumbled into this (back then there was no "Having difficulty walking to XXXX", but the bot was not getting to the pokestop). It is happening with both StepWalker and PolylineWalker. I got the bot to not be stuck forever by adding Campfort to the config file, so after some time the bot enters into Campfort mode and moves away, but this makes the bot quite ineffective. The bot seems not to move when stuck, except for the simulated GPS noise. Since this message has been added, the bot changes its target making it difficult to be observed. The output in such a situation is: [2017-07-23 19:08:21] [MoveToFort] [INFO] Moving towards pokestop Salacz Gyula - 0.09km [2017-07-23 19:08:24] [MoveToFort] [INFO] Having difficulty walking to Salacz Gyula. Changing walker. [2017-07-23 19:08:34] [MoveToFort] [INFO] Having difficulty walking to Salacz Gyula [2017-07-23 19:08:36] [MoveToFort] [INFO] Moving towards pokestop Cinema Arta - 0.14km [2017-07-23 19:08:41] [MoveToFort] [INFO] Having difficulty walking to Cinema Arta. Changing walker. [2017-07-23 19:08:49] [MoveToFort] [INFO] Having difficulty walking to Cinema Arta [2017-07-23 19:08:59] [MoveToFort] [INFO] Moving towards pokestop Universitatea De Vest Vasile Goldis - 0.14km [2017-07-23 19:09:04] [MoveToFort] [INFO] Having difficulty walking to Universitatea De Vest Vasile Goldis. Changing walker. [2017-07-23 19:09:14] [MoveToFort] [INFO] Moving towards pokestop Universitatea De Vest Vasile Goldis - 0.14km
The hunter is having the same problem, it gets stuck for some time without being able to approach it's target, but it appears to get able to move again after a few minutes.
I'm wondering... Will setting the noise to off help us?
"replicate_gps_xy_noise": false,
"replicate_gps_z_noise": true,
"gps_xy_noise_range": 1.01E-4,
"gps_z_noise_range": 7.5,
So, disable the replicate_gps_xy_noise thingie, does that help anyone else? It seems to reduce the number of times this happens to me (not sure why)
i got this values if wanna check on ur setup:
"replicate_gps_xy_noise": false, "replicate_gps_z_noise": false, "gps_xy_noise_range": 0.000010, "gps_z_noise_range": 0.5,
Please check if the recent fix does the trick
Hi As far as I can see, the bot is still sometimes changing it's destination pokestop one after the other sometimes complainig about having difficulties getting there. As I have Pokehunter and Campfort in the config, the bot is not often doing movetofort, and therefore I'm not seening this issue very often. Günter
On Thu Jul 27 2017 17:19:20 GMT+0300 (EEST), ChiefM3 notifications@github.com wrote:
Please check if the recent fix does the trick
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
This function
self.bot.get_forts(order_by_distance=True)
seams to return empty list for many of its attemps for me.
i removed line
forts = filter(lambda x: 'closed' not in fort, forts)
from pokemongo_bot/init.py line 1646 No idea what it does but everything works better now
Expected Behavior
When walking to next Pokestop the bot should spin the stop
Actual Behavior
Stop does not spin, message in log shows "Having difficulty walking to XXXX", bot continues to walk buddy and incubate eggs
Your FULL config.json (remove your username, password, gmapkey and any other private info)
{ "websocket_server": false, "heartbeat_threshold": 10, "enable_social": true, "check_niantic_api": true, "solve_captcha": false, "live_config_update": { "enabled": false, "tasks_only": false }, "tasks": [ { "type": "TelegramTask", "config": { "enabled": false, "master": null, "password": null, "// old syntax, still supported: alert_catch": [ "all" ], "// new syntax:": {}, "alert_catch": { "all": { "operator": "and", "cp": 1300, "iv": 0.95 }, "Snorlax": { "operator": "or", "cp": 900, "iv": 0.9 } } } }, { "type": "DiscordTask", "config": { "enabled": false, "master": null, "// old syntax, still supported: alert_catch": [ "all" ], "// new syntax:": {}, "alert_catch": { "all": { "operator": "and", "cp": 1300, "iv": 0.95 }, "Snorlax": { "operator": "or", "cp": 900, "iv": 0.9 } } } }, { "//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": "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": "", "// 0 = No Team, 1 = Blue, 2 = Red, 3 = Yellow": "", "team": 2 } }, { "type": "CollectLevelUpReward", "config": { "collect_reward": true, "level_limit": -1 } }, { "type": "BuddyPokemon", "config": { "enabled": true, "buddy_list": "dratini, larvitar, chansey, heracross, snorlax, lapras, rhyhorn", "best_in_family": true, "// candy_limit = 0 means no limit, so it will never change current buddy": {}, "candy_limit": 25, "candy_limit_absolute": 0, "// force_first_change = true will always change buddy at start removing current one": {}, "force_first_change": false, "buddy_change_wait_min": 3, "buddy_change_wait_max": 5, "min_interval": 120 } }, { "type": "IncubateEggs", "config": { "enabled": true, "infinite_longer_eggs_first": false, "breakable_longer_eggs_first": true, "min_interval": 120, "infinite": [2,5], "breakable": [10] } }, { "type": "UpdateLiveStats", "config": { "enabled": true, "min_interval": 139, "stats": ["uptime", "km_walked", "xp_earned", "xp_per_hour", "stardust_earned", "level_completion", "highest_cp_pokemon", "most_perfect_pokemon"], "terminal_log": true, "terminal_title": true } }, { "type": "UpdateLiveInventory", "config": { "enabled": true, "min_interval": 205, "show_all_multiple_lines": false, "items": ["pokemon_bag", "space_info", "pokeballs", "greatballs", "ultraballs", "razzberries", "luckyegg", "incense"] } }, { "type": "UpdateHashStats", "config": { "enabled": true, "min_interval": 60, "stats" : ["period", "remaining", "maximum", "expiration"] } }, { "type": "ShowBestPokemon", "config": { "enabled": true, "min_interval": 300, "amount": 10, "order_by": "cp", "info_to_show": ["cp", "ivcp", "dps", "hp"] } }, { "type": "TransferPokemon", "config": { "enabled": true, "min_free_slot": 200, "transfer_wait_min": 3, "transfer_wait_max": 5 } }, { "type": "NicknamePokemon", "config": { "enabled": true, "nickname_above_iv": 0.8, "nickname_template": "{ivpct}{iv_ads}", "nickname_wait_min": 3, "nickname_wait_max": 5 } }, { "type": "EvolvePokemon", "config": { "enabled": true, "evolve_list": "all", "donot_evolve_list": "Magikarp, Chansey, Rhyhorn, Dragonair, Dratini, Larvitar, Pupitar",
}
Other Information
OS: Ubuntu
Branch: Master
Git Commit: de8de509
Python Version: Python 2.7.12
Any other relevant files/configs (eg: path files)