Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Players cannot join when RTPS really high #13

Closed
ghost opened this issue Jun 26, 2020 · 4 comments
Closed

Players cannot join when RTPS really high #13

ghost opened this issue Jun 26, 2020 · 4 comments

Comments

@ghost
Copy link

ghost commented Jun 26, 2020

Didn't do much testing on this issue but i found I couldn't login when someone set the RTPS to 35000. Got 'Connection timed out'

@AggYz
Copy link

AggYz commented Jun 26, 2020

Ye, that was my server I repeated it 3 times and whenever the tps is really, really high, Other players weren't able to join it. However I could connect to it using localhost and I then lowered the rtps and you were able to join.

@AL1L
Copy link
Contributor

AL1L commented May 21, 2021

Maybe the player should have some flag to not send update packets until they properly join the world. Not sure if that'd cause desync issues though.

Another idea would be to change the RTPS back to 10 when a player is joining for a second?

@Ocawesome101
Copy link

Another solution could just be to limit the number of packets sent. Currently, even at just 8000RTPS the server sends nearly 20KB/s (from memory, could be much higher in reality) to the client with just a basic repeater clock. Only sending the server state every game tick, rather than every time it updates, could greatly help this issue, particularly for those of us with slower internet connections.

Basically just rate-limit the server.

@StackDoubleFlow
Copy link
Member

Rate limiting was implemented, and this issue should be fixed now. Feel free to reopen if you are still experiencing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants