New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SteamCMD exit codes #719
Comments
Where/how do you get the exit code ? |
You will see exit codes scattered across LGSM. they are very useful in detected issues with other commands. Here is some example on catching an exit code
basically if you run a command in shell then echo $? straight after you will see the previous commands exit code. exitcode 0 is everything is OK and any other code is a failure. Some commands do have specific meanings. This allows us to trap the errors and handle them in our code, If we are lucky and the command has specific exit codes we know about I can get LGSM to handle a specific issue. For example dealing with steamcmd issues. Since its hard to replicate all of the steamcmd issues its hard to tell what all the codes mean |
Just posted here. Hopefully I get something back |
That's cool, i didn't notice that into the code yet. Should i harrass Gaben to get error codes and their meanings ? Having a look at steam.sh i found
253 more and we got them all. Edit : Well, i'm late for the party, hopefully they'll give some piece of information. |
current known error codes
|
Adding support to to a fatal exit if no subscription |
@Bourne-ID since you have been doing some work with steamcmd would it be possible for you to look at causing the install to fail if no subscription? |
Error! App '232130' state is 0x202 after update job. Is low on disk space |
new error #2684
|
Steamcmd errors out stating |
Hi @dgibbs64, I understand that this issue is closed, but I can't find any other information on SteamCMD exit codes. I'm having issues where if some (but not all) files are deleted in the game's directory, the preinstall (steamcmd) seems to peacefully exit with code 254 before failing to run the game. -validate parameter is passed into the command, but doesn't seem to make any difference. Have you had any experience with exit code 254? I can't find any other information about it. Many thanks, |
Hi @JamesHawkinss good question. Over the past few years, any info I have gathered for steamcmd error codes can be found here. https://docs.linuxgsm.com/steamcmd/errors I don't however have any specific info on exit codes |
Out of interest, are you getting this error code from steam (IE 0x254) or as an application exit code (IE echo $? == 254)? Wondering it it could be something else that's that is giving an application exit code, instead of it being a steam error code? |
@Bourne-ID Definitely a steam exit code, as it's the SteamCMD process that's being quit with 254. Thanks to @dgibbs64 and their research, I've found that it seems to be an issue with the Steam folder being corrupt (specifically /Steam/package/steam_cmd_linux). Upon deleting this file, the install runs with no issue. I really appreciate the help, thank you! |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
SteamCMD has exit codes to go with its failure errors. However, there is no documentation anywhere telling us what they mean. I may have to contact Valve to see if they would be willing to provide details of there exit codes
for example
gave me exit code 8
The text was updated successfully, but these errors were encountered: