mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-19 03:25:56 +00:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
df102f16fa | ||
|
|
5963e97c59 |
No files matched your search
@@ -1,14 +0,0 @@
|
||||
name: changelog-fragments
|
||||
# Checks the changelog.d/ fragment files with the shared rules (https://github.com/Corfirean/coa-server-build/blob/main/changelog/GUIDE.md).
|
||||
on:
|
||||
push:
|
||||
paths: ['changelog.d/**']
|
||||
pull_request:
|
||||
paths: ['changelog.d/**']
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
check:
|
||||
uses: Corfirean/coa-server-build/.github/workflows/changelog-check.yml@main
|
||||
@@ -1,47 +1,14 @@
|
||||
name: changelog
|
||||
# Checks the changelog.d/ fragment files with the shared rules (https://github.com/Corfirean/coa-server-build/blob/main/changelog/GUIDE.md).
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
paths: [tools/sync_history.py, changelog/history.json, .github/workflows/changelog.yml]
|
||||
paths: ['changelog.d/**']
|
||||
pull_request:
|
||||
paths: [tools/sync_history.py, tools/test_sync_history.py, changelog/history.json, .github/workflows/changelog.yml]
|
||||
release:
|
||||
types: [published, released]
|
||||
workflow_run:
|
||||
workflows: [release]
|
||||
types: [completed]
|
||||
workflow_dispatch:
|
||||
paths: ['changelog.d/**']
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
concurrency:
|
||||
group: component-changelog
|
||||
cancel-in-progress: false
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- uses: actions/checkout@v7
|
||||
- run: python3 -m unittest discover -s tools -p test_sync_history.py
|
||||
sync:
|
||||
needs: test
|
||||
if: github.event_name != 'pull_request' && (github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success')
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
steps:
|
||||
- uses: actions/checkout@v7
|
||||
with:
|
||||
ref: ${{ github.event.repository.default_branch }}
|
||||
fetch-depth: 0
|
||||
- name: Synchronize this component from published immutable sources
|
||||
run: python3 tools/sync_history.py --sync-release-notes
|
||||
- name: Commit updated history
|
||||
run: |
|
||||
git config user.name 'github-actions[bot]'
|
||||
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
|
||||
git add CHANGELOG.md changelog/history.json
|
||||
if git diff --cached --quiet; then exit 0; fi
|
||||
git commit -m 'Update published Manager changelog'
|
||||
git push origin HEAD:"${{ github.event.repository.default_branch }}"
|
||||
check:
|
||||
uses: Corfirean/coa-server-build/.github/workflows/changelog-check.yml@main
|
||||
@@ -3,7 +3,8 @@
|
||||
<!-- changelog:start (managed by coa-server-build/changelog/changelog.py sync-instructions) -->
|
||||
## Changelog (shared by all CoA repositories)
|
||||
|
||||
Every CoA project (server fork, bots, Content Scaling, Manager, renderer) uses the same fragment format. **Manager and server release histories are separate**; each repository publishes only its own shipped component changes. When you finish a change that a **player** or a **server owner** would notice (a new feature, a changed
|
||||
Every CoA project (server fork, bots, Content Scaling, Manager, renderer) feeds **one** changelog that is posted to the
|
||||
community. When you finish a change that a **player** or a **server owner** would notice (a new feature, a changed
|
||||
behaviour, a fix for something people ran into, a removed feature, a known issue), add **one small file to
|
||||
`changelog.d/` in the same commit**. Do not add one for internal work (refactors, tests, CI, documentation).
|
||||
|
||||
@@ -28,22 +29,3 @@ Optional: one short paragraph in plain English for the reader (at most 300 chara
|
||||
`python changelog.py new --area bots --type fixed --audience players --title "..."`.
|
||||
- Full guide with examples: https://github.com/Corfirean/coa-server-build/blob/main/changelog/GUIDE.md
|
||||
<!-- changelog:end -->
|
||||
|
||||
## Shared build and release workflow
|
||||
|
||||
Before preparing or publishing a Manager/server release, read the maintained
|
||||
[release runbook](https://github.com/Corfirean/coa-server-build/blob/main/docs/server-release.md)
|
||||
and [build agent instructions](https://github.com/Corfirean/coa-server-build/blob/main/AGENTS.md).
|
||||
Use the local build checkout when available; otherwise retrieve the current files from GitHub.
|
||||
|
||||
Recover the exact prepared run, source commit, version, hashes and artifact expiry before rebuilding.
|
||||
Prepare-only is not publication permission. A normal owner command to release the identified candidate
|
||||
includes its required stable promotion; do not stop at a server Pre-release or ask twice for the same action.
|
||||
Reuse signed prepared Manager installers after verifying their source metadata, SHA-256, updater JSON
|
||||
and signature against the matching source's updater public key. Do not rerun compilation just to upload
|
||||
already verified assets, or overwrite a published version with different bytes.
|
||||
|
||||
Server promotion uses the persistent Windows PC and the shared workflow's verified caches. Preserve
|
||||
production databases; run applicable local acceptance in disposable fixtures. Record the actual passed,
|
||||
failed and unrun checks. Verify both GitHub Latest and the public signed stable pointer before reporting
|
||||
that users can update. Leave the durable handoff described in the runbook for the next agent.
|
||||
+15
-290
@@ -1,300 +1,25 @@
|
||||
# CoA Server Manager changelog
|
||||
|
||||
Manager releases only. Updating the Manager does not update the server.
|
||||
|
||||
[Server changelog](https://github.com/Corfirean/coa-server-build/blob/main/CHANGELOG.md)
|
||||
|
||||
Dates follow GitHub publication (UTC); legacy records retain their archived dates. Newest releases first.
|
||||
|
||||
## 0.6.22 — 2026-10-19
|
||||
|
||||
- Updated Custom Races client patches to 1.8.
|
||||
- Included the updated race appearance and cursor addons.
|
||||
- Existing client files are preserved when installing or removing race patches.
|
||||
|
||||
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.22) · [Source changes](https://github.com/Corfirean/coa-server-manager/compare/v0.6.21...v0.6.22)
|
||||
|
||||
## 0.6.21 — 2026-10-16
|
||||
|
||||
- Server updates apply migrations once after saving a recovery point.
|
||||
- Older server versions update directly without installing intermediate packages.
|
||||
- Update validation recognizes an already stopped server.
|
||||
- Recorded core SQL stays applied after old history tables are cleaned up.
|
||||
- Switching realms no longer repeats shared account database updates.
|
||||
- Update offers distinguish version support from database validation.
|
||||
|
||||
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.21) · [Source changes](https://github.com/Corfirean/coa-server-manager/compare/v0.6.19...v0.6.21)
|
||||
|
||||
## 0.6.19 — 2026-10-16
|
||||
|
||||
- Update checks no longer download a server archive to compare its launcher.
|
||||
|
||||
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.19) · [Source changes](https://github.com/Corfirean/coa-server-manager/compare/v0.6.18...v0.6.19)
|
||||
|
||||
## 0.6.18 — 2026-10-16
|
||||
|
||||
- Older servers find a tested intermediate update instead of being blocked.
|
||||
|
||||
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.18) · [Source changes](https://github.com/Corfirean/coa-server-manager/compare/v0.6.17...v0.6.18)
|
||||
|
||||
## 0.6.17 — 2026-10-15
|
||||
|
||||
- Already running MySQL is recognized before startup readiness checks.
|
||||
- New servers install the current stable build directly.
|
||||
- Install the matching client patches for Grummle.
|
||||
- Failed repairs restore the previous server after final verification errors.
|
||||
- Failed server updates show an error on the Overview screen.
|
||||
- Private update checks show preparation stages and stop failure details.
|
||||
- Repair recovery copies preserve all bundled database objects and accounts.
|
||||
- Server checks report interrupted SQUID database imports.
|
||||
- Shutdown remains available when startup templates or database records are damaged.
|
||||
- Successful server repairs no longer block later server actions.
|
||||
|
||||
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.17) · [Source changes](https://github.com/Corfirean/coa-server-manager/compare/v0.6.16...v0.6.17)
|
||||
|
||||
## 0.6.16 — 2026-10-13
|
||||
|
||||
- Linux Docker servers follow Settings, sharing and backups (experimental).
|
||||
- Local hosts can connect while sharing a server online.
|
||||
- Custom race client installation follows the current upstream release.
|
||||
- Docker friend mode requests a restart when remote client support changes.
|
||||
- Module cards show installed server revisions and the client race patch version.
|
||||
- Server updates accept long Windows paths inside the private test server.
|
||||
- Diagnostics record blocked startup requests and maintenance owner information.
|
||||
- Client race patches can be repaired and removed while preserving original files.
|
||||
- Checking an already installed server update no longer reports incompatibility.
|
||||
- Failed server startup shows service errors even when the launcher reported ready.
|
||||
- Starting the server waits for update checks and identifies ongoing maintenance.
|
||||
|
||||
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.16) · [Source changes](https://github.com/Corfirean/coa-server-manager/compare/v0.6.15...v0.6.16)
|
||||
|
||||
## 0.6.15 — 2026-10-11
|
||||
|
||||
- Large server updates no longer repeatedly rewrite the recovery journal.
|
||||
|
||||
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.15) · [Source changes](https://github.com/Corfirean/coa-server-manager/compare/v0.6.14...v0.6.15)
|
||||
|
||||
## 0.6.14 — 2026-10-11
|
||||
|
||||
- Fixed server update checks failing with long Windows paths.
|
||||
|
||||
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.14) · [Source changes](https://github.com/Corfirean/coa-server-manager/compare/v0.6.13...v0.6.14)
|
||||
|
||||
## 0.6.13 — 2026-10-11
|
||||
|
||||
- Failed server startup after an update automatically restores the previous version.
|
||||
- Windows update recovery preserves database procedures triggers and views.
|
||||
- Custom races bot setting synchronizes Playerbots excluded race lists.
|
||||
- Blocked updates identify database objects that prevent automatic recovery.
|
||||
- Updates can follow signed channels that select a complete server release.
|
||||
- Server updates check startup privately before allowing players to connect.
|
||||
- Updates repair missing database defaults from the verified release schema.
|
||||
- Server updates no longer replay module installation scripts on existing databases.
|
||||
- Windows server updates are tested on a private copy before changing your installation.
|
||||
- Server updates can require a tested combination of platform and installed version.
|
||||
- Failed database checks keep a complete report after rollback.
|
||||
- Players can install custom race patches when connecting to a friend.
|
||||
|
||||
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.13) · [Source changes](https://github.com/Corfirean/coa-server-manager/compare/v0.6.12...v0.6.13)
|
||||
|
||||
## 0.6.12 — 2026-10-10
|
||||
|
||||
- Background world servers no longer stop because the local console is closed.
|
||||
|
||||
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.12) · [Source changes](https://github.com/Corfirean/coa-server-manager/compare/v0.6.11...v0.6.12)
|
||||
|
||||
## 0.6.11 — 2026-10-10
|
||||
|
||||
- Server and Bots settings open without a blank window.
|
||||
|
||||
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.11) · [Source changes](https://github.com/Corfirean/coa-server-manager/compare/v0.6.10...v0.6.11)
|
||||
|
||||
## 0.6.10 — 2026-10-10
|
||||
|
||||
- Custom race client patches update to the latest races and appearances.
|
||||
|
||||
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.10) · [Source changes](https://github.com/Corfirean/coa-server-manager/compare/v0.6.9...v0.6.10)
|
||||
|
||||
## 0.6.9 — 2026-10-10
|
||||
|
||||
- Custom races can be enabled and their client patches installed from Modules.
|
||||
|
||||
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.9) · [Source changes](https://github.com/Corfirean/coa-server-manager/compare/v0.6.8...v0.6.9)
|
||||
|
||||
## 0.6.8 — 2026-10-10
|
||||
|
||||
- Linux: install from the install screen, play with Wine or Proton (experimental).
|
||||
- A failing database update is no longer reported as "database not running.
|
||||
- Unsaved settings are protected and crashed servers can restart automatically.
|
||||
|
||||
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.8) · [Source changes](https://github.com/Corfirean/coa-server-manager/compare/v0.6.7...v0.6.8)
|
||||
|
||||
## 0.6.7 — 2026-10-08
|
||||
|
||||
- Choose where backups are stored, for example on another drive.
|
||||
- Bot settings with a fixed list of values show a drop-down.
|
||||
- The bot dashboard loads completely and can be opened in the browser.
|
||||
- Accounts of the SQUID bots are hidden from the Accounts list.
|
||||
- A Dashboard tab shows what the SQUID bots are doing.
|
||||
- A stopped server stays stopped after an update, unless you ask it to start.
|
||||
- Checking for updates no longer fails with "Something went wrong" after a crash.
|
||||
- Server updates no longer stop with "has a different checksum" on the Wildcard repair.
|
||||
- A world server started from the coa-bots folder is recognised.
|
||||
|
||||
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.7) · [Source changes](https://github.com/Corfirean/coa-server-manager/compare/v0.6.6...v0.6.7)
|
||||
|
||||
## 0.6.6 — 2026-10-07
|
||||
|
||||
- Install a server from a package on Linux, running in Docker (experimental).
|
||||
- The Auction House Bot card no longer asks for a character GUID.
|
||||
- Choose and remember the local network address friends use to connect.
|
||||
- The NPC Enchanter card explains how to place and remove the NPC.
|
||||
- Diagnostic files with database checks stay readable after secrets are removed.
|
||||
- One button collects all diagnostics, including crashes and Windows crash records.
|
||||
- Problem reports go to the right project.
|
||||
|
||||
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.6) · [Source changes](https://github.com/Corfirean/coa-server-manager/compare/v0.6.5...v0.6.6)
|
||||
|
||||
## 0.6.5 — 2026-10-06
|
||||
|
||||
- Imported SquidBots servers warn before replacing their original binary.
|
||||
- SquidBots settings follow the options shipped by the module.
|
||||
- SquidBots shows its bundled release and includes it in problem reports.
|
||||
- Server updates accept verified published migration variants without rerunning them.
|
||||
- Server updates replace older launchers adapted by the Manager for Wildcard.
|
||||
- Older server packages cannot replace a newer installation.
|
||||
- Checking again no longer offers an already installed launcher update.
|
||||
- Large SQUID database imports have more time to finish on first startup.
|
||||
- Update history conflicts are detected before server files change.
|
||||
- Pending database updates remain visible when the server version matches.
|
||||
|
||||
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.5) · [Source changes](https://github.com/Corfirean/coa-server-manager/compare/v0.6.4...v0.6.5)
|
||||
|
||||
## 0.6.4 — 2026-10-05
|
||||
|
||||
- Start your installed server or client without downloading an available update.
|
||||
- Finish a server update that was blocked by a startup failure.
|
||||
|
||||
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.4) · [Source changes](https://github.com/Corfirean/coa-server-manager/compare/v0.6.3...v0.6.4)
|
||||
|
||||
## 0.6.3 — 2026-10-04
|
||||
|
||||
- Configure partial dungeon parties and open-world life steal in module settings.
|
||||
- Download and update the game client without installing a server.
|
||||
|
||||
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.3) · [Source changes](https://github.com/Corfirean/coa-server-manager/compare/v0.6.2...v0.6.3)
|
||||
|
||||
## 0.6.2 — 2026-10-04
|
||||
|
||||
- Choose which item types the auction bot sells.
|
||||
- Module settings now offer translated controls and an enemy damage slider.
|
||||
- Failed server updates restore databases and files together.
|
||||
- Configure SQUID Playerbots and prevent conflicting bot systems.
|
||||
- Server packages must include a complete database schema check.
|
||||
|
||||
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.2) · [Source changes](https://github.com/Corfirean/coa-server-manager/compare/v0.6.1...v0.6.2)
|
||||
|
||||
## 0.6.1 — 2026-10-04
|
||||
|
||||
- Server multipliers now accept decimals typed with a dot or comma.
|
||||
- Play launches only the game client without starting your local server.
|
||||
- Check database structure and repair server files with a safety backup.
|
||||
- Start CoA and Wildcard together from Settings.
|
||||
|
||||
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.1) · [Source changes](https://github.com/Corfirean/coa-server-manager/compare/v0.6.0...v0.6.1)
|
||||
- PLAY launches only the client with the selected realmlist; starting the local server remains a separate action.
|
||||
- Server multipliers accept decimals typed with a dot or comma. Talent and rested experience descriptions now explain their actual behavior.
|
||||
- Added database and file checks, and Repair with backups and signed package verification. Unresolved schema damage is reported instead of guessed repairs.
|
||||
- Fixed character database rebuilds retaining migration history that could skip required SQL. Applied migration hash changes are now rejected.
|
||||
- Added optional simultaneous CoA and Wildcard worlds on Windows, with separate processes, ports and status indicators.
|
||||
|
||||
## 0.6.0 — 2026-10-03
|
||||
|
||||
- The game client follows the realm selected in the Manager.
|
||||
- Configuration snapshots no longer overwrite each other.
|
||||
- Experimental Linux startup and Docker server controls.
|
||||
- Problem reports open in the default browser.
|
||||
- Simplified Chinese is available in the Manager.
|
||||
- Added Simplified Chinese for the interface and all server and bot settings.
|
||||
- The closed game client now follows the selected CoA or Wildcard realm. Play checks the saved realm before launching; existing settings are preserved and backed up.
|
||||
- Fixed GitHub reports opening Windows Explorer instead of the default browser. Long reports use the clipboard fallback.
|
||||
- Fixed configuration snapshots created in the same millisecond overwriting each other during restore.
|
||||
- Added experimental Linux startup: persistent state uses the XDG data folder, Tailscale detection supports Linux, and a Wayland rendering workaround respects existing user settings.
|
||||
- Added experimental start, stop and status controls for manually prepared Docker servers, with private database networking and a remote console bound to localhost.
|
||||
- Linux extraction restores executable permissions for ELF binaries and scripts, and paths retain case-sensitive filesystem semantics.
|
||||
|
||||
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.0) · [Source changes](https://github.com/Corfirean/coa-server-manager/compare/v0.5.0...v0.6.0)
|
||||
### Availability
|
||||
|
||||
## 0.5.0 — 2026-10-03
|
||||
This release ships the Windows installer and signed updater assets. Linux support is a development preview, not a one-click installation flow. Docker installation/database setup, SQL operations and backups, updates, Wildcard realm profiles, and Wine/Proton client launching remain unfinished. Servers must be prepared manually and use Linux binaries built with the packaged configuration layout.
|
||||
|
||||
- Imported servers get the module config files they lack.
|
||||
- Modules marked Soon stay greyed out.
|
||||
- The Bots page is hidden when the module is not on the server.
|
||||
- Updating the game client shows a progress bar on its button.
|
||||
- Switch between CoA and Wildcard while keeping separate characters and module settings.
|
||||
|
||||
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.5.0) · [Source changes](https://github.com/Corfirean/coa-server-manager/compare/v0.4.0...v0.5.0)
|
||||
|
||||
## 0.4.0 — 2026-10-02
|
||||
|
||||
- Added module cards with switches and settings.
|
||||
- Added searchable server settings and appearance and collection controls.
|
||||
- Added account deletion with confirmation.
|
||||
- Fixed update checks offering an already installed version.
|
||||
|
||||
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.4.0) · [Source changes](https://github.com/Corfirean/coa-server-manager/compare/v0.3.1...v0.4.0)
|
||||
|
||||
## 0.3.1 — 2026-10-01
|
||||
|
||||
- Added named realmlists and a switcher beside Play.
|
||||
- Added account management and a prefilled GitHub problem-report form.
|
||||
- Server updates continue when leaving the settings page.
|
||||
|
||||
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.3.1) · [Source changes](https://github.com/Corfirean/coa-server-manager/compare/v0.3.0...v0.3.1)
|
||||
|
||||
## 0.3.0 — 2026-10-01
|
||||
|
||||
- Download and update the game client through the Manager while preserving custom files.
|
||||
- Server updates are checked automatically and offered on Overview.
|
||||
|
||||
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.3.0) · [Source changes](https://github.com/Corfirean/coa-server-manager/compare/v0.2.0...v0.3.0)
|
||||
|
||||
## 0.2.0 — 2026-10-01
|
||||
|
||||
- Added companion creation progress and controls to stop creation, take bots offline or remove them.
|
||||
- Choose how many bots log in when the server starts.
|
||||
- Added a control to log out a chosen number of bots and reduce server load.
|
||||
|
||||
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.2.0) · [Source changes](https://github.com/Corfirean/coa-server-manager/compare/v0.1.6...v0.2.0)
|
||||
|
||||
## 0.1.6 — 2026-09-30
|
||||
|
||||
- Overview shows world speed.
|
||||
- Improved companion setup, including requests made while the server is stopped.
|
||||
- Expanded translated settings and connection guides.
|
||||
|
||||
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.1.6) · [Source changes](https://github.com/Corfirean/coa-server-manager/compare/v0.1.4...v0.1.6)
|
||||
|
||||
## 0.1.4 — 2026-09-30
|
||||
|
||||
- Sharing settings are reapplied before server startup.
|
||||
- Added a restart shortcut after enabling play with friends.
|
||||
|
||||
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.1.4) · [Source changes](https://github.com/Corfirean/coa-server-manager/compare/v0.1.3...v0.1.4)
|
||||
|
||||
## 0.1.3 — 2026-09-30
|
||||
|
||||
- The interface scales with the window.
|
||||
- Each friend connection mode shows the realmlist line to use.
|
||||
|
||||
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.1.3) · [Source changes](https://github.com/Corfirean/coa-server-manager/compare/v0.1.2...v0.1.3)
|
||||
|
||||
## 0.1.2 — 2026-09-30
|
||||
|
||||
- Manager updates download in the background and install when the app closes.
|
||||
- Missing module configuration files are created from the supplied defaults.
|
||||
|
||||
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.1.2) · [Source changes](https://github.com/Corfirean/coa-server-manager/compare/v0.1.1...v0.1.2)
|
||||
|
||||
## 0.1.1 — 2026-09-30
|
||||
|
||||
- Added translations throughout setup, server updates, backups, diagnostics and settings.
|
||||
- Added clearer errors when server packages are unavailable or a server cannot be reached.
|
||||
|
||||
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.1.1) · [Source changes](https://github.com/Corfirean/coa-server-manager/compare/v0.1.0...v0.1.1)
|
||||
|
||||
## 0.1.0 — 2026-09-30
|
||||
|
||||
- Initial Windows release: install or import a server and manage startup from one app.
|
||||
- Configure server and bot settings, manage accounts, create backups and restore saved data.
|
||||
- Launch the game client, set up sharing with friends and collect diagnostics.
|
||||
|
||||
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.1.0)
|
||||
Server shutdown and starting-zone scaling issues require separate server releases and are not fixed by updating the Manager alone.
|
||||
@@ -18,14 +18,14 @@ no console, no config files, no database tools. Tauri 2 + Rust + React.
|
||||
into **UPDATE**. Updates are authenticated (Ed25519), back up first, keep files you changed and can be rolled back.
|
||||
* **Backups.** Characters, accounts and settings on demand, automatically before every update; verify and restore
|
||||
from the app.
|
||||
* **CoA / Wildcard / Warcraft Reborn realms.** Choose the active realm on Overview. A server build supporting the selected realm is required;
|
||||
* **CoA / Wildcard realms.** Choose the active realm on Overview. A server build with Wildcard support is required;
|
||||
the first switch copies world data and creates an empty character database. Accounts are shared, characters and
|
||||
module settings are separate, and only one world runs. Switching a running server saves characters and restarts it.
|
||||
The closed client's saved realm follows this selection and is checked again before PLAY. If the client is open,
|
||||
the change is applied on the next launch through the Manager.
|
||||
Bots are unavailable on Wildcard and Warcraft Reborn; other optional modules are experimental. Backups and
|
||||
database updates include every created realm. Simultaneous startup supports CoA + Wildcard only.
|
||||
See [realm profiles and validation](docs/WILDCARD.md) and [Warcraft Reborn](docs/WARCRAFT-REBORN.md).
|
||||
CoA companions are unavailable on Wildcard; other optional modules are experimental. Backups include both realms,
|
||||
and database updates apply to both.
|
||||
See [realm profiles and validation](docs/WILDCARD.md).
|
||||
* **Companions (bots).** Fill the world with level-appropriate bots, see progress, stop spawning, take them offline,
|
||||
despawn N to relieve the server, and choose how many log in at server start.
|
||||
* **Realmlist switcher.** Keep named realmlists (for example *Solo* and *PTR*) and switch the game client between them from a
|
||||
@@ -57,11 +57,6 @@ Download the installer from the [Releases](https://github.com/Corfirean/coa-serv
|
||||
and run it. You need about 10 GB of free disk space for the server. The game client (about 43 GB) is separate: point the
|
||||
Manager at the one you have, or let it download one for you.
|
||||
|
||||
## Changelog
|
||||
|
||||
[Manager release history](CHANGELOG.md) · [Server release history](https://github.com/Corfirean/coa-server-build/blob/main/CHANGELOG.md).
|
||||
Manager and server updates have separate version histories.
|
||||
|
||||
## Status
|
||||
|
||||
Phases 0–10 of the plan in [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md) are done: foundation, import, start/stop,
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
area: manager
|
||||
type: added
|
||||
audience: admins
|
||||
title: Advanced settings cover creature melee damage, spell damage and health by rank
|
||||
---
|
||||
Configure normal, elite, rare, rare elite and world boss creatures separately. Existing normal-creature settings now identify their scope clearly. Changes persist in the server template and require a world server restart.
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
area: manager
|
||||
type: fixed
|
||||
audience: admins
|
||||
title: Internet sharing accepts existing port forwards to the same server
|
||||
---
|
||||
When a router rejects an already configured port forward, the Manager checks its destination. Matching enabled rules are accepted; conflicting rules report the affected TCP port and remain untouched.
|
||||
@@ -1,7 +0,0 @@
|
||||
---
|
||||
area: manager
|
||||
type: added
|
||||
audience: admins
|
||||
title: Warcraft Reborn can now be created and selected as a separate realm
|
||||
---
|
||||
Warcraft Reborn has separate characters and settings, shares accounts, and is included in backups, updates and database checks. A server build with Warcraft Reborn support is required.
|
||||
@@ -1,6 +1,7 @@
|
||||
# changelog.d
|
||||
|
||||
One small Markdown file per change that a player or a server owner would notice. Server and Manager releases collect only their own shipped changes from immutable sources; their public histories are separate. The rules and the file format are in `AGENTS.md` (section "Changelog") and, in full,
|
||||
One small Markdown file per change that a player or a server owner would notice. They are collected from every CoA
|
||||
repository when a release is made. The rules and the file format are in `AGENTS.md` (section "Changelog") and, in full,
|
||||
in https://github.com/Corfirean/coa-server-build/blob/main/changelog/GUIDE.md
|
||||
|
||||
This README is ignored by the collector.
|
||||
@@ -1,200 +0,0 @@
|
||||
[
|
||||
{
|
||||
"tag": "v0.6.22",
|
||||
"date": "2026-10-19T07:49:11Z",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.22",
|
||||
"body": "## Manager\r\n- Updated Custom Races client patches to 1.8, including Drakkin, Drakonid and updated racial abilities\r\n- Added updated race appearances and cursor addons\r\n- Existing client files are preserved when installing or removing race patches\r\n\r\nPrepared from commit 65df6604846d5492e40a6b08a797199478666e24. Installer and updater signature were verified before publication.\r\n"
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.21",
|
||||
"date": "2026-10-16T12:11:35Z",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.21",
|
||||
"body": "## Manager\n- Older server versions update directly to the latest signed package without installing intermediate releases.\n- The published source-version list records release test coverage; a missing entry no longer blocks an older installation by itself.\n- Apply only missing database migrations, preserving recorded AzerothCore history and sharing account migration history between Solo and Wildcard.\n- Save one complete recovery point, apply SQL once and check the database schema, startup, account and character identities. Restore files and databases on failure.\n- Keep unknown imported versions, interrupted migrations, changed SQL checksums, downgrades and incompatible packages blocked.\n- Remove the nested per-update server rehearsal and recursive intermediate-package lookup.\n\nInstalling this Manager does not update your server automatically. Unknown third-party repacks still require a verified starting state; this release does not guess which unrecorded SQL was applied manually.\r\n\nValidation: 11 package-based scenarios passed against Server 0.261015.58, including the earliest base and a repeated current-version check. A separate direct 800006 -> 58 upgrade on an isolated copy preserved all 133 account and 3123 character identities. No client login or gameplay acceptance was performed.\n\r\n"
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.19",
|
||||
"date": "2026-10-16T02:37:16Z",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.19",
|
||||
"body": "## Manager\n- Update checks no longer download a full server package just to verify the launcher\n- Concurrent update checks wait briefly for the current check instead of immediately reporting another operation\n- Update rehearsals check the combined space required for program files and databases before creating the private copy\n\nIncludes the signed intermediate upgrade path from v0.6.18 for older server installations.\n\nThis release updates the Manager only. Existing server files and databases are not changed by installing it.\r\n"
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.18",
|
||||
"date": "2026-10-16T00:33:21Z",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.18",
|
||||
"body": "## CoA Server Manager 0.6.18\n\n- Fixed update checks blocking older server versions when a tested intermediate release is available\n- Manager now offers the required intermediate update automatically and explains how to continue to the latest stable version\n- Intermediate packages must match the signatures and manifest hashes recorded in the target release's compatibility matrix\n- Unsupported source errors now identify the installed version, target version and directly supported versions\n\nFor servers on **0.261011.800006**, Manager offers **0.261013.54** first. After it completes, check for updates again to install **0.261015.58**. Clear any manually entered Advanced package source to use automatic selection.\n\nThe server package and stable channel have not changed. Existing data follows the normal backup and verified update process.\n"
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.17",
|
||||
"date": "2026-10-15T16:51:52Z",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.17",
|
||||
"body": "## CoA Server Manager 0.6.17 / Server 0.261015.58\n\n### Manager\n\n- New servers now install the current stable build directly, without installing 2.0 first\n- Fixed completed repairs leaving the server stuck in a maintenance state\n- Servers can now stop even when startup templates or MySQL process records are damaged\n- Repair now preserves database accounts, views, procedures and triggers, with improved rollback after failures\n- Interrupted SQUID database imports are now reported by Check and Repair\n- Update errors remain visible on Overview, with technical details and a copy button\n- Improved update preparation progress and diagnostics for shutdown failures and port conflicts\n- Updated Custom Races client patches to 1.7 while preserving existing race assets\n\n### Server\n\n- Integrated 34 CoA upstream commits\n- Updated Custom Races to 1.7, adding playable Grummle and their racial abilities\n- Updated SQUID Playerbots to 2.3.1\n- Added complete installation packages for the current server release\n- Improved shutdown recovery and startup configuration errors\n\n### Content scaling\n\n- Creature health settings are now respected while Content Scaling is enabled\n"
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.16",
|
||||
"date": "2026-10-13T12:39:15Z",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.16",
|
||||
"body": "**Manager** (for server owners)\n- Added: Linux Docker servers follow Settings, sharing and backups (experimental). Experimental. Settings the Docker backend fixes are hidden, friends sharing and logs work, the game data folder can be changed, and the realm no longer shows offline after a start.\n- Added: Updates can follow signed channels that select a complete server release. The Manager checks the channel signature and downloads every package part from the same release. Existing installations continue using the previous download source until the new channel is published.\n- Added: Windows server updates are tested on a private copy before changing your installation. The Manager tests migrations and server startup using your databases and configurations. A failed rehearsal leaves the installed server unchanged and preserves a diagnostic report.\n- Added: Server updates can require a tested combination of platform and installed version. Signed release metadata identifies core and module revisions, supported starting versions and database contracts. Incompatible packages are rejected before shutdown; changed schema contracts and incompatible databases block installation before migration.\n- Added: Module cards show installed server revisions and the client race patch version. Module revisions come from the currently installed release metadata. The race card shows the client patch version separately; missing version metadata is reported honestly instead of showing a download version as installed.\n- Changed: Failed server startup after an update automatically restores the previous version. The Manager restores server files and databases, then checks the recovered server. If recovery cannot be confirmed, it preserves the recovery point and blocks further startup until the problem is resolved.\n\n----- next message -----\n\n**Manager** (for server owners) (cont.)\n- Fixed: Windows update recovery preserves database procedures triggers and views. A verified copy of stopped MySQL restores all databases and accounts together. Interrupted restoration can be retried, and the replaced database directory is retained.\n- Fixed: Custom races bot setting synchronizes Playerbots excluded race lists. The \"Bots can be custom races\" setting now configures AiPlayerbot.ExcludedBotRaces in playerbots.conf. Off excludes all added races (recommended), while on allows stable added races (experimental).\n- Fixed: Blocked updates identify database objects that prevent automatic recovery. Diagnostics include the complete list of unsupported database objects across the recovery point, helping resolve update failures without removing user data.\n- Fixed: Server updates check startup privately before allowing players to connect. Startup checks use temporary local ports. Original settings are restored before opening the server, and interrupted checks retain a recovery journal.\n- Fixed: Local hosts can connect while sharing a server online. The Manager no longer replaces the realm's local address with its public address when Friends mode is enabled.\n- Fixed: Updates repair missing database defaults from the verified release schema. Only missing literal defaults are restored when column properties match. Existing rows, custom defaults, types and nullability are preserved; unresolved incompatibilities still block the update.\n- Fixed: Server updates no longer replay module installation scripts on existing databases. Update packages contain incremental SQL only. Module table initialization and seed scripts remain available when preparing a clean installation, preventing existing content from being reset during updates.\n\n----- next message -----\n\n**Manager** (for server owners) (cont.)\n- Fixed: Failed database checks keep a complete report after rollback. Schema errors show readable default values and save every detected difference for troubleshooting, including after the server is restored.\n- Fixed: Large server updates no longer repeatedly rewrite the recovery journal. Updates containing rebuilt navigation data now prepare all recovery copies before replacing files. Interrupted updates remain recoverable without rewriting the full journal for every file.\n- Fixed: Normalize rehearsal server roots to prevent Windows path prefix errors. Server update rehearsals now canonicalize the installation root before collecting files, resolving a \"prefix not found\" error during rehearsal preparation on Windows.\n- Fixed: SQUID imports character tables first and reports slow database imports. SQUID prepares character tables before its large travel data. Startup shows each base import and identifies a failed import without starting the world server or replaying an incomplete migration.\n- Fixed: Docker friend mode requests a restart when remote client support changes. Enabling remote CoA clients now requests a world restart even when the game ports were already open. Repeating the same unchanged setting does not request another Line truncated
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.15",
|
||||
"date": "2026-10-11T23:10:59Z",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.15",
|
||||
"body": "## Fixes\n\n- Large server updates, including rebuilt maps, vmaps and mmaps, no longer rewrite the complete recovery journal for every file.\n- All recovery copies are prepared before replacing any server file. Interrupted updates still restore the previous files and remove newly created files only when their content matches the update.\n\nValidated by Windows and Linux CI, the full Manager test suite, and a regression covering power loss during file replacement and incomplete recovery-copy preparation.\n\nUpdate the Manager before installing the navigation refresh. Portable Characters and Portable Session Bridge are not included."
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.14",
|
||||
"date": "2026-10-11T21:14:34Z",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.14",
|
||||
"body": "See the assets to download the installer. Existing installations update themselves."
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.13",
|
||||
"date": "2026-10-11T14:03:44Z",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.13",
|
||||
"body": "See the assets to download the installer. Existing installations update themselves."
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.12",
|
||||
"date": "2026-10-10T03:10:14Z",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.12",
|
||||
"body": "See the assets to download the installer. Existing installations update themselves."
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.11",
|
||||
"date": "2026-10-10T03:05:20Z",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.11",
|
||||
"body": "See the assets to download the installer. Existing installations update themselves."
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.10",
|
||||
"date": "2026-10-10T02:07:18Z",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.10",
|
||||
"body": "See the assets to download the installer. Existing installations update themselves."
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.9",
|
||||
"date": "2026-10-10T01:50:51Z",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.9",
|
||||
"body": "See the assets to download the installer. Existing installations update themselves."
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.8",
|
||||
"date": "2026-10-10T01:05:56Z",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.8",
|
||||
"body": "See the assets to download the installer. Existing installations update themselves."
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.7",
|
||||
"date": "2026-10-08T04:59:31Z",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.7",
|
||||
"body": "See the assets to download the installer. Existing installations update themselves."
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.6",
|
||||
"date": "2026-10-07T05:47:46Z",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.6",
|
||||
"body": "See the assets to download the installer. Existing installations update themselves."
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.5",
|
||||
"date": "2026-10-06T06:17:21Z",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.5",
|
||||
"body": "# CoA Server Manager 0.6.5 / Server 0.261006.1\n\nUpdate CoA Server Manager to 0.6.5 first, then update the server. This server package requires Manager 0.6.5.\n\n## Server updates and recovery\n\n- Recognize known, signed historical migration checksums without rewriting migration history or replaying applied SQL.\n- Check migration history and SQL files before replacing server files. Interrupted or failed migrations still require recovery.\n- Preserve damaged update records and protect recovery points belonging to unfinished updates. Check saved copies before restoring them.\n- Refresh saved update status after update and recovery attempts, including failures.\n- Recognize launcher adjustments made by the Manager, including older Wildcard launchers. Custom edits still require a choice.\n- Stop offering an already installed launcher update after checking again.\n- Reject older server packages. Use the update's recovery point to undo an update.\n- Restore missing Wildcard card and specialization-cache tables through a new corrective migration, preserving existing tables and data.\n- Fix launcher integration imports when using the server's isolated Python runtime.\n\n## SQUID Playerbots\n\n- Include SQUID Playerbots v1.8.1 together with the matching core, launcher and Manager integration.\n- Provide translated bot settings, release information and controls for the active bot system. Prevent conflicting bot systems from starting together.\n- Include the SQUID database in recovery points when installed.\n- Keep servers with SQUID disabled independent of its database startup hooks.\n- Detect unfinished initial database imports instead of treating partially imported tables as complete.\n- Allow more time for large SQL imports and initial bot creation. The Manager startup deadline is up to 45 minutes when SQUID is enabled; ordinary startup deadlines are unchanged.\n- Preserve historical SQL files and migration history. Only new migrations are applied.\n- Require an explicit keep-or-replace decision when updating imported server binaries protected by their original launcher or updater.\n\n## Local candidate validation\n\nThe signed final package passed an update and startup of both CoA and Wildcard on a marked disposable installation. Selected account, character and inventory fields were preserved, historical migrations were skipped, and a repeated update check was clean. Fresh SQUID database import and repeated startup were checked using the same native binaries and SQL as the final package.\n"
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.4",
|
||||
"date": "2026-10-05T09:22:40Z",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.4",
|
||||
"body": "Fixes server updates that failed to start with the repack's bundled Python runtime.\n\nIf an update is waiting for recovery, open Settings → Server updates and choose **Retry server startup**. Successful validation finishes the already applied update without replaying database migrations. Rollback remains available if validation fails.\n\n**Start without updating** and **Play without updating** let you use the installed server or client when a newer version is available. Interrupted server updates still require recovery.\n\n[Shared changelog](https://github.com/Corfirean/coa-server-build/blob/main/CHANGELOG.md)\n"
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.3",
|
||||
"date": "2026-10-04T22:41:10Z",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.3",
|
||||
"body": "See the assets to download the installer. Existing installations update themselves."
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.2",
|
||||
"date": "2026-10-04T21:54:32Z",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.2",
|
||||
"body": "## Manager 0.6.2\n\n- Server Update and Repair now back up databases before changes and recover databases, files and version metadata together after a failed update.\n- Database checks detect missing Wildcard tables even when migration history says the SQL ran. New server packages include the expected full database schema.\n- Interrupted or failed SQL is not blindly replayed; unresolved recovery is reported before another update or server start.\n- Checks cover race/class starting data and existing character visibility.\n- Adds the bot and module settings included in the reviewed dependency, including SQUID settings and translated controls.\n- Includes the latest Docker database-access changes.\n\nInstall/update Manager first, then update the server package. Run Settings → Check files and database if an existing installation reports database problems. Already lost database rows require a backup; restoring table structure cannot recreate them.\n\nValidation: 233 core tests passed locally after merging current master; workspace check and frontend build passed. Release package verification used disposable MySQL and a signed server package.\r\n\n\nShared release changelog: https://github.com/Corfirean/coa-server-build/blob/main/CHANGELOG.md\n\r\n"
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.1",
|
||||
"date": "2026-10-04T10:58:56Z",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.1",
|
||||
"body": "## Changes\n\n- PLAY launches only the game client with the selected realmlist. Use START SERVER separately for your local server.\n- Decimal server multipliers can be typed with either a dot or a comma.\n- Talent settings explain that the standard AzerothCore multiplier does not affect CoA talent points; rested experience settings describe accumulation correctly.\n- Added file/database checks and Repair with backups, verified official packages and reports of unresolved schema damage.\n- Fixed stale character migration history after rebuilding a character database and reject changed hashes of already applied migrations.\n- Added optional simultaneous CoA and Wildcard worlds on Windows, with separate processes, ports, logs and status indicators.\n\n## Notes\n\nRepair requires a stopped server and matching currently published packages. It preserves player data and settings; unsupported schema repairs are reported for corrective migrations.\n\nSimultaneous worlds require a compatible Wildcard server build. Existing Linux/Docker support remains experimental; simultaneous worlds are Windows-only.\n\nDownload the Windows installer below, or let an existing Manager installation update automatically. Server packages are updated separately.\r\n"
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.0",
|
||||
"date": "2026-10-03T18:06:31Z",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.0",
|
||||
"body": "# CoA Server Manager changelog\r\n\r\n## 0.6.0 — 2026-10-03\r\n\r\n- Added Simplified Chinese for the interface and all server and bot settings.\r\n- The closed game client now follows the selected CoA or Wildcard realm. Play checks the saved realm before launching; existing settings are preserved and backed up.\r\n- Fixed GitHub reports opening Windows Explorer instead of the default browser. Long reports use the clipboard fallback.\r\n- Fixed configuration snapshots created in the same millisecond overwriting each other during restore.\r\n- Added experimental Linux startup: persistent state uses the XDG data folder, Tailscale detection supports Linux, and a Wayland rendering workaround respects existing user settings.\r\n- Added experimental start, stop and status controls for manually prepared Docker servers, with private database networking and a remote console bound to localhost.\r\n- Linux extraction restores executable permissions for ELF binaries and scripts, and paths retain case-sensitive filesystem semantics.\r\n\r\n### Availability\r\n\r\nThis release ships the Windows installer and signed updater assets. Linux support is a development preview, not a one-click installation flow. Docker installation/database setup, SQL operations and backups, updates, Wildcard realm profiles, and Wine/Proton client launching remain unfinished. Servers must be prepared manually and use Linux binaries built with the packaged configuration layout.\r\n\r\nServer shutdown and starting-zone scaling issues require separate server releases and are not fixed by updating the Manager alone.\r\n"
|
||||
},
|
||||
{
|
||||
"tag": "v0.5.0",
|
||||
"date": "2026-10-03T06:26:08Z",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.5.0",
|
||||
"body": "## CoA and Wildcard realm profiles\n\nChoose CoA or Wildcard on Overview. The first Wildcard switch creates a separate world and empty character database; accounts are shared. Only one world runs at a time. Switching a running server saves characters and restarts it, and returning to CoA restores its module settings.\n\n- Requires a server build and database migrations with Wildcard support. Existing destination databases or realm ID 2 are preserved and block automatic creation.\n- CoA companion bots are unavailable on Wildcard. Content Scaling and other optional modules remain experimental there.\n- Backups cover both realms; restores identify their realm. Server migrations update both realms and shared auth once.\n- Configuration switches support recovery after interruption.\n\nValidation: 178 Rust tests, frontend build and translation checks, native isolated-fixture creation/start/switch, full backup, restore and migration checks. Final real-clock Wildcard gameplay verification: four scenarios passed with zero failures and zero isolated reruns (first login, level rolls, skill-card rolls, stats). Module gameplay compatibility beyond those scenarios remains unverified.\n\nDownload the Windows installer below. Existing Manager installations receive the signed update automatically. [Details and demo](https://github.com/Corfirean/coa-server-manager/blob/v0.5.0/docs/WILDCARD.md).\r\n\r\n"
|
||||
},
|
||||
{
|
||||
"tag": "v0.4.0",
|
||||
"date": "2026-10-02T16:51:50Z",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.4.0",
|
||||
"body": "See the assets to download the installer. Existing installations update themselves."
|
||||
},
|
||||
{
|
||||
"tag": "v0.3.1",
|
||||
"date": "2026-10-01T11:44:28Z",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.3.1",
|
||||
"body": "See the assets to download the installer. Existing installations update themselves."
|
||||
},
|
||||
{
|
||||
"tag": "v0.3.0",
|
||||
"date": "2026-10-01T03:13:59Z",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.3.0",
|
||||
"body": "See the assets to download the installer. Existing installations update themselves."
|
||||
},
|
||||
{
|
||||
"tag": "v0.2.0",
|
||||
"date": "2026-10-01T00:58:01Z",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.2.0",
|
||||
"body": "See the assets to download the installer. Existing installations update themselves."
|
||||
},
|
||||
{
|
||||
"tag": "v0.1.6",
|
||||
"date": "2026-09-30T18:16:06Z",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.1.6",
|
||||
"body": "See the assets to download the installer. Existing installations update themselves."
|
||||
},
|
||||
{
|
||||
"tag": "v0.1.4",
|
||||
"date": "2026-09-30T15:04:30Z",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.1.4",
|
||||
"body": "See the assets to download the installer. Existing installations update themselves."
|
||||
},
|
||||
{
|
||||
"tag": "v0.1.3",
|
||||
"date": "2026-09-30T14:55:17Z",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.1.3",
|
||||
"body": "See the assets to download the installer. Existing installations update themselves."
|
||||
},
|
||||
{
|
||||
"tag": "v0.1.2",
|
||||
"date": "2026-09-30T11:06:53Z",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.1.2",
|
||||
"body": "See the assets to download the installer. Existing installations update themselves."
|
||||
},
|
||||
{
|
||||
"tag": "v0.1.1",
|
||||
"date": "2026-09-30T07:40:42Z",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.1.1",
|
||||
"body": "See the assets to download the installer. Existing installations update themselves."
|
||||
},
|
||||
{
|
||||
"tag": "v0.1.0",
|
||||
"date": "2026-09-30T07:03:22Z",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.1.0",
|
||||
"body": "See the assets to download the installer. Existing installations update themselves."
|
||||
}
|
||||
]
|
||||
@@ -1,576 +0,0 @@
|
||||
{
|
||||
"schema": 1,
|
||||
"component": "manager",
|
||||
"repository": "Corfirean/coa-server-manager",
|
||||
"consumedFragments": [
|
||||
"Corfirean/coa-server-manager:20261002-collections-tab-with-transmog-vanity-riding-and.md",
|
||||
"Corfirean/coa-server-manager:20261002-companion-bots-are-recognised-from-their-default.md",
|
||||
"Corfirean/coa-server-manager:20261002-delete-an-account-from-the-players-page.md",
|
||||
"Corfirean/coa-server-manager:20261002-importing-a-server-suggests-the-right-folder-whe.md",
|
||||
"Corfirean/coa-server-manager:20261002-modules-page-with-cards-status-badges-and-per-mo.md",
|
||||
"Corfirean/coa-server-manager:20261002-report-a-problem-collects-more-and-ignores-repea.md",
|
||||
"Corfirean/coa-server-manager:20261002-server-settings-in-one-panel-with-search-tabs-an.md",
|
||||
"Corfirean/coa-server-manager:20261002-the-update-check-says-you-are-up-to-date-instead.md",
|
||||
"Corfirean/coa-server-manager:20261003-client-realm-sync.md",
|
||||
"Corfirean/coa-server-manager:20261003-config-snapshot-restore.md",
|
||||
"Corfirean/coa-server-manager:20261003-imported-servers-get-the-module-config-files-the.md",
|
||||
"Corfirean/coa-server-manager:20261003-linux-preview.md",
|
||||
"Corfirean/coa-server-manager:20261003-modules-marked-soon-stay-greyed-out.md",
|
||||
"Corfirean/coa-server-manager:20261003-report-browser.md",
|
||||
"Corfirean/coa-server-manager:20261003-simplified-chinese.md",
|
||||
"Corfirean/coa-server-manager:20261003-the-bots-page-is-hidden-when-the-module-is-not-o.md",
|
||||
"Corfirean/coa-server-manager:20261003-updating-the-game-client-shows-a-progress-bar-on.md",
|
||||
"Corfirean/coa-server-manager:20261003-wildcard-realm-profiles.md",
|
||||
"Corfirean/coa-server-manager:20261004-auction-item-types.md",
|
||||
"Corfirean/coa-server-manager:20261004-fractional-settings.md",
|
||||
"Corfirean/coa-server-manager:20261004-independent-client-launch.md",
|
||||
"Corfirean/coa-server-manager:20261004-module-settings.md",
|
||||
"Corfirean/coa-server-manager:20261004-recover-server-updates.md",
|
||||
"Corfirean/coa-server-manager:20261004-repair-and-database-validation.md",
|
||||
"Corfirean/coa-server-manager:20261004-scaling-lfg-leech-settings.md",
|
||||
"Corfirean/coa-server-manager:20261004-simultaneous-realms.md",
|
||||
"Corfirean/coa-server-manager:20261004-squid-playerbots.md",
|
||||
"Corfirean/coa-server-manager:20261005-connect-without-server.md",
|
||||
"Corfirean/coa-server-manager:20261005-imported-squid-warning.md",
|
||||
"Corfirean/coa-server-manager:20261005-launch-without-updating.md",
|
||||
"Corfirean/coa-server-manager:20261005-linux-docker-server-installer.md",
|
||||
"Corfirean/coa-server-manager:20261005-linux-docker-server-settings.md",
|
||||
"Corfirean/coa-server-manager:20261005-linux-install-screen-and-client.md",
|
||||
"Corfirean/coa-server-manager:20261005-retry-update-startup.md",
|
||||
"Corfirean/coa-server-manager:20261005-squid-release-metadata.md",
|
||||
"Corfirean/coa-server-manager:20261005-squid-version-reports.md",
|
||||
"Corfirean/coa-server-manager:20261005-update-history-hotfix.md",
|
||||
"Corfirean/coa-server-manager:20261005-update-legacy-realm-launcher.md",
|
||||
"Corfirean/coa-server-manager:20261005-validate-release-database.md",
|
||||
"Corfirean/coa-server-manager:20261006-ah-bot-needs-no-character-guid.md",
|
||||
"Corfirean/coa-server-manager:20261006-lan-address-selector.md",
|
||||
"Corfirean/coa-server-manager:20261006-npc-enchanter-placement-hint.md",
|
||||
"Corfirean/coa-server-manager:20261006-prevent-server-downgrades.md",
|
||||
"Corfirean/coa-server-manager:20261006-recognize-managed-launcher.md",
|
||||
"Corfirean/coa-server-manager:20261006-squid-first-start-timeout.md",
|
||||
"Corfirean/coa-server-manager:20261006-update-preflight-and-recovery-guards.md",
|
||||
"Corfirean/coa-server-manager:20261006-update-sql-and-status-guards.md",
|
||||
"Corfirean/coa-server-manager:20261007-diagnostics-valid-json.md",
|
||||
"Corfirean/coa-server-manager:20261007-one-click-diagnostics.md",
|
||||
"Corfirean/coa-server-manager:20261007-report-routing.md",
|
||||
"Corfirean/coa-server-manager:20261008-backup-folder-and-bot-choices.md",
|
||||
"Corfirean/coa-server-manager:20261008-bot-settings-drop-down.md",
|
||||
"Corfirean/coa-server-manager:20261008-dashboard-delivery.md",
|
||||
"Corfirean/coa-server-manager:20261008-database-error-not-misread.md",
|
||||
"Corfirean/coa-server-manager:20261008-hide-squid-bot-accounts.md",
|
||||
"Corfirean/coa-server-manager:20261008-squid-dashboard-tab.md",
|
||||
"Corfirean/coa-server-manager:20261008-start-after-update-options.md",
|
||||
"Corfirean/coa-server-manager:20261008-update-check-survives-damaged-state.md",
|
||||
"Corfirean/coa-server-manager:20261008-wildcard-repair-checksum.md",
|
||||
"Corfirean/coa-server-manager:20261008-world-server-from-coa-bots-folder.md",
|
||||
"Corfirean/coa-server-manager:20261010-automatic-update-recovery.md",
|
||||
"Corfirean/coa-server-manager:20261010-complete-mysql-update-recovery.md",
|
||||
"Corfirean/coa-server-manager:20261010-custom-races-bot-exclusions.md",
|
||||
"Corfirean/coa-server-manager:20261010-custom-races-update.md",
|
||||
"Corfirean/coa-server-manager:20261010-custom-races.md",
|
||||
"Corfirean/coa-server-manager:20261010-database-recovery-diagnostics.md",
|
||||
"Corfirean/coa-server-manager:20261010-headless-world-startup.md",
|
||||
"Corfirean/coa-server-manager:20261010-immutable-update-channels.md",
|
||||
"Corfirean/coa-server-manager:20261010-isolated-update-validation.md",
|
||||
"Corfirean/coa-server-manager:20261010-local-host-while-sharing.md",
|
||||
"Corfirean/coa-server-manager:20261010-missing-database-defaults.md",
|
||||
"Corfirean/coa-server-manager:20261010-module-base-update-replay.md",
|
||||
"Corfirean/coa-server-manager:20261010-private-database-update-rehearsal.md",
|
||||
"Corfirean/coa-server-manager:20261010-release-compatibility.md",
|
||||
"Corfirean/coa-server-manager:20261010-schema-validation-report.md",
|
||||
"Corfirean/coa-server-manager:20261010-settings-blank-window.md",
|
||||
"Corfirean/coa-server-manager:20261010-unsaved-changes-and-crash-recovery.md",
|
||||
"Corfirean/coa-server-manager:20261011-player-race-patches.md",
|
||||
"Corfirean/coa-server-manager:20261012-bulk-navigation-update.md",
|
||||
"Corfirean/coa-server-manager:20261012-rehearsal-path-normalization.md",
|
||||
"Corfirean/coa-server-manager:20261013-custom-races-client-update.md",
|
||||
"Corfirean/coa-server-manager:20261013-docker-remote-client-restart.md",
|
||||
"Corfirean/coa-server-manager:20261013-installed-module-versions.md",
|
||||
"Corfirean/coa-server-manager:20261013-long-rehearsal-paths.md",
|
||||
"Corfirean/coa-server-manager:20261013-maintenance-diagnostic-export.md",
|
||||
"Corfirean/coa-server-manager:20261013-preserve-client-patches.md",
|
||||
"Corfirean/coa-server-manager:20261013-recheck-installed-release.md",
|
||||
"Corfirean/coa-server-manager:20261013-startup-error-details.md",
|
||||
"Corfirean/coa-server-manager:20261013-stock-bot-races.md",
|
||||
"Corfirean/coa-server-manager:20261013-update-check-start-contention.md",
|
||||
"Corfirean/coa-server-manager:20261013-upstream-bot-race-preset.md",
|
||||
"Corfirean/coa-server-manager:20261014-already-running-mysql-is-recognized-before-start.md",
|
||||
"Corfirean/coa-server-manager:20261014-current-clean-install.md",
|
||||
"Corfirean/coa-server-manager:20261014-custom-races-grummle-client.md",
|
||||
"Corfirean/coa-server-manager:20261014-failed-repairs-restore-the-previous-server-after.md",
|
||||
"Corfirean/coa-server-manager:20261014-overview-update-errors.md",
|
||||
"Corfirean/coa-server-manager:20261014-private-update-checks-show-preparation-stages-an.md",
|
||||
"Corfirean/coa-server-manager:20261014-repair-recovery-copies-preserve-all-bundled-data.md",
|
||||
"Corfirean/coa-server-manager:20261014-server-checks-report-interrupted-squid-database.md",
|
||||
"Corfirean/coa-server-manager:20261014-shutdown-remains-available-when-startup-template.md",
|
||||
"Corfirean/coa-server-manager:20261014-successful-server-repairs-no-longer-block-later.md",
|
||||
"Corfirean/coa-server-manager:20261016-consistent-update-migrations.md",
|
||||
"Corfirean/coa-server-manager:20261016-direct-database-upgrades.md",
|
||||
"Corfirean/coa-server-manager:20261016-idempotent-validation-stop.md",
|
||||
"Corfirean/coa-server-manager:20261016-intermediate-updates.md",
|
||||
"Corfirean/coa-server-manager:20261016-lightweight-update-checks.md",
|
||||
"Corfirean/coa-server-manager:20261016-preserve-core-migration-history.md",
|
||||
"Corfirean/coa-server-manager:20261016-shared-auth-migration-history.md",
|
||||
"Corfirean/coa-server-manager:20261016-update-compatibility-wording.md",
|
||||
"Corfirean/coa-server-manager:20261018-custom-races-client.md"
|
||||
],
|
||||
"releases": [
|
||||
{
|
||||
"tag": "v0.1.0",
|
||||
"version": "0.1.0",
|
||||
"date": "2026-09-30",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.1.0",
|
||||
"commit": "0a9be3d80030f8549a2925e176ab0ee829603c44",
|
||||
"notes": [
|
||||
"Initial Windows release: install or import a server and manage startup from one app",
|
||||
"Configure server and bot settings, manage accounts, create backups and restore saved data",
|
||||
"Launch the game client, set up sharing with friends and collect diagnostics"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "v0.1.1",
|
||||
"version": "0.1.1",
|
||||
"date": "2026-09-30",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.1.1",
|
||||
"commit": "f620f87432e5affb84bdc14ca0bb0f5a8bb5c534",
|
||||
"notes": [
|
||||
"Added translations throughout setup, server updates, backups, diagnostics and settings",
|
||||
"Added clearer errors when server packages are unavailable or a server cannot be reached"
|
||||
],
|
||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.1.0...v0.1.1"
|
||||
},
|
||||
{
|
||||
"tag": "v0.1.2",
|
||||
"version": "0.1.2",
|
||||
"date": "2026-09-30",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.1.2",
|
||||
"commit": "0e1016e93c457c8aeea3ba31416be66a201a19ef",
|
||||
"notes": [
|
||||
"Manager updates download in the background and install when the app closes",
|
||||
"Missing module configuration files are created from the supplied defaults"
|
||||
],
|
||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.1.1...v0.1.2"
|
||||
},
|
||||
{
|
||||
"tag": "v0.1.3",
|
||||
"version": "0.1.3",
|
||||
"date": "2026-09-30",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.1.3",
|
||||
"commit": "4eda03ab6355a6cf280865bca91ce8d2fc6167e7",
|
||||
"notes": [
|
||||
"The interface scales with the window",
|
||||
"Each friend connection mode shows the realmlist line to use"
|
||||
],
|
||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.1.2...v0.1.3"
|
||||
},
|
||||
{
|
||||
"tag": "v0.1.4",
|
||||
"version": "0.1.4",
|
||||
"date": "2026-09-30",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.1.4",
|
||||
"commit": "db16d95558910d4cdc97edbce97ec78aaf535a83",
|
||||
"notes": [
|
||||
"Sharing settings are reapplied before server startup",
|
||||
"Added a restart shortcut after enabling play with friends"
|
||||
],
|
||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.1.3...v0.1.4"
|
||||
},
|
||||
{
|
||||
"tag": "v0.1.6",
|
||||
"version": "0.1.6",
|
||||
"date": "2026-09-30",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.1.6",
|
||||
"commit": "f7d29b09efd54ab3a0f830d4d6891013038398e4",
|
||||
"notes": [
|
||||
"Overview shows world speed",
|
||||
"Improved companion setup, including requests made while the server is stopped",
|
||||
"Expanded translated settings and connection guides"
|
||||
],
|
||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.1.4...v0.1.6"
|
||||
},
|
||||
{
|
||||
"tag": "v0.2.0",
|
||||
"version": "0.2.0",
|
||||
"date": "2026-10-01",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.2.0",
|
||||
"commit": "0940e9cf28759a9489d53dbd28882d6b46cb0076",
|
||||
"notes": [
|
||||
"Added companion creation progress and controls to stop creation, take bots offline or remove them",
|
||||
"Choose how many bots log in when the server starts",
|
||||
"Added a control to log out a chosen number of bots and reduce server load"
|
||||
],
|
||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.1.6...v0.2.0"
|
||||
},
|
||||
{
|
||||
"tag": "v0.3.0",
|
||||
"version": "0.3.0",
|
||||
"date": "2026-10-01",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.3.0",
|
||||
"commit": "c8f6d61b98ceb0920ba605467eb73b1364d24404",
|
||||
"notes": [
|
||||
"Download and update the game client through the Manager while preserving custom files",
|
||||
"Server updates are checked automatically and offered on Overview"
|
||||
],
|
||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.2.0...v0.3.0"
|
||||
},
|
||||
{
|
||||
"tag": "v0.3.1",
|
||||
"version": "0.3.1",
|
||||
"date": "2026-10-01",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.3.1",
|
||||
"commit": "d01e401f3ce5c5f9a7daeb721815e2cf5fe1d694",
|
||||
"notes": [
|
||||
"Added named realmlists and a switcher beside Play",
|
||||
"Added account management and a prefilled GitHub problem-report form",
|
||||
"Server updates continue when leaving the settings page"
|
||||
],
|
||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.3.0...v0.3.1"
|
||||
},
|
||||
{
|
||||
"tag": "v0.4.0",
|
||||
"version": "0.4.0",
|
||||
"date": "2026-10-02",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.4.0",
|
||||
"commit": "53aa117ec2e2f4c0572a74829c41e99d5a4eedb6",
|
||||
"notes": [
|
||||
"Added module cards with switches and settings",
|
||||
"Added searchable server settings and appearance and collection controls",
|
||||
"Added account deletion with confirmation",
|
||||
"Fixed update checks offering an already installed version"
|
||||
],
|
||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.3.1...v0.4.0"
|
||||
},
|
||||
{
|
||||
"tag": "v0.5.0",
|
||||
"version": "0.5.0",
|
||||
"date": "2026-10-03",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.5.0",
|
||||
"commit": "1bcef5f8c2e85b28eb466e720002d2fbf2b67161",
|
||||
"notes": [
|
||||
"Imported servers get the module config files they lack",
|
||||
"Modules marked Soon stay greyed out",
|
||||
"The Bots page is hidden when the module is not on the server",
|
||||
"Updating the game client shows a progress bar on its button",
|
||||
"Switch between CoA and Wildcard while keeping separate characters and module settings"
|
||||
],
|
||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.4.0...v0.5.0"
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.0",
|
||||
"version": "0.6.0",
|
||||
"date": "2026-10-03",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.0",
|
||||
"commit": "162bfd1e04ca4faa205b5c38432f56b07066c6be",
|
||||
"notes": [
|
||||
"The game client follows the realm selected in the Manager",
|
||||
"Configuration snapshots no longer overwrite each other",
|
||||
"Experimental Linux startup and Docker server controls",
|
||||
"Problem reports open in the default browser",
|
||||
"Simplified Chinese is available in the Manager"
|
||||
],
|
||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.5.0...v0.6.0"
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.1",
|
||||
"version": "0.6.1",
|
||||
"date": "2026-10-04",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.1",
|
||||
"commit": "2e3fb24e1af5c3ee9a787c345cbcce973739fe69",
|
||||
"notes": [
|
||||
"Server multipliers now accept decimals typed with a dot or comma",
|
||||
"Play launches only the game client without starting your local server",
|
||||
"Check database structure and repair server files with a safety backup",
|
||||
"Start CoA and Wildcard together from Settings"
|
||||
],
|
||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.6.0...v0.6.1"
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.2",
|
||||
"version": "0.6.2",
|
||||
"date": "2026-10-04",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.2",
|
||||
"commit": "b90b377fc308210abdf7fc63ea2f2ac1eac29f4a",
|
||||
"notes": [
|
||||
"Choose which item types the auction bot sells",
|
||||
"Module settings now offer translated controls and an enemy damage slider",
|
||||
"Failed server updates restore databases and files together",
|
||||
"Configure SQUID Playerbots and prevent conflicting bot systems",
|
||||
"Server packages must include a complete database schema check"
|
||||
],
|
||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.6.1...v0.6.2"
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.3",
|
||||
"version": "0.6.3",
|
||||
"date": "2026-10-04",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.3",
|
||||
"commit": "07ec22798f2b81f33e470837ece7fec693ac24bb",
|
||||
"notes": [
|
||||
"Configure partial dungeon parties and open-world life steal in module settings",
|
||||
"Download and update the game client without installing a server"
|
||||
],
|
||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.6.2...v0.6.3"
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.4",
|
||||
"version": "0.6.4",
|
||||
"date": "2026-10-05",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.4",
|
||||
"commit": "6c771fae20ac59870f5990a6495f8cd035caab65",
|
||||
"notes": [
|
||||
"Start your installed server or client without downloading an available update",
|
||||
"Finish a server update that was blocked by a startup failure"
|
||||
],
|
||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.6.3...v0.6.4"
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.5",
|
||||
"version": "0.6.5",
|
||||
"date": "2026-10-06",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.5",
|
||||
"commit": "277ebba847912e113657bcef4ed53e4e4e708161",
|
||||
"notes": [
|
||||
"Imported SquidBots servers warn before replacing their original binary",
|
||||
"SquidBots settings follow the options shipped by the module",
|
||||
"SquidBots shows its bundled release and includes it in problem reports",
|
||||
"Server updates accept verified published migration variants without rerunning them",
|
||||
"Server updates replace older launchers adapted by the Manager for Wildcard",
|
||||
"Older server packages cannot replace a newer installation",
|
||||
"Checking again no longer offers an already installed launcher update",
|
||||
"Large SQUID database imports have more time to finish on first startup",
|
||||
"Update history conflicts are detected before server files change",
|
||||
"Pending database updates remain visible when the server version matches"
|
||||
],
|
||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.6.4...v0.6.5"
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.6",
|
||||
"version": "0.6.6",
|
||||
"date": "2026-10-07",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.6",
|
||||
"commit": "fac6ce469a77c134437484a78e91e7811df8a389",
|
||||
"notes": [
|
||||
"Install a server from a package on Linux, running in Docker (experimental)",
|
||||
"The Auction House Bot card no longer asks for a character GUID",
|
||||
"Choose and remember the local network address friends use to connect",
|
||||
"The NPC Enchanter card explains how to place and remove the NPC",
|
||||
"Diagnostic files with database checks stay readable after secrets are removed",
|
||||
"One button collects all diagnostics, including crashes and Windows crash records",
|
||||
"Problem reports go to the right project"
|
||||
],
|
||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.6.5...v0.6.6"
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.7",
|
||||
"version": "0.6.7",
|
||||
"date": "2026-10-08",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.7",
|
||||
"commit": "7540527d3035660f1c45ea66497e0412cc65249c",
|
||||
"notes": [
|
||||
"Choose where backups are stored, for example on another drive",
|
||||
"Bot settings with a fixed list of values show a drop-down",
|
||||
"The bot dashboard loads completely and can be opened in the browser",
|
||||
"Accounts of the SQUID bots are hidden from the Accounts list",
|
||||
"A Dashboard tab shows what the SQUID bots are doing",
|
||||
"A stopped server stays stopped after an update, unless you ask it to start",
|
||||
"Checking for updates no longer fails with \"Something went wrong\" after a crash",
|
||||
"Server updates no longer stop with \"has a different checksum\" on the Wildcard repair",
|
||||
"A world server started from the coa-bots folder is recognised"
|
||||
],
|
||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.6.6...v0.6.7"
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.8",
|
||||
"version": "0.6.8",
|
||||
"date": "2026-10-10",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.8",
|
||||
"commit": "ee59708fbfcdb5f4e30c62f2e4aa952f82604cac",
|
||||
"notes": [
|
||||
"Linux: install from the install screen, play with Wine or Proton (experimental)",
|
||||
"A failing database update is no longer reported as \"database not running",
|
||||
"Unsaved settings are protected and crashed servers can restart automatically"
|
||||
],
|
||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.6.7...v0.6.8"
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.9",
|
||||
"version": "0.6.9",
|
||||
"date": "2026-10-10",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.9",
|
||||
"commit": "374a3f9c2322f30900f7f8a0549a643c8a511567",
|
||||
"notes": [
|
||||
"Custom races can be enabled and their client patches installed from Modules"
|
||||
],
|
||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.6.8...v0.6.9"
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.10",
|
||||
"version": "0.6.10",
|
||||
"date": "2026-10-10",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.10",
|
||||
"commit": "b0951dbee7516334d8ae3baa1c7bf7635f6cb202",
|
||||
"notes": [
|
||||
"Custom race client patches update to the latest races and appearances"
|
||||
],
|
||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.6.9...v0.6.10"
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.11",
|
||||
"version": "0.6.11",
|
||||
"date": "2026-10-10",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.11",
|
||||
"commit": "376f1dbb469ece197aa1caf68b3e5fdd73e3b277",
|
||||
"notes": [
|
||||
"Server and Bots settings open without a blank window"
|
||||
],
|
||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.6.10...v0.6.11"
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.12",
|
||||
"version": "0.6.12",
|
||||
"date": "2026-10-10",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.12",
|
||||
"commit": "94d4ade1c73c6a64018dc182fe3a3ba87607d7a2",
|
||||
"notes": [
|
||||
"Background world servers no longer stop because the local console is closed"
|
||||
],
|
||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.6.11...v0.6.12"
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.13",
|
||||
"version": "0.6.13",
|
||||
"date": "2026-10-11",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.13",
|
||||
"commit": "ed7bf7262bc43de109f17a2812bc41c34d99c51d",
|
||||
"notes": [
|
||||
"Failed server startup after an update automatically restores the previous version",
|
||||
"Windows update recovery preserves database procedures triggers and views",
|
||||
"Custom races bot setting synchronizes Playerbots excluded race lists",
|
||||
"Blocked updates identify database objects that prevent automatic recovery",
|
||||
"Updates can follow signed channels that select a complete server release",
|
||||
"Server updates check startup privately before allowing players to connect",
|
||||
"Updates repair missing database defaults from the verified release schema",
|
||||
"Server updates no longer replay module installation scripts on existing databases",
|
||||
"Windows server updates are tested on a private copy before changing your installation",
|
||||
"Server updates can require a tested combination of platform and installed version",
|
||||
"Failed database checks keep a complete report after rollback",
|
||||
"Players can install custom race patches when connecting to a friend"
|
||||
],
|
||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.6.12...v0.6.13"
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.14",
|
||||
"version": "0.6.14",
|
||||
"date": "2026-10-11",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.14",
|
||||
"commit": "58c976a388215bea8bbf232503810c6519a33562",
|
||||
"notes": [
|
||||
"Fixed server update checks failing with long Windows paths"
|
||||
],
|
||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.6.13...v0.6.14"
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.15",
|
||||
"version": "0.6.15",
|
||||
"date": "2026-10-11",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.15",
|
||||
"commit": "d86a1676fed98f9e4556617a603959e42bc401c8",
|
||||
"notes": [
|
||||
"Large server updates no longer repeatedly rewrite the recovery journal"
|
||||
],
|
||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.6.14...v0.6.15"
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.16",
|
||||
"version": "0.6.16",
|
||||
"date": "2026-10-13",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.16",
|
||||
"commit": "b45e2502ece1a5578555d7d5dfe36a95b374a58e",
|
||||
"notes": [
|
||||
"Linux Docker servers follow Settings, sharing and backups (experimental)",
|
||||
"Local hosts can connect while sharing a server online",
|
||||
"Custom race client installation follows the current upstream release",
|
||||
"Docker friend mode requests a restart when remote client support changes",
|
||||
"Module cards show installed server revisions and the client race patch version",
|
||||
"Server updates accept long Windows paths inside the private test server",
|
||||
"Diagnostics record blocked startup requests and maintenance owner information",
|
||||
"Client race patches can be repaired and removed while preserving original files",
|
||||
"Checking an already installed server update no longer reports incompatibility",
|
||||
"Failed server startup shows service errors even when the launcher reported ready",
|
||||
"Starting the server waits for update checks and identifies ongoing maintenance"
|
||||
],
|
||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.6.15...v0.6.16"
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.17",
|
||||
"version": "0.6.17",
|
||||
"date": "2026-10-15",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.17",
|
||||
"commit": "dc323df681ca77fb15ce4284da0feadfe83e0c7e",
|
||||
"notes": [
|
||||
"Already running MySQL is recognized before startup readiness checks",
|
||||
"New servers install the current stable build directly",
|
||||
"Install the matching client patches for Grummle",
|
||||
"Failed repairs restore the previous server after final verification errors",
|
||||
"Failed server updates show an error on the Overview screen",
|
||||
"Private update checks show preparation stages and stop failure details",
|
||||
"Repair recovery copies preserve all bundled database objects and accounts",
|
||||
"Server checks report interrupted SQUID database imports",
|
||||
"Shutdown remains available when startup templates or database records are damaged",
|
||||
"Successful server repairs no longer block later server actions"
|
||||
],
|
||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.6.16...v0.6.17"
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.18",
|
||||
"version": "0.6.18",
|
||||
"date": "2026-10-16",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.18",
|
||||
"commit": "16396407ad63c1b596dc4fd7e2672ef87cf23f56",
|
||||
"notes": [
|
||||
"Older servers find a tested intermediate update instead of being blocked"
|
||||
],
|
||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.6.17...v0.6.18"
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.19",
|
||||
"version": "0.6.19",
|
||||
"date": "2026-10-16",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.19",
|
||||
"commit": "cda7875a9a2061d4b576912cc6943220ff6fddba",
|
||||
"notes": [
|
||||
"Update checks no longer download a server archive to compare its launcher"
|
||||
],
|
||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.6.18...v0.6.19"
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.21",
|
||||
"version": "0.6.21",
|
||||
"date": "2026-10-16",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.21",
|
||||
"commit": "e3fbb2e4b6dbe40fa00264abcd12b4cfd9702305",
|
||||
"notes": [
|
||||
"Server updates apply migrations once after saving a recovery point",
|
||||
"Older server versions update directly without installing intermediate packages",
|
||||
"Update validation recognizes an already stopped server",
|
||||
"Recorded core SQL stays applied after old history tables are cleaned up",
|
||||
"Switching realms no longer repeats shared account database updates",
|
||||
"Update offers distinguish version support from database validation"
|
||||
],
|
||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.6.19...v0.6.21"
|
||||
},
|
||||
{
|
||||
"tag": "v0.6.22",
|
||||
"version": "0.6.22",
|
||||
"date": "2026-10-19",
|
||||
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.6.22",
|
||||
"commit": "65df6604846d5492e40a6b08a797199478666e24",
|
||||
"notes": [
|
||||
"Updated Custom Races client patches to 1.8",
|
||||
"Included the updated race appearance and cursor addons",
|
||||
"Existing client files are preserved when installing or removing race patches"
|
||||
],
|
||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.6.21...v0.6.22"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -301,11 +301,10 @@ pub fn create(root: &Path, meta: &Path, kind: Kind, trigger: Trigger, label: Opt
|
||||
let realm = crate::realms::state(root)?;
|
||||
let mut databases: Vec<(String, &str)> = wanted_databases(kind).iter()
|
||||
.map(|name| Ok((name.to_string(), realm.active.schema(name)?))).collect::<Result<_>>()?;
|
||||
if kind != Kind::Config {
|
||||
for other in realm.modes().into_iter().filter(|m| *m != realm.active) {
|
||||
databases.push((format!("{}-characters", other.name()), other.schema("characters")?));
|
||||
if kind == Kind::Full { databases.push((format!("{}-world", other.name()), other.schema("world")?)); }
|
||||
}
|
||||
if realm.wildcard_created && kind != Kind::Config {
|
||||
let other = if realm.active == crate::realms::Mode::Coa { crate::realms::Mode::Wildcard } else { crate::realms::Mode::Coa };
|
||||
databases.push((format!("{}-characters", other.name()), other.schema("characters")?));
|
||||
if kind == Kind::Full { databases.push((format!("{}-world", other.name()), other.schema("world")?)); }
|
||||
}
|
||||
if kind != Kind::Config && with_database(root, |db| db.schema_exists("acore_playerbots"))? {
|
||||
databases.push(("playerbots".into(), "acore_playerbots"));
|
||||
|
||||
@@ -69,7 +69,6 @@ fn sync_realm_when_closed(client: &Path, meta: &Path, mode: crate::realms::Mode,
|
||||
let realm = match mode {
|
||||
crate::realms::Mode::Coa => "Conquest of Azeroth",
|
||||
crate::realms::Mode::Wildcard => "Wildcard",
|
||||
crate::realms::Mode::Reborn => "Warcraft Reborn",
|
||||
};
|
||||
let new = realm_config(&old, realm);
|
||||
if new == old { return Ok(true); }
|
||||
@@ -345,8 +344,6 @@ mod tests {
|
||||
assert_eq!(fs::read_dir(backup_dir(&meta)).unwrap().count(), 1);
|
||||
assert!(sync_realm(&c, &meta, crate::realms::Mode::Wildcard).unwrap());
|
||||
assert_eq!(fs::read(c.join("WTF/Config.wtf")).unwrap(), original);
|
||||
assert!(sync_realm(&c, &meta, crate::realms::Mode::Reborn).unwrap());
|
||||
assert_eq!(fs::read(c.join("WTF/Config.wtf")).unwrap(), b"SET sound 1\r\nSET realmName \"Warcraft Reborn\"\r\n");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
@@ -718,6 +718,28 @@ Spellbook.New = 5
|
||||
assert!(v.drift_keys.is_empty());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn creature_rates_save_independently_in_template_and_active_config() {
|
||||
let (_d, root, meta) = fixture();
|
||||
let mut changes = BTreeMap::new();
|
||||
for (i, group) in ["Normal", "Elite.Elite", "Elite.RARE", "Elite.RAREELITE", "Elite.WORLDBOSS"].iter().enumerate() {
|
||||
for (j, stat) in ["Damage", "SpellDamage", "HP"].iter().enumerate() {
|
||||
changes.insert(format!("Rate.Creature.{group}.{stat}"), json!(0.25 + (i * 3 + j) as f64 * 0.25));
|
||||
}
|
||||
}
|
||||
let report = save(&root, &meta, Scope::Server, &changes).unwrap();
|
||||
assert_eq!(report.changed.len(), 15);
|
||||
assert_eq!(report.restart, Some(Restart::World));
|
||||
for path in ["Settings/worldserver.conf.template", "Core/configs/worldserver.conf"] {
|
||||
let conf = load_conf(&root.join(path)).unwrap();
|
||||
for (key, value) in &changes {
|
||||
assert_eq!(conf.get(key).unwrap().parse::<f64>().unwrap(), value.as_f64().unwrap(), "{path}: {key}");
|
||||
}
|
||||
assert_eq!(conf.get("Unknown.Custom"), Some("\"keep me\""));
|
||||
}
|
||||
assert!(save(&root, &meta, Scope::Server, &changes).unwrap().changed.is_empty());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn save_changes_only_that_key_in_template_and_generated_conf() {
|
||||
let (_d, root, meta) = fixture();
|
||||
|
||||
@@ -73,7 +73,6 @@ pub const SCHEMAS: [(&str, &str); 3] = [("characters", "acore_characters"), ("au
|
||||
pub fn schema_of(kind: &str) -> Result<&'static str> {
|
||||
if kind == "playerbots" { return Ok("acore_playerbots"); }
|
||||
if let Some(kind) = kind.strip_prefix("wildcard-") { return crate::realms::Mode::Wildcard.schema(kind); }
|
||||
if let Some(kind) = kind.strip_prefix("reborn-") { return crate::realms::Mode::Reborn.schema(kind); }
|
||||
if let Some(kind) = kind.strip_prefix("coa-") { return crate::realms::Mode::Coa.schema(kind); }
|
||||
SCHEMAS.iter().find(|(k, _)| *k == kind).map(|(_, s)| *s).ok_or_else(|| Error::Invalid(format!("unknown database {kind}")))
|
||||
}
|
||||
@@ -125,10 +124,10 @@ impl Db {
|
||||
pub fn realm(&self) -> crate::realms::Mode { self.realm }
|
||||
|
||||
pub fn realm_schema<'a>(&self, name: &'a str) -> &'a str {
|
||||
if self.realm != crate::realms::Mode::Coa {
|
||||
if self.realm == crate::realms::Mode::Wildcard {
|
||||
match name {
|
||||
"acore_world" => self.realm.schema("world").unwrap(),
|
||||
"acore_characters" => self.realm.schema("characters").unwrap(),
|
||||
"acore_world" => "acore_world_wildcard",
|
||||
"acore_characters" => "acore_characters_wildcard",
|
||||
_ => name,
|
||||
}
|
||||
} else { name }
|
||||
@@ -295,7 +294,7 @@ impl Db {
|
||||
if !ident_ok(schema) {
|
||||
return Err(Error::Invalid("bad schema name".into()));
|
||||
}
|
||||
if self.realm != crate::realms::Mode::Coa {
|
||||
if self.realm == crate::realms::Mode::Wildcard {
|
||||
let sql = std::fs::read_to_string(file)?;
|
||||
self.query(&format!("SET NAMES utf8mb4 COLLATE utf8mb4_unicode_ci; USE `{schema}`;\n{sql}"))?;
|
||||
return Ok(());
|
||||
@@ -412,8 +411,8 @@ fn route_sql(sql: &str, realm: crate::realms::Mode) -> String {
|
||||
} else if bytes[i].is_ascii_alphanumeric() || bytes[i] == b'_' {
|
||||
while i < bytes.len() && (bytes[i].is_ascii_alphanumeric() || bytes[i] == b'_') { i += 1; }
|
||||
out.push_str(match &sql[start..i] {
|
||||
"acore_world" => realm.schema("world").unwrap(),
|
||||
"acore_characters" => realm.schema("characters").unwrap(),
|
||||
"acore_world" => "acore_world_wildcard",
|
||||
"acore_characters" => "acore_characters_wildcard",
|
||||
other => other,
|
||||
});
|
||||
} else {
|
||||
@@ -435,14 +434,6 @@ mod realm_tests {
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
#[test]
|
||||
fn reborn_sql_routes_only_database_identifiers() {
|
||||
use crate::realms::Mode;
|
||||
let sql = "SELECT * FROM `acore_characters`.characters WHERE name='acore_world'; -- acore_world\nSELECT * FROM acore_world.items; SELECT * FROM acore_world_wildcard.items;";
|
||||
assert_eq!(super::route_sql(sql, Mode::Reborn), "SELECT * FROM `acore_characters_reborn`.characters WHERE name='acore_world'; -- acore_world\nSELECT * FROM acore_world_reborn.items; SELECT * FROM acore_world_wildcard.items;");
|
||||
assert_eq!(super::schema_of("reborn-characters").unwrap(), "acore_characters_reborn");
|
||||
assert_eq!(super::schema_of("reborn-auth").unwrap(), "acore_auth");
|
||||
}
|
||||
use super::*;
|
||||
use std::ffi::OsStr;
|
||||
|
||||
|
||||
@@ -824,10 +824,6 @@ mod tests {
|
||||
let wild = database_env(&s, true, crate::realms::Mode::Wildcard);
|
||||
assert_eq!(get(&wild, "AC_WORLD_DATABASE_INFO").unwrap(), "db;3306;acore;apppw;acore_world_wildcard");
|
||||
assert_eq!(get(&wild, "AC_CHARACTER_DATABASE_INFO").unwrap(), "db;3306;acore;apppw;acore_characters_wildcard");
|
||||
let reborn = database_env(&s, true, crate::realms::Mode::Reborn);
|
||||
assert_eq!(get(&reborn, "AC_WORLD_DATABASE_INFO").unwrap(), "db;3306;acore;apppw;acore_world_reborn");
|
||||
assert_eq!(get(&reborn, "AC_CHARACTER_DATABASE_INFO").unwrap(), "db;3306;acore;apppw;acore_characters_reborn");
|
||||
assert_eq!(get(&reborn, "AC_LOGIN_DATABASE_INFO").unwrap(), "db;3306;acore;apppw;acore_auth");
|
||||
// Accounts are shared by both realms; the auth server never sees the others.
|
||||
assert_eq!(get(&wild, "AC_LOGIN_DATABASE_INFO").unwrap(), "db;3306;acore;apppw;acore_auth");
|
||||
let auth = database_env(&s, false, crate::realms::Mode::Wildcard);
|
||||
|
||||
@@ -82,8 +82,8 @@ impl Store for Db {
|
||||
let connection = self.clone().for_realm(crate::realms::Mode::Coa);
|
||||
let world = self.realm_schema("acore_world");
|
||||
let characters = self.realm_schema("acore_characters");
|
||||
let others: Vec<_> = [crate::realms::Mode::Coa, crate::realms::Mode::Wildcard, crate::realms::Mode::Reborn].into_iter().filter(|m| *m != self.realm()).map(|m| m.schema("world").unwrap()).collect();
|
||||
let schemas: std::collections::BTreeSet<_> = [world, characters, AUTH_LEDGER_SCHEMA].into_iter().chain(others.iter().copied()).collect();
|
||||
let other = if self.realm() == crate::realms::Mode::Coa { "acore_world_wildcard" } else { "acore_world" };
|
||||
let schemas: std::collections::BTreeSet<_> = [world, characters, other, AUTH_LEDGER_SCHEMA].into_iter().collect();
|
||||
let catalog = connection.query(&format!("SELECT table_schema,table_name FROM information_schema.tables WHERE table_schema IN ('{}') AND table_name IN ('updates','{LEDGER_TABLE}') AND table_type='BASE TABLE';", schemas.into_iter().collect::<Vec<_>>().join("','")))?;
|
||||
let available: std::collections::BTreeSet<_> = catalog.lines().filter_map(|line| line.split_once('\t')).collect();
|
||||
let text = |expression: &str| format!("CONVERT({expression} USING utf8mb4) COLLATE utf8mb4_bin");
|
||||
@@ -93,7 +93,7 @@ impl Store for Db {
|
||||
queries.push(format!("SELECT 'core','{kind}',{},REPEAT('0',64),'applied',1,'' FROM `{schema}`.`updates` WHERE BINARY RIGHT(name,4)='.sql'",text("LEFT(name,CHAR_LENGTH(name)-4)")));
|
||||
}
|
||||
}
|
||||
for (origin, schema, filter) in [("local",world,""), ("shared",AUTH_LEDGER_SCHEMA,"")].into_iter().chain(others.iter().map(|schema| ("other", *schema, " WHERE `db` IN ('auth','coa-auth','wildcard-auth','reborn-auth')"))) {
|
||||
for (origin, schema, filter) in [("local",world,""), ("other",other," WHERE `db` IN ('auth','coa-auth','wildcard-auth')"), ("shared",AUTH_LEDGER_SCHEMA,"")] {
|
||||
if available.contains(&(schema, LEDGER_TABLE)) {
|
||||
queries.push(format!("SELECT '{origin}',{},{},{},{},`baseline`,{} FROM `{schema}`.`{LEDGER_TABLE}`{filter}",text("`db`"),text("`id`"),text("`sha256`"),text("`status`"),text("COALESCE(HEX(`error`),'')")));
|
||||
}
|
||||
|
||||
@@ -139,7 +139,7 @@ fn installed_module_commits(root: &Path) -> BTreeMap<String, String> {
|
||||
|
||||
fn list_in(cat: &[Entry], root: &Path) -> Vec<ModuleView> {
|
||||
let installed_commits = installed_module_commits(root);
|
||||
let wildcard = crate::realms::state(root).map(|s| s.active != crate::realms::Mode::Coa).unwrap_or(true);
|
||||
let wildcard = crate::realms::state(root).map(|s| s.active == crate::realms::Mode::Wildcard).unwrap_or(true);
|
||||
cat.iter()
|
||||
.cloned()
|
||||
.map(|e| {
|
||||
|
||||
@@ -28,7 +28,6 @@ fn copy_tree(from: &Path, to: &Path) -> Result<()> {
|
||||
pub fn set_enabled(main: &Path, enabled: bool) -> Result<realms::View> {
|
||||
if enabled && !cfg!(windows) { return Err(Error::Invalid("Simultaneous realms currently require Windows.".into())); }
|
||||
if enabled {
|
||||
if realms::state(main)?.active == Mode::Reborn { return Err(Error::Invalid("Simultaneous startup supports CoA and Wildcard. Select one of these realms first.".into())); }
|
||||
if !realms::view(main)?.supported { return Err(Error::Invalid("Update the server to a build with Wildcard support first.".into())); }
|
||||
secondary_launcher(&fs::read_to_string(main.join("Scripts/manage.py"))?)?;
|
||||
}
|
||||
|
||||
+32
-174
@@ -18,15 +18,13 @@ pub enum Mode {
|
||||
#[default]
|
||||
Coa,
|
||||
Wildcard,
|
||||
Reborn,
|
||||
}
|
||||
|
||||
impl Mode {
|
||||
pub fn name(self) -> &'static str {
|
||||
match self { Self::Coa => "coa", Self::Wildcard => "wildcard", Self::Reborn => "reborn" }
|
||||
match self { Self::Coa => "coa", Self::Wildcard => "wildcard" }
|
||||
}
|
||||
pub fn realm_id(self) -> u32 { match self { Self::Coa => 1, Self::Wildcard => 2, Self::Reborn => 3 } }
|
||||
pub fn label(self) -> &'static str { match self { Self::Coa => "Conquest of Azeroth", Self::Wildcard => "Wildcard", Self::Reborn => "Warcraft Reborn" } }
|
||||
pub fn realm_id(self) -> u32 { if self == Self::Coa { 1 } else { 2 } }
|
||||
pub fn schema(self, kind: &str) -> Result<&'static str> {
|
||||
match (self, kind) {
|
||||
(_, "auth") => Ok("acore_auth"),
|
||||
@@ -34,8 +32,6 @@ impl Mode {
|
||||
(Self::Coa, "world") => Ok("acore_world"),
|
||||
(Self::Wildcard, "characters") => Ok("acore_characters_wildcard"),
|
||||
(Self::Wildcard, "world") => Ok("acore_world_wildcard"),
|
||||
(Self::Reborn, "characters") => Ok("acore_characters_reborn"),
|
||||
(Self::Reborn, "world") => Ok("acore_world_reborn"),
|
||||
_ => Err(Error::Invalid("Unknown realm database.".into())),
|
||||
}
|
||||
}
|
||||
@@ -46,8 +42,6 @@ pub struct RealmState {
|
||||
pub active: Mode,
|
||||
pub wildcard_created: bool,
|
||||
#[serde(default)]
|
||||
pub reborn_created: bool,
|
||||
#[serde(default)]
|
||||
pub simultaneous: bool,
|
||||
#[serde(default)]
|
||||
pub secondary_world_port: Option<u16>,
|
||||
@@ -55,21 +49,10 @@ pub struct RealmState {
|
||||
pub secondary_ra_port: Option<u16>,
|
||||
}
|
||||
|
||||
impl RealmState {
|
||||
pub fn created(&self, mode: Mode) -> bool { match mode { Mode::Coa => true, Mode::Wildcard => self.wildcard_created, Mode::Reborn => self.reborn_created } }
|
||||
pub fn modes(&self) -> Vec<Mode> {
|
||||
let mut modes = vec![self.active];
|
||||
modes.extend([Mode::Coa, Mode::Wildcard, Mode::Reborn].into_iter().filter(|m| *m != self.active && self.created(*m)));
|
||||
modes
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize)]
|
||||
pub struct View {
|
||||
pub active: Mode,
|
||||
pub wildcard_created: bool,
|
||||
pub reborn_created: bool,
|
||||
pub reborn_supported: bool,
|
||||
pub supported: bool,
|
||||
pub recovery_pending: bool,
|
||||
pub simultaneous: bool,
|
||||
@@ -91,15 +74,14 @@ fn world_binary(root: &Path) -> std::path::PathBuf {
|
||||
pub fn view(root: &Path) -> Result<View> {
|
||||
let s = state(root)?;
|
||||
// Inspect the binary itself; templates or an old log cannot prove installed support.
|
||||
let binary = fs::read(world_binary(root))?;
|
||||
let reborn_supported = binary.windows(b"Warcraft Reborn class spells are unavailable".len()).any(|w| w == b"Warcraft Reborn class spells are unavailable");
|
||||
let supported = binary.windows(b"Wildcard synergy settings".len()).any(|w| w == b"Wildcard synergy settings");
|
||||
Ok(View { active: s.active, wildcard_created: s.wildcard_created, reborn_created: s.reborn_created, reborn_supported, supported, recovery_pending: root.join(JOURNAL).exists(), simultaneous: s.simultaneous, secondary_world_port: s.secondary_world_port, secondary_running: crate::multiworld::is_running(root) })
|
||||
let supported = fs::read(world_binary(root))?
|
||||
.windows(b"Wildcard synergy settings".len()).any(|w| w == b"Wildcard synergy settings");
|
||||
Ok(View { active: s.active, wildcard_created: s.wildcard_created, supported, recovery_pending: root.join(JOURNAL).exists(), simultaneous: s.simultaneous, secondary_world_port: s.secondary_world_port, secondary_running: crate::multiworld::is_running(root) })
|
||||
}
|
||||
|
||||
pub fn guard_module(root: &Path, id: &str) -> Result<()> {
|
||||
if state(root)?.active != Mode::Coa && matches!(id, "companions" | "playerbots") {
|
||||
return Err(Error::Invalid("Bot class mechanics have not been validated for this realm. This module is unavailable on this realm.".into()));
|
||||
if state(root)?.active == Mode::Wildcard && matches!(id, "companions" | "playerbots") {
|
||||
return Err(Error::Invalid("CoA companion class mechanics have not been validated for Wildcard. This module is unavailable on this realm.".into()));
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
@@ -163,24 +145,6 @@ fn wildcard_configs(mut files: Files) -> Result<Files> {
|
||||
for (key, value) in [("CoaBots.Enable", "0"), ("CoaBots.AutoLoginOnStartup", "0")] {
|
||||
set(&mut files, "Core/configs/modules/mod_coa_playerbots.conf", key, value)?;
|
||||
}
|
||||
set(&mut files, "Core/configs/modules/playerbots.conf", "AiPlayerbot.Enabled", "0")?;
|
||||
Ok(files)
|
||||
}
|
||||
|
||||
fn reborn_configs(mut files: Files) -> Result<Files> {
|
||||
for (key, value) in [
|
||||
("CoA.ClassModel", "\"wcr\""), ("CoA.GameModeMask", "0"),
|
||||
("CoA.MapClass10ToWarrior", "0"), ("CoA.RealmType", "\"live\""),
|
||||
("CoA.ClientBooleanConfigs", "\"\""),
|
||||
] { set(&mut files, "Core/configs/modules/coa.conf", key, value)?; }
|
||||
set(&mut files, "Core/configs/modules/mod-coa-challenges.conf", "CoAChallenges.GameModes.Realm", "\"\"")?;
|
||||
for path in ["Settings/worldserver.conf.template", "Core/configs/worldserver.conf"] {
|
||||
if files.contains_key(path) { set(&mut files, path, "RealmID", "3")?; }
|
||||
}
|
||||
for (key, value) in [("CoaBots.Enable", "0"), ("CoaBots.AutoLoginOnStartup", "0")] {
|
||||
set(&mut files, "Core/configs/modules/mod_coa_playerbots.conf", key, value)?;
|
||||
}
|
||||
set(&mut files, "Core/configs/modules/playerbots.conf", "AiPlayerbot.Enabled", "0")?;
|
||||
Ok(files)
|
||||
}
|
||||
|
||||
@@ -205,15 +169,15 @@ pub fn recover(root: &Path) -> Result<()> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn create_databases(root: &Path, mode: Mode) -> Result<()> {
|
||||
fn create_databases(root: &Path) -> Result<()> {
|
||||
crate::backup::with_database(root, |_| {
|
||||
let db = Db::from_repack(root, Account::Admin)?.for_realm(Mode::Coa);
|
||||
if db.query(&format!("SELECT COUNT(*) FROM acore_auth.realmlist WHERE id={};", mode.realm_id()))? != "0" {
|
||||
return Err(Error::Invalid(format!("Realm ID {} is already in use. Its settings were left intact.", mode.realm_id())));
|
||||
if db.query("SELECT COUNT(*) FROM acore_auth.realmlist WHERE id=2;")? != "0" {
|
||||
return Err(Error::Invalid("Realm ID 2 is already in use. Its settings were left intact.".into()));
|
||||
}
|
||||
for kind in ["world", "characters"] {
|
||||
let source = Mode::Coa.schema(kind)?;
|
||||
let dest = mode.schema(kind)?;
|
||||
let dest = Mode::Wildcard.schema(kind)?;
|
||||
if db.schema_exists(dest)? {
|
||||
return Err(Error::Invalid(format!("Database {dest} already exists. It was left intact; inspect it before creating a realm.")));
|
||||
}
|
||||
@@ -221,7 +185,7 @@ fn create_databases(root: &Path, mode: Mode) -> Result<()> {
|
||||
return Err(Error::Invalid("Realm creation does not support databases with routines, triggers or views.".into()));
|
||||
}
|
||||
}
|
||||
for (kind, tables) in crate::schema_check::WILDCARD_TABLES.iter().filter(|_| mode == Mode::Wildcard) {
|
||||
for (kind, tables) in crate::schema_check::WILDCARD_TABLES {
|
||||
let schema = crate::db::schema_of(kind)?;
|
||||
let present = db.tables(schema)?;
|
||||
let missing: Vec<_> = tables.iter().filter(|table| !present.iter().any(|p| p == **table)).copied().collect();
|
||||
@@ -247,11 +211,9 @@ fn create_databases(root: &Path, mode: Mode) -> Result<()> {
|
||||
if db.tables("acore_world")?.iter().any(|t| t == "coa_manager_migrations") {
|
||||
db.query(&format!("CREATE TABLE IF NOT EXISTS `{stage_world}`.coa_manager_migrations LIKE acore_world.coa_manager_migrations;"))?;
|
||||
}
|
||||
let world = mode.schema("world")?;
|
||||
let characters = mode.schema("characters")?;
|
||||
db.query(&format!("CREATE DATABASE `{world}` CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; CREATE DATABASE `{characters}` CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;"))?;
|
||||
db.query("CREATE DATABASE acore_world_wildcard CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; CREATE DATABASE acore_characters_wildcard CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;")?;
|
||||
let mut renames = Vec::new();
|
||||
for (stage, dest) in [(&stage_world, world), (&stage_chars, characters)] {
|
||||
for (stage, dest) in [(&stage_world, "acore_world_wildcard"), (&stage_chars, "acore_characters_wildcard")] {
|
||||
for table in db.tables(stage)? {
|
||||
if !crate::db::valid_identifier(&table) { return Err(Error::Invalid("Unsupported table name.".into())); }
|
||||
renames.push(format!("`{stage}`.`{table}` TO `{dest}`.`{table}`"));
|
||||
@@ -261,7 +223,7 @@ fn create_databases(root: &Path, mode: Mode) -> Result<()> {
|
||||
for host in db.query("SELECT host FROM mysql.user WHERE user='acore';")?.lines() {
|
||||
let host = hex::encode(host.as_bytes());
|
||||
// Host names are trusted database data, but still quote them through a hex SQL literal.
|
||||
db.query(&format!("SET @host=CONVERT(UNHEX('{host}') USING utf8mb4); SET @grant=CONCAT('GRANT ALL ON {world}.* TO ', QUOTE('acore'), '@', QUOTE(@host)); PREPARE realm_grant FROM @grant; EXECUTE realm_grant; DEALLOCATE PREPARE realm_grant; SET @grant=CONCAT('GRANT ALL ON {characters}.* TO ', QUOTE('acore'), '@', QUOTE(@host)); PREPARE realm_grant FROM @grant; EXECUTE realm_grant; DEALLOCATE PREPARE realm_grant;"))?;
|
||||
db.query(&format!("SET @host=CONVERT(UNHEX('{host}') USING utf8mb4); SET @grant=CONCAT('GRANT ALL ON acore_world_wildcard.* TO ', QUOTE('acore'), '@', QUOTE(@host)); PREPARE realm_grant FROM @grant; EXECUTE realm_grant; DEALLOCATE PREPARE realm_grant; SET @grant=CONCAT('GRANT ALL ON acore_characters_wildcard.* TO ', QUOTE('acore'), '@', QUOTE(@host)); PREPARE realm_grant FROM @grant; EXECUTE realm_grant; DEALLOCATE PREPARE realm_grant;"))?;
|
||||
}
|
||||
db.query(&format!("DROP DATABASE `{stage_world}`; DROP DATABASE `{stage_chars}`;"))?;
|
||||
fs::remove_file(&dump)?;
|
||||
@@ -280,22 +242,14 @@ pub fn select(root: &Path, mode: Mode) -> Result<View> {
|
||||
if mode == Mode::Wildcard && !view(root)?.supported {
|
||||
return Err(Error::Invalid("Update the server to a build with Wildcard support first.".into()));
|
||||
}
|
||||
if mode == Mode::Reborn && !view(root)?.reborn_supported {
|
||||
return Err(Error::Invalid("Update the server to a build with Warcraft Reborn support first.".into()));
|
||||
}
|
||||
if s.simultaneous && mode != s.active {
|
||||
return Err(Error::Invalid("Disable simultaneous startup before switching realms.".into()));
|
||||
}
|
||||
// Verify launcher support before creating databases or changing the selected realm.
|
||||
prepare_launcher(root)?;
|
||||
let before = configs(root)?;
|
||||
fsx::atomic_write_json(&snapshot(root, s.active), &before)?;
|
||||
if !s.created(mode) {
|
||||
let base = if s.active == Mode::Coa { before.clone() } else { fsx::read_json(&snapshot(root, Mode::Coa))? };
|
||||
let files = match mode { Mode::Wildcard => wildcard_configs(base)?, Mode::Reborn => reborn_configs(base)?, Mode::Coa => unreachable!() };
|
||||
fsx::atomic_write_json(&snapshot(root, mode), &files)?;
|
||||
create_databases(root, mode)?;
|
||||
match mode { Mode::Wildcard => s.wildcard_created = true, Mode::Reborn => s.reborn_created = true, Mode::Coa => {} }
|
||||
if mode == Mode::Wildcard && !s.wildcard_created {
|
||||
fsx::atomic_write_json(&snapshot(root, mode), &wildcard_configs(before.clone())?)?;
|
||||
create_databases(root)?;
|
||||
s.wildcard_created = true;
|
||||
fsx::atomic_write_json(&root.join(STATE), &s)?;
|
||||
}
|
||||
let target: Files = fsx::read_json(&snapshot(root, mode))?;
|
||||
@@ -351,48 +305,25 @@ const LAUNCHER_REALM_REPLACEMENTS: &[(&str, &str)] = &[
|
||||
|
||||
const LAUNCHER_REALM_INSERT: &str = "# coa-manager-realm-profiles-v1\ndef coa_realm():\n path = ROOT / 'Settings/realm-profile.json'\n return json.loads(path.read_text(encoding='utf-8')).get('active', 'coa') if path.exists() else 'coa'\n\ndef coa_realm_id():\n return 2 if coa_realm() == 'wildcard' else 1\n\ndef coa_realm_name():\n return 'Wildcard' if coa_realm() == 'wildcard' else 'Conquest of Azeroth'\n\n";
|
||||
|
||||
fn launcher_insert() -> String {
|
||||
LAUNCHER_REALM_INSERT.replace("profiles-v1", "profiles-v2")
|
||||
.replace("return 2 if", "return 3 if coa_realm() == 'reborn' else 2 if")
|
||||
.replace("return 'Wildcard' if", "return 'Warcraft Reborn' if coa_realm() == 'reborn' else 'Wildcard' if")
|
||||
}
|
||||
|
||||
fn launcher_replacements() -> Vec<(&'static str, String)> {
|
||||
LAUNCHER_REALM_REPLACEMENTS.iter().map(|(from, to)| (*from, to
|
||||
.replace("\"acore_world_wildcard\" if", "\"acore_world_reborn\" if coa_realm() == 'reborn' else \"acore_world_wildcard\" if")
|
||||
.replace("\"acore_characters_wildcard\" if", "\"acore_characters_reborn\" if coa_realm() == 'reborn' else \"acore_characters_wildcard\" if"))).collect()
|
||||
}
|
||||
|
||||
pub(crate) fn patch_launcher(source: &str) -> Result<String> {
|
||||
if source.contains("# coa-manager-realm-profiles-v2") { return Ok(source.into()); }
|
||||
if source.contains("# coa-manager-realm-profiles-v1") {
|
||||
let original = unpatch_launcher(source).ok_or_else(|| Error::Invalid("Unrecognised realm launcher patch.".into()))?;
|
||||
return patch_launcher(&original);
|
||||
}
|
||||
if source.contains("# coa-manager-realm-profiles-v1") { return Ok(source.into()); }
|
||||
let mut out = source.to_string();
|
||||
for (from, to) in launcher_replacements() {
|
||||
for &(from, to) in LAUNCHER_REALM_REPLACEMENTS {
|
||||
if !out.contains(from) { return Err(Error::Invalid("This launcher does not support realm profiles. Update the server package first.".into())); }
|
||||
out = out.replace(from, &to);
|
||||
out = out.replace(from, to);
|
||||
}
|
||||
// Insert before the entry point so ROOT, json and functions are all defined when called.
|
||||
let marker = "if __name__ == \"__main__\":";
|
||||
if !out.contains(marker) { return Err(Error::Invalid("Unrecognised server launcher entry point.".into())); }
|
||||
Ok(out.replace(marker, &format!("{}{marker}", launcher_insert())))
|
||||
Ok(out.replace(marker, &format!("{LAUNCHER_REALM_INSERT}{marker}")))
|
||||
}
|
||||
|
||||
/// Reverse only our exact realm transformation; callers must verify the recovered original hash.
|
||||
pub(crate) fn unpatch_launcher(source: &str) -> Option<String> {
|
||||
let (insert, replacements) = if source.contains(&launcher_insert()) {
|
||||
(launcher_insert(), launcher_replacements())
|
||||
} else if source.contains(LAUNCHER_REALM_INSERT) {
|
||||
(LAUNCHER_REALM_INSERT.into(), LAUNCHER_REALM_REPLACEMENTS.iter().map(|(a,b)| (*a, b.to_string())).collect())
|
||||
} else { return None; };
|
||||
let mut original = source.replacen(&insert, "", 1);
|
||||
for (from, to) in &replacements { original = original.replace(to, from); }
|
||||
let mut check = original.clone();
|
||||
for (from, to) in &replacements { check = check.replace(from, to); }
|
||||
check = check.replace("if __name__ == \"__main__\":", &format!("{insert}if __name__ == \"__main__\":"));
|
||||
(check == source).then_some(original)
|
||||
if !source.contains(LAUNCHER_REALM_INSERT) { return None; }
|
||||
let mut original = source.replacen(LAUNCHER_REALM_INSERT, "", 1);
|
||||
for &(from, to) in LAUNCHER_REALM_REPLACEMENTS { original = original.replace(to, from); }
|
||||
patch_launcher(&original).ok().filter(|patched| patched == source).map(|_| original)
|
||||
}
|
||||
|
||||
pub fn before_start(root: &Path) -> Result<()> {
|
||||
@@ -401,36 +332,23 @@ pub fn before_start(root: &Path) -> Result<()> {
|
||||
if !root.join(STATE).exists() { return Ok(()); }
|
||||
prepare_launcher(root)?;
|
||||
if s.simultaneous && !view(root)?.supported { return Err(Error::Invalid("The installed server build does not support simultaneous Wildcard startup.".into())); }
|
||||
if s.simultaneous && s.active == Mode::Reborn { return Err(Error::Invalid("Simultaneous startup supports CoA and Wildcard only.".into())); }
|
||||
if s.simultaneous { fsx::atomic_write_json(&snapshot(root, s.active), &configs(root)?)?; }
|
||||
if s.active == Mode::Reborn && !view(root)?.reborn_supported { return Err(Error::Invalid("The installed server build does not support Warcraft Reborn.".into())); }
|
||||
if s.active != Mode::Coa {
|
||||
if s.active == Mode::Wildcard && !view(root)?.supported { return Err(Error::Invalid("The installed server build does not support Wildcard.".into())); }
|
||||
if s.active == Mode::Wildcard {
|
||||
if !view(root)?.supported { return Err(Error::Invalid("The installed server build does not support Wildcard.".into())); }
|
||||
let path = root.join("Core/configs/modules/mod_coa_playerbots.conf");
|
||||
let mut conf = ConfFile::parse_bytes(&fs::read(&path)?)?;
|
||||
conf.set("CoaBots.Enable", "0", &[]);
|
||||
fsx::atomic_write(&path, conf.to_text().as_bytes())?;
|
||||
let path = root.join("Core/configs/modules/playerbots.conf");
|
||||
let bytes = if path.exists() { fs::read(&path)? } else { b"[worldserver]\n".to_vec() };
|
||||
let mut conf = ConfFile::parse_bytes(&bytes)?;
|
||||
conf.set("AiPlayerbot.Enabled", "0", &[]);
|
||||
fsx::atomic_write(&path, conf.to_text().as_bytes())?;
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn setup_realmlist(root: &Path) -> Result<()> {
|
||||
let s = state(root)?;
|
||||
if !root.join(STATE).exists() { return Ok(()); }
|
||||
let db = Db::from_repack(root, Account::Admin)?.for_realm(Mode::Coa);
|
||||
if !root.join(STATE).exists() || !s.wildcard_created { return Ok(()); }
|
||||
let db = Db::from_repack(root, Account::Admin)?;
|
||||
let port = layout::read_ports(root).world;
|
||||
for mode in s.modes().into_iter().filter(|m| *m != Mode::Coa) {
|
||||
let id = mode.realm_id();
|
||||
let name = mode.label();
|
||||
db.query(&format!("INSERT INTO acore_auth.realmlist (id,name,address,localAddress,localSubnetMask,port,icon,flag,timezone,gamebuild) SELECT {id},'{name}',address,localAddress,localSubnetMask,{port},icon,2,timezone,gamebuild FROM acore_auth.realmlist WHERE id=1 ON DUPLICATE KEY UPDATE port={port};"))?;
|
||||
}
|
||||
let ids = s.modes().iter().map(|m| m.realm_id().to_string()).collect::<Vec<_>>().join(",");
|
||||
db.query(&format!("UPDATE acore_auth.realmlist SET flag=2 WHERE id IN ({ids}) AND id<>{};", s.active.realm_id()))?;
|
||||
db.query(&format!("INSERT INTO acore_auth.realmlist (id,name,address,localAddress,localSubnetMask,port,icon,flag,timezone,gamebuild) SELECT 2,'Wildcard',address,localAddress,localSubnetMask,{port},icon,2,timezone,gamebuild FROM acore_auth.realmlist WHERE id=1 ON DUPLICATE KEY UPDATE port={port}; UPDATE acore_auth.realmlist SET flag=2 WHERE id IN (1,2) AND id<>{};", s.active.realm_id()))?;
|
||||
if s.simultaneous {
|
||||
let second = s.secondary_world_port.ok_or_else(|| Error::Invalid("Second realm port is missing.".into()))?;
|
||||
let (coa, wildcard) = if s.active == Mode::Coa { (port, second) } else { (second, port) };
|
||||
@@ -443,66 +361,6 @@ pub fn setup_realmlist(root: &Path) -> Result<()> {
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
fn legacy_states_and_all_created_realms_are_enumerated_once() {
|
||||
let legacy: RealmState = serde_json::from_str(r#"{"active":"wildcard","wildcard_created":true}"#).unwrap();
|
||||
assert!(!legacy.reborn_created);
|
||||
assert_eq!(legacy.modes(), [Mode::Wildcard, Mode::Coa]);
|
||||
let all = RealmState { active: Mode::Reborn, wildcard_created: true, reborn_created: true, ..Default::default() };
|
||||
assert_eq!(all.modes(), [Mode::Reborn, Mode::Coa, Mode::Wildcard]);
|
||||
assert_eq!(serde_json::to_string(&Mode::Reborn).unwrap(), "\"reborn\"");
|
||||
assert_eq!(Mode::Reborn.realm_id(), 3);
|
||||
assert_eq!(Mode::Reborn.schema("auth").unwrap(), "acore_auth");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn reborn_has_its_own_settings_and_restores_the_coa_profile() {
|
||||
let t = tempfile::tempdir().unwrap();
|
||||
let mut coa = Files::new();
|
||||
coa.insert("Core/configs/modules/coa.conf".into(), b"[worldserver]\nCoA.ClassModel = coa\nCoA.GameModeMask = 0\n".to_vec());
|
||||
coa.insert("Settings/worldserver.conf.template".into(), b"[worldserver]\nRealmID = 1\n".to_vec());
|
||||
coa.insert("Core/configs/modules/playerbots.conf".into(), b"[worldserver]\nAiPlayerbot.Enabled = 1\n".to_vec());
|
||||
let reborn = reborn_configs(coa.clone()).unwrap();
|
||||
let conf = ConfFile::parse_bytes(&reborn["Core/configs/modules/coa.conf"]).unwrap();
|
||||
assert_eq!(conf.get("CoA.ClassModel"), Some("\"wcr\""));
|
||||
assert_eq!(conf.get("CoA.GameModeMask"), Some("0"));
|
||||
assert_eq!(ConfFile::parse_bytes(&reborn["Settings/worldserver.conf.template"]).unwrap().get("RealmID"), Some("3"));
|
||||
assert_eq!(ConfFile::parse_bytes(&reborn["Core/configs/modules/playerbots.conf"]).unwrap().get("AiPlayerbot.Enabled"), Some("0"));
|
||||
write_configs(t.path(), &reborn).unwrap();
|
||||
write_configs(t.path(), &coa).unwrap();
|
||||
assert_eq!(configs(t.path()).unwrap(), coa);
|
||||
fsx::atomic_write_json(&t.path().join(STATE), &RealmState { active: Mode::Reborn, reborn_created: true, ..Default::default() }).unwrap();
|
||||
assert!(guard_module(t.path(), "companions").is_err());
|
||||
assert!(guard_module(t.path(), "playerbots").is_err());
|
||||
assert!(guard_module(t.path(), "content-scaling").is_ok());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn reborn_support_requires_the_new_code_in_the_installed_binary() {
|
||||
let t = tempfile::tempdir().unwrap();
|
||||
fsx::atomic_write(&t.path().join("Core/worldserver.exe"), b"Wildcard synergy settings").unwrap();
|
||||
assert!(!view(t.path()).unwrap().reborn_supported);
|
||||
fsx::atomic_write(&t.path().join("Core/worldserver.exe"), b"Warcraft Reborn class spells are unavailable").unwrap();
|
||||
let v = view(t.path()).unwrap();
|
||||
assert!(v.reborn_supported);
|
||||
assert!(!v.supported);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn old_launcher_upgrades_and_both_patch_versions_are_reversible() {
|
||||
let original = "(\"WorldDatabaseInfo\", \"acore_world\")\n(\"CharacterDatabaseInfo\", \"acore_characters\")\nSET name='AzerothCore',address=\nWHERE id=1;\nmysql(\"UPDATE acore_auth.realmlist SET flag=0\nif __name__ == \"__main__\":\n";
|
||||
let mut old = original.to_string();
|
||||
for (from, to) in LAUNCHER_REALM_REPLACEMENTS { old = old.replace(from, to); }
|
||||
old = old.replace("if __name__ == \"__main__\":", &format!("{LAUNCHER_REALM_INSERT}if __name__ == \"__main__\":"));
|
||||
assert_eq!(unpatch_launcher(&old).as_deref(), Some(original));
|
||||
let new = patch_launcher(&old).unwrap();
|
||||
assert!(new.contains("acore_world_reborn"));
|
||||
assert!(new.contains("return 3 if coa_realm() == 'reborn'"));
|
||||
assert!(new.contains("return 'Warcraft Reborn' if"));
|
||||
assert_eq!(patch_launcher(&new).unwrap(), new);
|
||||
assert_eq!(unpatch_launcher(&new).as_deref(), Some(original));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn a_docker_server_is_checked_for_wildcard_support_in_its_own_binary() {
|
||||
let d = tempfile::tempdir().unwrap();
|
||||
|
||||
@@ -24,7 +24,8 @@ pub fn check(root: &Path, dir: &Path) -> Result<Vec<DatabaseCheck>> {
|
||||
let (_, meta) = MetaDir::open(dir)?;
|
||||
let m = installed_manifest(&meta, dir)?;
|
||||
let checks = crate::backup::with_database(root, |db| {
|
||||
let modes = crate::realms::state(root)?.modes();
|
||||
let mut modes = vec![crate::realms::Mode::Coa];
|
||||
if crate::realms::state(root)?.wildcard_created { modes.push(crate::realms::Mode::Wildcard); }
|
||||
let mut checks = Vec::new();
|
||||
for mode in modes {
|
||||
let db = db.clone().for_realm(mode);
|
||||
|
||||
@@ -894,7 +894,8 @@ impl RepackEnv<'_> {
|
||||
if manifest.migrations.is_empty() { return Ok(Some(0)); }
|
||||
let count = |db: &crate::db::Db| -> Result<usize> {
|
||||
let realms = crate::realms::state(self.root)?;
|
||||
let modes = realms.modes();
|
||||
let mut modes = vec![realms.active];
|
||||
if realms.wildcard_created { modes.push(if realms.active == crate::realms::Mode::Coa { crate::realms::Mode::Wildcard } else { crate::realms::Mode::Coa }); }
|
||||
let mut count = 0;
|
||||
for (index, mode) in modes.into_iter().enumerate() {
|
||||
let list: Vec<_> = manifest.migrations.iter().filter(|m| index == 0 || !crate::migrations::shared_auth(&m.db)).cloned().collect();
|
||||
@@ -975,7 +976,8 @@ impl Env for RepackEnv<'_> {
|
||||
}
|
||||
}
|
||||
crate::backup::with_database(self.root, |db| {
|
||||
let modes = crate::realms::state(self.root)?.modes();
|
||||
let mut modes = vec![crate::realms::Mode::Coa];
|
||||
if crate::realms::state(self.root)?.wildcard_created { modes.push(crate::realms::Mode::Wildcard); }
|
||||
for mode in modes {
|
||||
if let Some(problem) = crate::schema_check::check_with_report(&db.clone().for_realm(mode), self.root)?.first() {
|
||||
if crate::docker::is_docker(self.root) {
|
||||
@@ -1063,7 +1065,8 @@ impl RepackEnv<'_> {
|
||||
use crate::process::{observe, ServiceState};
|
||||
let identities = crate::backup::with_database(self.root, |db| {
|
||||
if check_schema {
|
||||
let modes = crate::realms::state(self.root)?.modes();
|
||||
let mut modes = vec![crate::realms::Mode::Coa];
|
||||
if crate::realms::state(self.root)?.wildcard_created { modes.push(crate::realms::Mode::Wildcard); }
|
||||
for mode in modes {
|
||||
if let Some(p) = crate::schema_check::check_with_report(&db.clone().for_realm(mode), self.root)?.first() {
|
||||
return Err(Error::Invalid(format!("Database validation failed on {}: {}.{}: {}", mode.name(), p.database, p.table, p.detail)));
|
||||
@@ -1128,7 +1131,10 @@ impl RepackEnv<'_> {
|
||||
/// One migration pass for both realms, with shared history checks and one recovery point.
|
||||
fn migrate_databases(db: &crate::db::Db, root: &Path, manifest: &Manifest, staged: &Path, snapshot: &dyn Fn() -> Result<String>) -> Result<ApplyReport> {
|
||||
let realms = crate::realms::state(root)?;
|
||||
let modes = realms.modes();
|
||||
let mut modes = vec![realms.active];
|
||||
if realms.wildcard_created {
|
||||
modes.push(if realms.active == crate::realms::Mode::Coa { crate::realms::Mode::Wildcard } else { crate::realms::Mode::Coa });
|
||||
}
|
||||
// Reject a broken history in either realm before changing the first one.
|
||||
for (index, mode) in modes.iter().enumerate() {
|
||||
let list: Vec<_> = manifest.migrations.iter().filter(|m| index == 0 || !crate::migrations::shared_auth(&m.db)).cloned().collect();
|
||||
@@ -1162,7 +1168,6 @@ fn database_identities(db: &crate::db::Db) -> Result<BTreeMap<String, std::colle
|
||||
for (schema, table, columns) in [
|
||||
("acore_characters", "characters", "guid,account,HEX(name)"),
|
||||
("acore_characters_wildcard", "characters", "guid,account,HEX(name)"),
|
||||
("acore_characters_reborn", "characters", "guid,account,HEX(name)"),
|
||||
("acore_auth", "account", "id,HEX(username)"),
|
||||
] {
|
||||
if !db.schema_exists(schema)? || !db.tables(schema)?.iter().any(|name| name == table) { continue; }
|
||||
|
||||
@@ -10,7 +10,6 @@ const FILES: &[&str] = &[
|
||||
".realms/secondary/Settings/repack.json", ".realms/secondary/Settings/realm-profile.json",
|
||||
".realms/secondary/Settings/worldserver.conf.template", ".realms/secondary/Settings/authserver.conf.template",
|
||||
".realms/secondary/Core/configs/worldserver.conf", ".realms/secondary/Core/configs/authserver.conf",
|
||||
"Settings/realm-profiles/reborn.json",
|
||||
];
|
||||
|
||||
#[derive(Serialize, Deserialize)]
|
||||
@@ -95,7 +94,6 @@ mod tests {
|
||||
#[test]
|
||||
fn interrupted_validation_restores_original_bytes_and_absent_files() {
|
||||
let (_dir, root, meta) = fixture();
|
||||
fsx::atomic_write(&root.join("Settings/realm-profiles/reborn.json"), b"saved reborn profile").unwrap();
|
||||
let original: Vec<_> = FILES.iter().map(|p| fs::read(root.join(p)).ok()).collect();
|
||||
begin(&root, &meta).unwrap();
|
||||
assert!(crate::update::ensure_recovered(&meta).is_err());
|
||||
@@ -108,7 +106,6 @@ mod tests {
|
||||
let config = ConfFile::parse_bytes(&fs::read(root.join(FILES[2])).unwrap()).unwrap();
|
||||
assert_eq!(config.get("BindIP"), Some("\"127.0.0.1\""));
|
||||
fsx::atomic_write(&root.join(FILES[4]), b"rendered temporary configuration").unwrap();
|
||||
fsx::atomic_write(&root.join("Settings/realm-profiles/reborn.json"), b"temporary reborn profile").unwrap();
|
||||
restore(&root, &meta).unwrap();
|
||||
for (rel, bytes) in FILES.iter().zip(original) { assert_eq!(fs::read(root.join(rel)).ok(), bytes); }
|
||||
assert!(!pending(&meta));
|
||||
@@ -144,11 +141,7 @@ pub(crate) fn restore(root: &Path, meta: &Path) -> Result<()> {
|
||||
if !pending(meta) { return Ok(()); }
|
||||
let journal = meta.join("validation-configs.json");
|
||||
let saved: BTreeMap<String, Saved> = fsx::read_json(&journal)?;
|
||||
// Previous managers could journal only the first two profiles. Recover those
|
||||
// journals too, while continuing to reject missing or unknown legacy entries.
|
||||
let legacy = saved.len() == FILES.len() - 1 && !saved.contains_key("Settings/realm-profiles/reborn.json");
|
||||
let required = if legacy { &FILES[..FILES.len() - 1] } else { FILES };
|
||||
if saved.len() != required.len() || required.iter().any(|rel| !saved.contains_key(*rel)) {
|
||||
if saved.len() != FILES.len() || FILES.iter().any(|rel| !saved.contains_key(*rel)) {
|
||||
return Err(Error::Invalid("Isolated validation configuration journal is incomplete.".into()));
|
||||
}
|
||||
for (rel, file) in &saved {
|
||||
|
||||
@@ -118,8 +118,11 @@ pub fn external_ip(gw: &Gateway) -> Result<Ipv4Addr> {
|
||||
}
|
||||
|
||||
pub fn add_mapping(gw: &Gateway, port: u16, lan: Ipv4Addr, what: &str) -> Result<()> {
|
||||
soap(
|
||||
gw,
|
||||
add_mapping_with(port, lan, what, |action, args| soap(gw, action, args))
|
||||
}
|
||||
|
||||
fn add_mapping_with(port: u16, lan: Ipv4Addr, what: &str, mut request: impl FnMut(&str, &[(&str, String)]) -> Result<String>) -> Result<()> {
|
||||
let result = request(
|
||||
"AddPortMapping",
|
||||
&[
|
||||
("NewRemoteHost", String::new()),
|
||||
@@ -131,8 +134,28 @@ pub fn add_mapping(gw: &Gateway, port: u16, lan: Ipv4Addr, what: &str) -> Result
|
||||
("NewPortMappingDescription", format!("{DESCRIPTION_PREFIX} - {what}")),
|
||||
("NewLeaseDuration", "0".into()),
|
||||
],
|
||||
)
|
||||
.map(|_| ())
|
||||
);
|
||||
match result {
|
||||
Ok(_) => Ok(()),
|
||||
Err(error) => {
|
||||
// Some routers reject a mapping that already points to us. Read it back;
|
||||
// never delete or replace another host's mapping.
|
||||
let existing = request("GetSpecificPortMappingEntry", &[
|
||||
("NewRemoteHost", String::new()),
|
||||
("NewExternalPort", port.to_string()),
|
||||
("NewProtocol", "TCP".into()),
|
||||
]);
|
||||
if let Ok(xml) = existing {
|
||||
let client = between(&xml, "<NewInternalClient>", "</NewInternalClient>").and_then(|v| v.parse::<Ipv4Addr>().ok());
|
||||
let internal_port = between(&xml, "<NewInternalPort>", "</NewInternalPort>").and_then(|v| v.parse::<u16>().ok());
|
||||
let enabled = between(&xml, "<NewEnabled>", "</NewEnabled>");
|
||||
if client == Some(lan) && internal_port == Some(port) && matches!(enabled, Some("1" | "true")) {
|
||||
return Ok(());
|
||||
}
|
||||
}
|
||||
Err(Error::Invalid(format!("Could not forward TCP port {port}: {error}. Check the router's existing port forwarding rules for this port.")))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pub fn remove_mapping(gw: &Gateway, port: u16) -> Result<()> {
|
||||
@@ -148,6 +171,53 @@ mod tests {
|
||||
<service><serviceType>urn:schemas-upnp-org:service:WANIPConnection:1</serviceType><controlURL>/ctl/IPConn</controlURL></service>\
|
||||
</serviceList></device></deviceList></device></deviceList></device></root>";
|
||||
|
||||
#[test]
|
||||
fn existing_mapping_is_accepted_only_for_the_requested_destination() {
|
||||
let lan = "192.168.1.5".parse().unwrap();
|
||||
for (client, port, enabled, accepted) in [
|
||||
("192.168.1.5", "3724", "1", true),
|
||||
("192.168.1.5", "3724", "true", true),
|
||||
("192.168.1.6", "3724", "1", false),
|
||||
("192.168.1.5", "8085", "1", false),
|
||||
("192.168.1.5", "3724", "0", false),
|
||||
("", "", "", false),
|
||||
] {
|
||||
let mut actions = Vec::new();
|
||||
let result = add_mapping_with(3724, lan, "Login", |action, args| {
|
||||
actions.push(action.to_string());
|
||||
assert!(args.contains(&("NewExternalPort", "3724".into())));
|
||||
assert!(args.contains(&("NewProtocol", "TCP".into())));
|
||||
match action {
|
||||
"AddPortMapping" => Err(Error::Invalid("ConflictInMappingEntry".into())),
|
||||
"GetSpecificPortMappingEntry" => Ok(format!("<NewInternalClient>{client}</NewInternalClient><NewInternalPort>{port}</NewInternalPort><NewEnabled>{enabled}</NewEnabled>")),
|
||||
_ => panic!("must not delete or modify an existing mapping"),
|
||||
}
|
||||
});
|
||||
assert_eq!(result.is_ok(), accepted);
|
||||
assert_eq!(actions, ["AddPortMapping", "GetSpecificPortMappingEntry"]);
|
||||
if let Err(error) = result {
|
||||
assert!(error.to_string().contains("TCP port 3724"));
|
||||
assert!(error.to_string().contains("ConflictInMappingEntry"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn successful_add_does_not_require_router_readback_support() {
|
||||
add_mapping_with(8085, "192.168.1.5".parse().unwrap(), "World", |action, _| {
|
||||
assert_eq!(action, "AddPortMapping");
|
||||
Ok(String::new())
|
||||
}).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn failed_readback_keeps_the_original_error() {
|
||||
let error = add_mapping_with(8085, "192.168.1.5".parse().unwrap(), "World", |action, _| {
|
||||
Err(Error::Invalid(if action == "AddPortMapping" { "ConflictInMappingEntry" } else { "Unsupported action" }.into()))
|
||||
}).unwrap_err().to_string();
|
||||
assert!(error.contains("ConflictInMappingEntry") && error.contains("8085"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn parses_ssdp_location_and_description() {
|
||||
let resp = "HTTP/1.1 200 OK\r\nCACHE-CONTROL: max-age=120\r\nLocation: http://192.168.1.1:5000/rootDesc.xml\r\nST: x\r\n\r\n";
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
# Warcraft Reborn
|
||||
|
||||
Choose **Warcraft Reborn** on Overview to create or switch to this realm. The
|
||||
installed worldserver must contain Warcraft Reborn support; an old build is
|
||||
refused before any databases are created. Stop the client before switching to
|
||||
have its saved realm updated immediately.
|
||||
|
||||
The profile uses `CoA.ClassModel = "wcr"`, game-mode mask `0`, live realm type,
|
||||
and realm ID `3`. Accounts remain in the shared `acore_auth` database. World data
|
||||
is initially copied from CoA into `acore_world_reborn`; the structure of
|
||||
`acore_characters` is cloned into `acore_characters_reborn` without copying
|
||||
players. Existing database names or realm ID 3 block creation.
|
||||
|
||||
Settings are stored in `Settings/realm-profiles/reborn.json`. Creating a profile
|
||||
from Wildcard uses the saved CoA settings as its base, preventing inheritance of
|
||||
Wildcard gameplay flags. Both bot systems are disabled and cannot be enabled
|
||||
through this profile; their class mechanics have not been validated. Other
|
||||
optional modules are marked experimental.
|
||||
|
||||
Backups, updates and database checks include every created realm. Restore keeps
|
||||
using the realm recorded in the recovery point. The Windows launcher is upgraded
|
||||
from the Manager's previous two-realm patch and routes Warcraft Reborn to its
|
||||
own databases. Docker uses the same realm schema mapping.
|
||||
|
||||
Simultaneous startup continues to support CoA + Wildcard only. Disable that
|
||||
option before switching to Warcraft Reborn; it cannot be enabled while Warcraft
|
||||
Reborn is selected.
|
||||
|
||||
Automated checks cover profile configuration and restoration, old state files,
|
||||
binary support detection, database routing, all-realm enumeration, client realm
|
||||
selection, and upgrading/reversing the launcher patch. These checks do not
|
||||
constitute a gameplay validation of Warcraft Reborn or optional modules.
|
||||
+194
-12
@@ -170,29 +170,211 @@
|
||||
"key": "Rate.Creature.Normal.Damage",
|
||||
"type": "float",
|
||||
"category": "advanced",
|
||||
"title": "Monster damage",
|
||||
"description": "Multiplier for damage dealt by normal monsters. Changes difficulty a lot.",
|
||||
"title": "Normal creature melee damage",
|
||||
"description": "Multiplier for normal creature melee damage. 1 is normal. Requires a world server restart.",
|
||||
"default": 1,
|
||||
"advanced": true,
|
||||
"restartRequired": "world",
|
||||
"dangerous": true,
|
||||
"min": 0.1,
|
||||
"max": 10,
|
||||
"unit": "x"
|
||||
"unit": "x",
|
||||
"advanced": true,
|
||||
"restartRequired": "world",
|
||||
"dangerous": true
|
||||
},
|
||||
{
|
||||
"key": "Rate.Creature.Normal.SpellDamage",
|
||||
"type": "float",
|
||||
"category": "advanced",
|
||||
"title": "Normal creature spell damage",
|
||||
"description": "Multiplier for normal creature spell damage. 1 is normal. Requires a world server restart.",
|
||||
"default": 1,
|
||||
"min": 0.1,
|
||||
"max": 10,
|
||||
"unit": "x",
|
||||
"advanced": true,
|
||||
"restartRequired": "world",
|
||||
"dangerous": true
|
||||
},
|
||||
{
|
||||
"key": "Rate.Creature.Normal.HP",
|
||||
"type": "float",
|
||||
"category": "advanced",
|
||||
"title": "Monster health",
|
||||
"description": "Multiplier for health of normal monsters. Changes difficulty a lot.",
|
||||
"title": "Normal creature health",
|
||||
"description": "Multiplier for normal creature health. 1 is normal. Requires a world server restart.",
|
||||
"default": 1,
|
||||
"advanced": true,
|
||||
"restartRequired": "world",
|
||||
"dangerous": true,
|
||||
"min": 0.1,
|
||||
"max": 10,
|
||||
"unit": "x"
|
||||
"unit": "x",
|
||||
"advanced": true,
|
||||
"restartRequired": "world",
|
||||
"dangerous": true
|
||||
},
|
||||
{
|
||||
"key": "Rate.Creature.Elite.Elite.Damage",
|
||||
"type": "float",
|
||||
"category": "advanced",
|
||||
"title": "Elite creature melee damage",
|
||||
"description": "Multiplier for elite creature melee damage. 1 is normal. Requires a world server restart.",
|
||||
"default": 1,
|
||||
"min": 0.1,
|
||||
"max": 10,
|
||||
"unit": "x",
|
||||
"advanced": true,
|
||||
"restartRequired": "world",
|
||||
"dangerous": true
|
||||
},
|
||||
{
|
||||
"key": "Rate.Creature.Elite.Elite.SpellDamage",
|
||||
"type": "float",
|
||||
"category": "advanced",
|
||||
"title": "Elite creature spell damage",
|
||||
"description": "Multiplier for elite creature spell damage. 1 is normal. Requires a world server restart.",
|
||||
"default": 1,
|
||||
"min": 0.1,
|
||||
"max": 10,
|
||||
"unit": "x",
|
||||
"advanced": true,
|
||||
"restartRequired": "world",
|
||||
"dangerous": true
|
||||
},
|
||||
{
|
||||
"key": "Rate.Creature.Elite.Elite.HP",
|
||||
"type": "float",
|
||||
"category": "advanced",
|
||||
"title": "Elite creature health",
|
||||
"description": "Multiplier for elite creature health. 1 is normal. Requires a world server restart.",
|
||||
"default": 1,
|
||||
"min": 0.1,
|
||||
"max": 10,
|
||||
"unit": "x",
|
||||
"advanced": true,
|
||||
"restartRequired": "world",
|
||||
"dangerous": true
|
||||
},
|
||||
{
|
||||
"key": "Rate.Creature.Elite.RARE.Damage",
|
||||
"type": "float",
|
||||
"category": "advanced",
|
||||
"title": "Rare creature melee damage",
|
||||
"description": "Multiplier for rare creature melee damage. 1 is normal. Requires a world server restart.",
|
||||
"default": 1,
|
||||
"min": 0.1,
|
||||
"max": 10,
|
||||
"unit": "x",
|
||||
"advanced": true,
|
||||
"restartRequired": "world",
|
||||
"dangerous": true
|
||||
},
|
||||
{
|
||||
"key": "Rate.Creature.Elite.RARE.SpellDamage",
|
||||
"type": "float",
|
||||
"category": "advanced",
|
||||
"title": "Rare creature spell damage",
|
||||
"description": "Multiplier for rare creature spell damage. 1 is normal. Requires a world server restart.",
|
||||
"default": 1,
|
||||
"min": 0.1,
|
||||
"max": 10,
|
||||
"unit": "x",
|
||||
"advanced": true,
|
||||
"restartRequired": "world",
|
||||
"dangerous": true
|
||||
},
|
||||
{
|
||||
"key": "Rate.Creature.Elite.RARE.HP",
|
||||
"type": "float",
|
||||
"category": "advanced",
|
||||
"title": "Rare creature health",
|
||||
"description": "Multiplier for rare creature health. 1 is normal. Requires a world server restart.",
|
||||
"default": 1,
|
||||
"min": 0.1,
|
||||
"max": 10,
|
||||
"unit": "x",
|
||||
"advanced": true,
|
||||
"restartRequired": "world",
|
||||
"dangerous": true
|
||||
},
|
||||
{
|
||||
"key": "Rate.Creature.Elite.RAREELITE.Damage",
|
||||
"type": "float",
|
||||
"category": "advanced",
|
||||
"title": "Rare elite creature melee damage",
|
||||
"description": "Multiplier for rare elite creature melee damage. 1 is normal. Requires a world server restart.",
|
||||
"default": 1,
|
||||
"min": 0.1,
|
||||
"max": 10,
|
||||
"unit": "x",
|
||||
"advanced": true,
|
||||
"restartRequired": "world",
|
||||
"dangerous": true
|
||||
},
|
||||
{
|
||||
"key": "Rate.Creature.Elite.RAREELITE.SpellDamage",
|
||||
"type": "float",
|
||||
"category": "advanced",
|
||||
"title": "Rare elite creature spell damage",
|
||||
"description": "Multiplier for rare elite creature spell damage. 1 is normal. Requires a world server restart.",
|
||||
"default": 1,
|
||||
"min": 0.1,
|
||||
"max": 10,
|
||||
"unit": "x",
|
||||
"advanced": true,
|
||||
"restartRequired": "world",
|
||||
"dangerous": true
|
||||
},
|
||||
{
|
||||
"key": "Rate.Creature.Elite.RAREELITE.HP",
|
||||
"type": "float",
|
||||
"category": "advanced",
|
||||
"title": "Rare elite creature health",
|
||||
"description": "Multiplier for rare elite creature health. 1 is normal. Requires a world server restart.",
|
||||
"default": 1,
|
||||
"min": 0.1,
|
||||
"max": 10,
|
||||
"unit": "x",
|
||||
"advanced": true,
|
||||
"restartRequired": "world",
|
||||
"dangerous": true
|
||||
},
|
||||
{
|
||||
"key": "Rate.Creature.Elite.WORLDBOSS.Damage",
|
||||
"type": "float",
|
||||
"category": "advanced",
|
||||
"title": "World boss melee damage",
|
||||
"description": "Multiplier for world boss melee damage. 1 is normal. Requires a world server restart.",
|
||||
"default": 1,
|
||||
"min": 0.1,
|
||||
"max": 10,
|
||||
"unit": "x",
|
||||
"advanced": true,
|
||||
"restartRequired": "world",
|
||||
"dangerous": true
|
||||
},
|
||||
{
|
||||
"key": "Rate.Creature.Elite.WORLDBOSS.SpellDamage",
|
||||
"type": "float",
|
||||
"category": "advanced",
|
||||
"title": "World boss spell damage",
|
||||
"description": "Multiplier for world boss spell damage. 1 is normal. Requires a world server restart.",
|
||||
"default": 1,
|
||||
"min": 0.1,
|
||||
"max": 10,
|
||||
"unit": "x",
|
||||
"advanced": true,
|
||||
"restartRequired": "world",
|
||||
"dangerous": true
|
||||
},
|
||||
{
|
||||
"key": "Rate.Creature.Elite.WORLDBOSS.HP",
|
||||
"type": "float",
|
||||
"category": "advanced",
|
||||
"title": "World boss health",
|
||||
"description": "Multiplier for world boss health. 1 is normal. Requires a world server restart.",
|
||||
"default": 1,
|
||||
"min": 0.1,
|
||||
"max": 10,
|
||||
"unit": "x",
|
||||
"advanced": true,
|
||||
"restartRequired": "world",
|
||||
"dangerous": true
|
||||
},
|
||||
{
|
||||
"key": "PlayerLimit",
|
||||
|
||||
+5
-5
@@ -8,7 +8,7 @@ export {};
|
||||
|
||||
(() => {
|
||||
let added = new URLSearchParams(location.search).has("demo"), running = false;
|
||||
let realm: "coa" | "wildcard" | "reborn" = "coa", wildcardCreated = false, rebornCreated = false;
|
||||
let realm: "coa" | "wildcard" = "coa", wildcardCreated = false;
|
||||
let simultaneous = false;
|
||||
let remoteHost = localStorage.getItem("demo-remote-host") ?? "";
|
||||
const moduleEdits: Record<string, Record<string, string>> = {};
|
||||
@@ -26,11 +26,11 @@ export {};
|
||||
(window as any).__TAURI_INTERNALS__ = {
|
||||
transformCallback: (cb: unknown)=>cb, unregisterCallback(){}, convertFileSrc:(x: unknown)=>x,
|
||||
invoke: async (cmd: string, args?: any)=>{
|
||||
if(cmd==="realm_profiles") return {active:realm,wildcard_created:wildcardCreated,reborn_created:rebornCreated,reborn_supported:true,supported:true,recovery_pending:false,simultaneous,secondary_world_port:simultaneous?8086:null,secondary_running:simultaneous&&running};
|
||||
if(cmd==="realm_simultaneous") { if(running) throw new Error("Stop both realms before changing simultaneous startup."); simultaneous=args.enabled; wildcardCreated ||= simultaneous; return {active:realm,wildcard_created:wildcardCreated,reborn_created:rebornCreated,reborn_supported:true,supported:true,recovery_pending:false,simultaneous,secondary_world_port:simultaneous?8086:null,secondary_running:false}; }
|
||||
if(cmd==="realm_profiles") return {active:realm,wildcard_created:wildcardCreated,supported:true,recovery_pending:false,simultaneous,secondary_world_port:simultaneous?8086:null,secondary_running:simultaneous&&running};
|
||||
if(cmd==="realm_simultaneous") { if(running) throw new Error("Stop both realms before changing simultaneous startup."); simultaneous=args.enabled; wildcardCreated ||= simultaneous; return {active:realm,wildcard_created:wildcardCreated,supported:true,recovery_pending:false,simultaneous,secondary_world_port:simultaneous?8086:null,secondary_running:false}; }
|
||||
if(cmd==="check_database") return [{realm, migrations:[],problems:[],full_schema:false}];
|
||||
if(cmd==="repair_server") { if(running) throw new Error("Stop the server before repairing it."); return {restored:[],applied:[],backup:"demo-before-repair",database:[{realm,migrations:[],problems:[],full_schema:false}],error:null}; }
|
||||
if(cmd==="realm_select"){await new Promise(r=>setTimeout(r,600));realm=args.mode;rebornCreated ||= realm==="reborn";wildcardCreated ||= realm==="wildcard";modState.companions=realm==="coa";return {active:realm,wildcard_created:wildcardCreated,reborn_created:rebornCreated,reborn_supported:true,supported:true,recovery_pending:false,simultaneous,secondary_world_port:simultaneous?8086:null,secondary_running:simultaneous&&running};}
|
||||
if(cmd==="realm_select"){await new Promise(r=>setTimeout(r,600));realm=args.mode;wildcardCreated ||= realm==="wildcard";modState.companions=realm==="coa";return {active:realm,wildcard_created:wildcardCreated,supported:true,recovery_pending:false,simultaneous,secondary_world_port:simultaneous?8086:null,secondary_running:simultaneous&&running};}
|
||||
if(cmd==="remote_connection") return {host:remoteHost,client_path:null};
|
||||
if(cmd==="remote_connect") { remoteHost=args.host.trim(); localStorage.setItem("demo-remote-host",remoteHost); return {host:remoteHost,client_path:null}; }
|
||||
if(cmd==="play") return {ok:true,exit_code:null,code:null,human:null,output:""};
|
||||
@@ -69,7 +69,7 @@ export {};
|
||||
if(cmd==="realmlist_save"){const w=window as any;const rl=w.__rl;if(args.profileId){const p=rl.profiles.find((x: any)=>x.id===args.profileId);p.name=args.name;p.data=args.data;return p;}if(rl.profiles.some((x: any)=>x.name.toLowerCase()===String(args.name).toLowerCase()))throw {human:{code:"unknown",title:"",message:"",actions:[]},technical:"A realmlist with that name already exists."};const p={id:String(args.name).toLowerCase().replace(/[^a-z0-9]+/g,"-"),name:args.name,data:(/\s/.test(args.data.trim())?args.data.trim():"set realmlist "+args.data.trim())+"\r\n"};rl.profiles.push(p);return p;}
|
||||
if(cmd==="realmlist_delete"){const rl=(window as any).__rl;rl.profiles=rl.profiles.filter((x: any)=>x.id!==args.profileId);return null;}
|
||||
if(cmd==="account_delete") return null;
|
||||
if(cmd==="modules_list") return [{id:"companions",name:"CoA Companions",description:{en:"Companion bots for groups, dungeons and your guild.",ru:"Боты-компаньоны для групп, подземелий и гильдии."},repo:"https://github.com/Corfirean/mod-coa-playerbots",installed:true,enabled:modState["companions"],switchable:true,status:"beta",icon:"bot",page:"bots"},{id:"content-scaling",name:"Content Scaling",description:{en:"Scales dungeons and raids to your group, with solo modes.",ru:"Подстраивает подземелья и рейды под вашу группу, есть соло-режимы."},repo:"https://github.com/Corfirean/mod-coa-content-scaling",installed:true,enabled:modState["content-scaling"],switchable:true,status:"early",icon:"scaling",page:null},{id:"tbc-content",name:"TBC Content",description:{en:"Outland dungeons and raids, scaled to your level range.",ru:"Подземелья и рейды Запределья, подогнанные под ваши уровни."},repo:"https://github.com/Corfirean/mod-coa-content-scaling/tree/main/content-packs/mod-coa-tbc-content",installed:true,enabled:modState["tbc-content"],switchable:true,status:"early",icon:"tbc",page:null},{id:"wotlk-content",name:"WotLK Content",description:{en:"Northrend dungeons and raids, scaled to your level range.",ru:"Подземелья и рейды Нордскола, подогнанные под ваши уровни."},repo:"https://github.com/Corfirean/mod-coa-content-scaling/tree/main/content-packs/mod-coa-wotlk-content",installed:true,enabled:modState["wotlk-content"],switchable:true,status:"early",icon:"wotlk",page:null},{id:"ah-bot",name:"Auction House Bot",description:{en:"Fills the auction house with realistic, adjustable listings.",ru:"Наполняет аукцион реалистичными настраиваемыми лотами."},repo:"https://github.com/Corfirean/azerothcore-wotlk-coa",installed:true,enabled:modState["ah-bot"] ?? false,switchable:true,status:"early",icon:"gavel",page:null,hidden:false},{id:"npc-enchanter",name:"NPC Enchanter",description:{en:"An NPC that enchants your gear for you.",ru:"НПС, который зачаровывает ваше снаряжение."},repo:"https://github.com/azerothcore/mod-npc-enchanter",installed:true,enabled:modState["npc-enchanter"],switchable:true,status:"early",icon:"sparkles",page:null,hidden:false},{id:"playerbots",name:"SQUID's Playerbots",description:{en:"An alternative bot system with random bots and full AI.",ru:"Альтернативная система ботов со случайными ботами и полным ИИ."},repo:"https://github.com/Zyth45/mod-playerbots",installed:true,enabled:modState["playerbots"] ?? false,switchable:true,status:"early",icon:"swords",page:"bots",hidden:false},{id:"client-compat",name:"Client compatibility",description:{en:"Client-server link and appearance unlocks.",ru:"Связь клиента с сервером и разблокировка внешних видов."},repo:"https://github.com/Corfirean/azerothcore-wotlk-coa",installed:true,enabled:modState["client-compat"],switchable:false,status:"release",icon:"plug",page:null,hidden:true}].map(m => ({...m, has_settings: !["tbc-content", "wotlk-content"].includes(m.id), compatibility: realm !== "coa" ? (["companions", "playerbots"].includes(m.id) ? "unsupported" : m.id === "client-compat" ? "compatible" : "experimental") : "compatible", switchable: realm !== "coa" && ["companions", "playerbots"].includes(m.id) ? false : m.switchable}));
|
||||
if(cmd==="modules_list") return [{id:"companions",name:"CoA Companions",description:{en:"Companion bots for groups, dungeons and your guild.",ru:"Боты-компаньоны для групп, подземелий и гильдии."},repo:"https://github.com/Corfirean/mod-coa-playerbots",installed:true,enabled:modState["companions"],switchable:true,status:"beta",icon:"bot",page:"bots"},{id:"content-scaling",name:"Content Scaling",description:{en:"Scales dungeons and raids to your group, with solo modes.",ru:"Подстраивает подземелья и рейды под вашу группу, есть соло-режимы."},repo:"https://github.com/Corfirean/mod-coa-content-scaling",installed:true,enabled:modState["content-scaling"],switchable:true,status:"early",icon:"scaling",page:null},{id:"tbc-content",name:"TBC Content",description:{en:"Outland dungeons and raids, scaled to your level range.",ru:"Подземелья и рейды Запределья, подогнанные под ваши уровни."},repo:"https://github.com/Corfirean/mod-coa-content-scaling/tree/main/content-packs/mod-coa-tbc-content",installed:true,enabled:modState["tbc-content"],switchable:true,status:"early",icon:"tbc",page:null},{id:"wotlk-content",name:"WotLK Content",description:{en:"Northrend dungeons and raids, scaled to your level range.",ru:"Подземелья и рейды Нордскола, подогнанные под ваши уровни."},repo:"https://github.com/Corfirean/mod-coa-content-scaling/tree/main/content-packs/mod-coa-wotlk-content",installed:true,enabled:modState["wotlk-content"],switchable:true,status:"early",icon:"wotlk",page:null},{id:"ah-bot",name:"Auction House Bot",description:{en:"Fills the auction house with realistic, adjustable listings.",ru:"Наполняет аукцион реалистичными настраиваемыми лотами."},repo:"https://github.com/Corfirean/azerothcore-wotlk-coa",installed:true,enabled:modState["ah-bot"] ?? false,switchable:true,status:"early",icon:"gavel",page:null,hidden:false},{id:"npc-enchanter",name:"NPC Enchanter",description:{en:"An NPC that enchants your gear for you.",ru:"НПС, который зачаровывает ваше снаряжение."},repo:"https://github.com/azerothcore/mod-npc-enchanter",installed:true,enabled:modState["npc-enchanter"],switchable:true,status:"early",icon:"sparkles",page:null,hidden:false},{id:"playerbots",name:"SQUID's Playerbots",description:{en:"An alternative bot system with random bots and full AI.",ru:"Альтернативная система ботов со случайными ботами и полным ИИ."},repo:"https://github.com/Zyth45/mod-playerbots",installed:true,enabled:modState["playerbots"] ?? false,switchable:true,status:"early",icon:"swords",page:"bots",hidden:false},{id:"client-compat",name:"Client compatibility",description:{en:"Client-server link and appearance unlocks.",ru:"Связь клиента с сервером и разблокировка внешних видов."},repo:"https://github.com/Corfirean/azerothcore-wotlk-coa",installed:true,enabled:modState["client-compat"],switchable:false,status:"release",icon:"plug",page:null,hidden:true}].map(m => ({...m, has_settings: !["tbc-content", "wotlk-content"].includes(m.id), compatibility: realm === "wildcard" ? (["companions", "playerbots"].includes(m.id) ? "unsupported" : m.id === "client-compat" ? "compatible" : "experimental") : "compatible", switchable: realm === "wildcard" && ["companions", "playerbots"].includes(m.id) ? false : m.switchable}));
|
||||
if(cmd==="module_set_enabled"){ if(args.enabled && ["companions","playerbots"].includes(args.module) && modState[args.module === "companions" ? "playerbots" : "companions"]) throw {human:{code:"bot_modules_conflict",title:"",message:"",actions:[]},technical:"Only one bot system may be enabled."}; modState[args.module]=args.enabled; return null; }
|
||||
if(cmd==="all_settings") return [{key:"Visibility.Distance.Continents",value:"100",default:"90",doc:"Description: Visibility distance on continents. Range: 45-250 Default: 90",changed:true},{key:"Death.SicknessLevel",value:"11",default:"11",doc:"Description: Character level up to which characters get resurrection sickness. Default: 11",changed:false},{key:"Rate.Drop.Item.Epic",value:"3",default:"1",doc:"Description: Drop rates for money and items based on quality. Default: 1",changed:true},{key:"Instance.ResetTimeHour",value:"4",default:"4",doc:"Description: Hour of the day when the global instance reset occurs. Range: 0-23 Default: 4 - (04:00 AM)",changed:false},{key:"PlayerLimit",value:"1000",default:"1000",doc:"Description: Maximum number of players in the world.",changed:false}];
|
||||
if(cmd==="all_settings_save") return Object.keys(args&&args.changes||{});
|
||||
|
||||
@@ -730,9 +730,6 @@ const de: Partial<Record<keyof typeof en, string>> = {
|
||||
// Realmlist switcher and modules page
|
||||
"realm.profileLabel": "Realm",
|
||||
"realm.switching": "Realm wird gewechselt…",
|
||||
"realm.rebornCreate": "Warcraft-Reborn-Realm erstellen",
|
||||
"realm.rebornModules": "Die Klassenmechaniken der Bots sind für Warcraft Reborn noch nicht geprüft. Andere Module bleiben experimentell.",
|
||||
"realm.rebornUpdate": "Aktualisiere den Server auf eine Version mit Warcraft-Reborn-Unterstützung.",
|
||||
"realm.create": "Wildcard-Realm erstellen",
|
||||
"realm.restart": "Wechseln und neu starten",
|
||||
"realm.select": "Realm auswählen",
|
||||
@@ -741,8 +738,8 @@ const de: Partial<Record<keyof typeof en, string>> = {
|
||||
"realm.modules": "CoA-Begleiter sind hier nicht verfügbar. Content Scaling und andere Module sind auf Wildcard experimentell.",
|
||||
"realm.update": "Aktualisiere den Server auf eine Version mit Wildcard-Unterstützung, um diesen Realm zu erstellen.",
|
||||
"realm.recovery": "Ein Realm-Wechsel wurde unterbrochen. Wähle einen Realm, um die gespeicherte Konfiguration wiederherzustellen.",
|
||||
"realm.unsupported": "Auf Wildcard / Warcraft Reborn nicht verfügbar: Die Klassenmechanik wurde noch nicht geprüft.",
|
||||
"realm.experimental": "Experimentell auf Wildcard / Warcraft Reborn · Spielkompatibilität noch nicht geprüft.",
|
||||
"realm.unsupported": "Auf Wildcard nicht verfügbar: Die Klassenmechanik wurde noch nicht geprüft.",
|
||||
"realm.experimental": "Experimentell auf Wildcard · Spielkompatibilität noch nicht geprüft.",
|
||||
"realm.label": "Realm",
|
||||
"realm.other": "Anderer",
|
||||
"realm.add": "Realmlist hinzufügen …",
|
||||
|
||||
@@ -38,9 +38,6 @@ const en = {
|
||||
"repair.limited": "This older package has no full schema contract. Only character-save columns and starting data are checked.",
|
||||
"repair.unresolved": "Database problems remain. Repair does not replay already applied SQL or invent column changes. Export diagnostics with the listed problems for a corrective server update.",
|
||||
"realm.switching": "Switching realm…",
|
||||
"realm.rebornCreate": "Create Warcraft Reborn realm",
|
||||
"realm.rebornModules": "Bot class mechanics are not yet validated for Warcraft Reborn. Other modules remain experimental.",
|
||||
"realm.rebornUpdate": "Update the server to a build with Warcraft Reborn support to create this realm.",
|
||||
"realm.create": "Create Wildcard realm",
|
||||
"realm.restart": "Switch and restart",
|
||||
"realm.select": "Select realm",
|
||||
@@ -49,8 +46,8 @@ const en = {
|
||||
"realm.modules": "CoA companions are unavailable here. Content Scaling and other modules remain experimental on Wildcard.",
|
||||
"realm.update": "Update the server to a build with Wildcard support to create this realm.",
|
||||
"realm.recovery": "A realm switch was interrupted. Select a realm to recover the saved configuration.",
|
||||
"realm.unsupported": "Unavailable on Wildcard / Warcraft Reborn: class mechanics have not been validated.",
|
||||
"realm.experimental": "Experimental on Wildcard / Warcraft Reborn · gameplay compatibility is not yet verified.",
|
||||
"realm.unsupported": "Unavailable on Wildcard: class mechanics have not been validated.",
|
||||
"realm.experimental": "Experimental on Wildcard · gameplay compatibility is not yet verified.",
|
||||
"app.name": "CoA Server Manager",
|
||||
|
||||
"nav.overview": "Overview",
|
||||
|
||||
@@ -730,9 +730,6 @@ const es: Partial<Record<keyof typeof en, string>> = {
|
||||
// Realmlist switcher and modules page
|
||||
"realm.profileLabel": "Reino",
|
||||
"realm.switching": "Cambiando de reino…",
|
||||
"realm.rebornCreate": "Crear reino Warcraft Reborn",
|
||||
"realm.rebornModules": "Las mecánicas de clase de los bots aún no se han validado en Warcraft Reborn. Los demás módulos siguen siendo experimentales.",
|
||||
"realm.rebornUpdate": "Actualiza el servidor a una versión compatible con Warcraft Reborn.",
|
||||
"realm.create": "Crear reino Wildcard",
|
||||
"realm.restart": "Cambiar y reiniciar",
|
||||
"realm.select": "Seleccionar reino",
|
||||
@@ -741,8 +738,8 @@ const es: Partial<Record<keyof typeof en, string>> = {
|
||||
"realm.modules": "Los compañeros de CoA no están disponibles aquí. Content Scaling y los demás módulos siguen siendo experimentales en Wildcard.",
|
||||
"realm.update": "Actualiza el servidor a una versión compatible con Wildcard para crear este reino.",
|
||||
"realm.recovery": "Se interrumpió un cambio de reino. Selecciona un reino para recuperar la configuración guardada.",
|
||||
"realm.unsupported": "No disponible en Wildcard / Warcraft Reborn: las mecánicas de clase aún no se han validado.",
|
||||
"realm.experimental": "Experimental en Wildcard / Warcraft Reborn · compatibilidad en juego sin verificar.",
|
||||
"realm.unsupported": "No disponible en Wildcard: las mecánicas de clase aún no se han validado.",
|
||||
"realm.experimental": "Experimental en Wildcard · compatibilidad en juego sin verificar.",
|
||||
"realm.label": "Reino",
|
||||
"realm.other": "Otro",
|
||||
"realm.add": "Añadir una realmlist…",
|
||||
|
||||
@@ -730,9 +730,6 @@ const fr: Partial<Record<keyof typeof en, string>> = {
|
||||
// Realmlist switcher and modules page
|
||||
"realm.profileLabel": "Royaume",
|
||||
"realm.switching": "Changement de royaume…",
|
||||
"realm.rebornCreate": "Créer le royaume Warcraft Reborn",
|
||||
"realm.rebornModules": "Les mécaniques de classe des bots ne sont pas encore validées sur Warcraft Reborn. Les autres modules restent expérimentaux.",
|
||||
"realm.rebornUpdate": "Mettez le serveur à jour vers une version compatible avec Warcraft Reborn.",
|
||||
"realm.create": "Créer le royaume Wildcard",
|
||||
"realm.restart": "Changer et redémarrer",
|
||||
"realm.select": "Choisir le royaume",
|
||||
@@ -741,8 +738,8 @@ const fr: Partial<Record<keyof typeof en, string>> = {
|
||||
"realm.modules": "Les compagnons CoA sont indisponibles ici. Content Scaling et les autres modules restent expérimentaux sur Wildcard.",
|
||||
"realm.update": "Mettez le serveur à jour vers une version compatible avec Wildcard pour créer ce royaume.",
|
||||
"realm.recovery": "Un changement de royaume a été interrompu. Choisissez un royaume pour restaurer la configuration enregistrée.",
|
||||
"realm.unsupported": "Indisponible sur Wildcard / Warcraft Reborn : les mécaniques de classe ne sont pas encore validées.",
|
||||
"realm.experimental": "Expérimental sur Wildcard / Warcraft Reborn · compatibilité en jeu non vérifiée.",
|
||||
"realm.unsupported": "Indisponible sur Wildcard : les mécaniques de classe ne sont pas encore validées.",
|
||||
"realm.experimental": "Expérimental sur Wildcard · compatibilité en jeu non vérifiée.",
|
||||
"realm.label": "Royaume",
|
||||
"realm.other": "Autre",
|
||||
"realm.add": "Ajouter une realmlist…",
|
||||
|
||||
@@ -40,9 +40,6 @@ const ru: Partial<Record<keyof typeof en, string>> = {
|
||||
"repair.limited": "В старом пакете нет полного описания схемы. Проверяются только колонки сохранения персонажей и стартовые данные.",
|
||||
"repair.unresolved": "Проблемы БД остались. Repair не повторяет уже применённые SQL и не добавляет колонки наугад. Экспортируйте диагностику с этим списком для исправляющего обновления сервера.",
|
||||
"realm.switching": "Переключение реалма…",
|
||||
"realm.rebornCreate": "Создать реалм Warcraft Reborn",
|
||||
"realm.rebornModules": "Классовые механики ботов пока не проверены в Warcraft Reborn. Остальные модули экспериментальны.",
|
||||
"realm.rebornUpdate": "Для создания реалма обновите сервер до сборки с поддержкой Warcraft Reborn.",
|
||||
"realm.create": "Создать реалм Wildcard",
|
||||
"realm.restart": "Переключить и перезапустить",
|
||||
"realm.select": "Выбрать реалм",
|
||||
@@ -51,8 +48,8 @@ const ru: Partial<Record<keyof typeof en, string>> = {
|
||||
"realm.modules": "CoA-боты здесь недоступны. Скалирование и другие модули пока экспериментальны для Wildcard.",
|
||||
"realm.update": "Для создания реалма обновите сервер до сборки с поддержкой Wildcard.",
|
||||
"realm.recovery": "Переключение прервалось. Выберите реалм, чтобы восстановить сохранённые настройки.",
|
||||
"realm.unsupported": "Недоступен в Wildcard / Warcraft Reborn: классовые механики ещё не проверены.",
|
||||
"realm.experimental": "Экспериментально в Wildcard / Warcraft Reborn · игровая совместимость пока не проверена.",
|
||||
"realm.unsupported": "Недоступен в Wildcard: классовые механики ещё не проверены.",
|
||||
"realm.experimental": "Экспериментально в Wildcard · игровая совместимость пока не проверена.",
|
||||
"nav.overview": "Обзор",
|
||||
"nav.bots": "Боты",
|
||||
"nav.server": "Сервер",
|
||||
|
||||
@@ -17,9 +17,6 @@ const zh = {
|
||||
|
||||
"realm.profileLabel": "服务器",
|
||||
"realm.switching": "正在切换服务器…",
|
||||
"realm.rebornCreate": "创建 Warcraft Reborn 服务器",
|
||||
"realm.rebornModules": "Warcraft Reborn 的机器人职业机制尚未验证,其他模块仍处于实验阶段。",
|
||||
"realm.rebornUpdate": "请将服务器更新至支持 Warcraft Reborn 的版本。",
|
||||
"realm.create": "创建 Wildcard 服务器",
|
||||
"realm.restart": "切换并重启",
|
||||
"realm.select": "选择服务器",
|
||||
@@ -28,8 +25,8 @@ const zh = {
|
||||
"realm.modules": "此处无法使用 CoA 随从。动态难度等级缩放及其他模块在 Wildcard 上仍处于实验阶段。",
|
||||
"realm.update": "请先将服务器更新至支持 Wildcard 的版本以创建此服务器。",
|
||||
"realm.recovery": "服务器切换被中断。请选择一个服务器以恢复保存的配置。",
|
||||
"realm.unsupported": "在 Wildcard / Warcraft Reborn 上不可用:职业机制尚未验证通过。",
|
||||
"realm.experimental": "在 Wildcard / Warcraft Reborn 上处于实验阶段 · 游戏玩法兼容性尚未验证。",
|
||||
"realm.unsupported": "在 Wildcard 上不可用:职业机制尚未验证通过。",
|
||||
"realm.experimental": "在 Wildcard 上处于实验阶段 · 游戏玩法兼容性尚未验证。",
|
||||
"app.name": "CoA Server Manager",
|
||||
|
||||
"nav.overview": "概览",
|
||||
|
||||
+56
-4
@@ -352,12 +352,12 @@
|
||||
"d": "Geschwindigkeit, mit der Erholungsbonus online in einem Ruhebereich aufgebaut wird."
|
||||
},
|
||||
"Rate.Creature.Normal.Damage": {
|
||||
"t": "Monsterschaden",
|
||||
"d": "Multiplikator für den Schaden normaler Monster. Verändert den Schwierigkeitsgrad stark."
|
||||
"t": "Normale Kreaturen — Nahkampfschaden",
|
||||
"d": "Multiplikator: Normale Kreaturen — Nahkampfschaden. 1 ist der normale Wert. Neustart des Weltservers erforderlich."
|
||||
},
|
||||
"Rate.Creature.Normal.HP": {
|
||||
"t": "Monstergesundheit",
|
||||
"d": "Multiplikator für die Gesundheit normaler Monster. Verändert den Schwierigkeitsgrad stark."
|
||||
"t": "Normale Kreaturen — Gesundheit",
|
||||
"d": "Multiplikator: Normale Kreaturen — Gesundheit. 1 ist der normale Wert. Neustart des Weltservers erforderlich."
|
||||
},
|
||||
"PlayerLimit": {
|
||||
"t": "Maximale Spielerzahl",
|
||||
@@ -550,6 +550,58 @@
|
||||
"Achievement.RealmFirstBlockBots": {
|
||||
"t": "Bots erhalten kein „Server-Erster“",
|
||||
"d": "Begleiter (Bots) können keine „Server-Erster“-Erfolge erringen und nehmen sie echten Spielern daher nie weg. Benötigt einen Server-Build vom 02.10.2026 oder neuer."
|
||||
},
|
||||
"Rate.Creature.Normal.SpellDamage": {
|
||||
"t": "Normale Kreaturen — Zauberschaden",
|
||||
"d": "Multiplikator: Normale Kreaturen — Zauberschaden. 1 ist der normale Wert. Neustart des Weltservers erforderlich."
|
||||
},
|
||||
"Rate.Creature.Elite.Elite.Damage": {
|
||||
"t": "Elite-Kreaturen — Nahkampfschaden",
|
||||
"d": "Multiplikator: Elite-Kreaturen — Nahkampfschaden. 1 ist der normale Wert. Neustart des Weltservers erforderlich."
|
||||
},
|
||||
"Rate.Creature.Elite.Elite.SpellDamage": {
|
||||
"t": "Elite-Kreaturen — Zauberschaden",
|
||||
"d": "Multiplikator: Elite-Kreaturen — Zauberschaden. 1 ist der normale Wert. Neustart des Weltservers erforderlich."
|
||||
},
|
||||
"Rate.Creature.Elite.Elite.HP": {
|
||||
"t": "Elite-Kreaturen — Gesundheit",
|
||||
"d": "Multiplikator: Elite-Kreaturen — Gesundheit. 1 ist der normale Wert. Neustart des Weltservers erforderlich."
|
||||
},
|
||||
"Rate.Creature.Elite.RARE.Damage": {
|
||||
"t": "Seltene Kreaturen — Nahkampfschaden",
|
||||
"d": "Multiplikator: Seltene Kreaturen — Nahkampfschaden. 1 ist der normale Wert. Neustart des Weltservers erforderlich."
|
||||
},
|
||||
"Rate.Creature.Elite.RARE.SpellDamage": {
|
||||
"t": "Seltene Kreaturen — Zauberschaden",
|
||||
"d": "Multiplikator: Seltene Kreaturen — Zauberschaden. 1 ist der normale Wert. Neustart des Weltservers erforderlich."
|
||||
},
|
||||
"Rate.Creature.Elite.RARE.HP": {
|
||||
"t": "Seltene Kreaturen — Gesundheit",
|
||||
"d": "Multiplikator: Seltene Kreaturen — Gesundheit. 1 ist der normale Wert. Neustart des Weltservers erforderlich."
|
||||
},
|
||||
"Rate.Creature.Elite.RAREELITE.Damage": {
|
||||
"t": "Seltene Elite-Kreaturen — Nahkampfschaden",
|
||||
"d": "Multiplikator: Seltene Elite-Kreaturen — Nahkampfschaden. 1 ist der normale Wert. Neustart des Weltservers erforderlich."
|
||||
},
|
||||
"Rate.Creature.Elite.RAREELITE.SpellDamage": {
|
||||
"t": "Seltene Elite-Kreaturen — Zauberschaden",
|
||||
"d": "Multiplikator: Seltene Elite-Kreaturen — Zauberschaden. 1 ist der normale Wert. Neustart des Weltservers erforderlich."
|
||||
},
|
||||
"Rate.Creature.Elite.RAREELITE.HP": {
|
||||
"t": "Seltene Elite-Kreaturen — Gesundheit",
|
||||
"d": "Multiplikator: Seltene Elite-Kreaturen — Gesundheit. 1 ist der normale Wert. Neustart des Weltservers erforderlich."
|
||||
},
|
||||
"Rate.Creature.Elite.WORLDBOSS.Damage": {
|
||||
"t": "Weltbosse — Nahkampfschaden",
|
||||
"d": "Multiplikator: Weltbosse — Nahkampfschaden. 1 ist der normale Wert. Neustart des Weltservers erforderlich."
|
||||
},
|
||||
"Rate.Creature.Elite.WORLDBOSS.SpellDamage": {
|
||||
"t": "Weltbosse — Zauberschaden",
|
||||
"d": "Multiplikator: Weltbosse — Zauberschaden. 1 ist der normale Wert. Neustart des Weltservers erforderlich."
|
||||
},
|
||||
"Rate.Creature.Elite.WORLDBOSS.HP": {
|
||||
"t": "Weltbosse — Gesundheit",
|
||||
"d": "Multiplikator: Weltbosse — Gesundheit. 1 ist der normale Wert. Neustart des Weltservers erforderlich."
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
|
||||
+56
-4
@@ -352,12 +352,12 @@
|
||||
"d": "Velocidad de acumulación de experiencia de descanso mientras estás conectado en una zona de descanso."
|
||||
},
|
||||
"Rate.Creature.Normal.Damage": {
|
||||
"t": "Daño de los monstruos",
|
||||
"d": "Multiplicador del daño de los monstruos normales. Cambia mucho la dificultad."
|
||||
"t": "Criaturas normales — daño cuerpo a cuerpo",
|
||||
"d": "Multiplicador: Criaturas normales — daño cuerpo a cuerpo. 1 es el valor normal. Requiere reiniciar el servidor de mundo."
|
||||
},
|
||||
"Rate.Creature.Normal.HP": {
|
||||
"t": "Salud de los monstruos",
|
||||
"d": "Multiplicador de la salud de los monstruos normales. Cambia mucho la dificultad."
|
||||
"t": "Criaturas normales — salud",
|
||||
"d": "Multiplicador: Criaturas normales — salud. 1 es el valor normal. Requiere reiniciar el servidor de mundo."
|
||||
},
|
||||
"PlayerLimit": {
|
||||
"t": "Máximo de jugadores",
|
||||
@@ -550,6 +550,58 @@
|
||||
"Achievement.RealmFirstBlockBots": {
|
||||
"t": "Los bots no logran «Primero del reino»",
|
||||
"d": "Los acompañantes (bots) no pueden conseguir los logros «Primero del reino», así que nunca se los quitan a los jugadores reales. Requiere una versión del servidor del 2 de octubre de 2026 o posterior."
|
||||
},
|
||||
"Rate.Creature.Normal.SpellDamage": {
|
||||
"t": "Criaturas normales — daño de hechizos",
|
||||
"d": "Multiplicador: Criaturas normales — daño de hechizos. 1 es el valor normal. Requiere reiniciar el servidor de mundo."
|
||||
},
|
||||
"Rate.Creature.Elite.Elite.Damage": {
|
||||
"t": "Criaturas élite — daño cuerpo a cuerpo",
|
||||
"d": "Multiplicador: Criaturas élite — daño cuerpo a cuerpo. 1 es el valor normal. Requiere reiniciar el servidor de mundo."
|
||||
},
|
||||
"Rate.Creature.Elite.Elite.SpellDamage": {
|
||||
"t": "Criaturas élite — daño de hechizos",
|
||||
"d": "Multiplicador: Criaturas élite — daño de hechizos. 1 es el valor normal. Requiere reiniciar el servidor de mundo."
|
||||
},
|
||||
"Rate.Creature.Elite.Elite.HP": {
|
||||
"t": "Criaturas élite — salud",
|
||||
"d": "Multiplicador: Criaturas élite — salud. 1 es el valor normal. Requiere reiniciar el servidor de mundo."
|
||||
},
|
||||
"Rate.Creature.Elite.RARE.Damage": {
|
||||
"t": "Criaturas raras — daño cuerpo a cuerpo",
|
||||
"d": "Multiplicador: Criaturas raras — daño cuerpo a cuerpo. 1 es el valor normal. Requiere reiniciar el servidor de mundo."
|
||||
},
|
||||
"Rate.Creature.Elite.RARE.SpellDamage": {
|
||||
"t": "Criaturas raras — daño de hechizos",
|
||||
"d": "Multiplicador: Criaturas raras — daño de hechizos. 1 es el valor normal. Requiere reiniciar el servidor de mundo."
|
||||
},
|
||||
"Rate.Creature.Elite.RARE.HP": {
|
||||
"t": "Criaturas raras — salud",
|
||||
"d": "Multiplicador: Criaturas raras — salud. 1 es el valor normal. Requiere reiniciar el servidor de mundo."
|
||||
},
|
||||
"Rate.Creature.Elite.RAREELITE.Damage": {
|
||||
"t": "Criaturas raras élite — daño cuerpo a cuerpo",
|
||||
"d": "Multiplicador: Criaturas raras élite — daño cuerpo a cuerpo. 1 es el valor normal. Requiere reiniciar el servidor de mundo."
|
||||
},
|
||||
"Rate.Creature.Elite.RAREELITE.SpellDamage": {
|
||||
"t": "Criaturas raras élite — daño de hechizos",
|
||||
"d": "Multiplicador: Criaturas raras élite — daño de hechizos. 1 es el valor normal. Requiere reiniciar el servidor de mundo."
|
||||
},
|
||||
"Rate.Creature.Elite.RAREELITE.HP": {
|
||||
"t": "Criaturas raras élite — salud",
|
||||
"d": "Multiplicador: Criaturas raras élite — salud. 1 es el valor normal. Requiere reiniciar el servidor de mundo."
|
||||
},
|
||||
"Rate.Creature.Elite.WORLDBOSS.Damage": {
|
||||
"t": "Jefes de mundo — daño cuerpo a cuerpo",
|
||||
"d": "Multiplicador: Jefes de mundo — daño cuerpo a cuerpo. 1 es el valor normal. Requiere reiniciar el servidor de mundo."
|
||||
},
|
||||
"Rate.Creature.Elite.WORLDBOSS.SpellDamage": {
|
||||
"t": "Jefes de mundo — daño de hechizos",
|
||||
"d": "Multiplicador: Jefes de mundo — daño de hechizos. 1 es el valor normal. Requiere reiniciar el servidor de mundo."
|
||||
},
|
||||
"Rate.Creature.Elite.WORLDBOSS.HP": {
|
||||
"t": "Jefes de mundo — salud",
|
||||
"d": "Multiplicador: Jefes de mundo — salud. 1 es el valor normal. Requiere reiniciar el servidor de mundo."
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
|
||||
+56
-4
@@ -352,12 +352,12 @@
|
||||
"d": "Vitesse d’accumulation du bonus de repos en ligne dans une zone de repos."
|
||||
},
|
||||
"Rate.Creature.Normal.Damage": {
|
||||
"t": "Dégâts des monstres",
|
||||
"d": "Multiplicateur des dégâts des monstres normaux. Change beaucoup la difficulté."
|
||||
"t": "Créatures normales — dégâts de mêlée",
|
||||
"d": "Multiplicateur : Créatures normales — dégâts de mêlée. 1 correspond à la valeur normale. Redémarrage du serveur de monde requis."
|
||||
},
|
||||
"Rate.Creature.Normal.HP": {
|
||||
"t": "Vie des monstres",
|
||||
"d": "Multiplicateur de la vie des monstres normaux. Change beaucoup la difficulté."
|
||||
"t": "Créatures normales — points de vie",
|
||||
"d": "Multiplicateur : Créatures normales — points de vie. 1 correspond à la valeur normale. Redémarrage du serveur de monde requis."
|
||||
},
|
||||
"PlayerLimit": {
|
||||
"t": "Nombre maximal de joueurs",
|
||||
@@ -550,6 +550,58 @@
|
||||
"Achievement.RealmFirstBlockBots": {
|
||||
"t": "Les bots n'obtiennent pas les « Premier du royaume »",
|
||||
"d": "Les compagnons (bots) ne peuvent pas obtenir les hauts faits « Premier du royaume » et ne les prennent donc jamais aux vrais joueurs. Nécessite une version du serveur du 2 octobre 2026 ou plus récente."
|
||||
},
|
||||
"Rate.Creature.Normal.SpellDamage": {
|
||||
"t": "Créatures normales — dégâts des sorts",
|
||||
"d": "Multiplicateur : Créatures normales — dégâts des sorts. 1 correspond à la valeur normale. Redémarrage du serveur de monde requis."
|
||||
},
|
||||
"Rate.Creature.Elite.Elite.Damage": {
|
||||
"t": "Créatures élites — dégâts de mêlée",
|
||||
"d": "Multiplicateur : Créatures élites — dégâts de mêlée. 1 correspond à la valeur normale. Redémarrage du serveur de monde requis."
|
||||
},
|
||||
"Rate.Creature.Elite.Elite.SpellDamage": {
|
||||
"t": "Créatures élites — dégâts des sorts",
|
||||
"d": "Multiplicateur : Créatures élites — dégâts des sorts. 1 correspond à la valeur normale. Redémarrage du serveur de monde requis."
|
||||
},
|
||||
"Rate.Creature.Elite.Elite.HP": {
|
||||
"t": "Créatures élites — points de vie",
|
||||
"d": "Multiplicateur : Créatures élites — points de vie. 1 correspond à la valeur normale. Redémarrage du serveur de monde requis."
|
||||
},
|
||||
"Rate.Creature.Elite.RARE.Damage": {
|
||||
"t": "Créatures rares — dégâts de mêlée",
|
||||
"d": "Multiplicateur : Créatures rares — dégâts de mêlée. 1 correspond à la valeur normale. Redémarrage du serveur de monde requis."
|
||||
},
|
||||
"Rate.Creature.Elite.RARE.SpellDamage": {
|
||||
"t": "Créatures rares — dégâts des sorts",
|
||||
"d": "Multiplicateur : Créatures rares — dégâts des sorts. 1 correspond à la valeur normale. Redémarrage du serveur de monde requis."
|
||||
},
|
||||
"Rate.Creature.Elite.RARE.HP": {
|
||||
"t": "Créatures rares — points de vie",
|
||||
"d": "Multiplicateur : Créatures rares — points de vie. 1 correspond à la valeur normale. Redémarrage du serveur de monde requis."
|
||||
},
|
||||
"Rate.Creature.Elite.RAREELITE.Damage": {
|
||||
"t": "Créatures rares élites — dégâts de mêlée",
|
||||
"d": "Multiplicateur : Créatures rares élites — dégâts de mêlée. 1 correspond à la valeur normale. Redémarrage du serveur de monde requis."
|
||||
},
|
||||
"Rate.Creature.Elite.RAREELITE.SpellDamage": {
|
||||
"t": "Créatures rares élites — dégâts des sorts",
|
||||
"d": "Multiplicateur : Créatures rares élites — dégâts des sorts. 1 correspond à la valeur normale. Redémarrage du serveur de monde requis."
|
||||
},
|
||||
"Rate.Creature.Elite.RAREELITE.HP": {
|
||||
"t": "Créatures rares élites — points de vie",
|
||||
"d": "Multiplicateur : Créatures rares élites — points de vie. 1 correspond à la valeur normale. Redémarrage du serveur de monde requis."
|
||||
},
|
||||
"Rate.Creature.Elite.WORLDBOSS.Damage": {
|
||||
"t": "Boss mondiaux — dégâts de mêlée",
|
||||
"d": "Multiplicateur : Boss mondiaux — dégâts de mêlée. 1 correspond à la valeur normale. Redémarrage du serveur de monde requis."
|
||||
},
|
||||
"Rate.Creature.Elite.WORLDBOSS.SpellDamage": {
|
||||
"t": "Boss mondiaux — dégâts des sorts",
|
||||
"d": "Multiplicateur : Boss mondiaux — dégâts des sorts. 1 correspond à la valeur normale. Redémarrage du serveur de monde requis."
|
||||
},
|
||||
"Rate.Creature.Elite.WORLDBOSS.HP": {
|
||||
"t": "Boss mondiaux — points de vie",
|
||||
"d": "Multiplicateur : Boss mondiaux — points de vie. 1 correspond à la valeur normale. Redémarrage du serveur de monde requis."
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
|
||||
+56
-4
@@ -352,12 +352,12 @@
|
||||
"d": "Скорость накопления опыта отдыха, пока персонаж находится онлайн в зоне отдыха."
|
||||
},
|
||||
"Rate.Creature.Normal.Damage": {
|
||||
"t": "Урон монстров",
|
||||
"d": "Множитель урона обычных монстров. Сильно меняет сложность."
|
||||
"t": "Обычные существа — урон в ближнем бою",
|
||||
"d": "Множитель: Обычные существа — урон в ближнем бою. 1 означает обычное значение. Требуется перезапуск мира."
|
||||
},
|
||||
"Rate.Creature.Normal.HP": {
|
||||
"t": "Здоровье монстров",
|
||||
"d": "Множитель здоровья обычных монстров. Сильно меняет сложность."
|
||||
"t": "Обычные существа — здоровье",
|
||||
"d": "Множитель: Обычные существа — здоровье. 1 означает обычное значение. Требуется перезапуск мира."
|
||||
},
|
||||
"PlayerLimit": {
|
||||
"t": "Максимум игроков",
|
||||
@@ -550,6 +550,58 @@
|
||||
"Achievement.RealmFirstBlockBots": {
|
||||
"t": "Боты не получают «Первый на сервере»",
|
||||
"d": "Спутники (боты) не могут получать достижения «Первый на сервере», поэтому никогда не отнимают их у настоящих игроков. Нужна сборка сервера от 2 октября 2026 или новее."
|
||||
},
|
||||
"Rate.Creature.Normal.SpellDamage": {
|
||||
"t": "Обычные существа — урон заклинаний",
|
||||
"d": "Множитель: Обычные существа — урон заклинаний. 1 означает обычное значение. Требуется перезапуск мира."
|
||||
},
|
||||
"Rate.Creature.Elite.Elite.Damage": {
|
||||
"t": "Элитные существа — урон в ближнем бою",
|
||||
"d": "Множитель: Элитные существа — урон в ближнем бою. 1 означает обычное значение. Требуется перезапуск мира."
|
||||
},
|
||||
"Rate.Creature.Elite.Elite.SpellDamage": {
|
||||
"t": "Элитные существа — урон заклинаний",
|
||||
"d": "Множитель: Элитные существа — урон заклинаний. 1 означает обычное значение. Требуется перезапуск мира."
|
||||
},
|
||||
"Rate.Creature.Elite.Elite.HP": {
|
||||
"t": "Элитные существа — здоровье",
|
||||
"d": "Множитель: Элитные существа — здоровье. 1 означает обычное значение. Требуется перезапуск мира."
|
||||
},
|
||||
"Rate.Creature.Elite.RARE.Damage": {
|
||||
"t": "Редкие существа — урон в ближнем бою",
|
||||
"d": "Множитель: Редкие существа — урон в ближнем бою. 1 означает обычное значение. Требуется перезапуск мира."
|
||||
},
|
||||
"Rate.Creature.Elite.RARE.SpellDamage": {
|
||||
"t": "Редкие существа — урон заклинаний",
|
||||
"d": "Множитель: Редкие существа — урон заклинаний. 1 означает обычное значение. Требуется перезапуск мира."
|
||||
},
|
||||
"Rate.Creature.Elite.RARE.HP": {
|
||||
"t": "Редкие существа — здоровье",
|
||||
"d": "Множитель: Редкие существа — здоровье. 1 означает обычное значение. Требуется перезапуск мира."
|
||||
},
|
||||
"Rate.Creature.Elite.RAREELITE.Damage": {
|
||||
"t": "Редкие элитные существа — урон в ближнем бою",
|
||||
"d": "Множитель: Редкие элитные существа — урон в ближнем бою. 1 означает обычное значение. Требуется перезапуск мира."
|
||||
},
|
||||
"Rate.Creature.Elite.RAREELITE.SpellDamage": {
|
||||
"t": "Редкие элитные существа — урон заклинаний",
|
||||
"d": "Множитель: Редкие элитные существа — урон заклинаний. 1 означает обычное значение. Требуется перезапуск мира."
|
||||
},
|
||||
"Rate.Creature.Elite.RAREELITE.HP": {
|
||||
"t": "Редкие элитные существа — здоровье",
|
||||
"d": "Множитель: Редкие элитные существа — здоровье. 1 означает обычное значение. Требуется перезапуск мира."
|
||||
},
|
||||
"Rate.Creature.Elite.WORLDBOSS.Damage": {
|
||||
"t": "Мировые боссы — урон в ближнем бою",
|
||||
"d": "Множитель: Мировые боссы — урон в ближнем бою. 1 означает обычное значение. Требуется перезапуск мира."
|
||||
},
|
||||
"Rate.Creature.Elite.WORLDBOSS.SpellDamage": {
|
||||
"t": "Мировые боссы — урон заклинаний",
|
||||
"d": "Множитель: Мировые боссы — урон заклинаний. 1 означает обычное значение. Требуется перезапуск мира."
|
||||
},
|
||||
"Rate.Creature.Elite.WORLDBOSS.HP": {
|
||||
"t": "Мировые боссы — здоровье",
|
||||
"d": "Множитель: Мировые боссы — здоровье. 1 означает обычное значение. Требуется перезапуск мира."
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
|
||||
+57
-5
@@ -352,12 +352,12 @@
|
||||
"d": "在线处于休息区域时,休息经验的积累速度。"
|
||||
},
|
||||
"Rate.Creature.Normal.Damage": {
|
||||
"t": "普通怪物伤害倍率",
|
||||
"d": "普通怪物造成的伤害乘数。大幅改变游戏战斗难度。"
|
||||
"t": "普通生物 — 近战伤害",
|
||||
"d": "普通生物近战伤害倍率。1 为正常值,需要重启世界服务器。"
|
||||
},
|
||||
"Rate.Creature.Normal.HP": {
|
||||
"t": "普通怪物生命值倍率",
|
||||
"d": "普通怪物的生命值上限乘数。大幅改变游戏战斗难度。"
|
||||
"t": "普通生物 — 生命值",
|
||||
"d": "普通生物生命值倍率。1 为正常值,需要重启世界服务器。"
|
||||
},
|
||||
"PlayerLimit": {
|
||||
"t": "最大同时在线玩家数",
|
||||
@@ -550,6 +550,58 @@
|
||||
"Achievement.RealmFirstBlockBots": {
|
||||
"t": "禁止机器人获取“服务器第一”成就",
|
||||
"d": "随从(机器人)无法获得“服务器第一!”成就,绝不抢占真实玩家的第一名荣誉。需要 2026-10-02 或更新的服务器核心版本。"
|
||||
},
|
||||
"Rate.Creature.Normal.SpellDamage": {
|
||||
"t": "普通生物 — 法术伤害",
|
||||
"d": "普通生物法术伤害倍率。1 为正常值,需要重启世界服务器。"
|
||||
},
|
||||
"Rate.Creature.Elite.Elite.Damage": {
|
||||
"t": "精英生物 — 近战伤害",
|
||||
"d": "精英生物近战伤害倍率。1 为正常值,需要重启世界服务器。"
|
||||
},
|
||||
"Rate.Creature.Elite.Elite.SpellDamage": {
|
||||
"t": "精英生物 — 法术伤害",
|
||||
"d": "精英生物法术伤害倍率。1 为正常值,需要重启世界服务器。"
|
||||
},
|
||||
"Rate.Creature.Elite.Elite.HP": {
|
||||
"t": "精英生物 — 生命值",
|
||||
"d": "精英生物生命值倍率。1 为正常值,需要重启世界服务器。"
|
||||
},
|
||||
"Rate.Creature.Elite.RARE.Damage": {
|
||||
"t": "稀有生物 — 近战伤害",
|
||||
"d": "稀有生物近战伤害倍率。1 为正常值,需要重启世界服务器。"
|
||||
},
|
||||
"Rate.Creature.Elite.RARE.SpellDamage": {
|
||||
"t": "稀有生物 — 法术伤害",
|
||||
"d": "稀有生物法术伤害倍率。1 为正常值,需要重启世界服务器。"
|
||||
},
|
||||
"Rate.Creature.Elite.RARE.HP": {
|
||||
"t": "稀有生物 — 生命值",
|
||||
"d": "稀有生物生命值倍率。1 为正常值,需要重启世界服务器。"
|
||||
},
|
||||
"Rate.Creature.Elite.RAREELITE.Damage": {
|
||||
"t": "稀有精英生物 — 近战伤害",
|
||||
"d": "稀有精英生物近战伤害倍率。1 为正常值,需要重启世界服务器。"
|
||||
},
|
||||
"Rate.Creature.Elite.RAREELITE.SpellDamage": {
|
||||
"t": "稀有精英生物 — 法术伤害",
|
||||
"d": "稀有精英生物法术伤害倍率。1 为正常值,需要重启世界服务器。"
|
||||
},
|
||||
"Rate.Creature.Elite.RAREELITE.HP": {
|
||||
"t": "稀有精英生物 — 生命值",
|
||||
"d": "稀有精英生物生命值倍率。1 为正常值,需要重启世界服务器。"
|
||||
},
|
||||
"Rate.Creature.Elite.WORLDBOSS.Damage": {
|
||||
"t": "世界首领 — 近战伤害",
|
||||
"d": "世界首领近战伤害倍率。1 为正常值,需要重启世界服务器。"
|
||||
},
|
||||
"Rate.Creature.Elite.WORLDBOSS.SpellDamage": {
|
||||
"t": "世界首领 — 法术伤害",
|
||||
"d": "世界首领法术伤害倍率。1 为正常值,需要重启世界服务器。"
|
||||
},
|
||||
"Rate.Creature.Elite.WORLDBOSS.HP": {
|
||||
"t": "世界首领 — 生命值",
|
||||
"d": "世界首领生命值倍率。1 为正常值,需要重启世界服务器。"
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
@@ -598,4 +650,4 @@
|
||||
"d": "所有设置恢复为默认值。"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -53,8 +53,8 @@ export interface StatusView {
|
||||
path_exists: boolean;
|
||||
}
|
||||
|
||||
export type RealmMode = "coa" | "wildcard" | "reborn";
|
||||
export interface RealmProfiles { active: RealmMode; wildcard_created: boolean; reborn_created: boolean; reborn_supported: boolean; supported: boolean; recovery_pending: boolean; simultaneous: boolean; secondary_world_port: number | null; secondary_running: boolean }
|
||||
export type RealmMode = "coa" | "wildcard";
|
||||
export interface RealmProfiles { active: RealmMode; wildcard_created: boolean; supported: boolean; recovery_pending: boolean; simultaneous: boolean; secondary_world_port: number | null; secondary_running: boolean }
|
||||
export interface DatabaseCheck {
|
||||
realm: RealmMode;
|
||||
migrations: { id: string; db: string; status: "applied" | "pending" | "failed"; error: string | null }[];
|
||||
|
||||
@@ -36,7 +36,7 @@ export function BackupsPage({ serverId }: { serverId: string }) {
|
||||
const trigger = (x: string) => (TRIGGER_KEYS.includes(x) ? t(`bk.trigger.${x}` as Key) : x);
|
||||
const dbLabel = (x: string) => {
|
||||
const [realm, kind] = x.split("-");
|
||||
if (kind && DB_KEYS.includes(kind)) return `${realm === "coa" ? "CoA" : realm === "reborn" ? "Warcraft Reborn" : "Wildcard"} · ${t(`bk.db.${kind}` as Key)}`;
|
||||
if (kind && DB_KEYS.includes(kind)) return `${realm === "coa" ? "CoA" : "Wildcard"} · ${t(`bk.db.${kind}` as Key)}`;
|
||||
return DB_KEYS.includes(x) ? t(`bk.db.${x}` as Key) : x;
|
||||
};
|
||||
const [points, setPoints] = useState<RecoveryPoint[] | null>(null);
|
||||
@@ -198,7 +198,7 @@ export function BackupsPage({ serverId }: { serverId: string }) {
|
||||
<div>
|
||||
<p className="font-medium">{p.label && p.trigger === "manual" && p.label !== "e2e" ? p.label : trigger(p.trigger)}</p>
|
||||
<p className="text-sm text-muted">
|
||||
{w(p.created_at)} · {p.realm === "reborn" ? "Warcraft Reborn" : p.realm === "wildcard" ? "Wildcard" : "CoA"} · {t(`bk.kind.${p.kind}` as Key)} · {size(p.components.reduce((a, c) => a + c.bytes, p.mysql_snapshot?.bytes ?? 0))}
|
||||
{w(p.created_at)} · {p.realm === "wildcard" ? "Wildcard" : "CoA"} · {t(`bk.kind.${p.kind}` as Key)} · {size(p.components.reduce((a, c) => a + c.bytes, p.mysql_snapshot?.bytes ?? 0))}
|
||||
</p>
|
||||
</div>
|
||||
<div className="flex shrink-0 gap-1">
|
||||
|
||||
@@ -79,7 +79,7 @@ export function Overview({ server, companions = true, onForget, onOpenUpdates, o
|
||||
let alive = true;
|
||||
void api.realmProfiles(server.id).then((r) => {
|
||||
if (!alive) return;
|
||||
const name = (m: "coa" | "wildcard" | "reborn") => (m === "coa" ? "Conquest of Azeroth" : m === "reborn" ? "Warcraft Reborn" : "Wildcard");
|
||||
const name = (m: "coa" | "wildcard") => (m === "coa" ? "Conquest of Azeroth" : "Wildcard");
|
||||
setRealms({ first: name(r.active), second: name(r.active === "coa" ? "wildcard" : "coa") });
|
||||
}).catch(() => { if (alive) setRealms(null); });
|
||||
return () => { alive = false; };
|
||||
|
||||
@@ -37,19 +37,16 @@ export function RealmPicker({ serverId, running, disabled, onChanged, onBusy }:
|
||||
{view?.simultaneous ? <span className="text-sm text-muted">Conquest of Azeroth + Wildcard</span> : <select id="realm-profile" value={selected} disabled={!view || disabled || busy} onChange={e => setSelected(e.target.value as RealmMode)} className="min-w-52 rounded-md border border-line bg-card-2 px-3 py-2 text-ink">
|
||||
<option value="coa">Conquest of Azeroth</option>
|
||||
<option value="wildcard" disabled={!view?.supported && !view?.wildcard_created}>Wildcard · Darkmoon</option>
|
||||
<option value="reborn" disabled={!view?.reborn_supported && !view?.reborn_created}>Warcraft Reborn</option>
|
||||
</select>}
|
||||
{view && !view.simultaneous && (selected !== view.active || view.recovery_pending) && <Button size="sm" disabled={disabled || busy} onClick={() => void select()}>
|
||||
{busy && <Loader2 className="h-4 w-4 animate-spin" aria-hidden />}
|
||||
{busy ? t("realm.switching") : selected === "wildcard" && !view.wildcard_created ? t("realm.create") : selected === "reborn" && !view.reborn_created ? t("realm.rebornCreate") : running ? t("realm.restart") : t("realm.select")}
|
||||
{busy ? t("realm.switching") : selected === "wildcard" && !view.wildcard_created ? t("realm.create") : running ? t("realm.restart") : t("realm.select")}
|
||||
</Button>}
|
||||
{view && !view.simultaneous && <span className="ml-auto text-xs text-muted">{t("realm.active", { name: view.active === "coa" ? "CoA" : view.active === "reborn" ? "Warcraft Reborn" : "Wildcard" })}</span>}
|
||||
{view && !view.simultaneous && <span className="ml-auto text-xs text-muted">{t("realm.active", { name: view.active === "coa" ? "CoA" : "Wildcard" })}</span>}
|
||||
</div>
|
||||
<p className="mt-3 text-sm text-muted">{t(view?.simultaneous ? "realm.bothRunning" : "realm.separate")}</p>
|
||||
{selected === "reborn" && <p className="mt-2 text-sm text-warn">{t("realm.rebornModules")}</p>}
|
||||
{view && selected === "reborn" && !view.reborn_supported && <p className="mt-2 text-sm text-warn">{t("realm.rebornUpdate")}</p>}
|
||||
{selected === "wildcard" && <p className="mt-2 text-sm text-warn">{t("realm.modules")}</p>}
|
||||
{view && selected === "wildcard" && !view.supported && <p className="mt-2 text-sm text-warn">{t("realm.update")}</p>}
|
||||
{view && !view.supported && <p className="mt-2 text-sm text-warn">{t("realm.update")}</p>}
|
||||
{view?.recovery_pending && <p className="mt-2 text-sm text-warn">{t("realm.recovery")}</p>}
|
||||
{error && <p className="mt-3 selectable text-sm text-bad" role="alert">{error}</p>}
|
||||
</Card>;
|
||||
|
||||
@@ -22,7 +22,7 @@ export function RealmStartupSettings({ serverId }: { serverId: string }) {
|
||||
return <Card className="mt-6 p-6" aria-busy={busy}>
|
||||
<h2 className="font-semibold">{t("realm.startupTitle")}</h2>
|
||||
<label className="mt-3 flex items-center gap-3">
|
||||
<input type="checkbox" checked={view?.simultaneous ?? false} disabled={!view || busy || !view.supported || view.active === "reborn"} onChange={e => void change(e.target.checked)} />
|
||||
<input type="checkbox" checked={view?.simultaneous ?? false} disabled={!view || busy || !view.supported} onChange={e => void change(e.target.checked)} />
|
||||
<span>{t("realm.simultaneous")}</span>
|
||||
</label>
|
||||
<p className="mt-2 text-sm text-muted">{t("realm.simultaneousHint")}</p>
|
||||
|
||||
@@ -45,7 +45,7 @@ export function RepairCard({ serverId }: { serverId: string }) {
|
||||
{checks?.map(c => {
|
||||
const pending = c.migrations.filter(m => m.status !== "applied");
|
||||
return <div key={c.realm} className="mt-4 border-t border-line pt-3 text-sm">
|
||||
<p className="font-medium">{c.realm === "coa" ? "Conquest of Azeroth" : c.realm === "reborn" ? "Warcraft Reborn" : "Wildcard"}</p>
|
||||
<p className="font-medium">{c.realm === "coa" ? "Conquest of Azeroth" : "Wildcard"}</p>
|
||||
<p className={c.problems.length || pending.length ? "text-warn" : "text-ok"}>{t("repair.dbCount", { columns: c.problems.length, sql: pending.length })}</p>
|
||||
{!c.full_schema && <p className="mt-1 text-muted">{t("repair.limited")}</p>}
|
||||
<ul className="mt-2 max-h-52 overflow-auto selectable text-muted">
|
||||
|
||||
@@ -17,8 +17,21 @@ R = [
|
||||
("Rate.Honor", "float", "rates", "Honor gain", "Multiplier for honor points earned.", 1, 0, 20, "x", False, "world", False),
|
||||
("Rate.Reputation.Gain", "float", "rates", "Reputation gain", "Multiplier for reputation earned.", 1, 0, 20, "x", False, "world", False),
|
||||
("Rate.Rest.InGame", "float", "rates", "Rested bonus while playing", "Speed at which rested experience accumulates while online in a rest area.", 1, 0, 10, "x", True, "world", False),
|
||||
("Rate.Creature.Normal.Damage", "float", "advanced", "Monster damage", "Multiplier for damage dealt by normal monsters. Changes difficulty a lot.", 1, 0.1, 10, "x", True, "world", True),
|
||||
("Rate.Creature.Normal.HP", "float", "advanced", "Monster health", "Multiplier for health of normal monsters. Changes difficulty a lot.", 1, 0.1, 10, "x", True, "world", True),
|
||||
('Rate.Creature.Normal.Damage', 'float', 'advanced', 'Normal creature melee damage', 'Multiplier for normal creature melee damage. 1 is normal. Requires a world server restart.', 1, 0.1, 10, 'x', True, 'world', True),
|
||||
('Rate.Creature.Normal.SpellDamage', 'float', 'advanced', 'Normal creature spell damage', 'Multiplier for normal creature spell damage. 1 is normal. Requires a world server restart.', 1, 0.1, 10, 'x', True, 'world', True),
|
||||
('Rate.Creature.Normal.HP', 'float', 'advanced', 'Normal creature health', 'Multiplier for normal creature health. 1 is normal. Requires a world server restart.', 1, 0.1, 10, 'x', True, 'world', True),
|
||||
('Rate.Creature.Elite.Elite.Damage', 'float', 'advanced', 'Elite creature melee damage', 'Multiplier for elite creature melee damage. 1 is normal. Requires a world server restart.', 1, 0.1, 10, 'x', True, 'world', True),
|
||||
('Rate.Creature.Elite.Elite.SpellDamage', 'float', 'advanced', 'Elite creature spell damage', 'Multiplier for elite creature spell damage. 1 is normal. Requires a world server restart.', 1, 0.1, 10, 'x', True, 'world', True),
|
||||
('Rate.Creature.Elite.Elite.HP', 'float', 'advanced', 'Elite creature health', 'Multiplier for elite creature health. 1 is normal. Requires a world server restart.', 1, 0.1, 10, 'x', True, 'world', True),
|
||||
('Rate.Creature.Elite.RARE.Damage', 'float', 'advanced', 'Rare creature melee damage', 'Multiplier for rare creature melee damage. 1 is normal. Requires a world server restart.', 1, 0.1, 10, 'x', True, 'world', True),
|
||||
('Rate.Creature.Elite.RARE.SpellDamage', 'float', 'advanced', 'Rare creature spell damage', 'Multiplier for rare creature spell damage. 1 is normal. Requires a world server restart.', 1, 0.1, 10, 'x', True, 'world', True),
|
||||
('Rate.Creature.Elite.RARE.HP', 'float', 'advanced', 'Rare creature health', 'Multiplier for rare creature health. 1 is normal. Requires a world server restart.', 1, 0.1, 10, 'x', True, 'world', True),
|
||||
('Rate.Creature.Elite.RAREELITE.Damage', 'float', 'advanced', 'Rare elite creature melee damage', 'Multiplier for rare elite creature melee damage. 1 is normal. Requires a world server restart.', 1, 0.1, 10, 'x', True, 'world', True),
|
||||
('Rate.Creature.Elite.RAREELITE.SpellDamage', 'float', 'advanced', 'Rare elite creature spell damage', 'Multiplier for rare elite creature spell damage. 1 is normal. Requires a world server restart.', 1, 0.1, 10, 'x', True, 'world', True),
|
||||
('Rate.Creature.Elite.RAREELITE.HP', 'float', 'advanced', 'Rare elite creature health', 'Multiplier for rare elite creature health. 1 is normal. Requires a world server restart.', 1, 0.1, 10, 'x', True, 'world', True),
|
||||
('Rate.Creature.Elite.WORLDBOSS.Damage', 'float', 'advanced', 'World boss melee damage', 'Multiplier for world boss melee damage. 1 is normal. Requires a world server restart.', 1, 0.1, 10, 'x', True, 'world', True),
|
||||
('Rate.Creature.Elite.WORLDBOSS.SpellDamage', 'float', 'advanced', 'World boss spell damage', 'Multiplier for world boss spell damage. 1 is normal. Requires a world server restart.', 1, 0.1, 10, 'x', True, 'world', True),
|
||||
('Rate.Creature.Elite.WORLDBOSS.HP', 'float', 'advanced', 'World boss health', 'Multiplier for world boss health. 1 is normal. Requires a world server restart.', 1, 0.1, 10, 'x', True, 'world', True),
|
||||
("PlayerLimit", "int", "world", "Maximum players", "How many players can be online at once. 0 means no limit.", 0, 0, 10000, None, False, "world", False),
|
||||
("GameType", "enum", "advanced", "Realm type", "The realm type shown in the realm list.", 0, None, None, None, True, "world", False),
|
||||
("RealmZone", "int", "advanced", "Realm zone", "The realm's language / region group shown to clients.", 1, 0, 30, None, True, "world", False),
|
||||
|
||||
@@ -1,222 +0,0 @@
|
||||
"""Maintain a component's own published history, using immutable release sources.
|
||||
|
||||
The same dependency-free script is vendored as tools/sync_history.py in Manager.
|
||||
Historical corrections live in the reviewed history JSON, not in moving branches.
|
||||
"""
|
||||
import argparse
|
||||
import base64
|
||||
from concurrent.futures import ThreadPoolExecutor
|
||||
import json
|
||||
from pathlib import Path
|
||||
import re
|
||||
import subprocess
|
||||
import tempfile
|
||||
|
||||
SERVER_AREAS = {'server', 'bots', 'scaling', 'modules', 'addon', 'client'}
|
||||
MANAGER_AREAS = {'manager', 'client'}
|
||||
|
||||
|
||||
def gh(*args):
|
||||
return subprocess.check_output(['gh', *args], encoding='utf-8')
|
||||
|
||||
|
||||
def api(path):
|
||||
return json.loads(gh('api', path))
|
||||
|
||||
|
||||
def version_key(version):
|
||||
if not re.fullmatch(r'\d+(?:\.\d+)+', version):
|
||||
raise ValueError('Invalid published version: ' + version)
|
||||
return tuple(map(int, version.split('.')))
|
||||
|
||||
|
||||
def eligible(release, component):
|
||||
pattern = r'v(\d+(?:\.\d+)+)' if component == 'manager' else r'server-(\d+(?:\.\d+)+)'
|
||||
return not release['draft'] and not release['prerelease'] and re.fullmatch(pattern, release['tag_name'])
|
||||
|
||||
|
||||
def published(repo, component):
|
||||
pages = json.loads(gh('api', '--paginate', '--slurp', f'repos/{repo}/releases?per_page=100'))
|
||||
return sorted([r for page in pages for r in page if eligible(r, component)],
|
||||
key=lambda r: version_key(r['tag_name'].removeprefix('server-').removeprefix('v')))
|
||||
|
||||
|
||||
def fragment_note(text, areas):
|
||||
sections = text.strip().split('---', 2)
|
||||
if len(sections) != 3 or sections[0]:
|
||||
raise ValueError('Invalid release fragment')
|
||||
fields = dict(line.split(':', 1) for line in sections[1].splitlines() if ':' in line)
|
||||
fields = {k.strip(): v.strip().strip('"\'') for k, v in fields.items()}
|
||||
if fields.get('area') not in areas:
|
||||
return None
|
||||
if not fields.get('title'):
|
||||
raise ValueError('Release fragment has no title')
|
||||
if re.search(r'\b(compilation|compiler|cache|manual builds|repository owners|packaging time)\b', fields['title'], re.I):
|
||||
return None
|
||||
# Keep public notes player-facing. Technical refs remain in the source fragment.
|
||||
title = fields['title'].rstrip('.')
|
||||
return title
|
||||
|
||||
|
||||
def remote_fragments(repo, sha, seen, areas):
|
||||
if not re.fullmatch(r'[0-9a-f]{40}', sha):
|
||||
raise ValueError('Changelog collection requires an immutable source SHA')
|
||||
listing = api(f'repos/{repo}/contents/changelog.d?ref={sha}')
|
||||
files = [f for f in listing if re.fullmatch(r'\d{8}-[a-z0-9-]+\.md', f['name'])]
|
||||
new = [f for f in files if repo + ':' + f['name'] not in seen]
|
||||
|
||||
def read(item):
|
||||
blob = api(f'repos/{repo}/git/blobs/{item["sha"]}')
|
||||
return fragment_note(base64.b64decode(blob['content']).decode('utf-8'), areas)
|
||||
|
||||
with ThreadPoolExecutor(max_workers=6) as pool:
|
||||
notes = [note for note in pool.map(read, new) if note]
|
||||
return notes, [repo + ':' + f['name'] for f in files]
|
||||
|
||||
|
||||
def collect_manager(root, tag, seen):
|
||||
sha = subprocess.check_output(['git', '-C', str(root), 'rev-parse', tag + '^{commit}'], encoding='utf8', newline='\n').strip()
|
||||
paths = subprocess.check_output(['git', '-C', str(root), 'ls-tree', '-r', '--name-only', sha, 'changelog.d'], encoding='utf8', newline='\n').splitlines()
|
||||
paths = [p for p in paths if re.fullmatch(r'changelog.d/\d{8}-[a-z0-9-]+\.md', p)]
|
||||
repo = 'Corfirean/coa-server-manager'
|
||||
notes = []
|
||||
for path in paths:
|
||||
if repo + ':' + Path(path).name not in seen:
|
||||
text = subprocess.check_output(['git', '-C', str(root), 'show', f'{sha}:{path}'], encoding='utf8', newline='\n')
|
||||
note = fragment_note(text, MANAGER_AREAS)
|
||||
if note:
|
||||
notes.append(note)
|
||||
return notes, [repo + ':' + Path(p).name for p in paths], {'commit': sha}
|
||||
|
||||
|
||||
def collect_server(repo, tag, seen, previous):
|
||||
with tempfile.TemporaryDirectory() as folder:
|
||||
subprocess.run(['gh', 'release', 'download', tag, '--repo', repo, '--pattern', 'release-lock.json', '--dir', folder], check=True)
|
||||
lock = json.loads((Path(folder) / 'release-lock.json').read_text(encoding='utf-8-sig'))
|
||||
notes, ids = [], []
|
||||
for role in ('core', 'bots', 'scaling', 'build'):
|
||||
item = lock['components'].get(role)
|
||||
if not item:
|
||||
raise ValueError('Release lock has no ' + role + ' source')
|
||||
if item['repository'] == 'Corfirean/coa-server-manager':
|
||||
raise ValueError('A Manager source cannot supply server release notes')
|
||||
entries, found = remote_fragments(item['repository'], item['sha'], seen, SERVER_AREAS)
|
||||
notes.extend(entries)
|
||||
ids.extend(found)
|
||||
old = previous.get('components', {})
|
||||
# Imported updates are explicitly updates, never attributed as our authored fixes.
|
||||
for role, label in [('races', 'Custom Races'), ('squid', 'SQUID Playerbots')]:
|
||||
item = lock['components'].get(role)
|
||||
if item and item['sha'] != old.get(role, {}).get('sha'):
|
||||
ref = item.get('ref', '')
|
||||
version = re.sub(r'^(coa-custom-|v)', '', ref)
|
||||
if version and not re.fullmatch(r'[0-9a-f]{40}|main|master', version):
|
||||
notes.append(f'Updated {label} to {version}')
|
||||
if lock['components'].get('upstream', {}).get('sha') != old.get('upstream', {}).get('sha'):
|
||||
notes.append('Updated the reviewed CoA upstream snapshot')
|
||||
return list(dict.fromkeys(notes)), ids, {'snapshot': lock['snapshot'], 'components': lock['components']}
|
||||
|
||||
|
||||
def notes_md(record):
|
||||
lines = [f'## {record["version"]} — {record["date"]}', '']
|
||||
lines.extend('- ' + note.rstrip('.') + '.' for note in record['notes'])
|
||||
label = 'Archived release record' if record.get('legacy') else 'Release'
|
||||
lines += ['', f'[{label}]({record["url"]})']
|
||||
if record.get('compare'):
|
||||
lines[-1] += f' · [Source changes]({record["compare"]})'
|
||||
return '\n'.join(lines) + '\n'
|
||||
|
||||
|
||||
def render(history):
|
||||
component = history['component']
|
||||
title = 'CoA Server Manager' if component == 'manager' else 'CoA Server'
|
||||
other = ('[Server changelog](https://github.com/Corfirean/coa-server-build/blob/main/CHANGELOG.md)' if component == 'manager'
|
||||
else '[Manager changelog](https://github.com/Corfirean/coa-server-manager/blob/master/CHANGELOG.md)')
|
||||
lines = [f'# {title} changelog', '',
|
||||
('Manager releases only. Updating the Manager does not update the server.' if component == 'manager'
|
||||
else 'Server packages, companions and server modules only. Manager releases have their own changelog.'),
|
||||
'', other, '', 'Dates follow GitHub publication (UTC); legacy records retain their archived dates. Newest releases first.', '']
|
||||
for record in sorted(history['releases'], key=lambda r: (r['date'], version_key(r['version'])), reverse=True):
|
||||
lines.append(notes_md(record))
|
||||
return '\n'.join(lines).rstrip() + '\n'
|
||||
|
||||
|
||||
def validate_history(history):
|
||||
expected = {'server': 'Corfirean/coa-server-build', 'manager': 'Corfirean/coa-server-manager'}
|
||||
component = history.get('component')
|
||||
if history.get('schema') != 1 or history.get('repository') != expected.get(component):
|
||||
raise ValueError('History must belong to exactly one known component repository')
|
||||
versions, tags = set(), set()
|
||||
for record in history['releases']:
|
||||
version_key(record['version'])
|
||||
if record['version'] in versions or record['tag'] in tags:
|
||||
raise ValueError('Duplicate release in component history')
|
||||
versions.add(record['version']); tags.add(record['tag'])
|
||||
prefix = 'v' if component == 'manager' else 'server-'
|
||||
if not record.get('legacy') and record['tag'] != prefix + record['version']:
|
||||
raise ValueError('Release tag belongs to a different component/version')
|
||||
if not record.get('notes') or not all(isinstance(n, str) and n.strip() for n in record['notes']):
|
||||
raise ValueError('Release notes must contain confirmed changes')
|
||||
if component == 'server' and any(i.startswith('Corfirean/coa-server-manager:') for i in history.get('consumedFragments', [])):
|
||||
raise ValueError('Server history cannot consume Manager fragments')
|
||||
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('--root', type=Path, default=Path.cwd())
|
||||
parser.add_argument('--history', default='changelog/history.json')
|
||||
parser.add_argument('--sync-release-notes', action='store_true')
|
||||
parser.add_argument('--render-only', action='store_true')
|
||||
args = parser.parse_args()
|
||||
path = args.root / args.history
|
||||
history = json.loads(path.read_text(encoding='utf8'))
|
||||
validate_history(history)
|
||||
component, repo = history['component'], history['repository']
|
||||
if component not in ('server', 'manager'):
|
||||
raise ValueError('History must belong to one component')
|
||||
existing = {r['tag'] for r in history['releases']}
|
||||
seen = set(history.get('consumedFragments', []))
|
||||
releases = [] if args.render_only else published(repo, component)
|
||||
previous = sorted(history['releases'], key=lambda r: (r['date'], version_key(r['version'])))[-1] if existing else {}
|
||||
for release in releases:
|
||||
tag = release['tag_name']
|
||||
if tag in existing:
|
||||
continue
|
||||
version = tag.removeprefix('server-').removeprefix('v')
|
||||
if previous and version_key(version) <= version_key(previous['version']):
|
||||
raise ValueError('Historical backfill requires a reviewed history correction: ' + tag)
|
||||
if component == 'manager':
|
||||
notes, ids, source = collect_manager(args.root, tag, seen)
|
||||
else:
|
||||
notes, ids, source = collect_server(repo, tag, seen, previous)
|
||||
if not notes:
|
||||
notes = ['Detailed player-facing notes were not recorded; see the source changes for this release']
|
||||
record = {'tag': tag, 'version': tag.removeprefix('server-').removeprefix('v'),
|
||||
'date': release['published_at'][:10], 'url': release['html_url'], 'notes': notes, **source}
|
||||
if previous.get('tag'):
|
||||
record['compare'] = f'https://github.com/{repo}/compare/{previous["tag"]}...{tag}'
|
||||
history['releases'].append(record)
|
||||
seen.update(ids)
|
||||
previous = record
|
||||
history['consumedFragments'] = sorted(seen)
|
||||
validate_history(history)
|
||||
# Keep a separately reviewed history as the source of truth for historical corrections.
|
||||
path.write_text(json.dumps(history, indent=2, ensure_ascii=False) + '\n', encoding='utf8', newline='\n')
|
||||
(args.root / 'CHANGELOG.md').write_text(render(history), encoding='utf8', newline='\n')
|
||||
if args.sync_release_notes:
|
||||
actual = {r['tag_name']: r for r in (releases or published(repo, component))}
|
||||
for record in history['releases']:
|
||||
release = actual.get(record['tag'])
|
||||
if not release:
|
||||
continue # Never create a missing historical release or touch a prerelease.
|
||||
body = notes_md(record)
|
||||
if (release.get('body') or '').strip() != body.strip():
|
||||
with tempfile.TemporaryDirectory() as folder:
|
||||
note_file = Path(folder) / 'notes.md'
|
||||
note_file.write_text(body, encoding='utf8', newline='\n')
|
||||
subprocess.run(['gh', 'release', 'edit', record['tag'], '--repo', repo, '--notes-file', str(note_file)], check=True)
|
||||
print(f'{component}: {len(history["releases"])} releases; component changelog synchronized')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
@@ -1,88 +0,0 @@
|
||||
import copy
|
||||
import json
|
||||
from pathlib import Path
|
||||
import subprocess
|
||||
import sys
|
||||
import tempfile
|
||||
import unittest
|
||||
from unittest.mock import patch
|
||||
import sync_history as sync
|
||||
|
||||
|
||||
class ComponentHistoryTests(unittest.TestCase):
|
||||
def history(self):
|
||||
return {'schema': 1, 'component': 'manager', 'repository': 'Corfirean/coa-server-manager',
|
||||
'consumedFragments': [], 'releases': [{'version': '0.6.22', 'tag': 'v0.6.22',
|
||||
'date': '2026-10-19', 'url': 'https://example.test/release', 'notes': ['Existing client files are preserved']}]}
|
||||
|
||||
def test_manager_history_cannot_be_used_as_server_history(self):
|
||||
history = self.history()
|
||||
history['component'] = 'server'
|
||||
with self.assertRaises(ValueError): sync.validate_history(history)
|
||||
|
||||
def test_duplicate_release_and_wrong_tag_are_rejected(self):
|
||||
history = self.history()
|
||||
history['releases'].append(copy.deepcopy(history['releases'][0]))
|
||||
with self.assertRaises(ValueError): sync.validate_history(history)
|
||||
history['releases'].pop()
|
||||
history['releases'][0]['tag'] = 'server-0.6.22'
|
||||
with self.assertRaises(ValueError): sync.validate_history(history)
|
||||
|
||||
def test_unpublished_and_prerelease_tags_never_enter_history(self):
|
||||
release = {'tag_name': 'v0.7.0', 'draft': True, 'prerelease': False}
|
||||
self.assertFalse(sync.eligible(release, 'manager'))
|
||||
release.update(draft=False, prerelease=True)
|
||||
self.assertFalse(sync.eligible(release, 'manager'))
|
||||
release.update(prerelease=False)
|
||||
self.assertTrue(sync.eligible(release, 'manager'))
|
||||
self.assertFalse(sync.eligible(release, 'server'))
|
||||
self.assertFalse(sync.eligible(dict(release, tag_name='stable'), 'server'))
|
||||
|
||||
def test_fragment_classification_preserves_source_boundaries(self):
|
||||
text = '---\narea: manager\ntitle: Updates recover safely\n---\nYour files are preserved.'
|
||||
self.assertIsNone(sync.fragment_note(text, sync.SERVER_AREAS))
|
||||
self.assertIn('Updates recover safely', sync.fragment_note(text, sync.MANAGER_AREAS))
|
||||
|
||||
def test_remote_collection_uses_frozen_sha_and_reads_only_new_fragments(self):
|
||||
with patch.object(sync, 'api', return_value=[{'name': '20261019-a.md', 'sha': 'b' * 40}]) as api:
|
||||
notes, ids = sync.remote_fragments('owner/repo', 'a' * 40, {'owner/repo:20261019-a.md'}, sync.SERVER_AREAS)
|
||||
self.assertEqual(notes, [])
|
||||
self.assertEqual(len(ids), 1)
|
||||
api.assert_called_once_with('repos/owner/repo/contents/changelog.d?ref=' + 'a' * 40)
|
||||
with self.assertRaises(ValueError): sync.remote_fragments('owner/repo', 'main', set(), sync.SERVER_AREAS)
|
||||
|
||||
def test_render_is_component_scoped_and_stable(self):
|
||||
text = sync.render(self.history())
|
||||
self.assertIn('# CoA Server Manager changelog', text)
|
||||
self.assertEqual(text.count('## 0.6.22'), 1)
|
||||
self.assertNotIn('## 0.7.0', text)
|
||||
self.assertEqual(text, sync.render(self.history()))
|
||||
|
||||
def test_render_only_does_not_contact_github_or_change_published_history(self):
|
||||
with tempfile.TemporaryDirectory() as folder:
|
||||
root = Path(folder); (root / 'changelog').mkdir()
|
||||
path = root / 'changelog/history.json'
|
||||
path.write_text(json.dumps(self.history()), encoding='utf8')
|
||||
with patch.object(sys, 'argv', ['sync', '--root', str(root), '--render-only']), patch.object(sync, 'gh', side_effect=AssertionError('No network')):
|
||||
sync.main()
|
||||
first = (root / 'CHANGELOG.md').read_bytes()
|
||||
sync.main()
|
||||
self.assertEqual(first, (root / 'CHANGELOG.md').read_bytes())
|
||||
self.assertEqual(len(json.loads(path.read_text())['releases']), 1)
|
||||
|
||||
def test_repeated_sync_adds_a_published_version_only_once(self):
|
||||
with tempfile.TemporaryDirectory() as folder:
|
||||
root = Path(folder); (root / 'changelog').mkdir()
|
||||
path = root / 'changelog/history.json'
|
||||
path.write_text(json.dumps(self.history()), encoding='utf8')
|
||||
release = {'tag_name': 'v0.6.23', 'published_at': '2026-10-20T12:00:00Z', 'html_url': 'https://example.test/new'}
|
||||
with patch.object(sys, 'argv', ['sync', '--root', str(root)]), patch.object(sync, 'published', return_value=[release]), patch.object(sync, 'collect_manager', return_value=(['Update checks recover safely'], ['own:fragment.md'], {'commit': 'a' * 40})) as collect:
|
||||
sync.main(); sync.main()
|
||||
self.assertEqual(collect.call_count, 1)
|
||||
history = json.loads(path.read_text())
|
||||
self.assertEqual(len(history['releases']), 2)
|
||||
self.assertEqual(history['releases'][0]['notes'], self.history()['releases'][0]['notes'])
|
||||
self.assertEqual(history['consumedFragments'], ['own:fragment.md'])
|
||||
|
||||
|
||||
if __name__ == '__main__': unittest.main()
|
||||
Reference in new issue
Block a user