Skip to content
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

[Bug]: steamcmd is unable to print app info with +quit in the start parameter #4336

Closed
HotoCocoaco opened this issue Oct 14, 2023 · 1 comment

Comments

@HotoCocoaco
Copy link

User story

I was trying to update the server with update ./tf2server update command. But failed.

Game

Team Fortress 2

Linux distro

Ubuntu 22.04

Command

command: update

Further information

scripts log

UPDATE: INFO: Using anonymous Steam login
UPDATE: PASS: Checking local build
UPDATE: FATAL: Checking remote build
UPDATE: INFO: LinuxGSM version: v23.5.3

It seems that steamcmd is not willing to print app info with +quit behind, making remotebuildversion null value.
Full command line: steamcmd +login anonymous +app_info_update 1 +app_info_print 232250 +quit
Result:

Redirecting stderr to '/home/tf2server/.local/share/Steam/logs/stderr.txt'
Logging directory: '/home/tf2server/.local/share/Steam/logs'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1696019544
-- type 'quit' to exit --
Loading Steam API...dlmopen steamservice.so failed: steamservice.so: cannot open shared object file: No such file or directory
OK

Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK

Without +quit

Waiting for user info...OK

Steam>AppID : 232250, change number : 20677424/0, last change : Sat Oct 14 19:08:16 2023
"232250"
{
        "common"
...... and more

I have modified core_steamcmd.sh to echo debug the value that making sure remotebuildversion is null.

Relevant log output

No response

Steps to reproduce

  1. Run ./tf2server update.
  2. BOOM.
  3. Run steamcmd with +quit. BOOM.
  4. Without +quit. OK.
@dgibbs64
Copy link
Member

the +quit command is required to correctly exit steamcmd. This is not an issue that I have come across or others have been reporting. I will close for now

@github-project-automation github-project-automation bot moved this from 🆕 New Issues to ✅ Done in LinuxGSM Backlog Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants