[Bug]: Broken enabled mods parsing in DayZ server

Open
#4,655 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
bash, linux, shell
Domain
cli

Research direction

Start with the restart command and the supplied enabled-mods value on Ubuntu 22.04, focusing on how the configuration is parsed. Reproduce the issue with the listed mods; done means every complete mod name, including “@Dabs Framework” and the later entries, remains enabled rather than being truncated.

Written by the indexing model from the issue text.

Description

command: restart distro: Ubuntu game: DayZ type: bug
User story

The enabled mods parsing is broken

Game

DayZ

Linux distro

Ubuntu 22.04

Command

command: restart

Further information

I have several mods:

mods="mods/@CF;mods/@Community-Online-Tools;mods/@Dabs Framework;mods/@DayZ-Expansion-Licensed;mods/@DayZ-Expansion-Bundle;mods/@DayZ-Expansion-Animations;mods/@VPPAdminTools"

And when I try to enable them i get only first 3 mods enabled and the last of them is "@Dabs", which is a broken string from the mod's name. I have tried '' and "", but couldn't make it work.

Relevant log output
.
Steps to reproduce

Just make a server and enable @Dabs Framework mod in the config (dayzserver or common).

Dominant language
Shell
Stars
4.9k
Forks
866
Avg merge
17h 58m
Merged PRs (30d)
100

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GameServerManagers/LinuxGSM

All issues in GameServerManagers/LinuxGSM

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.