DarkMultiPlayer Client

DarkMultiPlayer Client

38.8k Downloads

On a windows server, a player name with invalid characters for filenames will cause a handshake error.

wildinferno opened this issue ยท 5 comments

commented

my friend gets this error"Error handling HANDSHAKE_REQUEST from Unknown, exception: System.ArgumentException: Illegal characters in path.
at System.IO.Path.Combine(String path1, String path2, String path3)
at DarkMultiPlayerServer.ClientHandler.HandleHandshakeRequest(ClientObject client, Byte[] messageData)
at DarkMultiPlayerServer.ClientHandler.HandleMessage(ClientObject client, ClientMessage message)"

commented

The thing is that he used to same name and connected once but cant connect anymore

commented

@wildinferno That's not a bug, it's a feature. Player names are protected by the player token - They wiped GameData/DarkMultiPlayer/Plugins/Data/token.txt and saves/DarkMultiPlayer/token.txt.

commented

I believe this was fixed via 6d7bcd7.

commented

Does your KSP path or your Windows user name have special characters? That sometimes causes quirks with folder-related stuff.

commented

This can only be caused by funny characters in the player name - I'm renaming this to what it really is ;)

The colon : is definitely an example of this.

I'll need to prevent invalid player names from connecting to servers.