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

FollowPath taking sporadic breaks to respin pokestops #2426

Closed
leadboots5 opened this issue Aug 3, 2016 · 0 comments
Closed

FollowPath taking sporadic breaks to respin pokestops #2426

leadboots5 opened this issue Aug 3, 2016 · 0 comments

Comments

@leadboots5
Copy link
Contributor

leadboots5 commented Aug 3, 2016

Expected Behavior

Bot would walk from place to place as it used to not dilly dallying. I'm using FollowPath

Actual Behavior

It walks, but incredibly slowly/appears to take breaks at times. I'm not sure where the slow down is. Here are 2 example of stops that it should just collect once and keep walking past(as they have many times before), but for some reason the bot is just stopping for 5 mins to spin it again with the newest version. This doesn't appear to happen with every stop though...

Example 1:

[22:57:41] Now at Pokestop: STOP1
[22:57:41] Spinning ...
[22:57:41] Loot:
[22:57:41] 50 xp
[22:57:41] - 2x Pokeball (Total: 64)
[22:57:41] - 1x Razz Berry (Total: 26)
[22:57:41] PokeStop on cooldown. Time left: 4 minutes, 59 seconds
[22:57:55] -- Discarded 1x Razz Berry (keeps only 25 maximum)
[22:59:45] [x] Current egg hatches in 2.78 km
[23:02:56] Now at Pokestop: STOP1
[23:02:56] Spinning ...
[23:02:56] Loot:
[23:02:56] 50 xp
[23:02:56] - 2x Pokeball (Total: 66)
[23:02:56] - 1x Razz Berry (Total: 26)
[23:02:56] PokeStop on cooldown. Time left: 4 minutes, 59 seconds

Example 2:

[23:17:00] Now at Pokestop: STOP2
[23:17:00] Spinning ...
[23:17:00] Loot:
[23:17:00] 50 xp
[23:17:00] - 2x Pokeball (Total: 67)
[23:17:00] - 1x Greatball (Total: 45)
[23:17:00] PokeStop on cooldown. Time left: 4 minutes, 59 seconds
[23:17:15] -- Discarded 2x Pokeball (keeps only 65 maximum)
[23:18:29] Something rustles nearby!
[23:18:29] A Wild Weedle appeared! [CP 10] [Potential 0.69]
[23:18:29] IV [Attack/Defense/Stamina] = [4/13/14]
[23:18:33] Using Pokeball (chance: 100.00%)... (64 left!)
[23:18:33] Captured Weedle! [CP 10] [Potential 0.69] [4/13/14] [+210 exp]
[23:18:49] Releasing Weedle with CP 10 and IV 0.69. Matching release rule: CP < 200 AND IV < 0.85.
[23:18:49] Exchanging Weedle [CP 10] [Potential 0.69] for candy!
[23:19:34] Something rustles nearby!
[23:19:35] A Wild Pidgey appeared! [CP 225] [Potential 0.38]
[23:19:35] IV [Attack/Defense/Stamina] = [6/5/6]
[23:19:37] Using Pokeball (chance: 40.01%)... (63 left!)
[23:19:38] Captured Pidgey! [CP 225] [Potential 0.38] [6/5/6] [+210 exp]
[23:20:15] [x] Current egg hatches in 2.57 km
[23:22:18] Now at Pokestop: STOP 2
[23:22:18] Spinning ...
[23:22:19] Loot:
[23:22:19] 50 xp
[23:22:19] - 3x Pokeball (Total: 66)
[23:22:19] PokeStop on cooldown. Time left: 4 minutes, 59 seconds

Steps to Reproduce

"tasks": [
  {
    "type": "HandleSoftBan"
  },
  {
    "type": "CollectLevelUpReward"
  },
  {
    "type": "IncubateEggs",
    "config": {
      "longer_eggs_first": true
    }
  },
  {
    "type": "TransferPokemon"
  },
  {
    "type": "RecycleItems",
    "config": {
      "item_filter": {
        "Pokeball":       { "keep" : 65 },
        "Greatball":       { "keep" : 70 },
        "Ultraball":       { "keep" : 75 },
        "Potion":         { "keep" : 0 },
        "Super Potion":   { "keep" : 0 },
        "Hyper Potion":   { "keep" : 40 },
        "Revive":         { "keep" : 25 },
        "Razz Berry":     { "keep" : 25 }
      }
    }
  },
  {
    "type": "CatchVisiblePokemon"
  },
  {
    "type": "CatchLuredPokemon"
  },
  {
    "type": "SpinFort"
  },
  {
    "type": "FollowPath",
    "config": {
      "path_mode": "loop",
      "path_file": "configs/path.json"
    }
  }
],
"map_object_cache_time": 5,
"forts": {
  "avoid_circles": true,
  "max_circle_size": 10
},
"websocket_server": false,
"walk": 2.2,
"action_wait_min": 1,
"action_wait_max": 4,
"debug": false,
"test": false,
"health_record": true,
"location_cache": true,
"distance_unit": "km",
"reconnecting_timeout": 15,

Only new thing is: "map_object_cache_time": 5 being added, and max_steps being taken out

Other Information

OS: OSX
Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here)
I believe it was working fine on: #2269
I am now on #2416

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