Closed billthecatt closed 5 years ago
Hi there, thanks for sending this in. Annoying that SteamCMD isn't respecting @NoPromptForPassword 1
I've added a check and abort if a password prompt is detected, and added the useful message:
If this error persists, empty the ~/steam/userdata directory
which will force re-authing and re-caching of credentials.
Thanks this should be perfect. I was able to work around this by nuking my steamcmd folder which appeared to force the re-auth and re-cache creds.
Thanks for the fix!
I believe @NoPromptForPassword 1
is ignored if a Steam License Server is running on the local network. I've found I need to switch that off for lancache-autofill to work reliably.
Thanks for the heads up @jalada - have added a note to the error message
So... this was working last week and isn't now.. Not sure if the latest update of steamcmd nuked the no prompt for password functionality, but you'll notice it's asking me for a password even though I just authorzed the account:
./lancache-autofill steam:authorise-account Please enter your Steam username:
<Everything should be good to go here because the auth worked, right??>
user1@srv02:~/lancache-autofill$ ./lancache-autofill steam:start-downloading Checking all Steam accounts are authorised Checking Steam account billyinthebarn... Redirecting stderr to '/home/user1/Steam/logs/stderr.txt' [ 0%] Checking for available updates... [----] Download complete. Steam Console Client (c) Valve Corporation-- type 'quit' to exit -- Loading Steam API...OK. Logging in user 'billyinthebarn' to Steam Public...password:
<Why is it asking me for a password if I've already authorized and/or @NoPromptForPassword 1 is set?>
In Process.php line 1342:
The process "unbuffer /steamcmd/steamcmd.sh +login billyinthebarn +@NoPromptForPassword 1 +quit " exceeded the timeout of 60 seconds.