04-07-2014, 05:22 PM
(This post was last modified: 04-07-2014, 05:22 PM by LogicParrot.)
Quote:1 - Is the player disconnected, because the host (the mc client) closed the connection without disconnect packet?
-> do nothing
Bad idea! A player could cheat by cutting off his internet connection before giving the client a chance to send anything.
If a player lost connection, it is not his fault, but it is not the other guy's fault either. It has to be unfair for someone either way, so better keep it simple and kill the one who lost connection.