Max username length check in dedicated server counts 1 char too much causing insta kicks
As title suggests, when trying to connect to a dedicated server with 32 character long nickname on steam, server rejects the connection with "You have recently been kicked from this server." message. The bug persists whether I'm using ASCII only nickname or one with UTF-8 characters present.
After firing up dedicated server locally and trying to join it, the same message shows up, but in server logs the kick reason is "Client name length of 33 exceeds maximum length of 32".
The bug lies in dedicated server counting one too many char in nickname length check, and the fix is very trivial.
Reproduction steps:
1. Change steam username to any 32 character long nickname.
2. Launch SE.
3. Try joining any dedicated server.
PS. When trying to reproduce the bug, be aware that SE doesn't register nickname change in-game, which means you need to restart the game between changing your nickname.
I had the same issue. I though I might have been shadow banned from the official servers. It seems that my name is just a little too long. Before, it wasn't.
I had the same issue. I though I might have been shadow banned from the official servers. It seems that my name is just a little too long. Before, it wasn't.
Hello engineer,
Thank you for writing to us.
You are correct in noting that the reason for being kicked out of the server is due to the long username. Long usernames can cause various issues, not only for the player but for others on the server as well. As a preventive measure, players with usernames exceeding 32 characters length, are restricted from joining servers.
You can resolve this by shortening your Steam username. Please try using a username with fewer than 32 characters and let us know if you can successfully join dedicated servers. To shorten your username, please follow these steps:
If the issue persists even after shortening your username, please send us the log file from the time you encountered this issue.
Kind regards,
Keen Software House: QA Department
Hello engineer,
Thank you for writing to us.
You are correct in noting that the reason for being kicked out of the server is due to the long username. Long usernames can cause various issues, not only for the player but for others on the server as well. As a preventive measure, players with usernames exceeding 32 characters length, are restricted from joining servers.
You can resolve this by shortening your Steam username. Please try using a username with fewer than 32 characters and let us know if you can successfully join dedicated servers. To shorten your username, please follow these steps:
If the issue persists even after shortening your username, please send us the log file from the time you encountered this issue.
Kind regards,
Keen Software House: QA Department
I apologise for writing a confusing bug report, so I'll try to simplify it to 1 sentence:
Dedicated server thinks 32 character long nickname is 33 character long and wrongly kicks player with ambiguous reason.
It is very much a bug, and not an intended behaviour, and it actually seems to be the case of the game adding bogus character to the nickname as seen in the line from the log below(the numbers are my nickname):
2024-10-26 22:44:18.935 - Thread: 1 -> Service.UserName: 12345678901234567890123456789012
@Ronin Planetary Industries
Same. I wanted to see if I could join MP with my custom windows install before buying more DLCs on sale, but decided to put it off after thinking I somehow got game banned.
I apologise for writing a confusing bug report, so I'll try to simplify it to 1 sentence:
Dedicated server thinks 32 character long nickname is 33 character long and wrongly kicks player with ambiguous reason.
It is very much a bug, and not an intended behaviour, and it actually seems to be the case of the game adding bogus character to the nickname as seen in the line from the log below(the numbers are my nickname):
2024-10-26 22:44:18.935 - Thread: 1 -> Service.UserName: 12345678901234567890123456789012
@Ronin Planetary Industries
Same. I wanted to see if I could join MP with my custom windows install before buying more DLCs on sale, but decided to put it off after thinking I somehow got game banned.
Replies have been locked on this page!