CS:GO server setup

  • 146 Views
  • Last Post 06 January 2020
LtKamikaze posted this 05 January 2020

hi,

I'm having some problems launching a CS:GO server. It seems that needed files are not being dowloaded / intalled on the server after creating an instance.

getting this error: "The file for the SRCDS game you are trying to launch does not exist. AMP is looking for ./srcds/740/srcds_linux but cannot find it."

I used the key that was created with app_id 740 on Steam.

Anyone some tips?

Thx :)

Order By: Standard | Newest | Votes
Mike posted this 05 January 2020

See this page: https://github.com/cubecoders/amp/wiki/Diagnosing-AMP-issues

You may be missing something that steamcmd needs in order to run, so use the debug logging to generate the script that AMP would use for steamcmd, run it, see what happens.

LtKamikaze posted this 05 January 2020

Thanks for the reply. Sorry to say the instruction in the given link are not detailed enough for me to understand. I edited the settings as instructed, but I don't understand that next step:

With these turned on, whenever AMP starts another process - it'll generate a file in its datastore directory with the name of the executable and a timestamp. This will be a .bat file on Windows and a .sh file on Linux. You can run this (make sure you do this as your AMP user and not as a different user!) to run the program in the exact same way AMP would with the same arguments and startup environment.

Hope you can help me out.

Mike posted this 05 January 2020

I don't really know how to explain it in more detail. In the datastore directory there will be a script named steamcmd-TIMESTAMP.sh which you can run as your AMP user to see what happens.

LtKamikaze posted this 05 January 2020

Thanks, when running the scrip it gives an error on the user

Connecting anonymously to Steam Public...Logged in OK Waiting for user info...FAILED. Timed out. OK

Seems that I'm logging in anonymously. But, can't find any option for authentication. Else then the 'Game Server Account Token'

Mike posted this 06 January 2020

It's timing out. You've got issues with your network/internet connection.

LtKamikaze posted this 06 January 2020

Sorry to say, but that isn't really helpful :). That there is a problem and that the connection times out is clear. But the big question is why?

It seems there is an issue on CentOS 8. Can't login to steamcmd.

Maybe I have to switch back to CentOS 7 :(

---- update Found a solution here: https://github.com/ValveSoftware/steam-for-linux/issues/6692

TL;DR

sudo dnf install -y centos-release-stream

sudo dnf -y update --allowerasing

sudo reboot

Testing now.....

---- Update 2

BINGO! :)

Connecting anonymously to Steam Public...Logged in OK

Waiting for user info...OK

Close