Closed firzzen closed 8 years ago
don't forget the git comment what is specified in the issue template. future more you can't use gpx as far as I know you should use this template: https://github.com/PokemonGoF/PokemonGo-Bot/blob/dev/configs/path.example.json
{ "type": "MoveToFort", "config": { "lure_attraction": false, "lure_max_distance": 0 } }, { "type": "FollowSpiral", "config": { "diameter": 4, "step_size": 70 } } ], Remove this from the config you posted. you close the task section after FollowPath with ], then you have 2 more task which make your config syntax wrong. And you cannot use both FollowPath with MoveToFort or FollowSpiral
@nivong it works well with .gpx files as well.
@AcorpBG thanks, that sovled the issue :).
@AcorpBG do you know does "FollowPath" conflicts with "MoveToMapPokemon" from #1992?
Expected Behavior
Bot should run and use the .gpx file for path.
Actual Behavior
Bot does not start and gives:
Traceback (most recent call last): File "pokecli.py", line 493, in
main()
File "pokecli.py", line 126, in main
if bot:
UnboundLocalError: local variable 'bot' referenced before assignment
Steps to Reproduce
Use the below config and run it.
Other Information
Here is the full config:
}
When i remove this part then the bot runs fine (until the luredFort issue mentioned in #2808 kicks in):
],
OS: Ubuntu 15.04 Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here) Python Version: Python 2.7.9