tehp / OpenPoGoBot

A PokemonGo Python bot - NO LONGER MAINTAINED
MIT License
123 stars 53 forks source link

Bot not writing to inventory, catchable and location json files #124

Closed pokemon-masterbater closed 8 years ago

pokemon-masterbater commented 8 years ago

Expected Behavior

Bot write to inventory, catchable, and location json files inside the web folder

Actual Behavior

Bot is not writing to the inventory, catchable and location json files located in the web folder anymore

Steps to Reproduce

Run like normal

Other Information

OS: Debian 8 Git Commit:

wchill commented 8 years ago

This is intentional, currently pending a switch to websockets. Will push this code soon.

pokemon-masterbater commented 8 years ago

Can I have some code for keeping json files? It works better for me

wchill commented 8 years ago

The problem is that that same code breaks on certain Python versions, which is why it was removed.

You can try to run this commit https://github.com/OpenPoGo/OpenPoGoBot/commit/bd8432a6d689b9d6991378f5d43f3a27555d2a16 on Python 2.7 but it will have bugs that were fixed in master.

pokemon-masterbater commented 8 years ago

Is there an easy method where I can at least write the bots location to a json file so my map can read it?

wchill commented 8 years ago

Should no longer be necessary with the switch to OpenPoGoUI.