rustyhack-mmo icon indicating copy to clipboard operation
rustyhack-mmo copied to clipboard

When you force close a client terminal the server gets flooded with errors and lags a bit

Open lesleyrs opened this issue 2 years ago • 2 comments

Describe the bug Server doesn't handle force quits well.

To Reproduce Steps to reproduce the behavior:

  1. ctrl+shift+w a client
  2. look server log

Expected behavior I expected it to work the same as ctrl-q

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • Windows 10

Additional context [ERROR] Encountered an error receiving data: Os { code: 10054, kind: ConnectionReset

I was able to do a pvp battle with myself at least, so that's cool 🗡️

lesleyrs avatar Feb 08 '23 14:02 lesleyrs

Similar problems are trying to run a server with one already active gets stuck loading. Same with running a client with no active server.

lesleyrs avatar Feb 16 '23 15:02 lesleyrs

Yeah, this is something I'm aware of, and error handling in general I've not put much effort into yet.

pbellchambers avatar Apr 09 '23 12:04 pbellchambers