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

Map data was not valid #2433

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

Map data was not valid #2433

xSidewinderx opened this issue Aug 3, 2016 · 0 comments

Comments

@xSidewinderx
Copy link

Expected Behavior

Run normally and can snipe Pokemon like #1992

Actual Behavior

with MoveToMapPokemon setting like this:

"config": {
"address": "http://localhost:5000",
"max_distance": 500,
"min_time": 60,
"prioritize_vips": true,
"snipe": false,
"update_map": true,
"mode": "priority",
After login, bot will produce an error

Traceback (most recent call last):
File "pokecli.py", line 446, in
main()
File "pokecli.py", line 71, in main
bot.tick()
File "/home/sidewinder/PokemonGo-Bot/pokemongo_bot/init.py", line 92, in tick
if worker.work() == WorkerResult.RUNNING:
File "/home/sidewinder/PokemonGo-Bot/pokemongo_bot/cell_workers/move_to_map_pokemon.py", line 161, in work
self.update_map_location()
File "/home/sidewinder/PokemonGo-Bot/pokemongo_bot/cell_workers/move_to_map_pokemon.py", line 107, in update_map_location
return log.logger('Map location data was not valid', 'red')
NameError: global name 'log' is not defined

and if I disable update_map option to false, it will not produce error but a message: Map data is not valid

Steps to Reproduce

git pull, use config.json.map.example setting.

Other Information

OS: ubuntu
Git Commit: 4a1f649

Python Version: Python 2.7.6

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

1 participant