Devlog | M13a

When the connection goes

The character select screen with sample characters and a message that the server closed the connection

Until now, losing your connection wasn't handled very well. With a friend playing from another country, that had to change.

Now you land back on character select with the reason on screen. There are four: you logged in somewhere else, the connection was lost, the server closed it, or too many messages were sent. Where it can, the server tells your game why just before it hangs up, because otherwise all the game knows is that the line went dead.

To try it, I stopped a real game server with a client connected. The client noticed straight away, and once the server was back, the same character went straight back in.

That last reason is the other half of this update. One client can now send 60 messages a second. Normal play doesn't come near that, so anything over it isn't a person. The extra messages are thrown away and the connection is closed, which keeps one broken or nasty client from drowning the server.

Next up is the harder question: how does the game feel with a bad connection, and how many players can one server really carry?