[Bug]: LGSM instance config file "startparamerers" value overrides defaults and does not append.
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 48/100
Línea de trabajo
Comienza con la ruta de configuración de la instancia /lgsm/config-lgsm/myserver/myserver.cfg y sigue cómo startparameters es gestionado por el comando start y mostrado por details. Reproduce la salida de línea de comandos indicada con y sin -authkey, y confirma después que los parámetros configurados se añaden mientras los argumentos predeterminados de srcds siguen presentes.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
User story
As a Garry's mod server owner, I want the "startparameters" option in the instance config for my gmae server to append values to the default srcds.exe command line arguments, not override them.
Game
Garry's Mod
Linux distro
Ubuntu 24.04
Command
command: start
Further information
Per the documentation: https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters,
I would expect any values added to the "startparameters" field in the instance config file (/lgsm/config-lgsm/myserver/myserver.cfg) to be APPENDED to the srcds.exe command line arguments, not override them. The latter seems to be happening.
Before adding my own "startparameters" value (these are the results of running the details command):
./srcds_run -game garrysmod -strictportbind -ip 0.0.0.0 -port 27015 -tickrate 66 +host_workshop_collection FAKEWORKSHOPCOLLENTION +clientport 27005 +tv_port 27020 +gamemode terrortown +map gm_construct +sv_setsteamaccount FAKESTEAMACCOUNT +servercfgfile gmodserver.cfg -maxplayers 16 -disableluarefresh
After adding a value of "-authkey AUTHKEY" to "startparameters":
./srcds_run -authkey AUTHKEY
As you can see, all defaults are gone. The expected result is like so:
./srcds_run -game garrysmod -strictportbind -ip 0.0.0.0 -port 27015 -tickrate 66 +host_workshop_collection FAKEWORKSHOPCOLLENTION +clientport 27005 +tv_port 27020 +gamemode terrortown +map gm_construct +sv_setsteamaccount FAKESTEAMACCOUNT +servercfgfile gmodserver.cfg -maxplayers 16 -disableluarefresh -authkey AUTHKEY
Am I missing something or am I correct in thinking this a bug?
Relevant log output
Steps to reproduce
- Edit your LGSM instance config (yourserver.cfg)
- Add a "startparameters" value, e.g.
startparameters="-authkey FAKEAUTHKEY" - Restart the server
- Run the
detailscommand (./yoursever details) - See that the "Command-line Parameters" section is now only displaying your change without the defaults.
- Lenguaje dominante
- Shell
- Estrellas
- 4.9k
- Forks
- 870
- Merge medio
- 17 h 33 min
- PR fusionados (30 d)
- 104
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de GameServerManagers/LinuxGSM
-
engine: source game: Team Fortress 2 game: Team Fortress 2 Classified info: docker info: steamcmd type: bug
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
GameServerManagers/LinuxGSM#5094 ·
Los mantenedores suelen responder en 1 día
-
type: bug
Dificultad 3/5 Medio día Aptitud para principiantes 42/100
GameServerManagers/LinuxGSM#5048 ·
Los mantenedores suelen responder en 1 día
-
engine: unity3d engine: unreal4 Epic game: 7 Days to Die game: ARK: Survival Evolved game: Rust info: dependency type: feature
Dificultad 5/5 Más de una semana Aptitud para principiantes 8/100
GameServerManagers/LinuxGSM#5047 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
command: monitor type: feature
Dificultad 3/5 Medio día Aptitud para principiantes 42/100
GameServerManagers/LinuxGSM#4995 ·
Los mantenedores suelen responder en 1 día
-
feat(core): report a clear error when the configured branch doesn't existPosiblemente ocupada @dgibbs64 la tomó hace 7 días. Abiertotype: feature
Dificultad 3/5 Medio día Aptitud para principiantes 45/100
GameServerManagers/LinuxGSM#4994 ·
Los mantenedores suelen responder en 1 día
Todos los issues de GameServerManagers/LinuxGSM
Issues similares
-
data only (no code) good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 1 día
-
kind/bug needs-triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
projectbluefin/common#1521 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
-
GNU nano 9.3 released upstreamAbiertoupstream-release
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
pypa/advisory-database#401 · 3 comentarios ·
Los mantenedores suelen responder en 1 día