[Bug]: Craftopia saves to serverfilesDedicatedServerSave outside serverfiles
メンテナーはふだん 1 日以内に返信
評価
この issue はまだ評価されていません。
説明
Severity
severity: medium
Reproducibility
reproducible: always
Regression
regression: no
Affects latest release
latest-release: yes
User story
As a Craftopia server owner, I want my worlds saved inside the server files so that backups and container volumes keep them.
Script name
ctserver
Game
Craftopia
Linux distro
Ubuntu 26.04
Command
command: start, command: backup
Expected behavior
Craftopia saves to serverfiles/DedicatedServerSave/.
Actual behavior
Craftopia saves to a folder beside serverfiles called serverfilesDedicatedServerSave/ (for example /data/serverfilesDedicatedServerSave/ in the Docker image), which holds Worlds/*.db, Backup/, Settings.db and Craftopia.db.
Further information
ServerSetting.ini ships with savePath=DedicatedServerSave/, which the game documents as "relative path base on ServerSetting.ini folder or absolute path". The game joins the install folder and the relative value with no separator between them. It does this whatever the working directory, and however the executable path is given.
Results from a clean install:
| savePath | Saves land in |
|---|---|
DedicatedServerSave/ |
serverfilesDedicatedServerSave/ |
./exp/ |
serverfiles./exp/ |
/exp/ |
/exp/ (treated as absolute, permission denied) |
/full/path/serverfiles/exp/ |
serverfiles/exp/ |
An absolute path is the only value that lands inside serverfiles. On a normal install the stray folder is still under the home folder, but with Docker or a custom layout it falls outside the LinuxGSM folder and is easy to miss in backups.
Pre-checks
- I ran update and validate before reporting this issue.
Relevant log output
$ ls -d /data/serverfiles*
/data/serverfiles
/data/serverfilesDedicatedServerSave
Steps to reproduce
- Install
ctserver(or run thegameserver:ctimage). - Start the server and let it autosave.
- List the folder above serverfiles:
serverfilesDedicatedServerSaveis there.
- 主要言語
- Shell
- スター
- 4.9k
- フォーク
- 871
- 平均マージ
- 1日 7時間
- マージ済み PR(30日)
- 133
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
GameServerManagers/LinuxGSM のほかの issue
-
[Bug]: csserver metamod fails to load amxmodx after ubuntu 26.04 base image対応中かも @dgibbs64 が 2 日前に担当しました。 オープンcommand: mods command: start distro: Ubuntu regression: yes reproducible: always severity: medium status: fixed in develop type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
GameServerManagers/LinuxGSM#5114 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: cs2server ignores the GSLT entered during install対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンcommand: install command: start distro: Debian engine: source2 game: Counter-Strike 2 regression: yes reproducible: always severity: high type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
GameServerManagers/LinuxGSM#5106 ·
メンテナーはふだん 1 日以内に返信
-
command: install command: update distro: Ubuntu engine: quake game: Quake World priority: low scope: single game type: feature
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
GameServerManagers/LinuxGSM#5143 ·
メンテナーはふだん 1 日以内に返信
-
command: monitor command: start distro: Ubuntu engine: goldsrc game: Counter-Strike: WON2 game: Half-Life: WON2 info: docker info: query reproducible: always severity: medium type: bug
難易度 4/5 1週間以上 初心者へのやさしさ 18/100
GameServerManagers/LinuxGSM#5142 ·
メンテナーはふだん 1 日以内に返信
-
command: monitor command: start distro: Ubuntu engine: goldsrc game: Action Half-Life reproducible: always severity: medium type: bug
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
GameServerManagers/LinuxGSM#5141 ·
メンテナーはふだん 1 日以内に返信
GameServerManagers/LinuxGSM の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Graphify-Labs/graphify#4977 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
lesson-submission pending-review
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Ikalus1988/MisakaNet#4393 ·
メンテナーはふだん 1 日以内に返信