-
-
Notifications
You must be signed in to change notification settings - Fork 76
Additional params to srcds #15
Comments
Hey @AnkushJadhav, you can start a container and then adapt the start command in the entry.sh file located here: /home/steam/csgo-dedicated/entry.sh What exactly are you trying to override? Maybe I can add it to the image if it's important. |
for starter, I want the +hostname there in entry.sh with a corresponding parameter in container. this way once the container is up, we'd see our own host name rather than whatever is hard-coded in the container image. |
Sure, can do. I'll probably look into it this weekend. I have another PR I wanted to finally apply anyways, might expose the new cvars as well then. |
Have you tried to host this container in a cloud based container service like Azure container instances rather than a local docker? Mine shows up correctly in the list of community servers, but when I try to connect to it it just gets kivked back to main menu rather than joining. Either the server password is passed incorrectly or I have no other clue what the issue might be.
You might want to check it on a fresh docker host first before PR. There might be some other stuff in your PR you might want to add.
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: Walentin L. <notifications@github.com>
Sent: Wednesday, May 6, 2020 12:24:27 PM
To: CM2Walki/CSGO <CSGO@noreply.github.com>
Cc: Sassan Hajrasooliha <Sasan_hj@hotmail.com>; Comment <comment@noreply.github.com>
Subject: Re: [CM2Walki/CSGO] Additional params to srcds (#15)
Sure, can do. I'll probably look into it this weekend. I have another PR I wanted to finally apply anyways, might as well expose the new cvars as well then.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCM2Walki%2FCSGO%2Fissues%2F15%23issuecomment-624842125&data=02%7C01%7C%7C93dc16db8b8b4e19ad5708d7f1f31871%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637243898692807185&sdata=ZDPm0D1rlKAsGVPOPrz%2BmQDEFvvX5ajnGGfXXYWByQk%3D&reserved=0>, or unsubscribe<https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJXJYF5P4K6GUPBH2RCA5ILRQG2OXANCNFSM4MXRMN4A&data=02%7C01%7C%7C93dc16db8b8b4e19ad5708d7f1f31871%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637243898692807185&sdata=5S8Jpp%2Bycg9TobO%2BK5hp10ihVbQ45ty5%2BZFeYAam90w%3D&reserved=0>.
|
Did you pass the SRCDS_TOKEN? Other than that my second guess would be firewall related. And no, I haven't run on CaaS. I try to cut as many virtualization layers as possible from my game servers, they all come with extra latency and less/no control over the kernel. Running servers at high tickrates on virtualized hardware is not going to give you good results. |
Token is passed and I can see in my managed server console that the container indeed has logged in using the token.
Firewall is open for udp 27015 and udp 27020. If there is anything else that I need to open I am not aware of it.
From: Walentin L. <notifications@github.com>
Sent: Thursday, May 7, 2020 4:02 PM
To: CM2Walki/CSGO <CSGO@noreply.github.com>
Cc: Sassan Hajrasooliha <Sasan_hj@hotmail.com>; Comment <comment@noreply.github.com>
Subject: Re: [CM2Walki/CSGO] Additional params to srcds (#15)
Did you pass the SRCDS_TOKEN? Other than that my second guess would be firewall related.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCM2Walki%2FCSGO%2Fissues%2F15%23issuecomment-625539693&data=02%7C01%7C%7C11a467f928f64233e15708d7f2dab219%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637244893404413271&sdata=ohBZ4shrJE5MSGZvRGRsf8fg60x7WpsNkvL7PFMehOg%3D&reserved=0>, or unsubscribe<https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJXJYFYXSYSNBLAGI5W7C4LRQM4XXANCNFSM4MXRMN4A&data=02%7C01%7C%7C11a467f928f64233e15708d7f2dab219%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637244893404423257&sdata=aVzIqEJXCwnFroY6JpTBFWygBd29zhpQKR%2Bi0fS10u0%3D&reserved=0>.
|
You need to open 27015/tcp as well. https://developer.valvesoftware.com/wiki/Source_Dedicated_Server |
@CM2Walki Thanks for your prompt reply. I was trying to host a workshop collection but didn't find the required params being passed to srcds in entry.sh. For starters, the provisioning for "workshop_start_map", "host_workshop_collection", "authkey". Yep, I ended up modifying the entry.sh file, but it would be good if basic configs like these are already provided. |
Added cvars: SRCDS_HOSTNAME |
Currently I can see that only a certain number of parameters are passed to srcds, and these can be overridden with environment variables.
Is it possible to configure additional parameters for srcds at container startup?
The text was updated successfully, but these errors were encountered: