mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-25 19:25:56 +00:00
Server Migration: real analysis and a real modular copy
The page was a mock: it never read the database (always 0 accounts), showed a hard-coded schema and core version, looked for server files in the wrong folder, and its "transfer" reported accounts, characters and tables as moved without moving anything. Its locale was fixed to "ru". - remove server_migration.rs and its three commands - modular_copy::preview: classic/modular core, version, database state, counts and schemas from a running database (read only), database size, settings files, extra worlds; nothing is started or changed - the page shows that and hands over to the same modular-copy install screen as "Manage another server"; texts in en and ru via i18n - the modular copy now carries world settings changed in Server Configuration (Settings/worldserver.conf.template was not copied) - E2E preview_bare_and_copy_e2e checks the preview and the carried setting; passes against preview core 0.261108.9501 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6091e545f8
commit
fdbf38ee4e
14 files changed
+495
-1260
No files matched your search
+44
-1
@@ -865,7 +865,50 @@ const en = {
|
||||
"realm.confirmDelete": "Remove the realmlist “{name}”? The game client keeps whatever file it has now.",
|
||||
"nav.modules": "Modules",
|
||||
"nav.migration": "Server Migration",
|
||||
"q.migration": "Migrate data from an existing server into this Preview realm",
|
||||
"q.migration": "Move a server with the classic core to the modular core: a copy next to it",
|
||||
"migrate.title": "Server migration",
|
||||
"migrate.subtitle": "A server with the classic core is not converted in place. A new server with the modular core is installed next to it, and its accounts, characters, world, bots and module settings are copied into it.",
|
||||
"migrate.source": "Which server to move",
|
||||
"migrate.browse": "Browse…",
|
||||
"migrate.inspect": "Check",
|
||||
"migrate.dialogTitle": "Choose the server's main folder",
|
||||
"migrate.readOnly": "Checking only reads the folder; a running database is only asked for counts. Nothing is started or changed.",
|
||||
"migrate.classic.title": "Classic core: it can be copied",
|
||||
"migrate.classic.text": "The copy becomes a new server with the modular core. This server stays as it is.",
|
||||
"migrate.modular.title": "Already the modular core",
|
||||
"migrate.modular.text": "Nothing to move. To manage this server here, add it with “Manage another server”.",
|
||||
"migrate.none.title": "No server found here",
|
||||
"migrate.none.text": "This folder has no Core\\worldserver.exe of a Windows server. Choose the server's main folder.",
|
||||
"migrate.fact.version": "Version",
|
||||
"migrate.fact.database": "Database",
|
||||
"migrate.fact.accounts": "Accounts",
|
||||
"migrate.fact.characters": "Characters",
|
||||
"migrate.unknown": "unknown",
|
||||
"migrate.countLater": "counted while copying",
|
||||
"migrate.db.running": "running",
|
||||
"migrate.db.stopped": "stopped",
|
||||
"migrate.db.missing": "not found",
|
||||
"migrate.db.missingText": "This server has no database folder (mysql\\data), so there is nothing to copy.",
|
||||
"migrate.copied": "What is copied",
|
||||
"migrate.copied.schemas": "Every game database: {list}.",
|
||||
"migrate.copied.allSchemas": "Every game database (accounts, characters, world, bots); the list is read while copying.",
|
||||
"migrate.copied.settings": "Module settings and realm profiles: {n} files.",
|
||||
"install.copy.worldSkipped": "World settings the new version did not take:",
|
||||
"install.copy.worldSettings": "World settings carried over: {n}.",
|
||||
"migrate.copied.world": "World settings changed in Server Configuration (rates and the like).",
|
||||
"migrate.copied.ports": "Ports and the console login, as the old server has them.",
|
||||
"migrate.copied.modules": "The modules the old server has switched on are built for the modular core during the copy.",
|
||||
"migrate.copied.worlds": "Extra worlds ({list}): their databases go along and they stay switched on.",
|
||||
"migrate.notCopied": "What is not copied",
|
||||
"migrate.notCopied.conf": "worldserver.conf and authserver.conf themselves: the new server makes them from its own templates. Values changed in Server Configuration are set on the new server.",
|
||||
"migrate.notCopied.merge": "Nothing is merged into {name} or any other existing server: the copy is always a new server in a new folder.",
|
||||
"migrate.risks": "Before you start",
|
||||
"migrate.risk.oldKept": "The old server is only read. Its folder and database are not changed, and you can keep using it.",
|
||||
"migrate.risk.ports": "Both servers use the same ports: run only one of them at a time.",
|
||||
"migrate.risk.running": "Its database is running and is read as it is at that moment. Stop its world first so players and bots do not change data while it is copied.",
|
||||
"migrate.risk.stopped": "Its database is stopped: its files ({gb} GB) are copied once more while they are read, so that much extra space is needed.",
|
||||
"migrate.risk.build": "Modules are compiled on this PC with Microsoft's C++ build tools; the SQUID bots alone can take up to an hour.",
|
||||
"migrate.start": "Make the modular copy",
|
||||
"q.modules": "What extra features does the server have?",
|
||||
"mod.ahbot.types": "Item types for sale",
|
||||
"mod.ahbot.typesHint": "Choose types for new listings. Existing auctions remain. Enabling a type restores its previous weights in this session, or the configured defaults.",
|
||||
|
||||
+44
-1
@@ -849,7 +849,50 @@ const ru: Partial<Record<keyof typeof en, string>> = {
|
||||
"realm.confirmDelete": "Удалить реалмлист «{name}»? В игровом клиенте останется текущий файл.",
|
||||
"nav.modules": "Модули",
|
||||
"nav.migration": "Перенос сервера",
|
||||
"q.migration": "Перенос данных из существующего сервера в этот мир Preview",
|
||||
"q.migration": "Перенос сервера с классическим ядром на модульное: копия рядом",
|
||||
"migrate.title": "Перенос сервера",
|
||||
"migrate.subtitle": "Сервер с классическим ядром не переделывается на месте. Рядом ставится новый сервер с модульным ядром, и в него копируются аккаунты, персонажи, мир, боты и настройки модулей.",
|
||||
"migrate.source": "Какой сервер перенести",
|
||||
"migrate.browse": "Обзор…",
|
||||
"migrate.inspect": "Проверить",
|
||||
"migrate.dialogTitle": "Выберите основную папку сервера",
|
||||
"migrate.readOnly": "Проверка только читает папку; у запущенной базы лишь спрашивает количество. Ничего не запускается и не меняется.",
|
||||
"migrate.classic.title": "Классическое ядро: можно скопировать",
|
||||
"migrate.classic.text": "Копия станет новым сервером с модульным ядром. Этот сервер останется как есть.",
|
||||
"migrate.modular.title": "Уже модульное ядро",
|
||||
"migrate.modular.text": "Переносить нечего. Чтобы управлять этим сервером здесь, добавьте его через «Manage another server».",
|
||||
"migrate.none.title": "Сервер не найден",
|
||||
"migrate.none.text": "В этой папке нет Core\\worldserver.exe Windows-сервера. Выберите основную папку сервера.",
|
||||
"migrate.fact.version": "Версия",
|
||||
"migrate.fact.database": "База данных",
|
||||
"migrate.fact.accounts": "Аккаунтов",
|
||||
"migrate.fact.characters": "Персонажей",
|
||||
"migrate.unknown": "неизвестна",
|
||||
"migrate.countLater": "посчитаем при копировании",
|
||||
"migrate.db.running": "запущена",
|
||||
"migrate.db.stopped": "остановлена",
|
||||
"migrate.db.missing": "не найдена",
|
||||
"migrate.db.missingText": "У этого сервера нет папки базы данных (mysql\\data), копировать нечего.",
|
||||
"migrate.copied": "Что копируется",
|
||||
"migrate.copied.schemas": "Все игровые базы: {list}.",
|
||||
"migrate.copied.allSchemas": "Все игровые базы (аккаунты, персонажи, мир, боты); список прочитаем при копировании.",
|
||||
"migrate.copied.settings": "Настройки модулей и профили миров: файлов — {n}.",
|
||||
"install.copy.worldSkipped": "Настройки мира, которые новая версия не приняла:",
|
||||
"install.copy.worldSettings": "Перенесено настроек мира: {n}.",
|
||||
"migrate.copied.world": "Настройки мира, изменённые в Server Configuration (рейты и т. п.).",
|
||||
"migrate.copied.ports": "Порты и вход в консоль, как у старого сервера.",
|
||||
"migrate.copied.modules": "Модули, включённые на старом сервере, собираются под модульное ядро во время копирования.",
|
||||
"migrate.copied.worlds": "Дополнительные миры ({list}): их базы копируются, и они остаются включёнными.",
|
||||
"migrate.notCopied": "Что не копируется",
|
||||
"migrate.notCopied.conf": "Сами worldserver.conf и authserver.conf: новый сервер делает их из своих шаблонов. Значения, изменённые в Server Configuration, задаются на новом сервере.",
|
||||
"migrate.notCopied.merge": "Ничего не сливается в {name} или другой существующий сервер: копия — всегда новый сервер в новой папке.",
|
||||
"migrate.risks": "Перед началом",
|
||||
"migrate.risk.oldKept": "Старый сервер только читается. Его папка и база не меняются, им можно продолжать пользоваться.",
|
||||
"migrate.risk.ports": "У обоих серверов одинаковые порты: запускайте только один из них.",
|
||||
"migrate.risk.running": "Его база запущена и будет прочитана в том виде, в каком она в этот момент. Сначала остановите его мир, чтобы игроки и боты не меняли данные во время копирования.",
|
||||
"migrate.risk.stopped": "Его база остановлена: её файлы ({gb} ГБ) на время чтения копируются ещё раз, нужно столько же свободного места.",
|
||||
"migrate.risk.build": "Модули компилируются на этом ПК инструментами сборки C++ от Microsoft; одни только боты SQUID могут собираться до часа.",
|
||||
"migrate.start": "Сделать модульную копию",
|
||||
"q.modules": "Какие дополнительные возможности есть у сервера?",
|
||||
"mod.ahbot.types": "Типы предметов в продаже",
|
||||
"mod.ahbot.typesHint": "Выберите типы для новых лотов. Уже выставленные лоты останутся. При включении возвращаются прежние веса этой сессии или значения по умолчанию.",
|
||||
|
||||
Reference in new issue
Block a user