Comments (4)
Also speaking of closing, there is issue with AFK client and well all of them: they don't detect disconnect very well, sometimes it just stays active and "connected" when in reality it is already not. Maybe a timeout by ping packets or at least method like "GetLastPingTime" to detect that client dropped connection
from botcraft.
There will be some modifications of all XXXClients with the new behaviour system (arriving soon-ish maybe perhaps I hope). I'll try to move the should_be_closed bool to a higher level in the hierarchy.
Concerning your second point, could you elaborate on how to reproduce this kind of disconnection? When the server kicks the player or when the connection is lost?
from botcraft.
I believe server just drops connection silently and does not even close socket. I experienced such "drops" on regular and hacked clients and both of them timeout after 30 seconds of last ping/tick from server, most likely considering socket dead.
from botcraft.
Fixed with the new Client organization
from botcraft.
Related Issues (20)
- [Version request] HOT 2
- [Version request] HOT 4
- [Version request] HOT 2
- [Version request] HOT 3
- [Version request] HOT 3
- [Version request] HOT 2
- Unable to connect to a Fabric server. / How to register a recipe serialiser and command node parser? HOT 2
- Compilation error with glfw HOT 3
- [Version request] HOT 4
- [Version request] HOT 2
- [Version request] HOT 3
- [Version request] HOT 2
- [Version request] HOT 2
- [Version request] HOT 8
- [Version request] HOT 3
- [Version request] HOT 2
- [Version request] HOT 2
- [Version request] HOT 7
- Build Failure On Multiple Builds HOT 3
- [Version request] HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from botcraft.