RealMCoded / Rec.js

A server replacement for old Rec Room builds
https://realmcoded.github.io/Rec.js/
GNU Affero General Public License v3.0
7 stars 6 forks source link

Random kick on 2018 #5

Closed why1116 closed 1 year ago

why1116 commented 1 year ago

Describe the bug When you play on 2018 it randomly kicks you to your dorm. the console will output playerSubscriptions/v1/update [WS] Responds with Presence update called! thats when you get kicked.

To Reproduce

  1. Open the server on the dev release.
  2. join any room doesn't matter
  3. just wait a little bit it should kick you from the game back to your dorm

System Information:

notChocoMilk commented 1 year ago

i was actually about to report this as well. it seems to be an issue with the 2018 api it's self, as it happens on multiple builds. if helpful at all, it also gives you a '-2 network error' when kicked to your dorm.

RealMCoded commented 1 year ago

the console will output playerSubscriptions/v1/update [WS] Responds with Presence update called! thats when you get kicked.

This is 100% caused by my implementation of the websocket i am using. It's mostly the same code as the 2017 WS, as it didn't appear to have any issues (at least from my testing). I have started work on a websocket rewrite, but I haven't published any of the code as it isn't ready yet.

RealMCoded commented 1 year ago

I pushed a rewrite of the Websocket Server. After staying in the same room for around 10 or so minutes I didn't get kicked at all, so I think this is fixed. I am going to leave this open until I get confirmation that it does fix the issue.

why1116 commented 1 year ago

that seems to have fixed the issue.

why1116 commented 1 year ago

Thank you!

RealMCoded commented 1 year ago

No problem!

why1116 commented 1 year ago

but now the microphone doesn't work ingame, oh well

RealMCoded commented 1 year ago

That would be an issue with either your photon server or your current user settings.

why1116 commented 1 year ago

I'll look into that

why1116 commented 1 year ago

But thanks for being super responsive i can't wait to see what other things you make!

RealMCoded commented 1 year ago

No problem! Thank you for the support!!!