[Bug]: LGSM instance config file "startparamerers" value overrides defaults and does not append.
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 48/100
調査の方向性
インスタンス設定パス /lgsm/config-lgsm/myserver/myserver.cfg から始め、startparameters が start コマンドでどのように処理され、details でどのように表示されるかを追跡します。-authkey がある場合とない場合の報告されたコマンドライン出力を再現し、設定されたパラメーターが追加される一方で、デフォルトの srcds 引数が引き続き存在することを確認します。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Shell
- スター
- 4.9k
- フォーク
- 870
- 平均マージ
- 22時間 21分
- マージ済み PR(30日)
- 93
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
GameServerManagers/LinuxGSM のほかの issue
-
type: bug
難易度 3/5 半日 初心者へのやさしさ 42/100
GameServerManagers/LinuxGSM#5048 ·
メンテナーはふだん 1 日以内に返信
-
engine: unity3d engine: unreal4 Epic game: 7 Days to Die game: ARK: Survival Evolved game: Rust info: dependency type: feature
難易度 5/5 1週間以上 初心者へのやさしさ 8/100
GameServerManagers/LinuxGSM#5047 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: libstdc++5:i386 is not available on Debian 13 or Ubuntu 26.04 (cod, cod2, coduo, mohaa)対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンdistro: Debian distro: Ubuntu engine: idtech3 engine: iw2.0 engine: refractor game: Battlefield: Vietnam game: Call of Duty game: Call of Duty 2 game: Call of Duty: United Offensive game: Medal of Honor: Allied Assault info: dependency info: docker status: fixed in develop type: bug
難易度 3/5 半日 初心者へのやさしさ 42/100
GameServerManagers/LinuxGSM#5026 ·
メンテナーはふだん 1 日以内に返信
-
command: monitor type: feature
難易度 3/5 半日 初心者へのやさしさ 42/100
GameServerManagers/LinuxGSM#4995 ·
メンテナーはふだん 1 日以内に返信
-
feat(core): report a clear error when the configured branch doesn't exist対応中かも @dgibbs64 が 3 日前に担当しました。 オープンtype: feature
難易度 3/5 半日 初心者へのやさしさ 45/100
GameServerManagers/LinuxGSM#4994 ·
メンテナーはふだん 1 日以内に返信
GameServerManagers/LinuxGSM の issue をすべて見る
似ている issue
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
scarif-labs/horus#61 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
IntersectMBO/developer-experience#362 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
registrystack/registry-stack#2168 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
メンテナーはふだん 2 日以内に返信
-
Bug triage/confirmed
難易度 2/5 半日 初心者へのやさしさ 85/100
agentscope-ai/agentscope#3355 ·
メンテナーはふだん 2 日以内に返信