[Bug]: LGSM instance config file "startparamerers" value overrides defaults and does not append.
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 48/100
Hướng nghiên cứu
Bắt đầu với đường dẫn cấu hình instance /lgsm/config-lgsm/myserver/myserver.cfg và theo dõi cách startparameters được xử lý bởi lệnh start và hiển thị bởi details. Tái hiện đầu ra dòng lệnh đã được báo cáo khi có và không có -authkey, sau đó xác nhận rằng các tham số đã cấu hình được nối thêm trong khi các đối số srcds mặc định vẫn được giữ nguyên.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Shell
- Star
- 4.9k
- Fork
- 870
- Merge trung bình
- 22 giờ 21 phút
- Pull request đã merge (30 ngày)
- 93
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của GameServerManagers/LinuxGSM
-
type: bug
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 42/100
GameServerManagers/LinuxGSM#5048 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
engine: unity3d engine: unreal4 Epic game: 7 Days to Die game: ARK: Survival Evolved game: Rust info: dependency type: feature
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 8/100
GameServerManagers/LinuxGSM#5047 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: libstdc++5:i386 is not available on Debian 13 or Ubuntu 26.04 (cod, cod2, coduo, mohaa)Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở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
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 42/100
GameServerManagers/LinuxGSM#5026 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
command: monitor type: feature
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 42/100
GameServerManagers/LinuxGSM#4995 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feat(core): report a clear error when the configured branch doesn't existCó thể đã có người làm @dgibbs64 đã nhận 3 ngày trước. Đang mởtype: feature
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 45/100
GameServerManagers/LinuxGSM#4994 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của GameServerManagers/LinuxGSM
Issue tương tự
-
documentation needs-triage priority:medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
yeongseon/azure-functions-validation-python#546 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Page request: dotnet addĐang mởhelp wanted new command
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
tldr-pages/tldr#24755 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
afk-ok area:agents size:S
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
enorm-labs/event-junkie#3523 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Container fails to start when a mounted neo4j.conf uses spaces around `=`Có thể đã có người làm @RaphaelFakhri đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
neo4j/docker-neo4j#596 ·
-
Cookbook: --json recipes with jqĐang mởdocumentation good first issue
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 78/100
devdavidejesus/btc-toolkit#63 ·
Maintainer thường phản hồi trong vòng 1 ngày