Giter Site home page Giter Site logo

Comments (2)

Kainzo avatar Kainzo commented on July 23, 2024

This is stil ongoing.

from gesuit.

addstar avatar addstar commented on July 23, 2024

This is not specific to portals. I believe this problem happens when the user times out and reconnects before the disconnect event fires.

From what I've seen this is what happens:

  1. Player logs in, everything is fine.
  2. Player lags and their client disconnects but was still seen as "connected" on the proxy.
  3. Player tries to login again, everything is fine.
  4. Previous disconnect event fires and geSuit removes the player from the "online players" list.

This is where all the problems come from. It is very common with mobile connections and connections with very poor reliability. Once this situation happens, the player will be unable to do anything in geSuit and almost all commands will have errors. The only way to resolve the situation is to disconnect properly and reconnect.

To confirm this, you need to carefully check the corresponding proxy + server logs. The "player is null" error is a result of the condition and is not the problem itself. You need to look earlier in the logs from when they connected and reconnected.

From what I understand, the only way to fix this is to reject connections for players if they are already seen as "online" in the proxy. If this continues to be a big problem, we can look into it.

from gesuit.

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.