Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Hurtworld Server - Admin parameter incorrect in _default.cfg #4424

Closed
SaltMaster420 opened this issue Dec 22, 2023 · 1 comment
Closed
Milestone

Comments

@SaltMaster420
Copy link

SaltMaster420 commented Dec 22, 2023

User story

As a user I want to be able to simply add in "admins='#'" into the common.cfg without the need for modification of the start parameters

Game

Hurtworld

Linux distro

Ubuntu 22.04

Command

command: install

Further information

After installing Hurtworld server afresh using the steps at;
https://linuxgsm.com/servers/hwserver/
The file _default.cfg located in lgsm/config-lgsm/hwserver contains the following;

Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters

http://hurtworld.wikia.com/wiki/Hosting_A_Server

startparameters="-batchmode -nographics -logfile ${gamelog} -exec "host ${port} ${defaultmap} ${loadsave};queryport ${queryport};maxplayers ${maxplayers};servername ${servername};creativemode ${creativemode};${admins}""

This is invalid and shows in the logs as "unknown command - STEAMIDHERE" when admins is loaded from the variable.

What happens is, it outputs it as;

./Hurtworld.x86_64 -batchmode -nographics -logfile /home/steam/log/server/hwserver-game.log -exec "host 12871 nullius autosave_nullius;queryport 12881;maxplayers 2;servername RNAS;creativemode 0;STEAMIDREDACTED"

It should be;

./Hurtworld.x86_64 -batchmode -nographics -logfile /home/steam/log/server/hwserver-game.log -exec "host 12871 nullius autosave_nullius;queryport 12881;maxplayers 2;servername RNAS;creativemode 0;addadmin STEAMIDREDACTED"

Note the missing addadmin parameter

Relevant log output

No response

Steps to reproduce

  1. Go to https://linuxgsm.com/servers/hwserver/
  2. At Step 3 of the guide (of the link above) check the file _default.cfg for reference (when copying into common.cfg)
    Refer to line 30 of this file, which is incorrectly listed as;
    startparameters="-batchmode -nographics -logfile ${gamelog} -exec "host ${port} ${defaultmap} ${loadsave};queryport ${queryport};maxplayers ${maxplayers};servername ${servername};creativemode ${creativemode};${admins}""
@dgibbs64
Copy link
Member

a2406a5

@dgibbs64 dgibbs64 moved this from 🆕 New Issues to 👀 In Review in LinuxGSM Backlog Feb 28, 2024
@dgibbs64 dgibbs64 added this to the v24.2.0 milestone Feb 28, 2024
@dgibbs64 dgibbs64 closed this as completed Apr 4, 2024
@github-project-automation github-project-automation bot moved this from 👀 In Review to ✅ Done in LinuxGSM Backlog Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants