pogosandbox / necrobotvisualizer

MIT License
255 stars 85 forks source link

Is there any data contract definition? #174

Open naymore opened 8 years ago

naymore commented 8 years ago

Is there any data contract definition or even better a sample web socket server project? Maybe you have something at your fingertips you use to test necrobotvisualizer?

I thought about developing a bot myself and I would love to have a visual feedback about what my bot is actually doing ;-)

niicojs commented 8 years ago

There is no documented data contract. Honestly, the data sent by necrobot is in a ugly format, so don't try to mimic it.

You can look at this other project: https://github.com/nicoschmitt/openui Same UI, but nicer exchange format, and there is a dummy node.js server that act as a fake bot so you'll see sample data beeing sent.

naymore commented 8 years ago

Ok I see. I had hoped to find a simple way to just provide location data and all is good. But having a quick glimpse at the code I realized there are some other Pokemon Go related checks up front. Maybe I can just ommit them and get started... :)

Is the player's location only transmitted as a part of a larger message ("bot_initialized" or "pokemon_caught", ..)?