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

Tasks not working properly (Not spinning forts, not moving to fort)

Open Floriferous opened this issue 10 years ago • 4 comments

Expected Behaviour

Bot should work as before tasks were added to config file, using the standard config provided by the repo.

Actual Behaviour

Several different errors happening:

1: Some behaviour

[14:56:12] Moving towards fort Flash, 0.10km left [14:56:20] Moving towards fort Flash, 0.11km left [14:56:28] Moving towards fort Flash, 0.10km left [14:56:36] Moving towards fort Flash, 0.10km left [14:56:36] Arrived at pokestop. [14:56:44] Moving towards fort Flash, 0.11km left [14:56:52] Moving towards fort Flash, 0.10km left

... repeat 10x

[14:58:16] Moving towards fort Flash, 0.10km left [14:58:19] Moving towards fort Flash, 0.05km left [14:58:19] Arrived at pokestop.

2: Running out of poke balls and not moving at all anymore

[14:53:12] A Wild Zubat appeared! [CP 330] [Potential 0.71] [14:53:12] IV [Stamina/Attack/Defense] = [13/7/12] [14:53:26] Walking from (34.01479367850659, -118.4972331369021) to [34.01479367850659, -118.4954331369021] 0.17km [14:53:29] Something rustles nearby! [14:53:29] A Wild Zubat appeared! [CP 42] [Potential 0.69] [14:53:29] IV [Stamina/Attack/Defense] = [9/7/15] [14:53:32] Using Pokeball (chance: 92.71%)... (-1 left!) [14:53:44] Something rustles nearby! [14:53:45] A Wild Growlithe appeared! [CP 651] [Potential 0.76] [14:53:45] IV [Stamina/Attack/Defense] = [15/11/8] [14:53:53] Something rustles nearby! [14:53:54] A Wild Pidgey appeared! [CP 346] [Potential 0.4]

3: when removing capture pokemon from tasks

[14:56:16] Walking from (34.009336, -118.496809) to [34.009336, -118.496809] 0.00km [14:56:17] Walking from (34.009336, -118.496809) to [34.011136, -118.496809] 0.20km [14:58:45] Walking from (34.011136, -118.496809) to [34.011136, -118.495009] 0.17km [15:00:48] Walking from (34.011136, -118.495009) to [34.009336, -118.495009] 0.20km

Steps to Reproduce

My config file:

1, 2

"tasks": [ { "type": "HandleSoftBan" }, { "type": "CollectLevelUpReward" }, { "type": "IncubateEggs", "config": { "longer_eggs_first": true } }, { "type": "TransferPokemon" }, { "type": "EvolveAll", "config": { "evolve_speed": 20, "use_lucky_egg": false } }, { "type": "RecycleItems" }, { "type": "CatchVisiblePokemon" }, { "type": "CatchLuredPokemon" }, { "type": "SpinFort" }, { "type": "MoveToFort" }, { "type": "FollowSpiral" } ]

3

"tasks": [ { "type": "HandleSoftBan" }, { "type": "CollectLevelUpReward" }, { "type": "IncubateEggs", "config": { "longer_eggs_first": true } }, { "type": "TransferPokemon" }, { "type": "EvolveAll", "config": { "evolve_speed": 20, "use_lucky_egg": false } }, { "type": "RecycleItems" }, { "type": "MoveToFort" }, { "type": "SpinFort" }, { "type": "FollowSpiral" } ]

Other Information

OS: OS X Git Commit: bdaddec9ee64691e5b0a8bda55bf76f83442232f

Floriferous avatar Jul 31 '16 13:07 Floriferous

I'm a bit further behind than you. Where do I put code to specify tasks? I though it would be in the config.json file and I tried there but kept getting errors when I try to launch about expected a delimiter. Please help.

Also, any idea where to put catch configuration lines like "Pidgey": {"never_capture": true}?

Meph88 avatar Jul 31 '16 13:07 Meph88

Use the template file config.json.example which has a basic setup with the tasks. The release and capture mechanics are still at the same place at the bottom of the file.

Floriferous avatar Jul 31 '16 13:07 Floriferous

My template file config.json.example only has this: { "auth_service": "google", "username": "[email protected]", "password": "YOURPASSWORD", "location": "SOME LOCATION", "gmapkey": "AGMAPAPIKEY", "max_steps": 5, "mode": "all", "walk": 4.16, "debug": false, "test": false, "initial_transfer": 0, "location_cache": true, "distance_unit": "km", "item_filter": "101,102,103,104", "evolve_all": "NONE" }

So I'm still a bit lost as to where I put it?

*Not sure how to line break in comments, sorry for hard to read format.

Meph88 avatar Jul 31 '16 14:07 Meph88

It seems like you aren't on the dev branch, make sure you correct that.

Floriferous avatar Jul 31 '16 15:07 Floriferous