Coder Social home page Coder Social logo

Players cannot join when RTPS really high about mchprs HOT 4 CLOSED

 avatar commented on August 23, 2024
Players cannot join when RTPS really high

from mchprs.

Comments (4)

Ocawesome101 avatar Ocawesome101 commented on August 23, 2024 4

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.

from mchprs.

AggYz avatar AggYz commented on August 23, 2024

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.

from mchprs.

AL1L avatar AL1L commented on August 23, 2024

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?

from mchprs.

StackDoubleFlow avatar StackDoubleFlow commented on August 23, 2024

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

from mchprs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.