PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

bot stays at the first fort it encountered

Open chadhao opened this issue 10 years ago • 5 comments

Expected Behavior

move to a new fort after visiting one

Actual Behavior

always stays at the first fort and just wander around the fort

Steps to Reproduce

run the bot, wait till it reaches the first fort

Other Information

OS: OS X 10.11.6 (15G31) Git Commit: e58bf3d57c1c74d7847fdfa55b08410f48917bd0 Python Version: Python 2.7.10

screen shot 2016-08-02 at 1 22 24 pm

my config.json { "auth_service": "google", "username": "[email protected]", "password": "XXXXX", "location": "40.769656, -73.974665", "gmapkey": "XXXXX", "tasks": [ { "type": "HandleSoftBan" }, { "type": "CollectLevelUpReward" }, { "type": "IncubateEggs", "config": { "longer_eggs_first": true } }, { "type": "TransferPokemon" }, { "type": "EvolveAll", "config": { "evolve_all": "all", "evolve_cp_min": 500, "evolve_speed": 200, "use_lucky_egg": true } }, { "type": "RecycleItems", "config": { "item_filter": { "1": { "keep" : 20 }, "2": { "keep" : 50 }, "3": { "keep" : 150 }, "101": { "keep" : 0 }, "102": { "keep" : 0 }, "103": { "keep" : 5 }, "104": { "keep" : 10 }, "201": { "keep" : 5 }, "701": { "keep" : 50 } } } }, { "type": "CatchVisiblePokemon" }, { "type": "CatchLuredPokemon" }, { "type": "SpinFort" }, { "type": "MoveToFort", "config": { "lure_attraction": false, "lure_max_distance": 2000 } }, { "type": "FollowSpiral" } ], "map_object_cache_time": 5, "max_steps": 50, "forts": { "avoid_circles": true, "max_circle_size": 50 }, "websocket_server": false, "walk": 50, "action_wait_min": 1, "action_wait_max": 4, "debug": false, "test": false, "health_record": true, "location_cache": true, "distance_unit": "km", "reconnecting_timeout": 15, "evolve_captured": "all", "catch_randomize_reticle_factor": 1.0, "catch_randomize_spin_factor": 1.0, "catch": { "any": { "always_catch" : true } }, "release": { "any": {"keep_best_cp": 1} }, "vips" : { "any": {"catch_above_cp": 1200, "catch_above_iv": 0.9, "logic": "or"} } }

chadhao avatar Aug 02 '16 01:08 chadhao

you should add in your log

leadboots5 avatar Aug 02 '16 06:08 leadboots5

Here's the log

[18:17:38] Starting PokemonGo Bot.... [18:17:39] [x] Current egg hatches in 1.04 km [18:17:40] No lucky eggs... skipping evolve! [18:17:41] Now at Pokestop: 慶應義塾大学医学部 [18:17:41] Spinning ... [18:17:41] Loot: [18:17:41] 50 xp [18:17:42] - 2x Pokeball (Total: 22) [18:17:42] - 1x Razz Berry (Total: 33) [18:17:42] PokeStop on cooldown. Time left: 4 minutes, 58 seconds [18:17:45] Moving towards fort 信濃町メデイアセンター, 0.05km left (attraction of lure 0.51km) [18:17:45] Arrived at pokestop. [18:17:45] Walking from (35.681889, 139.716913) to [35.682344816791456, 139.7169366555816] 0.05km [18:17:47] -- Discarded 2x Pokeball (keeps only 20 maximum) [18:17:47] Moving towards fort 信濃町メデイアセンター, 0.05km left (attraction of lure 0.51km) [18:17:47] Arrived at pokestop. [18:17:47] Walking from (35.681889, 139.716913) to [35.68414481679146, 139.7169366555816] 0.25km [18:17:54] Moving towards fort 信濃町メデイアセンター, 0.05km left (attraction of lure 0.51km) [18:17:54] Arrived at pokestop. [18:18:00] Moving towards fort 信濃町メデイアセンター, 0.05km left (attraction of lure 0.51km) [18:18:00] Arrived at pokestop. [18:18:07] Moving towards fort 信濃町メデイアセンター, 0.05km left (attraction of lure 0.51km) [18:18:07] Arrived at pokestop. [18:18:13] Moving towards fort 信濃町メデイアセンター, 0.05km left (attraction of lure 0.51km) [18:18:13] Arrived at pokestop. [18:18:20] Moving towards fort 信濃町メデイアセンター, 0.05km left (attraction of lure 0.51km) [18:18:20] Arrived at pokestop. [18:18:26] Moving towards fort 信濃町メデイアセンター, 0.05km left (attraction of lure 0.51km) [18:18:26] Arrived at pokestop. [18:18:33] Moving towards fort 信濃町メデイアセンター, 0.05km left (attraction of lure 0.51km) [18:18:33] Arrived at pokestop. [18:18:39] Moving towards fort 信濃町メデイアセンター, 0.05km left (attraction of lure 0.51km) [18:18:39] Arrived at pokestop. [18:18:45] Moving towards fort 信濃町メデイアセンター, 0.05km left (attraction of lure 0.51km) [18:18:45] Arrived at pokestop. [18:18:52] Moving towards fort 信濃町メデイアセンター, 0.05km left (attraction of lure 0.51km) [18:18:52] Arrived at pokestop. [18:18:58] Moving towards fort 信濃町メデイアセンター, 0.05km left (attraction of lure 0.51km) [18:18:58] Arrived at pokestop. [18:19:04] Moving towards fort 信濃町メデイアセンター, 0.05km left (attraction of lure 0.51km) [18:19:04] Arrived at pokestop.

It'll continue for five minutes and spin the fort again. After that, it'll still stay at the very same fort.

chadhao avatar Aug 02 '16 06:08 chadhao

Duplicate issue #2089

@chadhao try removing

, { "type": "FollowSpiral" }

that is including the comma above the open curly brace.

dkim1000 avatar Aug 02 '16 07:08 dkim1000

tried removing this task, problem remains


update

Sorry, I made a mistake in config file.

Removing task "FollowSpiral" did help! Thanks!

chadhao avatar Aug 02 '16 08:08 chadhao

Okay how can we do this now as "max_steps" were removed. I removed the "FollowSpiral" and this odd behaviour went away but now at starting the bot I get " No config argument specified" notification but the bot still performs seemingly ok. But I guess as the "max_steps" was removed, there's no way for us to limit how far the bot travels?

Simbe90 avatar Aug 02 '16 14:08 Simbe90