Skip to content

ut2k4server servername output issue #3088

@Annihilator

Description

@Annihilator

Intro

When displaying, and using the variable servername, the exact server name as specified in the ut2k4server configuration is expected. This is not how lgsm currently behaves. Aside from the visual annoyance, some script behavior is broken because of this.

Basic info

  • Distro: [Debian 10]
  • Game: [Unreal Tournament 2004]
  • Command: [test-alert] [details]
  • LinuxGSM version: [v20.5.1]

Further Information

3x \nShowTrue is appended to the end of the servername variable. So, if the configured servername of the game server is "AB CD EF", lgsm would interpret it as:
AB CD EF
ShowTrue
ShowTrue
ShowTrue

To Reproduce

Steps to reproduce the behaviour:

  1. Install a configure a ut2k4server instance
  2. Check ut2k4server details
  3. See the servername variable get junk appended to it

This also breaks Discord alerts because the alert-discord script is unable to parse such a malformed server name.

Expected behaviour

There should be no 3x ShowTrue appended to the real name of the game server in the servername variable.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions