Steam username includes a space and AMP cannot login to steamcmd
Operating System
Linux - Debian GNU/Linux 12 on x86_64
AMP Version and Build Date
AMP ‘Phobos’ v2.6.0.12 (Mainline)
AMP Release Stream
Mainline
I confirm that
- [x] I have searched for an existing bug report for this issue.
- [x] I am using the latest available version of AMP.
- [x] my operating system is up-to-date.
Intended Action
My Steam username is two words with a space between them. Example: my Steam username is Strong Warrior. AMP asks for my Steam credentials. I enter Strong Warrior in the username field.
Expected Behaviour
AMP should pass the full username Strong Warrior to SteamCMD and log in.
Actual Behaviour
AMP fails to download files from SteamCMD. I check the console and I see that AMP is trying to log in to Steam using the username Strong, not Strong Warrior. The space in my Steam username seems to be causing an issue.
Reproduction
Specifically I was trying to create an OpenRCT2 server - but I assume this would be reproducible with any SteamCMD deployment.
It does appear that using quotation marks in the username field is a workaround for this, entering "Strong Warrior" in the Steam username field will pass the full username properly.
This might be the cause of other random people seeing a failure logging in.
I wasn't even aware it was valid for steam usernames to contain spaces. I wonder if people are mixing up steam usernames with their 'community' names maybe?
I wonder if people are mixing up steam usernames with their 'community' names maybe?
Negative, my public profile / steamid is "murderbymodem", the same as my github username. That is not my Steam account name that I log in to the Steam client with, which is two words separated by a space. Example would be Strong Warrior.
Again, entering that name with quotations around it, "Strong Warrior", was the solution to my issue. I can't speak for other login issues, but I can confirm that it is possible to have a space in a Steam account name.
This has been addressed in a recent update and the username is now quoted.