nagalun / multiplayerpiano-server

Unofficial server for the http://multiplayerpiano.com client.
https://piano.ourworldofpixels.com
ISC License
12 stars 16 forks source link

Server stops receiving notes after a while #11

Open BopItFreak opened 5 years ago

BopItFreak commented 5 years ago

Somtimes the server stop receiving notes. Not sure if it's due to people playing black midis or what, but the AudioPlayer plays the notes, but other people can't hear other people, so the server gets messed up it seems. Not really sure how to fix this.

nagalun commented 5 years ago

Does it happen without the binary notes extension?

BopItFreak commented 5 years ago

the what? what binary note extension?

nagalun commented 5 years ago

binext.js, remove that file from the client

ghost commented 5 years ago

The server accepts notes in both the classic JSON format and in binary as produced by nagalun (ming)'s binary note data extension, which reduces the size of note data to allow for better performance with intense midis: https://piano.ourworldofpixels.com/extbinary.js

ghost commented 5 years ago

btw I think this is the same issue as #1

I worked-around it by automatically restarting the server daily because the issue seems to be not present at first but eventually appears and/or gets worse over time.