Open oralunal opened 8 years ago
you should try to emit:
remote:send_request, {'account': 'ptc/google account', 'name': 'get_player_info'}
and wait on
get_player_info:<ptc/google account>
for example:
emit remote:send_request, {'account', 'cow@goes.moo', 'name': 'get_player_info'}
wait get_player_info:cow@goes.moo
I think only get_player_info implemented.
Hi @oralunal,
Not sure how far you are with developing but please feel free to continue on this base: https://github.com/PokemonGoF/PokemonGo-Web/tree/rewrite. It's an Angular-based web ui that uses the websockets for data.
Like @sohje said, only get_player_info is the only remote control command currently implemented. If you want other remote control commands, feel free to request them.
I'll look into the polylinewalker.
Actually get_player_info is not working..
Edit: It's working, I forgot to add "remote_control: true" to config file. Bot doesn't emit position_update to socket if walker PolylineWalker... Waiting it for fixing.
Dear Bot Developers,
I'm developping a WebUI for this bot. I can listen events via websocket. My question is can I emit command to bot? I looked for the files (I really don't understan Python) and thought I have emit command like this:
socket_io.emit('bot:process_request:username', {'command':'release_pokemon', data: {'pokemon_id': 10000000}});
But it didn't work. No one doesn't have information or doesn't interest on slack server.
Does bot access remote control? If yes what commands does it access? How does it access?
Another Issue or smthng If walker is PolylineWalker position_update:username doesn't emit anything to websocket.