Johnny-Knighten / ark-sa-server

Docker Linux container image for running an ARK Survival Ascended dedicated server.
MIT License
4 stars 0 forks source link

Fix/numerous cmd args no longer work #9

Closed Johnny-Knighten closed 11 months ago

Johnny-Knighten commented 11 months ago

Description

Include a summary of the change and which issue is fixed. Also, include relevant motivation and context. List any dependencies that are required for this change.

Around version 26.38 of the ARK Survival Ascended dedicated server, a number of command line launch arguments stopped working. For instance, although the the server name appeared in the command that launched the server, the server name would be set to "ARK #RANDOM-NUMBER". It appears that the launch args were no longer written into GameUserSettings.ini, so they were being set to default values.

Impacted env vars:

To fix this a templating script was made to generate a GameUserSettings.ini before launch the server. The templating system injected the env vars values directly into the GameUserSettings.ini file and set the rest to reasonable defaults. This solution is just a quick fix, in the long term we want the entire GameUserSettings.ini to be configurable via env vars and to automatically update if they are changed. This process only runs during the initial server launch or if the ARK_REBUILD_CONFIG flag is set to True.

Issue/Ticket Number and Link (If Relevant)

No Issue was made for this fix.

Type of Change

Please delete options that are not relevant.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration.

Checklist:

Before you submit your Pull Request, make sure you have done the following:

github-actions[bot] commented 11 months ago

:tada: This PR is included in version 1.0.2-next.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

github-actions[bot] commented 11 months ago

:tada: This PR is included in version 1.0.2 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: