tehp / OpenPoGoUI

A web view for OpenPoGoBot
http://openpogoui.nicontoso.eu/
MIT License
19 stars 7 forks source link

How to make it work? #25

Open imgidedin opened 7 years ago

imgidedin commented 7 years ago

Make a tutorial on how to install this and make it properly work. I messed up with a lot of stuff so far and didn't managed to make it work.

niicojs commented 7 years ago

It's pretty easy, just click the link on the readme page.
If the bot is already running on your PC it will connect, if not run the bot and they'll find eachother.

There really is nothing more to do.

ErwanNumb commented 7 years ago

It doesn't seem to work for me too. I use docker container and I try to redirect on port 8000, what is the default port of the websocker server on pokegobot ?

Thank you

niicojs commented 7 years ago

Do you mean docker for the bot? It shouldn't matter. Past bot console log here so I can see if there is something suspicious on the bot side. Also paste browser console log.

There is nothing to install or run for the ui. Just open http://openpogoui.nicontoso.eu. Default port for socket is 8000.

ErwanNumb commented 7 years ago

The bot is in a docker container, i've mapped the port correctly but it seems the websocket server isn't started even if i've set "websocket_server": true, in the config file. Browser console log obviously respond with a net::ERR_CONNECTION_RESET error. Tried to directly access to SERVERURL:8000/socket.io/?EIO=3&transport=polling&t=LQs--Zj and same error.

Is there another way to force or test the websocket server on the bot side?

niicojs commented 7 years ago

Websocket_server ? Which bot are you talking about?

foster82 commented 7 years ago

I have it set to try also and I can't get it to work, just says connecting to bot

0xFDEC0DED commented 7 years ago

If it doesnt work for you, you could try Google Chrome. For me it does work there.. but not in Firefox.

niicojs commented 7 years ago

Should work fine on Chrome, Firefox and Edge if you use the online version: http://openpogoui.nicontoso.eu/