fenhl / oottracker

A tracker for the Ocarina of Time Randomizer
10 stars 1 forks source link

Web auto-update #13

Closed fenhl closed 3 years ago

fenhl commented 3 years ago

If JavaScript is available, the server should use a websocket to automatically update the cell states when another client changes them. That way, the web app can be used as a restream tracker.

JavaScript can also be used to avoid having to reload the entire page each time a cell is clicked.

Since rocket currently does not support websockets, a separate warp server needs to be hosted, as with gefolge-websocket for gefolge.org (except the two servers can run in the same process). Port 24808 is reserved for this purpose.

If JavaScript is not available, there should be a message explaining this.

fenhl commented 3 years ago

Implemented for restreams (other than the noscript message), still needs to be implemented for normal rooms.