Closed StenAL closed 2 days ago
Hey @PhilippvK, pinging you in case you haven't seen this PR. I have some other changes ready to publish but would like to get this PR in first.
@StenAL When the PR was posted I was traveling and could not try out the changes myself. Sorry for the delay! In the meantime I was able to check the changes and think we can get this merged soon.
This set of commits fixes many minor things:
Right clicking players in lobbies now opens a pop-up menu with some actions.
The server now handles
error-debug
,end
, andlobby command
packetserror-debug
is sent by the client when it crashes and includes an error message and the last commands sent/received. This is useful for debugging. It also necessitated increasing the maximum client package size to 2000 bytes since errors can be long.end
andlobby command
are no-opsVerbose server logging can be enabled with a flag to see outgoing packets. This is useful for debugging.
The username regex no longer prevents empty strings as usernames. These are handled by the server and users are assigned a name like "~anonym1111"
Some networking classes are renamed for better clarity
Some unused classes and meaningless JavaDocs have been removed