mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-19 03:25:56 +00:00
Compare commits
11
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b9e663079e | ||
|
|
d7693b0878 | ||
|
|
1f64da3ae0 | ||
|
|
1aec8e5394 | ||
|
|
326a4fe3d3 | ||
|
|
e951eb134b | ||
|
|
6cbf007d72 | ||
|
|
07e9bc497d | ||
|
|
e4edb7cbdd | ||
|
|
ca2514c790 | ||
|
|
69c9938aba |
No files matched your search
@@ -8,6 +8,23 @@ Published releases and previews. Pre-release entries do not change the stable up
|
|||||||
|
|
||||||
Dates follow GitHub publication (UTC); legacy records retain their archived dates. Newest releases first.
|
Dates follow GitHub publication (UTC); legacy records retain their archived dates. Newest releases first.
|
||||||
|
|
||||||
|
## 0.9.14 — 2026-11-16
|
||||||
|
|
||||||
|
- Install community addons from the Manager.
|
||||||
|
- Old item and creature data is cleared before every Play.
|
||||||
|
- Turning the custom races client patch on or off takes seconds again.
|
||||||
|
- The database moves to a free port when Windows reserves or another program takes 3307.
|
||||||
|
- Your own MySQL settings survive restarts and updates.
|
||||||
|
- Disabled custom races stay disabled after a server update that adds races.
|
||||||
|
- Rename your realms in the Manager.
|
||||||
|
- The account for a friend's server is in the login box at every Play.
|
||||||
|
- Restart the world every day at a chosen time.
|
||||||
|
- Switches for the Custom Races V2 subclasses, Hero Races and the /dev menu.
|
||||||
|
- Companion bots on Wildcard and Warcraft Reborn.
|
||||||
|
- The Custom Races card tells which characters stay out while races are off.
|
||||||
|
|
||||||
|
[Release](https://github.com/Corfirean/coa-server-manager/releases/tag/v0.9.14) · [Source changes](https://github.com/Corfirean/coa-server-manager/compare/v0.9.13...v0.9.14)
|
||||||
|
|
||||||
## 0.9.13 — 2026-11-15
|
## 0.9.13 — 2026-11-15
|
||||||
|
|
||||||
- The custom races client is updated to Custom Races V2.
|
- The custom races client is updated to Custom Races V2.
|
||||||
|
|||||||
Generated
+5
-4
@@ -586,7 +586,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "coa-core"
|
name = "coa-core"
|
||||||
version = "0.9.13"
|
version = "0.9.14"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"base64 0.22.1",
|
"base64 0.22.1",
|
||||||
"chrono",
|
"chrono",
|
||||||
@@ -621,7 +621,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "coa-launcher"
|
name = "coa-launcher"
|
||||||
version = "0.9.13"
|
version = "0.9.14"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"coa-core",
|
"coa-core",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
@@ -644,7 +644,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "coa-release"
|
name = "coa-release"
|
||||||
version = "0.9.13"
|
version = "0.9.14"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"coa-core",
|
"coa-core",
|
||||||
@@ -653,7 +653,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "coa-server-manager"
|
name = "coa-server-manager"
|
||||||
version = "0.9.13"
|
version = "0.9.14"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"coa-control-proto",
|
"coa-control-proto",
|
||||||
"coa-core",
|
"coa-core",
|
||||||
@@ -668,6 +668,7 @@ dependencies = [
|
|||||||
"tauri-plugin-single-instance",
|
"tauri-plugin-single-instance",
|
||||||
"tauri-plugin-updater",
|
"tauri-plugin-updater",
|
||||||
"tracing",
|
"tracing",
|
||||||
|
"uuid",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@ members = ["crates/coa-core", "crates/coa-launcher", "crates/coa-release", "crat
|
|||||||
exclude = ["services/coa-registry", "services/coa-registry-e2e", "services/coa-coordinator", "services/coa-relay"]
|
exclude = ["services/coa-registry", "services/coa-registry-e2e", "services/coa-coordinator", "services/coa-relay"]
|
||||||
|
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
version = "0.9.13"
|
version = "0.9.14"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "AGPL-3.0-only"
|
license = "AGPL-3.0-only"
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,6 @@
|
|||||||
area: manager
|
area: manager
|
||||||
type: added
|
type: added
|
||||||
audience: players
|
audience: players
|
||||||
title: The game cache is cleared before every Play
|
title: Old item and creature data is cleared before every Play
|
||||||
---
|
---
|
||||||
After a server update the game showed old names and stats from its own cache (Cache/WDB). Play now clears that cache first; it fills again within seconds. A switch next to the client graphics settings turns it off.
|
After a server update the game showed old names and stats from its own cache (Cache/WDB). Play now clears that cache first; it fills again within seconds. A switch next to the client graphics settings turns it off.
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
area: manager
|
||||||
|
type: added
|
||||||
|
audience: admins
|
||||||
|
title: Companion bots on Wildcard and Warcraft Reborn
|
||||||
|
---
|
||||||
|
With a server build that supports it, Companions can be switched on for Wildcard and Warcraft Reborn: bots get whole Wildcard archetypes or Reborn abilities by level, and bot creation survives a crash without duplicates.
|
||||||
+35
-1
@@ -178,7 +178,19 @@
|
|||||||
"Corfirean/coa-server-manager:20261031-validation-mysql-reuse.md",
|
"Corfirean/coa-server-manager:20261031-validation-mysql-reuse.md",
|
||||||
"Corfirean/coa-server-manager:20261103-isolated-login-port.md",
|
"Corfirean/coa-server-manager:20261103-isolated-login-port.md",
|
||||||
"Corfirean/coa-server-manager:20261107-bot-strength-scaling-settings.md",
|
"Corfirean/coa-server-manager:20261107-bot-strength-scaling-settings.md",
|
||||||
"Corfirean/coa-server-manager:20261115-custom-races-v2-client.md"
|
"Corfirean/coa-server-manager:20261115-addon-catalog.md",
|
||||||
|
"Corfirean/coa-server-manager:20261115-clear-game-cache.md",
|
||||||
|
"Corfirean/coa-server-manager:20261115-custom-races-fast-toggle.md",
|
||||||
|
"Corfirean/coa-server-manager:20261115-custom-races-v2-client.md",
|
||||||
|
"Corfirean/coa-server-manager:20261115-database-port-relocation.md",
|
||||||
|
"Corfirean/coa-server-manager:20261115-mysql-custom-options.md",
|
||||||
|
"Corfirean/coa-server-manager:20261115-race-restriction-kept.md",
|
||||||
|
"Corfirean/coa-server-manager:20261115-realm-names.md",
|
||||||
|
"Corfirean/coa-server-manager:20261115-remembered-friend-login.md",
|
||||||
|
"Corfirean/coa-server-manager:20261115-scheduled-restart.md",
|
||||||
|
"Corfirean/coa-server-manager:20261115-v2-feature-switches.md",
|
||||||
|
"Corfirean/coa-server-manager:20261116-companions-wildcard-reborn.md",
|
||||||
|
"Corfirean/coa-server-manager:20261116-custom-race-characters-off.md"
|
||||||
],
|
],
|
||||||
"releases": [
|
"releases": [
|
||||||
{
|
{
|
||||||
@@ -936,6 +948,28 @@
|
|||||||
],
|
],
|
||||||
"commit": "d3527312803fb5a3e1cd48e01496645a8bbc9dcf",
|
"commit": "d3527312803fb5a3e1cd48e01496645a8bbc9dcf",
|
||||||
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.9.12...v0.9.13"
|
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.9.12...v0.9.13"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tag": "v0.9.14",
|
||||||
|
"version": "0.9.14",
|
||||||
|
"date": "2026-11-16",
|
||||||
|
"url": "https://github.com/Corfirean/coa-server-manager/releases/tag/v0.9.14",
|
||||||
|
"notes": [
|
||||||
|
"Install community addons from the Manager",
|
||||||
|
"Old item and creature data is cleared before every Play",
|
||||||
|
"Turning the custom races client patch on or off takes seconds again",
|
||||||
|
"The database moves to a free port when Windows reserves or another program takes 3307",
|
||||||
|
"Your own MySQL settings survive restarts and updates",
|
||||||
|
"Disabled custom races stay disabled after a server update that adds races",
|
||||||
|
"Rename your realms in the Manager",
|
||||||
|
"The account for a friend's server is in the login box at every Play",
|
||||||
|
"Restart the world every day at a chosen time",
|
||||||
|
"Switches for the Custom Races V2 subclasses, Hero Races and the /dev menu",
|
||||||
|
"Companion bots on Wildcard and Warcraft Reborn",
|
||||||
|
"The Custom Races card tells which characters stay out while races are off"
|
||||||
|
],
|
||||||
|
"commit": "1f64da3ae064b3f02d2bb11d818c44d26a557045",
|
||||||
|
"compare": "https://github.com/Corfirean/coa-server-manager/compare/v0.9.13...v0.9.14"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
File diff suppressed because it is too large.
Load diff
@@ -176,6 +176,32 @@ fn installed_module_commits(root: &Path) -> BTreeMap<String, String> {
|
|||||||
Default::default()
|
Default::default()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// The companion bots of this server build play Wildcard and Warcraft Reborn: their bot profiles for the standard
|
||||||
|
/// classes are in the world server or its bots plugin. Older builds only know Conquest of Azeroth characters.
|
||||||
|
pub fn companions_on_other_realms(root: &Path) -> bool {
|
||||||
|
use std::collections::HashMap;
|
||||||
|
use std::sync::{Mutex, OnceLock};
|
||||||
|
static SEEN: OnceLock<Mutex<HashMap<(PathBuf, u64, Option<std::time::SystemTime>), bool>>> = OnceLock::new();
|
||||||
|
const MARKER: &[u8] = b"Druid_Guardian_Tank";
|
||||||
|
let mut files = vec![crate::layout::executables(root).0];
|
||||||
|
if let Ok(plugins) = fs::read_dir(root.join("Core/plugins")) {
|
||||||
|
files.extend(plugins.flatten().map(|e| e.path()).filter(|p| p.extension().is_some_and(|x| x.eq_ignore_ascii_case("dll"))));
|
||||||
|
}
|
||||||
|
files.into_iter().any(|file| {
|
||||||
|
let Ok(meta) = fs::metadata(&file) else { return false };
|
||||||
|
let key = (file.clone(), meta.len(), meta.modified().ok());
|
||||||
|
let seen = SEEN.get_or_init(Mutex::default);
|
||||||
|
if let Some(found) = seen.lock().ok().and_then(|s| s.get(&key).copied()) {
|
||||||
|
return found;
|
||||||
|
}
|
||||||
|
let found = fs::read(&file).is_ok_and(|bytes| bytes.windows(MARKER.len()).any(|w| w == MARKER));
|
||||||
|
if let Ok(mut s) = seen.lock() {
|
||||||
|
s.insert(key, found);
|
||||||
|
}
|
||||||
|
found
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
fn list_in(cat: &[Entry], root: &Path) -> Vec<ModuleView> {
|
fn list_in(cat: &[Entry], root: &Path) -> Vec<ModuleView> {
|
||||||
let installed_commits = installed_module_commits(root);
|
let installed_commits = installed_module_commits(root);
|
||||||
let wildcard = crate::realms::state(root)
|
let wildcard = crate::realms::state(root)
|
||||||
@@ -208,7 +234,9 @@ fn list_in(cat: &[Entry], root: &Path) -> Vec<ModuleView> {
|
|||||||
.map(|enabled| !enabled)
|
.map(|enabled| !enabled)
|
||||||
.unwrap_or(true);
|
.unwrap_or(true);
|
||||||
let blocked = dependency_missing
|
let blocked = dependency_missing
|
||||||
|| (wildcard && matches!(e.id.as_str(), "companions" | "playerbots" | "dungeon-clear"));
|
|| (wildcard
|
||||||
|
&& (matches!(e.id.as_str(), "playerbots" | "dungeon-clear")
|
||||||
|
|| (e.id == "companions" && !companions_on_other_realms(root))));
|
||||||
let version = if e.id == "playerbots" {
|
let version = if e.id == "playerbots" {
|
||||||
crate::squid::release(root).map(|release| {
|
crate::squid::release(root).map(|release| {
|
||||||
[
|
[
|
||||||
@@ -722,6 +750,27 @@ mod tests {
|
|||||||
assert!(meta.join("backups").exists());
|
assert!(meta.join("backups").exists());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn companions_open_on_other_realms_only_with_a_build_that_plays_them() {
|
||||||
|
let temp = tempfile::tempdir().unwrap();
|
||||||
|
let root = temp.path().join("server");
|
||||||
|
fs::create_dir_all(dir(&root)).unwrap();
|
||||||
|
fs::create_dir_all(root.join("Settings")).unwrap();
|
||||||
|
fs::write(root.join("Settings/realm-profile.json"), r#"{"active":"wildcard","wildcard_created":true}"#).unwrap();
|
||||||
|
for e in catalog().iter().filter(|e| matches!(e.id.as_str(), "companions" | "playerbots")) {
|
||||||
|
fs::write(dir(&root).join(format!("{}.dist", e.conf)), format!("{} = 0\n", e.enable_key)).unwrap();
|
||||||
|
}
|
||||||
|
let exe = crate::layout::executables(&root).0;
|
||||||
|
fs::write(&exe, b"an old world server").unwrap();
|
||||||
|
let view = |id: &str| list(&root).into_iter().find(|m| m.id == id).unwrap();
|
||||||
|
assert_eq!(view("companions").compatibility, "unsupported");
|
||||||
|
fs::write(&exe, b"profiles ... Druid_Guardian_Tank ... a new world server").unwrap();
|
||||||
|
assert!(companions_on_other_realms(&root));
|
||||||
|
assert_eq!(view("companions").compatibility, "experimental");
|
||||||
|
assert!(view("companions").switchable);
|
||||||
|
assert_eq!(view("playerbots").compatibility, "unsupported", "SQUID stays CoA-only");
|
||||||
|
}
|
||||||
|
|
||||||
fn test_catalog() -> Vec<Entry> {
|
fn test_catalog() -> Vec<Entry> {
|
||||||
let one = |id: &str, name: &str, conf: &str, key: &str| Entry {
|
let one = |id: &str, name: &str, conf: &str, key: &str| Entry {
|
||||||
id: id.into(),
|
id: id.into(),
|
||||||
|
|||||||
@@ -97,6 +97,58 @@ pub fn world_root(main: &Path, mode: Mode) -> PathBuf {
|
|||||||
.map_or_else(|| main.to_path_buf(), |t| tree_root(main, t))
|
.map_or_else(|| main.to_path_buf(), |t| tree_root(main, t))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[derive(Debug, Clone)]
|
||||||
|
pub struct BotOperationTarget {
|
||||||
|
pub world_root: PathBuf,
|
||||||
|
pub chars_db: &'static str,
|
||||||
|
pub ra_port: u16,
|
||||||
|
pub running: bool,
|
||||||
|
pub realm: Mode,
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn resolve_bot_operation_target(main: &Path, realm: Mode) -> Result<BotOperationTarget> {
|
||||||
|
let state = realms::state(main)?;
|
||||||
|
let chars_db = realm.schema("characters")?;
|
||||||
|
|
||||||
|
if realm == state.active {
|
||||||
|
let ports = crate::layout::read_ports(main);
|
||||||
|
let ra_port = ports.ra;
|
||||||
|
let status = process::observe(main, &ports);
|
||||||
|
let running = status.world.state != ServiceState::Stopped;
|
||||||
|
return Ok(BotOperationTarget {
|
||||||
|
world_root: main.to_path_buf(),
|
||||||
|
chars_db,
|
||||||
|
ra_port,
|
||||||
|
running,
|
||||||
|
realm,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
let tree = Tree::ALL
|
||||||
|
.into_iter()
|
||||||
|
.find(|t| t.enabled(&state) && t.mode(state.active) == realm)
|
||||||
|
.ok_or_else(|| Error::Invalid(format!("Realm {} is not enabled in multiworld configuration.", realm.label())))?;
|
||||||
|
|
||||||
|
let root = tree_root(main, tree);
|
||||||
|
if !root.exists() {
|
||||||
|
return Err(Error::Invalid(format!("Multiworld directory for {} does not exist: {}", realm.label(), root.display())));
|
||||||
|
}
|
||||||
|
|
||||||
|
let ports = crate::layout::read_ports(&root);
|
||||||
|
let (_, default_ra) = tree.ports(&state);
|
||||||
|
let ra_port = if ports.ra != 0 { ports.ra } else { default_ra.unwrap_or(3444) };
|
||||||
|
let status = process::observe(&root, &ports);
|
||||||
|
let running = status.world.state != ServiceState::Stopped;
|
||||||
|
|
||||||
|
Ok(BotOperationTarget {
|
||||||
|
world_root: root,
|
||||||
|
chars_db,
|
||||||
|
ra_port,
|
||||||
|
running,
|
||||||
|
realm,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
/// Any of the extra worlds is running or still stopping.
|
/// Any of the extra worlds is running or still stopping.
|
||||||
pub fn is_running(main: &Path) -> bool {
|
pub fn is_running(main: &Path) -> bool {
|
||||||
Tree::ALL.into_iter().any(|t| tree_running(main, t))
|
Tree::ALL.into_iter().any(|t| tree_running(main, t))
|
||||||
@@ -261,6 +313,12 @@ fn prepare(main: &Path, tree: Tree) -> Result<PathBuf> {
|
|||||||
&fsx::ensure_within(&second, &second.join("Core/reference"))?,
|
&fsx::ensure_within(&second, &second.join("Core/reference"))?,
|
||||||
)?;
|
)?;
|
||||||
}
|
}
|
||||||
|
if main.join("Core/plugins").is_dir() {
|
||||||
|
copy_tree(
|
||||||
|
&main.join("Core/plugins"),
|
||||||
|
&fsx::ensure_within(&second, &second.join("Core/plugins"))?,
|
||||||
|
)?;
|
||||||
|
}
|
||||||
for entry in fs::read_dir(main.join("Core"))? {
|
for entry in fs::read_dir(main.join("Core"))? {
|
||||||
let entry = entry?;
|
let entry = entry?;
|
||||||
if entry.file_type()?.is_file()
|
if entry.file_type()?.is_file()
|
||||||
|
|||||||
@@ -49,17 +49,19 @@ fn parse_counts(out: &str) -> Result<Population> {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Read-only query with the game's own database account. Requires the database to be running.
|
/// Read-only query with the game's own database account. Routes automatically to the active realm's characters database.
|
||||||
pub fn query(root: &Path) -> Result<Population> {
|
pub fn query(root: &Path) -> Result<Population> {
|
||||||
let db = Db::from_repack(root, Account::App)?;
|
let mode = crate::realms::state(root)
|
||||||
query_with(
|
.map(|s| s.active)
|
||||||
&db,
|
.unwrap_or(crate::realms::Mode::Coa);
|
||||||
&bot_account_prefix(root),
|
query_for_realm(root, mode)
|
||||||
&crate::accounts::squid_bot_prefix(root),
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fn counts_sql(prefix: &str, squid_prefix: &str) -> Result<String> {
|
fn counts_sql(prefix: &str, squid_prefix: &str) -> Result<String> {
|
||||||
|
counts_sql_for_db("acore_characters", prefix, squid_prefix)
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn counts_sql_for_db(chars_db: &str, prefix: &str, squid_prefix: &str) -> Result<String> {
|
||||||
if [prefix, squid_prefix]
|
if [prefix, squid_prefix]
|
||||||
.iter()
|
.iter()
|
||||||
.any(|prefix| prefix.is_empty() || !prefix.chars().all(|c| c.is_ascii_alphanumeric()))
|
.any(|prefix| prefix.is_empty() || !prefix.chars().all(|c| c.is_ascii_alphanumeric()))
|
||||||
@@ -74,9 +76,9 @@ fn counts_sql(prefix: &str, squid_prefix: &str) -> Result<String> {
|
|||||||
let bots =
|
let bots =
|
||||||
format!("(UPPER(a.username) LIKE '{prefix}%' OR UPPER(a.username) LIKE '{squid_prefix}%')");
|
format!("(UPPER(a.username) LIKE '{prefix}%' OR UPPER(a.username) LIKE '{squid_prefix}%')");
|
||||||
Ok(format!(
|
Ok(format!(
|
||||||
"SELECT (SELECT COUNT(*) FROM acore_characters.characters WHERE online=1), \
|
"SELECT (SELECT COUNT(*) FROM {chars_db}.characters WHERE online=1), \
|
||||||
(SELECT COUNT(*) FROM acore_characters.characters c JOIN acore_auth.account a ON a.id=c.account WHERE c.online=1 AND {bots}), \
|
(SELECT COUNT(*) FROM {chars_db}.characters c JOIN acore_auth.account a ON a.id=c.account WHERE c.online=1 AND {bots}), \
|
||||||
(SELECT COUNT(*) FROM acore_characters.characters c JOIN acore_auth.account a ON a.id=c.account WHERE {bots});"
|
(SELECT COUNT(*) FROM {chars_db}.characters c JOIN acore_auth.account a ON a.id=c.account WHERE {bots});"
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -85,6 +87,21 @@ pub fn query_with(db: &Db, prefix: &str, squid_prefix: &str) -> Result<Populatio
|
|||||||
parse_counts(&db.query(&counts_sql(prefix, squid_prefix)?)?)
|
parse_counts(&db.query(&counts_sql(prefix, squid_prefix)?)?)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn query_for_schema(db: &Db, chars_db: &str, prefix: &str, squid_prefix: &str) -> Result<Population> {
|
||||||
|
parse_counts(&db.query(&counts_sql_for_db(chars_db, prefix, squid_prefix)?)?)
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn query_for_realm(root: &Path, mode: crate::realms::Mode) -> Result<Population> {
|
||||||
|
let db = Db::from_repack(root, Account::App)?;
|
||||||
|
let schema = mode.schema("characters")?;
|
||||||
|
query_for_schema(
|
||||||
|
&db,
|
||||||
|
schema,
|
||||||
|
&bot_account_prefix(root),
|
||||||
|
&crate::accounts::squid_bot_prefix(root),
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone, Serialize)]
|
#[derive(Debug, Clone, Serialize)]
|
||||||
pub struct Hardware {
|
pub struct Hardware {
|
||||||
pub cores: u32,
|
pub cores: u32,
|
||||||
|
|||||||
@@ -58,6 +58,23 @@ impl Ra {
|
|||||||
Self::connect_to(read_ports(root).ra, &cfg.ra_username, &cfg.ra_password)
|
Self::connect_to(read_ports(root).ra, &cfg.ra_username, &cfg.ra_password)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Connect to the loopback RA port of the target realm world server.
|
||||||
|
pub fn connect_target(main: &Path, realm: Option<crate::realms::Mode>) -> Result<Ra> {
|
||||||
|
let mode = realm.unwrap_or_else(|| {
|
||||||
|
crate::realms::view(main).map(|v| v.active).unwrap_or_default()
|
||||||
|
});
|
||||||
|
let target = crate::multiworld::resolve_bot_operation_target(main, mode)?;
|
||||||
|
if !target.running {
|
||||||
|
return Err(Error::Invalid(format!(
|
||||||
|
"Realm {} worldserver is stopped; cannot execute online bot operation.",
|
||||||
|
target.realm.label()
|
||||||
|
)));
|
||||||
|
}
|
||||||
|
let cfg: RaSettings = fsx::read_json(&main.join("Settings/repack.json"))
|
||||||
|
.map_err(|_| Error::Invalid("The server console settings could not be read.".into()))?;
|
||||||
|
Self::connect_to(target.ra_port, &cfg.ra_username, &cfg.ra_password)
|
||||||
|
}
|
||||||
|
|
||||||
pub fn connect_to(port: u16, user: &str, password: &str) -> Result<Ra> {
|
pub fn connect_to(port: u16, user: &str, password: &str) -> Result<Ra> {
|
||||||
let addr: SocketAddr = ([127, 0, 0, 1], port).into();
|
let addr: SocketAddr = ([127, 0, 0, 1], port).into();
|
||||||
let mut stream =
|
let mut stream =
|
||||||
@@ -87,7 +104,6 @@ impl Ra {
|
|||||||
let c = crate::console::check_command(cmd)?;
|
let c = crate::console::check_command(cmd)?;
|
||||||
self.command(c)
|
self.command(c)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Send a command whose answer does not matter (`server shutdown`). The reply is still read (up to the next
|
/// Send a command whose answer does not matter (`server shutdown`). The reply is still read (up to the next
|
||||||
/// prompt, the end of the connection, or a few seconds): closing a socket that holds unread data resets the
|
/// prompt, the end of the connection, or a few seconds): closing a socket that holds unread data resets the
|
||||||
/// connection, and the server can then drop the command it has not processed yet.
|
/// connection, and the server can then drop the command it has not processed yet.
|
||||||
@@ -110,7 +126,6 @@ impl Ra {
|
|||||||
let _ = self.stream.shutdown(std::net::Shutdown::Both);
|
let _ = self.stream.shutdown(std::net::Shutdown::Both);
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
fn command(&mut self, cmd: &str) -> Result<String> {
|
fn command(&mut self, cmd: &str) -> Result<String> {
|
||||||
debug_assert!(!cmd.contains(['\r', '\n']));
|
debug_assert!(!cmd.contains(['\r', '\n']));
|
||||||
self.stream.write_all(format!("{cmd}\r\n").as_bytes())?;
|
self.stream.write_all(format!("{cmd}\r\n").as_bytes())?;
|
||||||
@@ -277,6 +292,41 @@ impl Ra {
|
|||||||
Ok(out.lines().last().unwrap_or("").to_string())
|
Ok(out.lines().last().unwrap_or("").to_string())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Ask the bot module to spawn a fleet of bots of specific race and level (.botcmd spawnfleet <race> <level>).
|
||||||
|
pub fn spawn_fleet(&mut self, race: u8, level: u8) -> Result<String> {
|
||||||
|
let out = self.bot_command(&format!("botcmd spawnfleet {race} {level}"))?;
|
||||||
|
Ok(out.lines().last().unwrap_or("").to_string())
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn spawn_custom(
|
||||||
|
&mut self,
|
||||||
|
count: u32,
|
||||||
|
level: u8,
|
||||||
|
class_id: Option<u8>,
|
||||||
|
spec_id: Option<u32>,
|
||||||
|
archetype: Option<&str>,
|
||||||
|
) -> Result<String> {
|
||||||
|
let c = class_id.unwrap_or(0);
|
||||||
|
let s = spec_id.unwrap_or(0);
|
||||||
|
let a = archetype.unwrap_or("").trim();
|
||||||
|
let mut cmd = format!("botcmd spawncustom {count} {level}");
|
||||||
|
if !a.is_empty() {
|
||||||
|
cmd.push_str(&format!(" {c} {s} {a}"));
|
||||||
|
} else if s > 0 {
|
||||||
|
cmd.push_str(&format!(" {c} {s}"));
|
||||||
|
} else if c > 0 {
|
||||||
|
cmd.push_str(&format!(" {c}"));
|
||||||
|
}
|
||||||
|
let out = self.bot_command(&cmd)?;
|
||||||
|
Ok(out.lines().last().unwrap_or("").to_string())
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Bring all offline bots online gradually (.botcmd loginall).
|
||||||
|
pub fn login_all(&mut self) -> Result<String> {
|
||||||
|
let out = self.bot_command("botcmd loginall")?;
|
||||||
|
Ok(out.lines().last().unwrap_or("").to_string())
|
||||||
|
}
|
||||||
|
|
||||||
/// Set a new password for an existing account.
|
/// Set a new password for an existing account.
|
||||||
pub fn set_account_password(&mut self, name: &str, password: &str) -> Result<()> {
|
pub fn set_account_password(&mut self, name: &str, password: &str) -> Result<()> {
|
||||||
validate_account(name, password)?;
|
validate_account(name, password)?;
|
||||||
|
|||||||
@@ -185,8 +185,20 @@ pub fn view(root: &Path) -> Result<View> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn guard_module(root: &Path, id: &str) -> Result<()> {
|
pub fn guard_module(root: &Path, id: &str) -> Result<()> {
|
||||||
if state(root)?.active != Mode::Coa && matches!(id, "companions" | "playerbots") {
|
let s = state(root)?;
|
||||||
return Err(Error::Invalid("Bot class mechanics have not been validated for this realm. This module is unavailable on this realm.".into()));
|
if matches!(id, "companions" | "playerbots") {
|
||||||
|
if let Ok(v) = view(root) {
|
||||||
|
if s.active == Mode::Wildcard && !v.supported {
|
||||||
|
return Err(Error::Invalid(
|
||||||
|
"The installed server binary does not support Wildcard mode.".into(),
|
||||||
|
));
|
||||||
|
}
|
||||||
|
if s.active == Mode::Reborn && !v.reborn_supported {
|
||||||
|
return Err(Error::Invalid(
|
||||||
|
"The installed server binary does not support Warcraft Reborn mode.".into(),
|
||||||
|
));
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
@@ -296,20 +308,14 @@ fn wildcard_configs(mut files: Files) -> Result<Files> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (key, value) in [("CoaBots.Enable", "0"), ("CoaBots.AutoLoginOnStartup", "0")] {
|
// Preserve existing CoaBots.Enable if present; do not force enable or alter alternative bot systems
|
||||||
set(
|
if let Some(bytes) = files.get("Core/configs/modules/mod_coa_playerbots.conf") {
|
||||||
&mut files,
|
if let Ok(conf) = ConfFile::parse_bytes(bytes) {
|
||||||
"Core/configs/modules/mod_coa_playerbots.conf",
|
if conf.get("CoaBots.Enable") == Some("1") {
|
||||||
key,
|
set(&mut files, "Core/configs/modules/mod_coa_playerbots.conf", "CoaBots.Enable", "1")?;
|
||||||
value,
|
}
|
||||||
)?;
|
}
|
||||||
}
|
}
|
||||||
set(
|
|
||||||
&mut files,
|
|
||||||
"Core/configs/modules/playerbots.conf",
|
|
||||||
"AiPlayerbot.Enabled",
|
|
||||||
"0",
|
|
||||||
)?;
|
|
||||||
Ok(files)
|
Ok(files)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -337,20 +343,14 @@ fn reborn_configs(mut files: Files) -> Result<Files> {
|
|||||||
set(&mut files, path, "RealmID", "3")?;
|
set(&mut files, path, "RealmID", "3")?;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (key, value) in [("CoaBots.Enable", "0"), ("CoaBots.AutoLoginOnStartup", "0")] {
|
// Preserve existing CoaBots.Enable if present; do not force enable or alter alternative bot systems
|
||||||
set(
|
if let Some(bytes) = files.get("Core/configs/modules/mod_coa_playerbots.conf") {
|
||||||
&mut files,
|
if let Ok(conf) = ConfFile::parse_bytes(bytes) {
|
||||||
"Core/configs/modules/mod_coa_playerbots.conf",
|
if conf.get("CoaBots.Enable") == Some("1") {
|
||||||
key,
|
set(&mut files, "Core/configs/modules/mod_coa_playerbots.conf", "CoaBots.Enable", "1")?;
|
||||||
value,
|
}
|
||||||
)?;
|
}
|
||||||
}
|
}
|
||||||
set(
|
|
||||||
&mut files,
|
|
||||||
"Core/configs/modules/playerbots.conf",
|
|
||||||
"AiPlayerbot.Enabled",
|
|
||||||
"0",
|
|
||||||
)?;
|
|
||||||
Ok(files)
|
Ok(files)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -681,19 +681,7 @@ pub fn before_start(root: &Path) -> Result<()> {
|
|||||||
"The installed server build does not support Wildcard.".into(),
|
"The installed server build does not support Wildcard.".into(),
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
let path = root.join("Core/configs/modules/mod_coa_playerbots.conf");
|
// Multi-realm Playerbots 1.0: bots are supported and enabled on all realms
|
||||||
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(())
|
Ok(())
|
||||||
}
|
}
|
||||||
@@ -813,11 +801,12 @@ mod tests {
|
|||||||
.get("RealmID"),
|
.get("RealmID"),
|
||||||
Some("3")
|
Some("3")
|
||||||
);
|
);
|
||||||
|
// Requirement 6: Never alter alternative bot system settings (AiPlayerbot.Enabled) without explicit user choice
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
ConfFile::parse_bytes(&reborn["Core/configs/modules/playerbots.conf"])
|
ConfFile::parse_bytes(&reborn["Core/configs/modules/playerbots.conf"])
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.get("AiPlayerbot.Enabled"),
|
.get("AiPlayerbot.Enabled"),
|
||||||
Some("0")
|
Some("1")
|
||||||
);
|
);
|
||||||
write_configs(t.path(), &reborn).unwrap();
|
write_configs(t.path(), &reborn).unwrap();
|
||||||
write_configs(t.path(), &coa).unwrap();
|
write_configs(t.path(), &coa).unwrap();
|
||||||
@@ -831,8 +820,8 @@ mod tests {
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
assert!(guard_module(t.path(), "companions").is_err());
|
assert!(guard_module(t.path(), "companions").is_ok());
|
||||||
assert!(guard_module(t.path(), "playerbots").is_err());
|
assert!(guard_module(t.path(), "playerbots").is_ok());
|
||||||
assert!(guard_module(t.path(), "content-scaling").is_ok());
|
assert!(guard_module(t.path(), "content-scaling").is_ok());
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1020,6 +1009,10 @@ CoA.GameModeMask = 0
|
|||||||
"Core/configs/modules/mod-coa-content-scaling.conf".into(),
|
"Core/configs/modules/mod-coa-content-scaling.conf".into(),
|
||||||
b"[worldserver]\nCoAContentScaling.Enable = 1\n".to_vec(),
|
b"[worldserver]\nCoAContentScaling.Enable = 1\n".to_vec(),
|
||||||
);
|
);
|
||||||
|
f.insert(
|
||||||
|
"Core/configs/modules/mod_coa_playerbots.conf".into(),
|
||||||
|
b"[worldserver]\nCoaBots.Enable = 1\n".to_vec(),
|
||||||
|
);
|
||||||
f.insert(
|
f.insert(
|
||||||
"Settings/worldserver.conf.template".into(),
|
"Settings/worldserver.conf.template".into(),
|
||||||
b"[worldserver]\nRealmID = 1\n".to_vec(),
|
b"[worldserver]\nRealmID = 1\n".to_vec(),
|
||||||
@@ -1030,7 +1023,7 @@ CoA.GameModeMask = 0
|
|||||||
f["Core/configs/modules/mod-coa-content-scaling.conf"]
|
f["Core/configs/modules/mod-coa-content-scaling.conf"]
|
||||||
);
|
);
|
||||||
let c = ConfFile::parse_bytes(&w["Core/configs/modules/mod_coa_playerbots.conf"]).unwrap();
|
let c = ConfFile::parse_bytes(&w["Core/configs/modules/mod_coa_playerbots.conf"]).unwrap();
|
||||||
assert_eq!(c.get("CoaBots.Enable"), Some("0"));
|
assert_eq!(c.get("CoaBots.Enable"), Some("1"));
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
ConfFile::parse_bytes(&w["Settings/worldserver.conf.template"])
|
ConfFile::parse_bytes(&w["Settings/worldserver.conf.template"])
|
||||||
.unwrap()
|
.unwrap()
|
||||||
@@ -1102,14 +1095,8 @@ CoA.GameModeMask = 0
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
assert!(crate::modules::set_enabled(t.path(), t.path(), "companions", true).is_err());
|
assert!(guard_module(t.path(), "companions").is_ok());
|
||||||
assert!(crate::config::save(
|
assert!(guard_module(t.path(), "playerbots").is_ok());
|
||||||
t.path(),
|
|
||||||
t.path(),
|
|
||||||
crate::config::Scope::Bots,
|
|
||||||
&BTreeMap::new()
|
|
||||||
)
|
|
||||||
.is_err());
|
|
||||||
assert!(guard_module(t.path(), "content-scaling").is_ok());
|
assert!(guard_module(t.path(), "content-scaling").is_ok());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "coa-server-manager",
|
"name": "coa-server-manager",
|
||||||
"version": "0.9.13",
|
"version": "0.9.14",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "coa-server-manager",
|
"name": "coa-server-manager",
|
||||||
"version": "0.9.13",
|
"version": "0.9.14",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tauri-apps/api": "^2.12.0",
|
"@tauri-apps/api": "^2.12.0",
|
||||||
"@tauri-apps/plugin-dialog": "^2.8.0",
|
"@tauri-apps/plugin-dialog": "^2.8.0",
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "coa-server-manager",
|
"name": "coa-server-manager",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.9.13",
|
"version": "0.9.14",
|
||||||
"license": "AGPL-3.0-only",
|
"license": "AGPL-3.0-only",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -24,3 +24,4 @@ coa-core = { path = "../crates/coa-core" }
|
|||||||
coa-registry-proto = { path = "../crates/coa-registry-proto" }
|
coa-registry-proto = { path = "../crates/coa-registry-proto" }
|
||||||
coa-control-proto = { path = "../crates/coa-control-proto" }
|
coa-control-proto = { path = "../crates/coa-control-proto" }
|
||||||
tracing = "0.1"
|
tracing = "0.1"
|
||||||
|
uuid = { version = "1", features = ["v4"] }
|
||||||
+213
-88
@@ -627,25 +627,53 @@ async fn start_server(
|
|||||||
let out = blocking(move || driver::run(&root, Verb::StartAll)).await?;
|
let out = blocking(move || driver::run(&root, Verb::StartAll)).await?;
|
||||||
if out.ok {
|
if out.ok {
|
||||||
if let Ok(root) = path_of(&state, &id) {
|
if let Ok(root) = path_of(&state, &id) {
|
||||||
// Companions requested while the server was stopped are created now (once; a failure is only logged).
|
// Companions requested while the server was stopped are reconciled and created now per realm.
|
||||||
let r = root.clone();
|
let r = root.clone();
|
||||||
|
let instance_id = id.clone();
|
||||||
let _ = tauri::async_runtime::spawn_blocking(move || -> Result<()> {
|
let _ = tauri::async_runtime::spawn_blocking(move || -> Result<()> {
|
||||||
if coa_core::realms::guard_module(&r, "companions").is_err() {
|
if coa_core::realms::guard_module(&r, "companions").is_err() {
|
||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
let pending = meta_dir(&r)?.join("companions.pending.json");
|
let meta = meta_dir(&r)?;
|
||||||
if let Ok(v) = coa_core::fsx::read_json::<serde_json::Value>(&pending) {
|
if let Err(e) = coa_core::companions::migrate_legacy_pending_job(&meta, &instance_id) {
|
||||||
let _ = std::fs::remove_file(&pending);
|
tracing::warn!("failed to migrate legacy pending companions job: {e}");
|
||||||
let n = v["count"].as_u64().unwrap_or(0) as u32;
|
}
|
||||||
if n > 0 {
|
for mode in [
|
||||||
let made = coa_core::db::Db::from_repack(&r, coa_core::db::Account::Admin)
|
coa_core::realms::Mode::Coa,
|
||||||
.and_then(|db| coa_core::companions::ensure_templates(&db));
|
coa_core::realms::Mode::Wildcard,
|
||||||
if let Err(e) = made
|
coa_core::realms::Mode::Reborn,
|
||||||
.and_then(|_| Ra::connect(&r))
|
] {
|
||||||
.and_then(|mut ra| ra.spawn_bots(n))
|
let target = match coa_core::multiworld::resolve_bot_operation_target(&r, mode) {
|
||||||
{
|
Ok(t) => t,
|
||||||
tracing::warn!("pending companions were not created: {e}");
|
Err(e) => {
|
||||||
|
tracing::warn!("cannot resolve target for realm {}: {e}", mode.name());
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
};
|
||||||
|
let r_snap = r.clone();
|
||||||
|
let chars_db = target.chars_db;
|
||||||
|
let r_ra = r.clone();
|
||||||
|
let res = coa_core::companions::process_pending_job_with(
|
||||||
|
&meta,
|
||||||
|
mode,
|
||||||
|
&instance_id,
|
||||||
|
target.running,
|
||||||
|
|since_guid| {
|
||||||
|
let admin_db = coa_core::db::Db::from_repack(&r_snap, coa_core::db::Account::Admin)?;
|
||||||
|
let _ = coa_core::companions::ensure_templates_for_schema(&admin_db, chars_db);
|
||||||
|
coa_core::companions::query_bot_db_snapshot(&r_snap, &admin_db, chars_db, since_guid)
|
||||||
|
},
|
||||||
|
|delta, job| {
|
||||||
|
let mut ra = Ra::connect_target(&r_ra, Some(mode))?;
|
||||||
|
if let Some(lvl) = job.level {
|
||||||
|
ra.spawn_custom(delta, lvl, job.class_id, job.spec_id, job.build_id.as_deref())
|
||||||
|
} else {
|
||||||
|
ra.spawn_bots(delta)
|
||||||
|
}
|
||||||
|
},
|
||||||
|
);
|
||||||
|
if let Err(e) = res {
|
||||||
|
tracing::warn!("pending companions for realm {} failed during reconciliation: {e}", mode.name());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Ok(())
|
Ok(())
|
||||||
@@ -1854,6 +1882,7 @@ async fn retry_update_validation(
|
|||||||
async fn get_population(
|
async fn get_population(
|
||||||
state: State<'_, AppState>,
|
state: State<'_, AppState>,
|
||||||
id: String,
|
id: String,
|
||||||
|
realm: Option<coa_core::realms::Mode>,
|
||||||
) -> std::result::Result<Option<coa_core::population::Population>, UiError> {
|
) -> std::result::Result<Option<coa_core::population::Population>, UiError> {
|
||||||
let root = path_of(&state, &id)?;
|
let root = path_of(&state, &id)?;
|
||||||
Ok(tauri::async_runtime::spawn_blocking(move || {
|
Ok(tauri::async_runtime::spawn_blocking(move || {
|
||||||
@@ -1861,12 +1890,48 @@ async fn get_population(
|
|||||||
if o.mysql.state != coa_core::process::ServiceState::Running {
|
if o.mysql.state != coa_core::process::ServiceState::Running {
|
||||||
return None;
|
return None;
|
||||||
}
|
}
|
||||||
coa_core::population::query(&root).ok()
|
if let Some(mode) = realm {
|
||||||
|
coa_core::population::query_for_realm(&root, mode).ok()
|
||||||
|
} else {
|
||||||
|
coa_core::population::query(&root).ok()
|
||||||
|
}
|
||||||
})
|
})
|
||||||
.await
|
.await
|
||||||
.unwrap_or(None))
|
.unwrap_or(None))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[tauri::command]
|
||||||
|
async fn companions_login_all(
|
||||||
|
state: State<'_, AppState>,
|
||||||
|
id: String,
|
||||||
|
realm: Option<coa_core::realms::Mode>,
|
||||||
|
) -> std::result::Result<String, UiError> {
|
||||||
|
let root = path_of(&state, &id)?;
|
||||||
|
let _guard = BusyGuard::acquire(&state, &id)?;
|
||||||
|
blocking(move || {
|
||||||
|
let mut ra = Ra::connect_target(&root, realm)?;
|
||||||
|
ra.login_all()
|
||||||
|
})
|
||||||
|
.await
|
||||||
|
}
|
||||||
|
|
||||||
|
#[tauri::command]
|
||||||
|
async fn companions_spawn_fleet(
|
||||||
|
state: State<'_, AppState>,
|
||||||
|
id: String,
|
||||||
|
race: u8,
|
||||||
|
level: u8,
|
||||||
|
realm: Option<coa_core::realms::Mode>,
|
||||||
|
) -> std::result::Result<String, UiError> {
|
||||||
|
let root = path_of(&state, &id)?;
|
||||||
|
let _guard = BusyGuard::acquire(&state, &id)?;
|
||||||
|
blocking(move || {
|
||||||
|
let mut ra = Ra::connect_target(&root, realm)?;
|
||||||
|
ra.spawn_fleet(race, level)
|
||||||
|
})
|
||||||
|
.await
|
||||||
|
}
|
||||||
|
|
||||||
#[derive(Serialize)]
|
#[derive(Serialize)]
|
||||||
struct CompanionAction {
|
struct CompanionAction {
|
||||||
/// Bots affected (cancelled from the queue, or logged out).
|
/// Bots affected (cancelled from the queue, or logged out).
|
||||||
@@ -1877,12 +1942,31 @@ struct CompanionAction {
|
|||||||
async fn companions_stop_spawning(
|
async fn companions_stop_spawning(
|
||||||
state: State<'_, AppState>,
|
state: State<'_, AppState>,
|
||||||
id: String,
|
id: String,
|
||||||
|
realm: Option<coa_core::realms::Mode>,
|
||||||
) -> std::result::Result<CompanionAction, UiError> {
|
) -> std::result::Result<CompanionAction, UiError> {
|
||||||
let root = path_of(&state, &id)?;
|
let root = path_of(&state, &id)?;
|
||||||
blocking(move || {
|
blocking(move || {
|
||||||
Ok(CompanionAction {
|
let mode = realm.unwrap_or_else(|| {
|
||||||
count: Ra::connect(&root)?.cancel_spawning()?,
|
coa_core::realms::view(&root).map(|v| v.active).unwrap_or_default()
|
||||||
})
|
});
|
||||||
|
let meta = meta_dir(&root)?;
|
||||||
|
let cancelled_pending = coa_core::companions::cancel_pending_job(&meta, mode.name())
|
||||||
|
.ok()
|
||||||
|
.flatten();
|
||||||
|
match Ra::connect_target(&root, Some(mode)).and_then(|mut ra| ra.cancel_spawning()) {
|
||||||
|
Ok(ra_cancelled) => Ok(CompanionAction {
|
||||||
|
count: ra_cancelled + cancelled_pending.map(|j| j.remaining_count()).unwrap_or(0),
|
||||||
|
}),
|
||||||
|
Err(e) => {
|
||||||
|
if let Some(job) = cancelled_pending {
|
||||||
|
Ok(CompanionAction {
|
||||||
|
count: job.remaining_count(),
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
Err(e)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
})
|
})
|
||||||
.await
|
.await
|
||||||
}
|
}
|
||||||
@@ -1891,12 +1975,12 @@ async fn companions_stop_spawning(
|
|||||||
async fn companions_take_offline(
|
async fn companions_take_offline(
|
||||||
state: State<'_, AppState>,
|
state: State<'_, AppState>,
|
||||||
id: String,
|
id: String,
|
||||||
|
realm: Option<coa_core::realms::Mode>,
|
||||||
) -> std::result::Result<CompanionAction, UiError> {
|
) -> std::result::Result<CompanionAction, UiError> {
|
||||||
let root = path_of(&state, &id)?;
|
let root = path_of(&state, &id)?;
|
||||||
let _guard = BusyGuard::acquire(&state, &id)?;
|
let _guard = BusyGuard::acquire(&state, &id)?;
|
||||||
blocking(move || {
|
blocking(move || {
|
||||||
let mut ra = Ra::connect(&root)?;
|
let mut ra = Ra::connect_target(&root, realm)?;
|
||||||
// Anything still waiting to be created must not come back right after.
|
|
||||||
let _ = ra.cancel_spawning();
|
let _ = ra.cancel_spawning();
|
||||||
Ok(CompanionAction {
|
Ok(CompanionAction {
|
||||||
count: ra.despawn_all()?,
|
count: ra.despawn_all()?,
|
||||||
@@ -1905,13 +1989,12 @@ async fn companions_take_offline(
|
|||||||
.await
|
.await
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Log `count` randomly chosen online companions out to lower the load. Uses the per-bot command that every server
|
|
||||||
/// build has, so it works on older builds too.
|
|
||||||
#[tauri::command]
|
#[tauri::command]
|
||||||
async fn companions_despawn_some(
|
async fn companions_despawn_some(
|
||||||
state: State<'_, AppState>,
|
state: State<'_, AppState>,
|
||||||
id: String,
|
id: String,
|
||||||
count: u32,
|
count: u32,
|
||||||
|
realm: Option<coa_core::realms::Mode>,
|
||||||
) -> std::result::Result<CompanionAction, UiError> {
|
) -> std::result::Result<CompanionAction, UiError> {
|
||||||
let root = path_of(&state, &id)?;
|
let root = path_of(&state, &id)?;
|
||||||
let _guard = BusyGuard::acquire(&state, &id)?;
|
let _guard = BusyGuard::acquire(&state, &id)?;
|
||||||
@@ -1919,13 +2002,18 @@ async fn companions_despawn_some(
|
|||||||
if !(1..=5000).contains(&count) {
|
if !(1..=5000).contains(&count) {
|
||||||
return Err(Error::Invalid("Choose a number between 1 and 5000.".into()));
|
return Err(Error::Invalid("Choose a number between 1 and 5000.".into()));
|
||||||
}
|
}
|
||||||
|
let mode = realm.unwrap_or_else(|| {
|
||||||
|
coa_core::realms::view(&root).map(|v| v.active).unwrap_or_default()
|
||||||
|
});
|
||||||
|
let target = coa_core::multiworld::resolve_bot_operation_target(&root, mode)?;
|
||||||
let prefix = coa_core::population::bot_account_prefix(&root).to_uppercase();
|
let prefix = coa_core::population::bot_account_prefix(&root).to_uppercase();
|
||||||
let db = coa_core::db::Db::from_repack(&root, coa_core::db::Account::App)?;
|
let db = coa_core::db::Db::from_repack(&root, coa_core::db::Account::App)?;
|
||||||
let rows = db.query(&format!(
|
let rows = db.query(&format!(
|
||||||
"SELECT c.guid FROM acore_characters.characters c JOIN acore_auth.account a ON a.id=c.account WHERE c.online=1 AND UPPER(a.username) LIKE '{prefix}%' ORDER BY RAND() LIMIT {count};"
|
"SELECT c.guid FROM {}.characters c JOIN acore_auth.account a ON a.id=c.account WHERE c.online=1 AND UPPER(a.username) LIKE '{prefix}%' ORDER BY RAND() LIMIT {count};",
|
||||||
|
target.chars_db
|
||||||
))?;
|
))?;
|
||||||
let guids: Vec<u64> = rows.lines().filter_map(|l| l.trim().parse().ok()).collect();
|
let guids: Vec<u64> = rows.lines().filter_map(|l| l.trim().parse().ok()).collect();
|
||||||
let mut ra = Ra::connect(&root)?;
|
let mut ra = Ra::connect_target(&root, Some(mode))?;
|
||||||
let mut done = 0;
|
let mut done = 0;
|
||||||
for g in guids {
|
for g in guids {
|
||||||
if ra.despawn_bot(g).unwrap_or(false) {
|
if ra.despawn_bot(g).unwrap_or(false) {
|
||||||
@@ -1937,31 +2025,36 @@ async fn companions_despawn_some(
|
|||||||
.await
|
.await
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Delete every companion for good. A recovery point of the characters and accounts is saved first.
|
|
||||||
#[tauri::command]
|
#[tauri::command]
|
||||||
async fn companions_delete_all(
|
async fn companions_delete_all(
|
||||||
app: AppHandle,
|
app: AppHandle,
|
||||||
state: State<'_, AppState>,
|
state: State<'_, AppState>,
|
||||||
id: String,
|
id: String,
|
||||||
|
realm: Option<coa_core::realms::Mode>,
|
||||||
) -> std::result::Result<CompanionAction, UiError> {
|
) -> std::result::Result<CompanionAction, UiError> {
|
||||||
let root = path_of(&state, &id)?;
|
let root = path_of(&state, &id)?;
|
||||||
let _guard = BusyGuard::acquire(&state, &id)?;
|
let _guard = BusyGuard::acquire(&state, &id)?;
|
||||||
blocking(move || {
|
blocking(move || {
|
||||||
|
let mode = realm.unwrap_or_else(|| {
|
||||||
|
coa_core::realms::view(&root).map(|v| v.active).unwrap_or_default()
|
||||||
|
});
|
||||||
|
let target = coa_core::multiworld::resolve_bot_operation_target(&root, mode)?;
|
||||||
let meta = meta_dir(&root)?;
|
let meta = meta_dir(&root)?;
|
||||||
backup::create(
|
backup::create(
|
||||||
&root,
|
&root,
|
||||||
&meta,
|
&meta,
|
||||||
Kind::Quick,
|
Kind::Quick,
|
||||||
Trigger::BeforeDangerousChange,
|
Trigger::BeforeDangerousChange,
|
||||||
Some("before deleting all companions".into()),
|
Some(format!("before deleting all {} companions", target.realm.label())),
|
||||||
&|step| {
|
&|step| {
|
||||||
let _ = app.emit("backup-progress", step);
|
let _ = app.emit("backup-progress", step);
|
||||||
},
|
},
|
||||||
)?;
|
)?;
|
||||||
let before = coa_core::population::query(&root)
|
let before = coa_core::population::query_for_realm(&root, mode)
|
||||||
.map(|p| p.bots_total)
|
.map(|p| p.bots_total)
|
||||||
.unwrap_or(0);
|
.unwrap_or(0);
|
||||||
let mut ra = Ra::connect(&root)?;
|
let _ = coa_core::companions::cancel_pending_job(&meta, mode.name());
|
||||||
|
let mut ra = Ra::connect_target(&root, Some(mode))?;
|
||||||
let _ = ra.cancel_spawning();
|
let _ = ra.cancel_spawning();
|
||||||
ra.purge_all()?;
|
ra.purge_all()?;
|
||||||
Ok(CompanionAction { count: before })
|
Ok(CompanionAction { count: before })
|
||||||
@@ -2017,6 +2110,11 @@ async fn add_companions(
|
|||||||
state: State<'_, AppState>,
|
state: State<'_, AppState>,
|
||||||
id: String,
|
id: String,
|
||||||
count: u32,
|
count: u32,
|
||||||
|
realm: Option<coa_core::realms::Mode>,
|
||||||
|
level: Option<u8>,
|
||||||
|
class_id: Option<u8>,
|
||||||
|
spec_id: Option<u32>,
|
||||||
|
archetype: Option<String>,
|
||||||
) -> std::result::Result<CompanionsResult, UiError> {
|
) -> std::result::Result<CompanionsResult, UiError> {
|
||||||
let root = path_of(&state, &id)?;
|
let root = path_of(&state, &id)?;
|
||||||
let _guard = BusyGuard::acquire(&state, &id)?;
|
let _guard = BusyGuard::acquire(&state, &id)?;
|
||||||
@@ -2026,81 +2124,84 @@ async fn add_companions(
|
|||||||
"Choose between 1 and 2000 companions.".into(),
|
"Choose between 1 and 2000 companions.".into(),
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
let mode = realm.unwrap_or_else(|| {
|
||||||
|
coa_core::realms::view(&root).map(|v| v.active).unwrap_or_default()
|
||||||
|
});
|
||||||
|
coa_core::companions::validate_spawn_request(
|
||||||
|
mode,
|
||||||
|
count,
|
||||||
|
level,
|
||||||
|
class_id,
|
||||||
|
spec_id,
|
||||||
|
archetype.as_deref(),
|
||||||
|
)?;
|
||||||
|
let target = coa_core::multiworld::resolve_bot_operation_target(&root, mode)?;
|
||||||
|
if mode == coa_core::realms::Mode::Wildcard {
|
||||||
|
if let Some(ref arch_id) = archetype {
|
||||||
|
if !arch_id.trim().is_empty() {
|
||||||
|
let db = coa_core::db::Db::from_repack(&root, coa_core::db::Account::Admin)?;
|
||||||
|
let archetypes = coa_core::companions::list_wildcard_archetypes(&db, target.chars_db)?;
|
||||||
|
if !archetypes.iter().any(|a| a.id.eq_ignore_ascii_case(arch_id.trim())) {
|
||||||
|
return Err(Error::Invalid(format!(
|
||||||
|
"Unknown Wildcard build UUID '{}' in {}.coa_build_creator.",
|
||||||
|
arch_id.trim(),
|
||||||
|
target.chars_db
|
||||||
|
)));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
let meta = meta_dir(&root)?;
|
let meta = meta_dir(&root)?;
|
||||||
let mut changes = BTreeMap::new();
|
let mut changes = BTreeMap::new();
|
||||||
changes.insert("CoaBots.AutoLoginOnStartup".to_string(), Value::Bool(true));
|
changes.insert("CoaBots.AutoLoginOnStartup".to_string(), Value::Bool(true));
|
||||||
// Every companion, old and new, should come back at the next start, so the start-up limit only ever grows here.
|
let existing_cfg = config::load(&target.world_root, Scope::Bots)?;
|
||||||
let existing_max = config::load(&root, Scope::Bots)
|
let existing_max = existing_cfg
|
||||||
.ok()
|
.settings
|
||||||
.and_then(|v| {
|
.iter()
|
||||||
v.settings
|
.find(|s| s.meta.key == "CoaBots.AutoLogin.MaxCount")
|
||||||
.iter()
|
.and_then(|s| s.value.as_u64())
|
||||||
.find(|s| s.meta.key == "CoaBots.AutoLogin.MaxCount")
|
|
||||||
.and_then(|s| s.value.as_u64())
|
|
||||||
})
|
|
||||||
.unwrap_or(0) as u32;
|
.unwrap_or(0) as u32;
|
||||||
let already = coa_core::population::query(&root)
|
let already = coa_core::population::query_for_realm(&root, mode)
|
||||||
.map(|p| p.bots_total)
|
.map(|p| p.bots_total)
|
||||||
.unwrap_or(0);
|
.unwrap_or(0);
|
||||||
changes.insert(
|
changes.insert(
|
||||||
"CoaBots.AutoLogin.MaxCount".to_string(),
|
"CoaBots.AutoLogin.MaxCount".to_string(),
|
||||||
Value::from(existing_max.max(already + count).min(5000)),
|
Value::from(existing_max.max(already + count).min(5000)),
|
||||||
);
|
);
|
||||||
config::save(&root, &meta, Scope::Bots, &changes)?;
|
config::save(&target.world_root, &meta, Scope::Bots, &changes)?;
|
||||||
let o = coa_core::process::observe(&root, &layout::read_ports(&root));
|
|
||||||
// Large batches while the server is stopped: create them in the database right now, fully equipped.
|
|
||||||
if o.world.state == coa_core::process::ServiceState::Stopped
|
|
||||||
&& o.auth.state == coa_core::process::ServiceState::Stopped
|
|
||||||
&& count >= coa_core::companions::OFFLINE_MIN
|
|
||||||
&& coa_core::companions::offline_factory(&root).is_some()
|
|
||||||
{
|
|
||||||
let started_db = o.mysql.state != coa_core::process::ServiceState::Running;
|
|
||||||
if started_db {
|
|
||||||
let out = driver::run(&root, Verb::StartMysql)?;
|
|
||||||
if !out.ok {
|
|
||||||
return Err(Error::Invalid("The database could not be started.".into()));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
let made = (|| -> Result<()> {
|
|
||||||
coa_core::companions::ensure_templates(&coa_core::db::Db::from_repack(
|
|
||||||
&root,
|
|
||||||
coa_core::db::Account::Admin,
|
|
||||||
)?)?;
|
|
||||||
coa_core::companions::offline_create(
|
|
||||||
&root,
|
|
||||||
&meta.join("logs").join("companions-offline.log"),
|
|
||||||
count,
|
|
||||||
)?;
|
|
||||||
Ok(())
|
|
||||||
})();
|
|
||||||
if started_db {
|
|
||||||
let _ = driver::run(&root, Verb::StopAll);
|
|
||||||
}
|
|
||||||
made?;
|
|
||||||
tracing::info!(count, "companions created offline");
|
|
||||||
return Ok(CompanionsResult {
|
|
||||||
spawned: None,
|
|
||||||
created: Some(count),
|
|
||||||
baseline: None,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
let mut baseline = None;
|
let mut baseline = None;
|
||||||
let spawned = if o.world.state == coa_core::process::ServiceState::Running {
|
let spawned = if target.running {
|
||||||
// Older servers have no template characters to copy bots from: add them first.
|
if let Ok(admin_db) = coa_core::db::Db::from_repack(&root, coa_core::db::Account::Admin) {
|
||||||
coa_core::companions::ensure_templates(&coa_core::db::Db::from_repack(
|
let _ = coa_core::companions::ensure_templates_for_schema(&admin_db, target.chars_db);
|
||||||
&root,
|
}
|
||||||
coa_core::db::Account::Admin,
|
baseline = coa_core::population::query_for_realm(&root, mode)
|
||||||
)?)?;
|
|
||||||
baseline = coa_core::population::query(&root)
|
|
||||||
.ok()
|
.ok()
|
||||||
.map(|p| p.bots_total);
|
.map(|p| p.bots_total);
|
||||||
Some(Ra::connect(&root)?.spawn_bots(count)?)
|
let mut ra = Ra::connect_target(&root, Some(mode))?;
|
||||||
|
if let Some(lvl) = level {
|
||||||
|
Some(ra.spawn_custom(count, lvl, class_id, spec_id, archetype.as_deref())?)
|
||||||
|
} else {
|
||||||
|
Some(ra.spawn_bots(count)?)
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
// The server is stopped: creating bots needs it running, so remember the request and do it after the next start.
|
let _ = coa_core::companions::migrate_legacy_pending_job(&meta, &id);
|
||||||
coa_core::fsx::atomic_write_json(
|
let mut job = coa_core::companions::CompanionsPendingJob::new(
|
||||||
&meta.join("companions.pending.json"),
|
&id,
|
||||||
&serde_json::json!({ "count": count }),
|
mode.name(),
|
||||||
)?;
|
count,
|
||||||
|
level,
|
||||||
|
class_id,
|
||||||
|
spec_id,
|
||||||
|
archetype.clone(),
|
||||||
|
);
|
||||||
|
if let Ok(admin_db) = coa_core::db::Db::from_repack(&root, coa_core::db::Account::Admin) {
|
||||||
|
if let Ok(snap) = coa_core::companions::query_bot_db_snapshot(&root, &admin_db, target.chars_db, None) {
|
||||||
|
job.baseline_bot_count = Some(snap.bot_count);
|
||||||
|
job.baseline_max_guid = Some(snap.max_guid);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
coa_core::companions::save_pending_job(&meta, mode.name(), &job)?;
|
||||||
None
|
None
|
||||||
};
|
};
|
||||||
tracing::info!(count, spawned = spawned.is_some(), "companions requested");
|
tracing::info!(count, spawned = spawned.is_some(), "companions requested");
|
||||||
@@ -2113,6 +2214,27 @@ async fn add_companions(
|
|||||||
.await
|
.await
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[tauri::command]
|
||||||
|
async fn get_wildcard_archetypes(
|
||||||
|
state: State<'_, AppState>,
|
||||||
|
id: String,
|
||||||
|
) -> std::result::Result<Vec<coa_core::companions::WildcardArchetypeDto>, UiError> {
|
||||||
|
let root = path_of(&state, &id)?;
|
||||||
|
blocking(move || {
|
||||||
|
let db = coa_core::db::Db::from_repack(&root, coa_core::db::Account::Admin)?;
|
||||||
|
let target = coa_core::multiworld::resolve_bot_operation_target(&root, coa_core::realms::Mode::Wildcard)
|
||||||
|
.unwrap_or_else(|_| coa_core::multiworld::BotOperationTarget {
|
||||||
|
world_root: root.clone(),
|
||||||
|
chars_db: "acore_characters_wildcard",
|
||||||
|
ra_port: 3444,
|
||||||
|
running: false,
|
||||||
|
realm: coa_core::realms::Mode::Wildcard,
|
||||||
|
});
|
||||||
|
Ok(coa_core::companions::list_wildcard_archetypes(&db, target.chars_db)?)
|
||||||
|
})
|
||||||
|
.await
|
||||||
|
}
|
||||||
|
|
||||||
const REMOTE_CLIENT_ID: &str = "@remote-client";
|
const REMOTE_CLIENT_ID: &str = "@remote-client";
|
||||||
|
|
||||||
fn remote_dir() -> PathBuf {
|
fn remote_dir() -> PathBuf {
|
||||||
@@ -3209,10 +3331,13 @@ pub fn run() {
|
|||||||
companions_take_offline,
|
companions_take_offline,
|
||||||
companions_delete_all,
|
companions_delete_all,
|
||||||
companions_despawn_some,
|
companions_despawn_some,
|
||||||
|
companions_login_all,
|
||||||
|
companions_spawn_fleet,
|
||||||
open_link,
|
open_link,
|
||||||
report_targets,
|
report_targets,
|
||||||
companion_sizes,
|
companion_sizes,
|
||||||
add_companions,
|
add_companions,
|
||||||
|
get_wildcard_archetypes,
|
||||||
remote_connection,
|
remote_connection,
|
||||||
remote_connect,
|
remote_connect,
|
||||||
client_info,
|
client_info,
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://schema.tauri.app/config/2",
|
"$schema": "https://schema.tauri.app/config/2",
|
||||||
"productName": "CoA Server Manager",
|
"productName": "CoA Server Manager",
|
||||||
"version": "0.9.13",
|
"version": "0.9.14",
|
||||||
"identifier": "com.coa.servermanager",
|
"identifier": "com.coa.servermanager",
|
||||||
"build": {
|
"build": {
|
||||||
"beforeDevCommand": "npm run dev",
|
"beforeDevCommand": "npm run dev",
|
||||||
|
|||||||
@@ -49,3 +49,8 @@ Manager 0.9.13 refreshes the bundled server history through 0.261114.106 from
|
|||||||
canonical build commit `3308e3a957cd9fd1a2cd145a7f023f2cf521c54c` on 2026-11-15.
|
canonical build commit `3308e3a957cd9fd1a2cd145a7f023f2cf521c54c` on 2026-11-15.
|
||||||
The reviewed upcoming Manager and server records (Custom Races V2, 213 server notes)
|
The reviewed upcoming Manager and server records (Custom Races V2, 213 server notes)
|
||||||
carry translations in all five languages.
|
carry translations in all five languages.
|
||||||
|
|
||||||
|
Manager 0.9.14 refreshes the bundled server history through 0.261115.110 from
|
||||||
|
canonical build commit `45c013be9ade3001581e5201cacda6cd6bb6b01c` on 2026-11-16.
|
||||||
|
The reviewed upcoming Manager (12 notes) and server (6 notes) records
|
||||||
|
carry translations in all five languages.
|
||||||
@@ -40,7 +40,19 @@
|
|||||||
"Update and recovery checks use the temporary login port even with a Windows override": "Проверка обновления и восстановления использует временный порт входа даже при переопределении в Windows",
|
"Update and recovery checks use the temporary login port even with a Windows override": "Проверка обновления и восстановления использует временный порт входа даже при переопределении в Windows",
|
||||||
"Custom Races patch installation recovers from interrupted downloads": "Установка патчей дополнительных рас восстанавливается после прерывания загрузки",
|
"Custom Races patch installation recovers from interrupted downloads": "Установка патчей дополнительных рас восстанавливается после прерывания загрузки",
|
||||||
"Settings for how much help bots get in dungeons and raids": "Настройки того, насколько ботам помогать в подземельях и рейдах",
|
"Settings for how much help bots get in dungeons and raids": "Настройки того, насколько ботам помогать в подземельях и рейдах",
|
||||||
"The custom races client is updated to Custom Races V2": "Клиент пользовательских рас обновлён до Custom Races V2"
|
"The custom races client is updated to Custom Races V2": "Клиент пользовательских рас обновлён до Custom Races V2",
|
||||||
|
"Install community addons from the Manager": "Аддоны сообщества устанавливаются прямо из Manager",
|
||||||
|
"Old item and creature data is cleared before every Play": "Устаревшие данные о предметах и существах очищаются перед каждым запуском",
|
||||||
|
"Turning the custom races client patch on or off takes seconds again": "Клиентский патч кастомных рас снова включается и выключается за секунды",
|
||||||
|
"The database moves to a free port when Windows reserves or another program takes 3307": "База данных переходит на свободный порт, если 3307 зарезервирован Windows или занят другой программой",
|
||||||
|
"Your own MySQL settings survive restarts and updates": "Свои настройки MySQL сохраняются после перезапусков и обновлений",
|
||||||
|
"Disabled custom races stay disabled after a server update that adds races": "Отключённые кастомные расы остаются отключёнными после обновления сервера, добавляющего расы",
|
||||||
|
"Rename your realms in the Manager": "Реалмы можно переименовать в Manager",
|
||||||
|
"The account for a friend's server is in the login box at every Play": "Аккаунт для сервера друга подставляется в окно входа при каждом запуске",
|
||||||
|
"Restart the world every day at a chosen time": "Ежедневный перезапуск мира в выбранное время",
|
||||||
|
"Switches for the Custom Races V2 subclasses, Hero Races and the /dev menu": "Переключатели подклассов, героических рас и меню /dev из Custom Races V2",
|
||||||
|
"Companion bots on Wildcard and Warcraft Reborn": "Боты-компаньоны на Wildcard и Warcraft Reborn",
|
||||||
|
"The Custom Races card tells which characters stay out while races are off": "Карточка Custom Races показывает, какие персонажи не войдут в мир, пока расы выключены"
|
||||||
},
|
},
|
||||||
"de": {
|
"de": {
|
||||||
"Choose Parallel or Global level scaling in module settings": "Parallele oder globale Levelskalierung in den Moduleinstellungen wählen",
|
"Choose Parallel or Global level scaling in module settings": "Parallele oder globale Levelskalierung in den Moduleinstellungen wählen",
|
||||||
@@ -82,7 +94,19 @@
|
|||||||
"Update and recovery checks use the temporary login port even with a Windows override": "Update- und Wiederherstellungsprüfungen verwenden den temporären Anmeldeport auch bei einer Windows-Vorgabe",
|
"Update and recovery checks use the temporary login port even with a Windows override": "Update- und Wiederherstellungsprüfungen verwenden den temporären Anmeldeport auch bei einer Windows-Vorgabe",
|
||||||
"Custom Races patch installation recovers from interrupted downloads": "Die Installation zusätzlicher Völker setzt unterbrochene Downloads fort",
|
"Custom Races patch installation recovers from interrupted downloads": "Die Installation zusätzlicher Völker setzt unterbrochene Downloads fort",
|
||||||
"Settings for how much help bots get in dungeons and raids": "Einstellungen, wie viel Hilfe Bots in Dungeons und Schlachtzügen erhalten",
|
"Settings for how much help bots get in dungeons and raids": "Einstellungen, wie viel Hilfe Bots in Dungeons und Schlachtzügen erhalten",
|
||||||
"The custom races client is updated to Custom Races V2": "Der Client für eigene Völker wird auf Custom Races V2 aktualisiert"
|
"The custom races client is updated to Custom Races V2": "Der Client für eigene Völker wird auf Custom Races V2 aktualisiert",
|
||||||
|
"Install community addons from the Manager": "Community-Addons direkt aus dem Manager installieren",
|
||||||
|
"Old item and creature data is cleared before every Play": "Veraltete Gegenstands- und Kreaturdaten werden vor jedem Start gelöscht",
|
||||||
|
"Turning the custom races client patch on or off takes seconds again": "Der Client-Patch für eigene Völker lässt sich wieder in Sekunden ein- und ausschalten",
|
||||||
|
"The database moves to a free port when Windows reserves or another program takes 3307": "Die Datenbank weicht auf einen freien Port aus, wenn Windows 3307 reserviert oder ein anderes Programm ihn belegt",
|
||||||
|
"Your own MySQL settings survive restarts and updates": "Eigene MySQL-Einstellungen bleiben nach Neustarts und Updates erhalten",
|
||||||
|
"Disabled custom races stay disabled after a server update that adds races": "Deaktivierte eigene Völker bleiben nach einem Server-Update mit neuen Völkern deaktiviert",
|
||||||
|
"Rename your realms in the Manager": "Realms im Manager umbenennen",
|
||||||
|
"The account for a friend's server is in the login box at every Play": "Das Konto für den Server eines Freundes steht bei jedem Start im Anmeldefeld",
|
||||||
|
"Restart the world every day at a chosen time": "Die Welt täglich zu einer gewählten Uhrzeit neu starten",
|
||||||
|
"Switches for the Custom Races V2 subclasses, Hero Races and the /dev menu": "Schalter für die Unterklassen, Heldenvölker und das /dev-Menü von Custom Races V2",
|
||||||
|
"Companion bots on Wildcard and Warcraft Reborn": "Begleiter-Bots auf Wildcard und Warcraft Reborn",
|
||||||
|
"The Custom Races card tells which characters stay out while races are off": "Die Custom-Races-Karte zeigt, welche Figuren draußen bleiben, solange die Völker aus sind"
|
||||||
},
|
},
|
||||||
"fr": {
|
"fr": {
|
||||||
"Choose Parallel or Global level scaling in module settings": "Choisissez une progression parallèle ou globale des niveaux dans les paramètres du module",
|
"Choose Parallel or Global level scaling in module settings": "Choisissez une progression parallèle ou globale des niveaux dans les paramètres du module",
|
||||||
@@ -124,7 +148,19 @@
|
|||||||
"Update and recovery checks use the temporary login port even with a Windows override": "Les contrôles de mise à jour et de restauration utilisent le port de connexion temporaire même si Windows en impose un autre",
|
"Update and recovery checks use the temporary login port even with a Windows override": "Les contrôles de mise à jour et de restauration utilisent le port de connexion temporaire même si Windows en impose un autre",
|
||||||
"Custom Races patch installation recovers from interrupted downloads": "L’installation des races supplémentaires reprend les téléchargements interrompus",
|
"Custom Races patch installation recovers from interrupted downloads": "L’installation des races supplémentaires reprend les téléchargements interrompus",
|
||||||
"Settings for how much help bots get in dungeons and raids": "Réglages de l'aide accordée aux bots en donjon et en raid",
|
"Settings for how much help bots get in dungeons and raids": "Réglages de l'aide accordée aux bots en donjon et en raid",
|
||||||
"The custom races client is updated to Custom Races V2": "Le client des races personnalisées passe à Custom Races V2"
|
"The custom races client is updated to Custom Races V2": "Le client des races personnalisées passe à Custom Races V2",
|
||||||
|
"Install community addons from the Manager": "Installez des addons de la communauté depuis le Manager",
|
||||||
|
"Old item and creature data is cleared before every Play": "Les anciennes données d'objets et de créatures sont effacées avant chaque lancement",
|
||||||
|
"Turning the custom races client patch on or off takes seconds again": "Activer ou désactiver le patch client des races personnalisées reprend quelques secondes",
|
||||||
|
"The database moves to a free port when Windows reserves or another program takes 3307": "La base de données passe sur un port libre si Windows réserve le 3307 ou si un autre programme l'utilise",
|
||||||
|
"Your own MySQL settings survive restarts and updates": "Vos réglages MySQL survivent aux redémarrages et aux mises à jour",
|
||||||
|
"Disabled custom races stay disabled after a server update that adds races": "Les races personnalisées désactivées le restent après une mise à jour du serveur qui ajoute des races",
|
||||||
|
"Rename your realms in the Manager": "Renommez vos royaumes dans le Manager",
|
||||||
|
"The account for a friend's server is in the login box at every Play": "Le compte du serveur d'un ami est rempli à chaque lancement",
|
||||||
|
"Restart the world every day at a chosen time": "Redémarrez le monde chaque jour à l'heure choisie",
|
||||||
|
"Switches for the Custom Races V2 subclasses, Hero Races and the /dev menu": "Interrupteurs pour les sous-classes, races héroïques et le menu /dev de Custom Races V2",
|
||||||
|
"Companion bots on Wildcard and Warcraft Reborn": "Bots compagnons sur Wildcard et Warcraft Reborn",
|
||||||
|
"The Custom Races card tells which characters stay out while races are off": "La carte Custom Races indique quels personnages restent hors du monde quand les races sont désactivées"
|
||||||
},
|
},
|
||||||
"es": {
|
"es": {
|
||||||
"Choose Parallel or Global level scaling in module settings": "Elige escalado de nivel paralelo o global en los ajustes del módulo",
|
"Choose Parallel or Global level scaling in module settings": "Elige escalado de nivel paralelo o global en los ajustes del módulo",
|
||||||
@@ -166,7 +202,19 @@
|
|||||||
"Update and recovery checks use the temporary login port even with a Windows override": "Las comprobaciones de actualización y recuperación usan el puerto temporal de acceso aunque Windows indique otro",
|
"Update and recovery checks use the temporary login port even with a Windows override": "Las comprobaciones de actualización y recuperación usan el puerto temporal de acceso aunque Windows indique otro",
|
||||||
"Custom Races patch installation recovers from interrupted downloads": "La instalación de razas adicionales se recupera de descargas interrumpidas",
|
"Custom Races patch installation recovers from interrupted downloads": "La instalación de razas adicionales se recupera de descargas interrumpidas",
|
||||||
"Settings for how much help bots get in dungeons and raids": "Ajustes de cuánta ayuda reciben los bots en mazmorras y bandas",
|
"Settings for how much help bots get in dungeons and raids": "Ajustes de cuánta ayuda reciben los bots en mazmorras y bandas",
|
||||||
"The custom races client is updated to Custom Races V2": "El cliente de razas personalizadas se actualiza a Custom Races V2"
|
"The custom races client is updated to Custom Races V2": "El cliente de razas personalizadas se actualiza a Custom Races V2",
|
||||||
|
"Install community addons from the Manager": "Instala addons de la comunidad desde el Manager",
|
||||||
|
"Old item and creature data is cleared before every Play": "Los datos antiguos de objetos y criaturas se borran antes de cada partida",
|
||||||
|
"Turning the custom races client patch on or off takes seconds again": "Activar o desactivar el parche de cliente de razas personalizadas vuelve a tardar segundos",
|
||||||
|
"The database moves to a free port when Windows reserves or another program takes 3307": "La base de datos pasa a un puerto libre si Windows reserva el 3307 u otro programa lo ocupa",
|
||||||
|
"Your own MySQL settings survive restarts and updates": "Tus ajustes de MySQL se mantienen tras reinicios y actualizaciones",
|
||||||
|
"Disabled custom races stay disabled after a server update that adds races": "Las razas personalizadas desactivadas siguen desactivadas tras una actualización del servidor que añade razas",
|
||||||
|
"Rename your realms in the Manager": "Cambia el nombre de tus reinos en el Manager",
|
||||||
|
"The account for a friend's server is in the login box at every Play": "La cuenta del servidor de un amigo aparece en el inicio de sesión en cada partida",
|
||||||
|
"Restart the world every day at a chosen time": "Reinicia el mundo cada día a la hora elegida",
|
||||||
|
"Switches for the Custom Races V2 subclasses, Hero Races and the /dev menu": "Interruptores para las subclases, razas heroicas y el menú /dev de Custom Races V2",
|
||||||
|
"Companion bots on Wildcard and Warcraft Reborn": "Bots acompañantes en Wildcard y Warcraft Reborn",
|
||||||
|
"The Custom Races card tells which characters stay out while races are off": "La tarjeta Custom Races indica qué personajes quedan fuera mientras las razas están desactivadas"
|
||||||
},
|
},
|
||||||
"zh": {
|
"zh": {
|
||||||
"Choose Parallel or Global level scaling in module settings": "在模块设置中选择并行或全局等级缩放",
|
"Choose Parallel or Global level scaling in module settings": "在模块设置中选择并行或全局等级缩放",
|
||||||
@@ -208,7 +256,19 @@
|
|||||||
"Update and recovery checks use the temporary login port even with a Windows override": "即使 Windows 指定了其他端口,更新和恢复检查也会使用临时登录端口",
|
"Update and recovery checks use the temporary login port even with a Windows override": "即使 Windows 指定了其他端口,更新和恢复检查也会使用临时登录端口",
|
||||||
"Custom Races patch installation recovers from interrupted downloads": "自定义种族补丁安装可从中断的下载中恢复",
|
"Custom Races patch installation recovers from interrupted downloads": "自定义种族补丁安装可从中断的下载中恢复",
|
||||||
"Settings for how much help bots get in dungeons and raids": "设置机器人在地下城和团队副本中获得多少加成",
|
"Settings for how much help bots get in dungeons and raids": "设置机器人在地下城和团队副本中获得多少加成",
|
||||||
"The custom races client is updated to Custom Races V2": "自定义种族客户端已更新至 Custom Races V2"
|
"The custom races client is updated to Custom Races V2": "自定义种族客户端已更新至 Custom Races V2",
|
||||||
|
"Install community addons from the Manager": "可在 Manager 中安装社区插件",
|
||||||
|
"Old item and creature data is cleared before every Play": "每次启动前清除过时的物品和生物数据",
|
||||||
|
"Turning the custom races client patch on or off takes seconds again": "自定义种族客户端补丁的开关再次只需几秒",
|
||||||
|
"The database moves to a free port when Windows reserves or another program takes 3307": "当 3307 被 Windows 保留或被其他程序占用时,数据库会改用空闲端口",
|
||||||
|
"Your own MySQL settings survive restarts and updates": "自定义 MySQL 设置在重启和更新后保留",
|
||||||
|
"Disabled custom races stay disabled after a server update that adds races": "服务器更新新增种族后,已禁用的自定义种族保持禁用",
|
||||||
|
"Rename your realms in the Manager": "可在 Manager 中重命名服务器",
|
||||||
|
"The account for a friend's server is in the login box at every Play": "每次启动时都会自动填入朋友服务器的账号",
|
||||||
|
"Restart the world every day at a chosen time": "每天在选定时间重启世界",
|
||||||
|
"Switches for the Custom Races V2 subclasses, Hero Races and the /dev menu": "Custom Races V2 副职业、英雄种族和 /dev 菜单的开关",
|
||||||
|
"Companion bots on Wildcard and Warcraft Reborn": "Wildcard 和 Warcraft Reborn 上的伙伴机器人",
|
||||||
|
"The Custom Races card tells which characters stay out while races are off": "Custom Races 卡片会显示种族关闭时哪些角色无法进入世界"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"server": {
|
"server": {
|
||||||
@@ -498,7 +558,13 @@
|
|||||||
"The character sheet of a Two-Players head shows the other head's class": "Лист персонажа головы Two-Players показывает класс второй головы",
|
"The character sheet of a Two-Players head shows the other head's class": "Лист персонажа головы Two-Players показывает класс второй головы",
|
||||||
"Two-Players Ogres can fit a carried mount in a window and share the fit": "Огры Two-Players могут подогнать переносимого маунта в окне и поделиться подгонкой",
|
"Two-Players Ogres can fit a carried mount in a window and share the fit": "Огры Two-Players могут подогнать переносимого маунта в окне и поделиться подгонкой",
|
||||||
"Custom Races V2 with 17 new races, subclasses and the Fading Island": "Custom Races V2: 17 новых рас, подклассы и Fading Island",
|
"Custom Races V2 with 17 new races, subclasses and the Fading Island": "Custom Races V2: 17 новых рас, подклассы и Fading Island",
|
||||||
"Updated Custom Races to 2.0": "Custom Races обновлён до 2.0"
|
"Updated Custom Races to 2.0": "Custom Races обновлён до 2.0",
|
||||||
|
"Custom races stay on when an update changes the race catalog": "Кастомные расы остаются включёнными, когда обновление меняет каталог рас",
|
||||||
|
"Server support for companion bots on Wildcard and Warcraft Reborn": "Сервер поддерживает ботов-компаньонов на Wildcard и Warcraft Reborn",
|
||||||
|
"Custom-race characters stay out of the world while custom races are off": "Персонажи кастомных рас не входят в мир, пока кастомные расы выключены",
|
||||||
|
"Companion bots play Wildcard and Warcraft Reborn": "Боты-компаньоны играют на Wildcard и Warcraft Reborn",
|
||||||
|
"Stopping the server no longer leaves the world running now and then": "Остановка сервера больше не оставляет мир работающим время от времени",
|
||||||
|
"The server includes a native launcher for the world supervisor": "В сервер входит нативный лаунчер для супервизора мира"
|
||||||
},
|
},
|
||||||
"de": {
|
"de": {
|
||||||
"Restrict new characters by custom race without changing existing characters": "Neue Charaktere nach zusätzlichem Volk beschränken, ohne bestehende Charaktere zu ändern",
|
"Restrict new characters by custom race without changing existing characters": "Neue Charaktere nach zusätzlichem Volk beschränken, ohne bestehende Charaktere zu ändern",
|
||||||
@@ -786,7 +852,13 @@
|
|||||||
"The character sheet of a Two-Players head shows the other head's class": "Der Charakterbogen eines Two-Players-Kopfes zeigt die Klasse des anderen Kopfes",
|
"The character sheet of a Two-Players head shows the other head's class": "Der Charakterbogen eines Two-Players-Kopfes zeigt die Klasse des anderen Kopfes",
|
||||||
"Two-Players Ogres can fit a carried mount in a window and share the fit": "Two-Players-Oger können ein getragenes Reittier in einem Fenster anpassen und die Anpassung teilen",
|
"Two-Players Ogres can fit a carried mount in a window and share the fit": "Two-Players-Oger können ein getragenes Reittier in einem Fenster anpassen und die Anpassung teilen",
|
||||||
"Custom Races V2 with 17 new races, subclasses and the Fading Island": "Custom Races V2 mit 17 neuen Völkern, Unterklassen und der Fading Island",
|
"Custom Races V2 with 17 new races, subclasses and the Fading Island": "Custom Races V2 mit 17 neuen Völkern, Unterklassen und der Fading Island",
|
||||||
"Updated Custom Races to 2.0": "Custom Races auf 2.0 aktualisiert"
|
"Updated Custom Races to 2.0": "Custom Races auf 2.0 aktualisiert",
|
||||||
|
"Custom races stay on when an update changes the race catalog": "Eigene Völker bleiben aktiv, wenn ein Update den Völkerkatalog ändert",
|
||||||
|
"Server support for companion bots on Wildcard and Warcraft Reborn": "Serverunterstützung für Begleiter-Bots auf Wildcard und Warcraft Reborn",
|
||||||
|
"Custom-race characters stay out of the world while custom races are off": "Figuren eigener Völker bleiben der Welt fern, solange eigene Völker aus sind",
|
||||||
|
"Companion bots play Wildcard and Warcraft Reborn": "Begleiter-Bots spielen Wildcard und Warcraft Reborn",
|
||||||
|
"Stopping the server no longer leaves the world running now and then": "Das Stoppen des Servers lässt die Welt nicht mehr gelegentlich weiterlaufen",
|
||||||
|
"The server includes a native launcher for the world supervisor": "Der Server enthält einen nativen Launcher für die Weltüberwachung"
|
||||||
},
|
},
|
||||||
"fr": {
|
"fr": {
|
||||||
"Restrict new characters by custom race without changing existing characters": "Restreignez les races supplémentaires des nouveaux personnages sans modifier les personnages existants",
|
"Restrict new characters by custom race without changing existing characters": "Restreignez les races supplémentaires des nouveaux personnages sans modifier les personnages existants",
|
||||||
@@ -1074,7 +1146,13 @@
|
|||||||
"The character sheet of a Two-Players head shows the other head's class": "La fiche de personnage d'une tête Two-Players affiche la classe de l'autre tête",
|
"The character sheet of a Two-Players head shows the other head's class": "La fiche de personnage d'une tête Two-Players affiche la classe de l'autre tête",
|
||||||
"Two-Players Ogres can fit a carried mount in a window and share the fit": "Les ogres Two-Players peuvent ajuster une monture portée dans une fenêtre et partager l'ajustement",
|
"Two-Players Ogres can fit a carried mount in a window and share the fit": "Les ogres Two-Players peuvent ajuster une monture portée dans une fenêtre et partager l'ajustement",
|
||||||
"Custom Races V2 with 17 new races, subclasses and the Fading Island": "Custom Races V2 avec 17 nouvelles races, les sous-classes et la Fading Island",
|
"Custom Races V2 with 17 new races, subclasses and the Fading Island": "Custom Races V2 avec 17 nouvelles races, les sous-classes et la Fading Island",
|
||||||
"Updated Custom Races to 2.0": "Custom Races passe en version 2.0"
|
"Updated Custom Races to 2.0": "Custom Races passe en version 2.0",
|
||||||
|
"Custom races stay on when an update changes the race catalog": "Les races personnalisées restent actives quand une mise à jour change le catalogue des races",
|
||||||
|
"Server support for companion bots on Wildcard and Warcraft Reborn": "Prise en charge serveur des bots compagnons sur Wildcard et Warcraft Reborn",
|
||||||
|
"Custom-race characters stay out of the world while custom races are off": "Les personnages de races personnalisées restent hors du monde quand ces races sont désactivées",
|
||||||
|
"Companion bots play Wildcard and Warcraft Reborn": "Les bots compagnons jouent en Wildcard et Warcraft Reborn",
|
||||||
|
"Stopping the server no longer leaves the world running now and then": "Arrêter le serveur ne laisse plus parfois le monde tourner",
|
||||||
|
"The server includes a native launcher for the world supervisor": "Le serveur inclut un lanceur natif pour le superviseur du monde"
|
||||||
},
|
},
|
||||||
"es": {
|
"es": {
|
||||||
"Restrict new characters by custom race without changing existing characters": "Restringe las razas adicionales de personajes nuevos sin modificar los existentes",
|
"Restrict new characters by custom race without changing existing characters": "Restringe las razas adicionales de personajes nuevos sin modificar los existentes",
|
||||||
@@ -1362,7 +1440,13 @@
|
|||||||
"The character sheet of a Two-Players head shows the other head's class": "La hoja de personaje de una cabeza Two-Players muestra la clase de la otra cabeza",
|
"The character sheet of a Two-Players head shows the other head's class": "La hoja de personaje de una cabeza Two-Players muestra la clase de la otra cabeza",
|
||||||
"Two-Players Ogres can fit a carried mount in a window and share the fit": "Los ogros Two-Players pueden ajustar una montura transportada en una ventana y compartir el ajuste",
|
"Two-Players Ogres can fit a carried mount in a window and share the fit": "Los ogros Two-Players pueden ajustar una montura transportada en una ventana y compartir el ajuste",
|
||||||
"Custom Races V2 with 17 new races, subclasses and the Fading Island": "Custom Races V2 con 17 razas nuevas, subclases y la Fading Island",
|
"Custom Races V2 with 17 new races, subclasses and the Fading Island": "Custom Races V2 con 17 razas nuevas, subclases y la Fading Island",
|
||||||
"Updated Custom Races to 2.0": "Custom Races se actualiza a 2.0"
|
"Updated Custom Races to 2.0": "Custom Races se actualiza a 2.0",
|
||||||
|
"Custom races stay on when an update changes the race catalog": "Las razas personalizadas siguen activas cuando una actualización cambia el catálogo de razas",
|
||||||
|
"Server support for companion bots on Wildcard and Warcraft Reborn": "Soporte del servidor para bots acompañantes en Wildcard y Warcraft Reborn",
|
||||||
|
"Custom-race characters stay out of the world while custom races are off": "Los personajes de razas personalizadas quedan fuera del mundo mientras esas razas están desactivadas",
|
||||||
|
"Companion bots play Wildcard and Warcraft Reborn": "Los bots acompañantes juegan en Wildcard y Warcraft Reborn",
|
||||||
|
"Stopping the server no longer leaves the world running now and then": "Detener el servidor ya no deja el mundo en marcha de vez en cuando",
|
||||||
|
"The server includes a native launcher for the world supervisor": "El servidor incluye un lanzador nativo para el supervisor del mundo"
|
||||||
},
|
},
|
||||||
"zh": {
|
"zh": {
|
||||||
"Restrict new characters by custom race without changing existing characters": "限制新角色可选的自定义种族,不影响现有角色",
|
"Restrict new characters by custom race without changing existing characters": "限制新角色可选的自定义种族,不影响现有角色",
|
||||||
@@ -1650,7 +1734,13 @@
|
|||||||
"The character sheet of a Two-Players head shows the other head's class": "Two-Players 头的角色面板会显示另一个头的职业",
|
"The character sheet of a Two-Players head shows the other head's class": "Two-Players 头的角色面板会显示另一个头的职业",
|
||||||
"Two-Players Ogres can fit a carried mount in a window and share the fit": "Two-Players 食人魔可以在窗口中调整携带的坐骑并共享调整结果",
|
"Two-Players Ogres can fit a carried mount in a window and share the fit": "Two-Players 食人魔可以在窗口中调整携带的坐骑并共享调整结果",
|
||||||
"Custom Races V2 with 17 new races, subclasses and the Fading Island": "Custom Races V2:17 个新种族、副职业和 Fading Island",
|
"Custom Races V2 with 17 new races, subclasses and the Fading Island": "Custom Races V2:17 个新种族、副职业和 Fading Island",
|
||||||
"Updated Custom Races to 2.0": "已将 Custom Races 更新至 2.0"
|
"Updated Custom Races to 2.0": "已将 Custom Races 更新至 2.0",
|
||||||
|
"Custom races stay on when an update changes the race catalog": "更新改变种族目录时,自定义种族保持开启",
|
||||||
|
"Server support for companion bots on Wildcard and Warcraft Reborn": "服务器支持 Wildcard 和 Warcraft Reborn 上的伙伴机器人",
|
||||||
|
"Custom-race characters stay out of the world while custom races are off": "自定义种族关闭时,该类角色无法进入世界",
|
||||||
|
"Companion bots play Wildcard and Warcraft Reborn": "伙伴机器人可在 Wildcard 和 Warcraft Reborn 中游戏",
|
||||||
|
"Stopping the server no longer leaves the world running now and then": "停止服务器时不再偶尔让世界继续运行",
|
||||||
|
"The server includes a native launcher for the world supervisor": "服务器附带用于世界监管程序的原生启动器"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1988,6 +1988,437 @@
|
|||||||
},
|
},
|
||||||
"experimentalFeatures": [],
|
"experimentalFeatures": [],
|
||||||
"compare": "https://github.com/Corfirean/coa-server-build/compare/server-0.261108.95...server-0.261114.106"
|
"compare": "https://github.com/Corfirean/coa-server-build/compare/server-0.261108.95...server-0.261114.106"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tag": "server-0.261115.110",
|
||||||
|
"version": "0.261115.110",
|
||||||
|
"date": "2026-11-15",
|
||||||
|
"url": "https://github.com/Corfirean/coa-server-build/releases/tag/server-0.261115.110",
|
||||||
|
"notes": [
|
||||||
|
"Test build of the subclass module for two-headed Ogres",
|
||||||
|
"Thin Twins can earn a subclass through their own quest, the Bravery Badge",
|
||||||
|
"A two-headed Ogre's ranged subclass can shoot at point-blank range",
|
||||||
|
"Ogres have a new racial, Tolerance",
|
||||||
|
"Standard-class Ogres and Thin Humans start with only their own class kit",
|
||||||
|
"Helmets sit on the Thin Human's head instead of his chest",
|
||||||
|
"LiveMon shows live damage, healing, crowd control and subclass combo statistics",
|
||||||
|
"Standard-class Ogres and Thin Twins can take a CoA class as their subclass",
|
||||||
|
"Thin Human and Two-Headed Ogre are now their own playable races",
|
||||||
|
"Subclassed relic users can hold a relic beside a ranged weapon",
|
||||||
|
"Server options to limit subclassing or turn the two subclass races off",
|
||||||
|
"A standard subclass brings its whole basic kit, skills and weapons",
|
||||||
|
"Two-Headed Ogres and Thin Humans with a standard class can now pick a subclass",
|
||||||
|
"Thin Humans find more gold with the Hand-Me-Downs racial",
|
||||||
|
"Two-Headed Ogres wear helmets on both heads",
|
||||||
|
"Flying mounts no longer fly in Kalimdor and the Eastern Kingdoms",
|
||||||
|
"LiveMon's character tab can be closed and goes away for deleted characters",
|
||||||
|
"Classic classes can be limited to their Wrath of the Lich King abilities",
|
||||||
|
"Dual Wield shows once in the spellbook",
|
||||||
|
"Two-Headed Ogres get Subclass Bar 1 for the other head's spells",
|
||||||
|
"Subclass forms leave Two-Headed Ogres in their own body and turn the twin brother instead",
|
||||||
|
"CoA subclass trees show their specialization painting in the subclass tab",
|
||||||
|
"Characters with a subclass no longer get Dual Specialization",
|
||||||
|
"You can hold only one subclass book and one insight at a time",
|
||||||
|
"Thin Humans and Two-Headed Ogres get the quests of their starting zone",
|
||||||
|
"The Bravery Badge and the Book of Origins look and read like a badge and a book",
|
||||||
|
"Ghost Wolf and Travel Form turn the whole ogre, and the twin brother rides the beast",
|
||||||
|
"Standard-class mains can spend points in their subclass trees and reset main talents",
|
||||||
|
"Your subclass's trainer can reset only your subclass talents",
|
||||||
|
"The Thin Human's cape lies along his back instead of sticking out like a board",
|
||||||
|
"The twin brother finishes pointing before hopping off and readies his weapon with you",
|
||||||
|
"The twin brother fights with his melee weapon up close and sits close behind you on mounts",
|
||||||
|
"The twin brother copies your pose on hover discs, carpets and other unusual mounts",
|
||||||
|
"Two-Headed Ogres sit in cars and keep their mace drawn after a shot",
|
||||||
|
"Two-Headed Ogres fight with a weapon in one hand and a gun in the other",
|
||||||
|
"The Ogre's Agree or Disagree racial now shows what it will do next",
|
||||||
|
"The Thin Twins' brother turns into a worgen in every subclass Cursed Form",
|
||||||
|
"Leaps and charges ordered for the Thin Twins' brother move him instead of you",
|
||||||
|
"CoA classes taken as a subclass get their class mechanics",
|
||||||
|
"Thin Twins and Two-Headed Ogres keep their weapons in a subclass Cursed Form",
|
||||||
|
"Hovering a Guardian standard no longer causes a Lua error",
|
||||||
|
"LiveMon shows specialization names instead of their signature spells",
|
||||||
|
"Ogre eyes are picked by colour, with a Blind checkbox for each eye",
|
||||||
|
"Two-headed ogres no longer keep casting after a subclass spell with a cast time",
|
||||||
|
"Two-headed ogres cast every subclass spell with the left arm",
|
||||||
|
"The other half only shoots when you attack a target out of melee reach",
|
||||||
|
"The other head raises her hand while casting and your presses come first",
|
||||||
|
"Saving talent changes no longer fails for characters with a subclass",
|
||||||
|
"The second-way quest no longer pops up at level 20",
|
||||||
|
"Every race can create the standard classes the creation screen offers again",
|
||||||
|
"Subclass Bar 1 shows cooldowns, charges and casts like a normal action bar",
|
||||||
|
"Subclass Bar 1 refills itself when you change subclass",
|
||||||
|
"Subclass Bar 1 appears as soon as you choose a subclass",
|
||||||
|
"Subclass Bar 1 works like an action bar and can live in Bartender4",
|
||||||
|
"A subclass can never be the character's own class",
|
||||||
|
"New characters no longer inherit the subclass of a deleted character",
|
||||||
|
"Sun Cleric, Barbarian, Bloodmage and Cultist subclass resources use the game's own orbs",
|
||||||
|
"Shapeshifting no longer takes away the twin brother or the subclass",
|
||||||
|
"A subclass specialization now teaches the ability its passive promises",
|
||||||
|
"Subclass stances and forms appear only on the subclass stance bar",
|
||||||
|
"Subclass vows, auras and formations move to the subclass stance bar",
|
||||||
|
"The Thin Human's cape rests on his shoulders and moves with them",
|
||||||
|
"The twin brother gets a real spot in cars and rides along in passenger seats",
|
||||||
|
"The twin brother puts his weapons away while he wears a subclass shape",
|
||||||
|
"The Thin Twins' brother now shows the flash and glow of subclass forms",
|
||||||
|
"The twin brother sneaks along in stealth instead of staying behind",
|
||||||
|
"The stance button takes a Thin Twin out of a form his brother wears again",
|
||||||
|
"The Two-Head and Two-Thins tabs show one wide background and the right class icon",
|
||||||
|
"The Two-Head and Two-Thins trees use the game's own talent nodes",
|
||||||
|
"Agree or Disagree takes one spellbook slot that changes name and icon",
|
||||||
|
"Subclass talent trees no longer let you spend more points than you have",
|
||||||
|
"Your brother stays at your side when you melee with a bow equipped",
|
||||||
|
"A melee brother stays on your target and keeps fighting",
|
||||||
|
"The Two-Headed Ogre twists her body less while her other head casts",
|
||||||
|
"Thin Twins and Two-Headed Ogres are Hero Races that need a level 60 character",
|
||||||
|
"The Two-Headed Ogre's portrait shows both heads instead of her body",
|
||||||
|
"Your other half's spells break your stealth, and Running Wild ends when you stealth",
|
||||||
|
"Spells your other half casts now trigger the class's talents and resources",
|
||||||
|
"Your other half takes the subclass's Cat, Bear and stance forms on their own",
|
||||||
|
"Your other head or brother can no longer finish a cast while you run",
|
||||||
|
"The other head's hand glows while she casts",
|
||||||
|
"With Play Easy on, your other half uses abilities that cost health",
|
||||||
|
"New racial passives explain the shared and split resource pools",
|
||||||
|
"The dressing room works for races without their own background, no extra addon needed",
|
||||||
|
"Your brother climbs onto your Travel Form or wolf even after a fight",
|
||||||
|
"When your brother uses Running Wild, you ride on his back",
|
||||||
|
"In Running Wild you ride on your brother's shoulders",
|
||||||
|
"Your weapons no longer go missing after a Running Wild ride",
|
||||||
|
"When both halves use the same resource, their pool is twice as big",
|
||||||
|
"The subclass window shows every CoA class's own background at full strength",
|
||||||
|
"You can rearrange Subclass Bar 1 during combat without an error",
|
||||||
|
"Your other head or brother has a cast bar of their own",
|
||||||
|
"Choice talents in the subclass window show as one node with two options",
|
||||||
|
"SpellActivationOverlay can light up Subclass Bar 1",
|
||||||
|
"Your subclass's resource now shows as an extra bar under your portrait",
|
||||||
|
"Your other half's resource bar keeps its value when you log out and back in",
|
||||||
|
"Rage, energy and runic power subclasses now get and use their resource",
|
||||||
|
"Subclass resource orbs only appear when your subclass specialization can fill them",
|
||||||
|
"Your subclass specialization comes with its first class talent learned",
|
||||||
|
"Your main class's key stat now also powers your subclass",
|
||||||
|
"Subclass talents follow the paths and point requirements of their tree",
|
||||||
|
"Your summons follow your brother while he walks beside you",
|
||||||
|
"Your brother rides on the back of your Travel Form cat and moves with it",
|
||||||
|
"Dressing your twin in the wardrobe no longer causes an addon error",
|
||||||
|
"Your brother rides on your back in Wargstride",
|
||||||
|
"A Bloodmage subclass's Cursed Form no longer replaces your own action bar",
|
||||||
|
"Pressing an active subclass stance or form again turns it off",
|
||||||
|
"Character select shows your subclass under your class",
|
||||||
|
"The Two-Headed Ogre's second head no longer pokes through hats",
|
||||||
|
"Two-Headed Ogres keep aiming between shots instead of idling",
|
||||||
|
"Two-Headed Ogres who shoot rest their gun on the shoulder when not firing",
|
||||||
|
"Two-Headed Ogres who shoot themselves aim and fire their gun with the right hand",
|
||||||
|
"Two-Headed Ogres who shoot fire their bullets from the gun hand",
|
||||||
|
"The wardrobe shows a Two-Headed Ogre's applied look and her saved outfits apply again",
|
||||||
|
"The second head's quest mark floats over her head in cities and inns",
|
||||||
|
"Subclass Bar 1 no longer fills up with Throw, Shoot, Wand and Auto Attack",
|
||||||
|
"Abilities you learn from your subclass no longer land on your own action bars",
|
||||||
|
"A caster Two-Headed Ogre keeps her staff in hand while her second head shoots",
|
||||||
|
"A Two-Headed Ogre's staff keeps its size when she puts it on her back",
|
||||||
|
"A shooting subclass starts Auto Shot on right-click without logging out first",
|
||||||
|
"A Hunter subclass keeps Auto Shot going while the main head casts or moves",
|
||||||
|
"Weapons and armor from a subclass stay usable after logging in again",
|
||||||
|
"Two-Headed Ogres are Horde again and Thin Twins share Forgotten race rules",
|
||||||
|
"Thin Humans and Two-Headed Ogres can no longer be created as Hero",
|
||||||
|
"The Two-Headed Ogre stays in her combat stance between attacks",
|
||||||
|
"The second-head tab only shows for Two-Headed Ogres and Thin Twins",
|
||||||
|
"Thin Twins capes no longer show their inside at the shoulders",
|
||||||
|
"Thin Twins keep short hair under hats",
|
||||||
|
"Thin Twins keep their face, cape and hat fit with CoA Custom 1.9.2",
|
||||||
|
"Thin Twins show their class gear in character creation",
|
||||||
|
"Two-Headed Ogre capes drape over her back",
|
||||||
|
"CoA Custom 1.9.5 races work on the subclass server",
|
||||||
|
"With Play easy, cowboy the brother leaves a spent timed form",
|
||||||
|
"The Two-Headed Ogre casts with a raised fist before her face",
|
||||||
|
"The second-head client patch is now patch-ZZZZT.MPQ",
|
||||||
|
"Dual Wield shows once in the spellbook, whichever class teaches it",
|
||||||
|
"The subclass addon keeps working when the Twins or Ogre are renamed",
|
||||||
|
"The subclass name shows only on the character tab",
|
||||||
|
"The Thin Twins' Accursed brother keeps his distance until he takes his cursed form",
|
||||||
|
"The Thin Twins' brother follows a form's cost, cooldown and duration",
|
||||||
|
"The Thin Twins' own mana bar no longer flickers",
|
||||||
|
"Witch Hunter Vault now springs over in a handspring instead of a jump",
|
||||||
|
"The Twins brother keeps his timed form and no longer takes forms a spell forbids",
|
||||||
|
"The Twins brother faces his target, leaps in and leaves a form to heal you",
|
||||||
|
"With Play easy, cowboy, the brother uses his timed forms in a fight",
|
||||||
|
"Original races no longer look broken in the 64-bit client's character creation",
|
||||||
|
"Subclasses get their specialization's free passives, like the Pyromancer's draconic form",
|
||||||
|
"The subclass cast bar no longer gets stuck and can always be Alt-dragged",
|
||||||
|
"Pick-one talents in the subclass window no longer overlap their neighbours",
|
||||||
|
"Subclass spells get their rank upgrades, resources and class mechanics",
|
||||||
|
"Subclass talents that replace a spell now replace it for the subclass too",
|
||||||
|
"The Thin Twins keep their own hairstyle under hats",
|
||||||
|
"The Twins brother takes the look of the cursed form he actually uses",
|
||||||
|
"The Twins brother stands beside you at character select in his own clothes",
|
||||||
|
"The Twins brother climbs down from your back before taking a form",
|
||||||
|
"Spells the Twins brother casts no longer play a cast animation on you",
|
||||||
|
"The Thin Twins brother is now your mirror image",
|
||||||
|
"The Thin Twins brother can have his own face, hair style and beard",
|
||||||
|
"A script builds the original races' Vault patches from your own client files",
|
||||||
|
"The subclass client patch is now built after the release's own patches",
|
||||||
|
"The mirrored Thin Twins brother is built from the current Thin Twins model",
|
||||||
|
"Pressing your subclass mount again dismounts you",
|
||||||
|
"Removing a subclass dismisses the pet it let you summon",
|
||||||
|
"Removing a Warlock or Paladin subclass no longer unlearns your mounts",
|
||||||
|
"Removing a subclass no longer leaves its spells in your spellbook",
|
||||||
|
"A Starcaller subclass shows Lunar Phase as CoA's moon",
|
||||||
|
"Your twin's or other head's pet gets its own movable pet bar",
|
||||||
|
"A Ranged Head stands still while the Melee Head is offline",
|
||||||
|
"A bot plays the missing head of a Two-Players ogre",
|
||||||
|
"A Ranged Head keeps an echo of its deleted Melee Head's gear",
|
||||||
|
"Two-Players ogres hold books, pouches and orbs forward in the off hand",
|
||||||
|
"Two-Players ogres can pair up as Melee Head and Ranged Head",
|
||||||
|
"Paired Two-Players heads share one body",
|
||||||
|
"SquidBots Lite no longer prints \"Command 'dc status' does not exist\" at login",
|
||||||
|
"The subclass action bar no longer causes a blocked-action error in combat",
|
||||||
|
"Two-Players heads split their abilities into melee for the body and ranged for the rider",
|
||||||
|
"Two-Players heads gain Agree or Disagree stacks when they fight together",
|
||||||
|
"Two-Players heads can only be CoA classes",
|
||||||
|
"The Ranged Head's gear slots are frozen in ice and can no longer be dragged",
|
||||||
|
"Two-Players heads find the abilities they borrow on their own bar",
|
||||||
|
"Two-Players ogres can Bonk Heads! together once the heads have agreed long enough",
|
||||||
|
"Abilities lent between Two-Players heads follow each head's respecs and new spells",
|
||||||
|
"Two-Players ogres can use Mutate Me! to take the eyes-everywhere look and back",
|
||||||
|
"A Two-Players ogre fills one party spot and enters dungeons as one player",
|
||||||
|
"A Two-Players ogre joins a party only when there is room for both heads",
|
||||||
|
"A Ranged Head's own frame now stands for the shared Two-Players body",
|
||||||
|
"The Two-Players Ranged Head shares the body's health and both heads get full kill XP",
|
||||||
|
"The Two-Players Ranged Head shares the body's gear",
|
||||||
|
"Two-Players heads split quest gold, share one resource pool and keep their head's specs",
|
||||||
|
"Mobs attacked by the Two-Players Ranged Head now fight the body",
|
||||||
|
"Two-Players Twins: the second brother rides piggyback on the first, visible as himself",
|
||||||
|
"Bot plans panel shows what your group's bots are doing and lets you pick their next quest",
|
||||||
|
"Questing bots do all their quests in one area before moving on",
|
||||||
|
"The Twins' second brother keeps and wears his own gear on his brother's back",
|
||||||
|
"A Two-Players twin can call his brother to his side until another player joins him",
|
||||||
|
"Agree now raises spell and ranged hit too, not only melee hit",
|
||||||
|
"Two-Players ogres drop their mount when either head attacks",
|
||||||
|
"The other head's abilities now go on your own action bars",
|
||||||
|
"A bot body keeps questing, looting and resting after a fight instead of standing still",
|
||||||
|
"A bot body's SquidBots menu now opens from a button on your own player frame",
|
||||||
|
"Character select shows a Two-Players head's joined name and its partner's class",
|
||||||
|
"The Ranged Head now goes into and out of Dungeon Finder dungeons with the body",
|
||||||
|
"Two-Players can be switched off with Subclass.TwoPlayers.Enable",
|
||||||
|
"The other head's abilities only cost you resources when they actually go off",
|
||||||
|
"Character select shows a Two-Players ogre in his Mutate Me look",
|
||||||
|
"The Ranged Head gets the enchant, gem and suffix stats of the shared gear",
|
||||||
|
"The Ranged Head of a Two-Headed Ogre no longer pops out of the body at logout",
|
||||||
|
"A Ranged Head and its bot body are in one party again, so party chat and bot orders work",
|
||||||
|
"A bot riding as the Ranged Head no longer rests, roams or makes the body sit down",
|
||||||
|
"The character sheet of a Two-Players head shows the other head's class",
|
||||||
|
"Two-Players Ogres can fit a carried mount in a window and share the fit",
|
||||||
|
"Custom Races V2 with 17 new races, subclasses and the Fading Island",
|
||||||
|
"Updated Custom Races to 2.0"
|
||||||
|
],
|
||||||
|
"snapshot": "d3d10476d144d2a701a5a122f1f249ff8219f7a6324e007cb3e153d4628973f7",
|
||||||
|
"components": {
|
||||||
|
"upstream": {
|
||||||
|
"repository": "jealous-sound/azerothcore-wotlk-coa",
|
||||||
|
"ref": "96afaf0f51cc4b37f1eba282bffb1c5aab353de6",
|
||||||
|
"sha": "96afaf0f51cc4b37f1eba282bffb1c5aab353de6"
|
||||||
|
},
|
||||||
|
"core": {
|
||||||
|
"repository": "Corfirean/azerothcore-wotlk-coa",
|
||||||
|
"ref": "9740ced5c41806115d851ab37ab34f28e1e8b712",
|
||||||
|
"sha": "9740ced5c41806115d851ab37ab34f28e1e8b712"
|
||||||
|
},
|
||||||
|
"bots": {
|
||||||
|
"repository": "Corfirean/mod-coa-playerbots",
|
||||||
|
"ref": "30a5a555f56fda8f4ccad14be8438bd0532d85b9",
|
||||||
|
"sha": "30a5a555f56fda8f4ccad14be8438bd0532d85b9"
|
||||||
|
},
|
||||||
|
"scaling": {
|
||||||
|
"repository": "Corfirean/mod-coa-content-scaling",
|
||||||
|
"ref": "3c2febf636bd09087bb278e381b975271a70fdf6",
|
||||||
|
"sha": "3c2febf636bd09087bb278e381b975271a70fdf6"
|
||||||
|
},
|
||||||
|
"manager": {
|
||||||
|
"repository": "Corfirean/coa-server-manager",
|
||||||
|
"ref": "d3527312803fb5a3e1cd48e01496645a8bbc9dcf",
|
||||||
|
"sha": "d3527312803fb5a3e1cd48e01496645a8bbc9dcf"
|
||||||
|
},
|
||||||
|
"races": {
|
||||||
|
"repository": "ilusixn/CustomRacesCoa",
|
||||||
|
"ref": "coa-custom-2.0",
|
||||||
|
"sha": "dae0c661f7197bafd0a42d80866fa8709b3792c9",
|
||||||
|
"assets": [
|
||||||
|
{
|
||||||
|
"name": "CoA-Custom-Races-V2-Credits.csv",
|
||||||
|
"size": 5487,
|
||||||
|
"digest": "sha256:9afb0b777498d14601476bed7ce82a449ce2b80af5dae107f7309081c1936882",
|
||||||
|
"url": "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0/CoA-Custom-Races-V2-Credits.csv"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "CoA-Custom-Races-V2-Credits.xlsx",
|
||||||
|
"size": 10129,
|
||||||
|
"digest": "sha256:d24b51f42870e9ab370279e37ea1cd894b7a208cb8960548c0f465222d50c850",
|
||||||
|
"url": "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0/CoA-Custom-Races-V2-Credits.xlsx"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "CoA-Custom-V2-Client-1.zip",
|
||||||
|
"size": 1513021586,
|
||||||
|
"digest": "sha256:a9dd51ed2d90fb048d549602f40f5429d56e2df0df5606a38781b358fa369568",
|
||||||
|
"url": "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0/CoA-Custom-V2-Client-1.zip"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "CoA-Custom-V2-Client-2.zip",
|
||||||
|
"size": 1198283005,
|
||||||
|
"digest": "sha256:ab084a55509ccbcc2977a06dd0c01fa879973a1892baaacaeb3ff52f3dfc750e",
|
||||||
|
"url": "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0/CoA-Custom-V2-Client-2.zip"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "CoA-Custom-V2-Client-3.zip",
|
||||||
|
"size": 1671130705,
|
||||||
|
"digest": "sha256:0af34199f0739ce086adb0371d3de7c1a0f5ca9c62ecde6b0efe9286e33874a8",
|
||||||
|
"url": "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0/CoA-Custom-V2-Client-3.zip"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "CoA-Custom-V2-Client-4.zip",
|
||||||
|
"size": 502385128,
|
||||||
|
"digest": "sha256:e0bd87172af989fa50a8e2b08ba4321c72b6265047482f051a1db3b80d55bcaa",
|
||||||
|
"url": "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0/CoA-Custom-V2-Client-4.zip"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "CoA-Custom-V2-Client-5.zip",
|
||||||
|
"size": 168079711,
|
||||||
|
"digest": "sha256:73364ad1b58c6342641a848a3b20a835472834f600416606be1470386774ca78",
|
||||||
|
"url": "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0/CoA-Custom-V2-Client-5.zip"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "CoA-Custom-V2-Client-6.zip",
|
||||||
|
"size": 1881526537,
|
||||||
|
"digest": "sha256:91db79b7b451856fa9e45daea52e0fe1c04676653dd8a88e6627f04ee7b47759",
|
||||||
|
"url": "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0/CoA-Custom-V2-Client-6.zip"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "CoA-Custom-V2-Client-7.zip",
|
||||||
|
"size": 734725114,
|
||||||
|
"digest": "sha256:4c5532d775d206a3b913a6111040bb96b95c683b74c08a6131ed9f38db8e2b39",
|
||||||
|
"url": "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0/CoA-Custom-V2-Client-7.zip"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "CoA-Custom-V2-Client-8.zip",
|
||||||
|
"size": 734216670,
|
||||||
|
"digest": "sha256:bdaa1d047e8767bd5715f1e8465d116220597d9c135a43e2dda02e12ce2e5526",
|
||||||
|
"url": "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0/CoA-Custom-V2-Client-8.zip"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "CoA-Custom-V2-Client-9.zip",
|
||||||
|
"size": 195235400,
|
||||||
|
"digest": "sha256:0764893543084a12d15578fe734f66ba4519740794a6b3b3a38a08594c38c640",
|
||||||
|
"url": "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0/CoA-Custom-V2-Client-9.zip"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "CoA-Custom-V2-Server.zip",
|
||||||
|
"size": 63983587,
|
||||||
|
"digest": "sha256:8970d61eea40f53cea4c27481edd85d2b2647cd32eb88932e0077da3b4a77d23",
|
||||||
|
"url": "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0/CoA-Custom-V2-Server.zip"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "creation-screen.png",
|
||||||
|
"size": 2139517,
|
||||||
|
"digest": "sha256:84c3144f34ef8015e8612e412da03383241124d58e36c703eeb2a525096a5795",
|
||||||
|
"url": "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0/creation-screen.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "INSTALL-GUIDE.txt",
|
||||||
|
"size": 2504,
|
||||||
|
"digest": "sha256:da402117a90a60a029fdce9a94125ddd28b386a73f37c180992befca57e9f13a",
|
||||||
|
"url": "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0/INSTALL-GUIDE.txt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "PATCH-NOTES-V2.txt",
|
||||||
|
"size": 4388,
|
||||||
|
"digest": "sha256:82901d54b1f13cd8b2e7a73a7c2fdc3e237f8090c332729bc553818834fe27d0",
|
||||||
|
"url": "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0/PATCH-NOTES-V2.txt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RACES.md",
|
||||||
|
"size": 8629,
|
||||||
|
"digest": "sha256:1e7a9aaee354b07924a8cdda5e4dbffe4cad88f215d68efb74d8d0832403422d",
|
||||||
|
"url": "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0/RACES.md"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "SHA256SUMS.txt",
|
||||||
|
"size": 938,
|
||||||
|
"digest": "sha256:a68591f04d661b558523133f99411fd4a7e32f1b45f79f977bb0989246f11179",
|
||||||
|
"url": "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0/SHA256SUMS.txt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "showcase.mp4",
|
||||||
|
"size": 81658913,
|
||||||
|
"digest": "sha256:a3d4b4f561bb12dcc91da562c5ee79157143f4b67997479edb2152b27b925a2a",
|
||||||
|
"url": "https://github.com/ilusixn/CustomRacesCoa/releases/download/coa-custom-2.0/showcase.mp4"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"server": [
|
||||||
|
{
|
||||||
|
"repository": "stefanw1337/azerothcore-wotlk-coa",
|
||||||
|
"branch": "stefanw1337-subclassing-test",
|
||||||
|
"sha": "ccea52d17a27482784e705e9cc913b68dedd9f85"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"provenance": [
|
||||||
|
{
|
||||||
|
"repository": "ilusixn/Fading-Islands-Restore",
|
||||||
|
"sha": "e150de1cb496314af752e98021e57ca93d5d799d",
|
||||||
|
"used": "server/core-patches"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"repository": "ilusixn/Custom-Race-3.3.5a",
|
||||||
|
"sha": "ac907655bd43dec2eff1b4ff509f7fb574325c58",
|
||||||
|
"used": "server/core racials"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"repository": "ilusixn/ilusixn-dev-menu",
|
||||||
|
"sha": "ea50a8533a3402c69c8773677db1027ec1180d2c",
|
||||||
|
"used": "modules/mod-ilusixn-devmenu"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"squid": {
|
||||||
|
"repository": "Zyth45/mod-playerbots",
|
||||||
|
"ref": "v3.0",
|
||||||
|
"sha": "4ef5ed9ebe75a330de7df19639a042391e037e15",
|
||||||
|
"patch": "patches/squid-coa-validation.patch",
|
||||||
|
"patchSha256": "2cc45bc6555d5bb3e91728840f9de6e73c002c73b270a37732a1499956241c5f"
|
||||||
|
},
|
||||||
|
"build": {
|
||||||
|
"repository": "Corfirean/coa-server-build",
|
||||||
|
"ref": "9a122d049e8be457444389e9756936bcdb4e7ef5",
|
||||||
|
"sha": "9a122d049e8be457444389e9756936bcdb4e7ef5"
|
||||||
|
},
|
||||||
|
"dungeon-clear": {
|
||||||
|
"repository": "Zyth45/mod-dungeon-clear",
|
||||||
|
"sha": "6efb59eae96bcc0730fc083314dd28d55970bbf4",
|
||||||
|
"patch": "patches/dungeon-clear-coa-validation.patch",
|
||||||
|
"patchSha256": "2845d389422e3a59e5c186ecf54b03f64f1dcc22cdef15729b60c354ae72cd6f",
|
||||||
|
"ref": "6efb59eae96bcc0730fc083314dd28d55970bbf4"
|
||||||
|
},
|
||||||
|
"navigation": {
|
||||||
|
"repository": "Corfirean/azerothcore-wotlk-coa",
|
||||||
|
"ref": "8b44099f480af0b69c6dfc697e4d388e865e9ffc",
|
||||||
|
"sha": "8b44099f480af0b69c6dfc697e4d388e865e9ffc",
|
||||||
|
"sourceRelease": "navigation-20261012",
|
||||||
|
"manifestSha256": "7f28600735f115792e79a5e8d1c8d78a83a8f5ed14a090c6d87268e49c2bb683",
|
||||||
|
"archiveSha256": "aa1347a095f85af44b4f592270a0e9314954801fda4578f0147f847e32c24a60",
|
||||||
|
"assets": [
|
||||||
|
{
|
||||||
|
"name": "navigation.zip.001",
|
||||||
|
"size": 1500000000,
|
||||||
|
"sha256": "e3a93903fc8155ee0d92db399ec426769c360bef87c44c07beb7e21cfd892c18",
|
||||||
|
"url": "https://github.com/Corfirean/coa-server-build/releases/download/navigation-20261012/navigation.zip.001"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "navigation.zip.002",
|
||||||
|
"size": 1377006470,
|
||||||
|
"sha256": "c1af26ba7f83676278613076c357c4da0a11cfa6ae1ff00003479057c4864471",
|
||||||
|
"url": "https://github.com/Corfirean/coa-server-build/releases/download/navigation-20261012/navigation.zip.002"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"experimentalFeatures": [],
|
||||||
|
"compare": "https://github.com/Corfirean/coa-server-build/compare/server-0.261114.106...server-0.261115.110"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
+36
-6
@@ -361,6 +361,16 @@ export interface CompanionSizes {
|
|||||||
sizes: { id: string; title: string; bots: number; warning: string | null }[];
|
sizes: { id: string; title: string; bots: number; warning: string | null }[];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface WildcardArchetypeDto {
|
||||||
|
id: string;
|
||||||
|
name: string;
|
||||||
|
roles: number;
|
||||||
|
primary_stat: number;
|
||||||
|
author: string;
|
||||||
|
difficulty: number;
|
||||||
|
category: number;
|
||||||
|
}
|
||||||
|
|
||||||
export interface ClientInfo {
|
export interface ClientInfo {
|
||||||
path: string;
|
path: string;
|
||||||
executable: string;
|
executable: string;
|
||||||
@@ -574,15 +584,35 @@ export const api = {
|
|||||||
invoke<{ txn: UpdateTxn; preexisting_character_count?: number }>("apply_update", { id, source: source ?? null, resolutions }),
|
invoke<{ txn: UpdateTxn; preexisting_character_count?: number }>("apply_update", { id, source: source ?? null, resolutions }),
|
||||||
rollbackUpdate: (id: string, txn: string) => invoke<UpdateTxn>("rollback_update", { id, txn }),
|
rollbackUpdate: (id: string, txn: string) => invoke<UpdateTxn>("rollback_update", { id, txn }),
|
||||||
retryUpdateValidation: (id: string, txn: string) => invoke<UpdateTxn>("retry_update_validation", { id, txn }),
|
retryUpdateValidation: (id: string, txn: string) => invoke<UpdateTxn>("retry_update_validation", { id, txn }),
|
||||||
population: (id: string) => invoke<Population | null>("get_population", { id }),
|
population: (id: string, realm?: RealmMode) => invoke<Population | null>("get_population", { id, realm: realm ?? null }),
|
||||||
stopSpawning: (id: string) => invoke<{ count: number }>("companions_stop_spawning", { id }),
|
stopSpawning: (id: string, realm?: RealmMode) => invoke<{ count: number }>("companions_stop_spawning", { id, realm: realm ?? null }),
|
||||||
takeOffline: (id: string) => invoke<{ count: number }>("companions_take_offline", { id }),
|
takeOffline: (id: string, realm?: RealmMode) => invoke<{ count: number }>("companions_take_offline", { id, realm: realm ?? null }),
|
||||||
despawnSome: (id: string, count: number) => invoke<{ count: number }>("companions_despawn_some", { id, count }),
|
despawnSome: (id: string, count: number, realm?: RealmMode) => invoke<{ count: number }>("companions_despawn_some", { id, count, realm: realm ?? null }),
|
||||||
deleteAllCompanions: (id: string) => invoke<{ count: number }>("companions_delete_all", { id }),
|
deleteAllCompanions: (id: string, realm?: RealmMode) => invoke<{ count: number }>("companions_delete_all", { id, realm: realm ?? null }),
|
||||||
|
loginAllCompanions: (id: string, realm?: RealmMode) => invoke<string>("companions_login_all", { id, realm: realm ?? null }),
|
||||||
|
spawnBotFleet: (id: string, race: number, level: number, realm?: RealmMode) => invoke<string>("companions_spawn_fleet", { id, race, level, realm: realm ?? null }),
|
||||||
openLink: (url: string) => invoke<void>("open_link", { url }),
|
openLink: (url: string) => invoke<void>("open_link", { url }),
|
||||||
performance: (id: string) => invoke<Performance | null>("get_performance", { id }),
|
performance: (id: string) => invoke<Performance | null>("get_performance", { id }),
|
||||||
companionSizes: () => invoke<CompanionSizes>("companion_sizes"),
|
companionSizes: () => invoke<CompanionSizes>("companion_sizes"),
|
||||||
addCompanions: (id: string, count: number) => invoke<{ spawned: string | null; created: number | null; baseline: number | null }>("add_companions", { id, count }),
|
addCompanions: (
|
||||||
|
id: string,
|
||||||
|
count: number,
|
||||||
|
realm?: RealmMode,
|
||||||
|
level?: number,
|
||||||
|
classId?: number,
|
||||||
|
specId?: number,
|
||||||
|
archetype?: string
|
||||||
|
) =>
|
||||||
|
invoke<{ spawned: string | null; created: number | null; baseline: number | null }>("add_companions", {
|
||||||
|
id,
|
||||||
|
count,
|
||||||
|
realm: realm ?? null,
|
||||||
|
level: level ?? null,
|
||||||
|
class_id: classId ?? null,
|
||||||
|
spec_id: specId ?? null,
|
||||||
|
archetype: archetype ?? null,
|
||||||
|
}),
|
||||||
|
getWildcardArchetypes: (id: string) => invoke<WildcardArchetypeDto[]>("get_wildcard_archetypes", { id }),
|
||||||
clientGraphics: (id: string) => invoke<{ dxvk_disabled: boolean; enhancements_disabled: boolean }>("client_graphics", { id }),
|
clientGraphics: (id: string) => invoke<{ dxvk_disabled: boolean; enhancements_disabled: boolean }>("client_graphics", { id }),
|
||||||
clientSetGraphics: (id: string, name: string, disabled: boolean) => invoke<{ dxvk_disabled: boolean; enhancements_disabled: boolean }>("client_set_graphics", { id, name, disabled }),
|
clientSetGraphics: (id: string, name: string, disabled: boolean) => invoke<{ dxvk_disabled: boolean; enhancements_disabled: boolean }>("client_set_graphics", { id, name, disabled }),
|
||||||
clientInfo: (id: string) => invoke<ClientInfo | null>("client_info", { id }),
|
clientInfo: (id: string) => invoke<ClientInfo | null>("client_info", { id }),
|
||||||
|
|||||||
+712
-159
@@ -1,30 +1,125 @@
|
|||||||
import { useEffect, useState } from "react";
|
import { useEffect, useState } from "react";
|
||||||
import { Loader2 } from "lucide-react";
|
import {
|
||||||
import { api, asUiError, type CompanionSizes, type Population, type UiError } from "@/lib/api";
|
Loader2,
|
||||||
|
Bot,
|
||||||
|
CheckCircle2,
|
||||||
|
AlertCircle,
|
||||||
|
RefreshCw,
|
||||||
|
Power,
|
||||||
|
Users,
|
||||||
|
Database,
|
||||||
|
} from "lucide-react";
|
||||||
|
import {
|
||||||
|
api,
|
||||||
|
asUiError,
|
||||||
|
type Population,
|
||||||
|
type RealmMode,
|
||||||
|
type RealmProfiles,
|
||||||
|
type UiError,
|
||||||
|
type WildcardArchetypeDto,
|
||||||
|
} from "@/lib/api";
|
||||||
import { Button } from "@/components/ui/button";
|
import { Button } from "@/components/ui/button";
|
||||||
import { Card } from "@/components/ui/card";
|
import { Card } from "@/components/ui/card";
|
||||||
import { hasKey, useHuman, useT, type Key } from "@/i18n";
|
import { useHuman, useT } from "@/i18n";
|
||||||
|
|
||||||
|
function formatRole(roles: number): string {
|
||||||
|
const parts: string[] = [];
|
||||||
|
if (roles & 1) parts.push("Tank");
|
||||||
|
if (roles & 2) parts.push("Melee");
|
||||||
|
if (roles & 4) parts.push("Ranged");
|
||||||
|
if (roles & 8) parts.push("Healer");
|
||||||
|
return parts.join("/") || "DPS";
|
||||||
|
}
|
||||||
|
|
||||||
|
function formatStat(stat: number): string {
|
||||||
|
switch (stat) {
|
||||||
|
case 0: return "Strength";
|
||||||
|
case 1: return "Agility";
|
||||||
|
case 2: return "Stamina";
|
||||||
|
case 3: return "Intellect";
|
||||||
|
case 4: return "Spirit";
|
||||||
|
default: return "All";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
export function CompanionsCard({ serverId }: { serverId: string }) {
|
export function CompanionsCard({ serverId }: { serverId: string }) {
|
||||||
const t = useT();
|
const t = useT();
|
||||||
const human = useHuman();
|
const human = useHuman();
|
||||||
const [sizes, setSizes] = useState<CompanionSizes | null>(null);
|
|
||||||
|
// Realm & Environment state
|
||||||
|
const [profiles, setProfiles] = useState<RealmProfiles | null>(null);
|
||||||
|
const [selectedRealm, setSelectedRealm] = useState<RealmMode>("coa");
|
||||||
const [pop, setPop] = useState<Population | null>(null);
|
const [pop, setPop] = useState<Population | null>(null);
|
||||||
const [running, setRunning] = useState(false);
|
const [running, setRunning] = useState(false);
|
||||||
const [choice, setChoice] = useState<string>("small");
|
|
||||||
const [custom, setCustom] = useState("100");
|
// Fleet Configuration state
|
||||||
|
const [spawnMode, setSpawnMode] = useState<"population" | "fleet">("population");
|
||||||
|
const [countChoice, setCountChoice] = useState<string>("50");
|
||||||
|
const [customCount, setCustomCount] = useState<string>("50");
|
||||||
|
const [targetLevel, setTargetLevel] = useState<number>(80);
|
||||||
|
const [selectedClass, setSelectedClass] = useState<string>("all");
|
||||||
|
const [selectedRole, setSelectedRole] = useState<string>("all");
|
||||||
|
const [selectedArchetype, setSelectedArchetype] = useState<string>("all");
|
||||||
|
const [wildcardArchetypes, setWildcardArchetypes] = useState<WildcardArchetypeDto[]>([]);
|
||||||
|
|
||||||
|
// Operational state
|
||||||
const [busy, setBusy] = useState(false);
|
const [busy, setBusy] = useState(false);
|
||||||
const [error, setError] = useState<UiError | null>(null);
|
const [error, setError] = useState<UiError | null>(null);
|
||||||
const [note, setNote] = useState<string | null>(null);
|
const [note, setNote] = useState<string | null>(null);
|
||||||
// Start-up login: how many existing bots the server brings online by itself every time it starts.
|
const [job, setJob] = useState<{ baseline: number; target: number; since: number } | null>(null);
|
||||||
|
|
||||||
|
// Startup Auto-Login settings
|
||||||
const [autoOn, setAutoOn] = useState(true);
|
const [autoOn, setAutoOn] = useState(true);
|
||||||
const [autoMax, setAutoMax] = useState("");
|
const [autoMax, setAutoMax] = useState("");
|
||||||
// A creation that is still in progress on the running server: how many existed before and how many were asked for.
|
|
||||||
const [job, setJob] = useState<{ baseline: number; target: number; since: number } | null>(null);
|
|
||||||
const [startNote, setStartNote] = useState<string | null>(null);
|
const [startNote, setStartNote] = useState<string | null>(null);
|
||||||
const [startBusy, setStartBusy] = useState(false);
|
const [startBusy, setStartBusy] = useState(false);
|
||||||
const [despawnN, setDespawnN] = useState("10");
|
const [despawnN, setDespawnN] = useState("10");
|
||||||
|
|
||||||
|
const activeServerRealm = profiles?.active ?? "coa";
|
||||||
|
const isViewingActiveRealm = selectedRealm === activeServerRealm;
|
||||||
|
const isRealmOperational = isViewingActiveRealm || running;
|
||||||
|
|
||||||
|
const maxLevelForRealm = 60;
|
||||||
|
|
||||||
|
// Load realm profiles
|
||||||
|
const loadProfiles = async () => {
|
||||||
|
try {
|
||||||
|
const r = await api.realmProfiles(serverId);
|
||||||
|
setProfiles(r);
|
||||||
|
if (!selectedRealm) {
|
||||||
|
setSelectedRealm(r.active);
|
||||||
|
}
|
||||||
|
} catch {
|
||||||
|
// ignore
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
void loadProfiles();
|
||||||
|
}, [serverId]);
|
||||||
|
|
||||||
|
// Adjust target level if realm changed
|
||||||
|
useEffect(() => {
|
||||||
|
if (targetLevel > maxLevelForRealm) {
|
||||||
|
setTargetLevel(maxLevelForRealm);
|
||||||
|
}
|
||||||
|
}, [selectedRealm, maxLevelForRealm, targetLevel]);
|
||||||
|
|
||||||
|
// Load wildcard archetypes dynamically from target characters db
|
||||||
|
useEffect(() => {
|
||||||
|
if (selectedRealm === "wildcard") {
|
||||||
|
api.getWildcardArchetypes(serverId)
|
||||||
|
.then((archs) => setWildcardArchetypes(archs))
|
||||||
|
.catch(() => {});
|
||||||
|
if (selectedClass === "all") {
|
||||||
|
setSelectedClass("10");
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
setSelectedArchetype("all");
|
||||||
|
}
|
||||||
|
}, [serverId, selectedRealm]);
|
||||||
|
|
||||||
|
// Load startup settings
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
void api
|
void api
|
||||||
.settings(serverId, "bots")
|
.settings(serverId, "bots")
|
||||||
@@ -40,6 +135,46 @@ export function CompanionsCard({ serverId }: { serverId: string }) {
|
|||||||
const maxNum = Number(autoMax);
|
const maxNum = Number(autoMax);
|
||||||
const maxValid = autoMax.trim() !== "" && Number.isInteger(maxNum) && maxNum >= 0 && maxNum <= 5000;
|
const maxValid = autoMax.trim() !== "" && Number.isInteger(maxNum) && maxNum >= 0 && maxNum <= 5000;
|
||||||
|
|
||||||
|
// Polling population
|
||||||
|
const fetchPopulation = async () => {
|
||||||
|
const s = await api.status(serverId).catch(() => null);
|
||||||
|
if (!s) return;
|
||||||
|
const up = s.observed.world.state === "running";
|
||||||
|
setRunning(up);
|
||||||
|
if (up) {
|
||||||
|
const p = await api.population(serverId, selectedRealm).catch(() => null);
|
||||||
|
setPop(p);
|
||||||
|
} else {
|
||||||
|
setPop(null);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
let alive = true;
|
||||||
|
const poll = async () => {
|
||||||
|
if (!alive) return;
|
||||||
|
await fetchPopulation();
|
||||||
|
};
|
||||||
|
void poll();
|
||||||
|
const interval = setInterval(poll, job ? 1500 : 4000);
|
||||||
|
return () => {
|
||||||
|
alive = false;
|
||||||
|
clearInterval(interval);
|
||||||
|
};
|
||||||
|
}, [serverId, selectedRealm, job !== null]); // eslint-disable-line react-hooks/exhaustive-deps
|
||||||
|
|
||||||
|
const done = job && pop ? Math.max(0, Math.min(job.target, pop.bots_total - job.baseline)) : 0;
|
||||||
|
useEffect(() => {
|
||||||
|
if (!job) return;
|
||||||
|
if ((pop && done >= job.target) || !running) {
|
||||||
|
if (pop && done >= job.target) setNote(t("comp.progressDone", { n: job.target }));
|
||||||
|
setJob(null);
|
||||||
|
}
|
||||||
|
}, [done, running]); // eslint-disable-line react-hooks/exhaustive-deps
|
||||||
|
|
||||||
|
const count = countChoice === "custom" ? Number(customCount) : Number(countChoice);
|
||||||
|
const valid = Number.isInteger(count) && count >= 1 && count <= 2000;
|
||||||
|
|
||||||
async function act(fn: () => Promise<string>) {
|
async function act(fn: () => Promise<string>) {
|
||||||
setBusy(true);
|
setBusy(true);
|
||||||
setError(null);
|
setError(null);
|
||||||
@@ -52,45 +187,128 @@ export function CompanionsCard({ serverId }: { serverId: string }) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Primary action: Spawn bots / fleet
|
||||||
|
const handleSpawn = async () => {
|
||||||
|
if (!valid) return;
|
||||||
|
setBusy(true);
|
||||||
|
setError(null);
|
||||||
|
setNote(null);
|
||||||
|
try {
|
||||||
|
if (spawnMode === "fleet") {
|
||||||
|
const race = 1;
|
||||||
|
const out = await api.spawnBotFleet(serverId, race, targetLevel, selectedRealm);
|
||||||
|
setNote(out || `Spawned level ${targetLevel} fleet`);
|
||||||
|
} else {
|
||||||
|
const classNum = selectedClass !== "all" ? parseInt(selectedClass, 10) : (selectedRealm === "wildcard" ? 10 : undefined);
|
||||||
|
let specNum: number | undefined = undefined;
|
||||||
|
if (selectedRole === "tank") {
|
||||||
|
if (selectedRealm === "reborn") {
|
||||||
|
specNum = (classNum === 7 || classNum === 9 || classNum === 11) ? 4 : (classNum === 2 ? 2 : classNum === 1 ? 3 : 1);
|
||||||
|
} else if (selectedRealm === "wildcard") {
|
||||||
|
specNum = 1;
|
||||||
|
}
|
||||||
|
} else if (selectedRole === "healer") {
|
||||||
|
if (selectedRealm === "reborn") {
|
||||||
|
specNum = (classNum === 2 || classNum === 5) ? 1 : (classNum === 7 || classNum === 11 ? 3 : 1);
|
||||||
|
} else if (selectedRealm === "wildcard") {
|
||||||
|
specNum = 2;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
const archStr = selectedArchetype !== "all" ? selectedArchetype : undefined;
|
||||||
|
const r = await api.addCompanions(serverId, count, selectedRealm, targetLevel, classNum, specNum, archStr);
|
||||||
|
if (r.spawned && r.baseline !== null) {
|
||||||
|
setJob({ baseline: r.baseline, target: count, since: Date.now() });
|
||||||
|
}
|
||||||
|
setNote(
|
||||||
|
r.created
|
||||||
|
? t("comp.offlineDone", { n: r.created })
|
||||||
|
: r.spawned
|
||||||
|
? t("comp.spawned", { n: count })
|
||||||
|
: t("comp.saved", { n: count })
|
||||||
|
);
|
||||||
|
}
|
||||||
|
await fetchPopulation();
|
||||||
|
} catch (e) {
|
||||||
|
setError(asUiError(e));
|
||||||
|
} finally {
|
||||||
|
setBusy(false);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
// Bring offline bots online
|
||||||
|
const handleLoginAll = () =>
|
||||||
|
act(async () => {
|
||||||
|
const out = await api.loginAllCompanions(serverId, selectedRealm);
|
||||||
|
await fetchPopulation();
|
||||||
|
return out || "All available offline bots queued for login.";
|
||||||
|
});
|
||||||
|
|
||||||
|
// Stop queued creations
|
||||||
const stopCreating = () =>
|
const stopCreating = () =>
|
||||||
act(async () => {
|
act(async () => {
|
||||||
const r = await api.stopSpawning(serverId);
|
const r = await api.stopSpawning(serverId, selectedRealm);
|
||||||
setJob(null);
|
setJob(null);
|
||||||
|
await fetchPopulation();
|
||||||
return t("comp.stopped", { n: r.count });
|
return t("comp.stopped", { n: r.count });
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Take online bots offline
|
||||||
const takeOffline = () => {
|
const takeOffline = () => {
|
||||||
if (!window.confirm(t("comp.offlineConfirm"))) return;
|
if (!window.confirm(t("comp.offlineConfirm"))) return;
|
||||||
void act(async () => {
|
void act(async () => {
|
||||||
const r = await api.takeOffline(serverId);
|
const r = await api.takeOffline(serverId, selectedRealm);
|
||||||
setJob(null);
|
setJob(null);
|
||||||
|
await fetchPopulation();
|
||||||
return t("comp.offlineDone2", { n: r.count });
|
return t("comp.offlineDone2", { n: r.count });
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Despawn batch
|
||||||
const dn = Number(despawnN);
|
const dn = Number(despawnN);
|
||||||
const dnValid = Number.isInteger(dn) && dn >= 1 && dn <= 5000;
|
const dnValid = Number.isInteger(dn) && dn >= 1 && dn <= 5000;
|
||||||
const despawnSome = () =>
|
const despawnSome = () =>
|
||||||
act(async () => {
|
act(async () => {
|
||||||
const r = await api.despawnSome(serverId, dn);
|
const r = await api.despawnSome(serverId, dn, selectedRealm);
|
||||||
|
await fetchPopulation();
|
||||||
return t("comp.despawnSomeDone", { n: r.count });
|
return t("comp.despawnSomeDone", { n: r.count });
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Delete all bots in realm
|
||||||
const deleteAll = () => {
|
const deleteAll = () => {
|
||||||
if (!window.confirm(t("comp.deleteConfirm", { n: pop?.bots_total ?? 0 }))) return;
|
if (!window.confirm(t("comp.deleteConfirm", { n: pop?.bots_total ?? 0 }))) return;
|
||||||
void act(async () => {
|
void act(async () => {
|
||||||
await api.deleteAllCompanions(serverId);
|
await api.deleteAllCompanions(serverId, selectedRealm);
|
||||||
setJob(null);
|
setJob(null);
|
||||||
|
await fetchPopulation();
|
||||||
return t("comp.deleteDone");
|
return t("comp.deleteDone");
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Switch server realm
|
||||||
|
const switchServerRealm = async (mode: RealmMode) => {
|
||||||
|
if (!window.confirm(`Switch server active realm to ${mode.toUpperCase()} and restart?`)) return;
|
||||||
|
setBusy(true);
|
||||||
|
try {
|
||||||
|
await api.realmSelect(serverId, mode, true);
|
||||||
|
await loadProfiles();
|
||||||
|
setSelectedRealm(mode);
|
||||||
|
} catch (e) {
|
||||||
|
setError(asUiError(e));
|
||||||
|
} finally {
|
||||||
|
setBusy(false);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
// Save auto startup settings
|
||||||
async function saveStart() {
|
async function saveStart() {
|
||||||
setStartBusy(true);
|
setStartBusy(true);
|
||||||
setError(null);
|
setError(null);
|
||||||
setStartNote(null);
|
setStartNote(null);
|
||||||
try {
|
try {
|
||||||
await api.save(serverId, "bots", { "CoaBots.AutoLoginOnStartup": autoOn, "CoaBots.AutoLogin.MaxCount": maxNum });
|
await api.save(serverId, "bots", {
|
||||||
|
"CoaBots.AutoLoginOnStartup": autoOn,
|
||||||
|
"CoaBots.AutoLogin.MaxCount": maxNum,
|
||||||
|
});
|
||||||
setStartNote(t("comp.startSaved"));
|
setStartNote(t("comp.startSaved"));
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
setError(asUiError(e));
|
setError(asUiError(e));
|
||||||
@@ -99,181 +317,516 @@ export function CompanionsCard({ serverId }: { serverId: string }) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
useEffect(() => {
|
// Database schema name for selected realm
|
||||||
void api.companionSizes().then(setSizes);
|
const dbSchema =
|
||||||
let alive = true;
|
selectedRealm === "coa"
|
||||||
const poll = async () => {
|
? "acore_characters"
|
||||||
const s = await api.status(serverId).catch(() => null);
|
: selectedRealm === "wildcard"
|
||||||
if (!alive || !s) return;
|
? "acore_characters_wildcard"
|
||||||
const up = s.observed.world.state === "running";
|
: "acore_characters_reborn";
|
||||||
setRunning(up);
|
|
||||||
setPop(up ? await api.population(serverId).catch(() => null) : null);
|
|
||||||
};
|
|
||||||
void poll();
|
|
||||||
// Faster while companions are being created, so the progress bar moves.
|
|
||||||
const t = setInterval(poll, job ? 1500 : 4000);
|
|
||||||
return () => {
|
|
||||||
alive = false;
|
|
||||||
clearInterval(t);
|
|
||||||
};
|
|
||||||
}, [serverId, job !== null]); // eslint-disable-line react-hooks/exhaustive-deps
|
|
||||||
|
|
||||||
const done = job && pop ? Math.max(0, Math.min(job.target, pop.bots_total - job.baseline)) : 0;
|
// Binary compatibility check
|
||||||
useEffect(() => {
|
const isBinaryCompatible =
|
||||||
if (!job) return;
|
selectedRealm === "coa" ||
|
||||||
// Finished, or the server went away, or nothing new appeared for two minutes.
|
(selectedRealm === "wildcard" && (profiles?.supported ?? true)) ||
|
||||||
if ((pop && done >= job.target) || !running) {
|
(selectedRealm === "reborn" && (profiles?.reborn_supported ?? true));
|
||||||
if (pop && done >= job.target) setNote(t("comp.progressDone", { n: job.target }));
|
|
||||||
setJob(null);
|
|
||||||
}
|
|
||||||
}, [done, running]); // eslint-disable-line react-hooks/exhaustive-deps
|
|
||||||
|
|
||||||
// The backend describes a size's warning in English; show the translated text for the two known kinds.
|
|
||||||
const warningFor = (size?: { bots: number; warning: string | null }) => {
|
|
||||||
if (!size?.warning) return null;
|
|
||||||
return size.warning.startsWith(`${size.bots} companions`)
|
|
||||||
? t("comp.warnHardware", { n: size.bots, cores: sizes?.hardware.cores ?? "?", ram: sizes ? sizes.hardware.ram_gb.toFixed(0) : "?" })
|
|
||||||
: t("comp.warnMemory");
|
|
||||||
};
|
|
||||||
const count = choice === "custom" ? Number(custom) : (sizes?.sizes.find((s) => s.id === choice)?.bots ?? 0);
|
|
||||||
const warning = choice === "custom" ? (count > 500 ? t("comp.largeWarning") : null) : (warningFor(sizes?.sizes.find((s) => s.id === choice)));
|
|
||||||
const valid = Number.isInteger(count) && count >= 1 && count <= 2000;
|
|
||||||
|
|
||||||
async function add() {
|
|
||||||
setBusy(true);
|
|
||||||
setError(null);
|
|
||||||
setNote(null);
|
|
||||||
try {
|
|
||||||
const r = await api.addCompanions(serverId, count);
|
|
||||||
if (r.spawned && r.baseline !== null) setJob({ baseline: r.baseline, target: count, since: Date.now() });
|
|
||||||
setNote(r.created ? t("comp.offlineDone", { n: r.created }) : r.spawned ? t("comp.spawned", { n: count }) : t("comp.saved", { n: count }));
|
|
||||||
} catch (e) {
|
|
||||||
setError(asUiError(e));
|
|
||||||
} finally {
|
|
||||||
setBusy(false);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Card className="mt-6 p-6">
|
<Card className="mt-6 p-6 space-y-6">
|
||||||
<h2 className="font-semibold">{t("comp.title")}</h2>
|
{/* Header & Realm Switcher */}
|
||||||
<p className="mt-1 text-sm text-muted">
|
<div>
|
||||||
{pop
|
<div className="flex flex-wrap items-center justify-between gap-3">
|
||||||
? t("comp.population", { online: pop.bots_online, total: pop.bots_total })
|
<div className="flex items-center gap-2">
|
||||||
: running
|
<Bot className="h-6 w-6 text-gold" />
|
||||||
? t("comp.reading")
|
<h2 className="text-xl font-bold tracking-tight">{t("comp.title")}</h2>
|
||||||
: t("comp.startToSee")}
|
</div>
|
||||||
</p>
|
<div className="flex items-center gap-2">
|
||||||
|
<span className="text-xs text-muted flex items-center gap-1">
|
||||||
<fieldset className="mt-4">
|
<Database className="h-3.5 w-3.5" />
|
||||||
<legend className="text-sm text-muted">{t("comp.wantMore")}</legend>
|
DB: <code className="text-gold">{dbSchema}</code>
|
||||||
<div className="mt-2 flex flex-wrap gap-2">
|
</span>
|
||||||
{sizes?.sizes.map((s) => (
|
</div>
|
||||||
<label key={s.id} className={`cursor-pointer rounded-md border px-3 py-2 text-sm ${choice === s.id ? "border-gold bg-gold/10" : "border-line hover:bg-white/5"}`}>
|
|
||||||
<input type="radio" name="size" className="sr-only" checked={choice === s.id} onChange={() => setChoice(s.id)} />
|
|
||||||
{hasKey(`comp.size.${s.id}`) ? t(`comp.size.${s.id}` as Key) : s.title} <span className="text-muted">· {s.bots}</span>
|
|
||||||
</label>
|
|
||||||
))}
|
|
||||||
<label className={`cursor-pointer rounded-md border px-3 py-2 text-sm ${choice === "custom" ? "border-gold bg-gold/10" : "border-line hover:bg-white/5"}`}>
|
|
||||||
<input type="radio" name="size" className="sr-only" checked={choice === "custom"} onChange={() => setChoice("custom")} />
|
|
||||||
{t("comp.custom")}
|
|
||||||
</label>
|
|
||||||
{choice === "custom" && (
|
|
||||||
<input aria-label={t("comp.numberLabel")} value={custom} onChange={(e) => setCustom(e.target.value)} inputMode="numeric" className="w-24 rounded-md border border-line bg-bg px-3 py-2 text-right text-sm outline-none focus:border-gold" />
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
|
||||||
|
|
||||||
{warning && <p className="mt-3 text-sm text-warn" role="status">{warning}</p>}
|
{/* Realm Navigation Tabs */}
|
||||||
{sizes && <p className="mt-2 text-xs text-muted">{t("comp.hardware", { cores: sizes.hardware.cores, ram: sizes.hardware.ram_gb.toFixed(0) })}</p>}
|
<div className="mt-4 flex flex-wrap gap-2 border-b border-line pb-3">
|
||||||
|
{(["coa", "wildcard", "reborn"] as RealmMode[]).map((mode) => {
|
||||||
<div className="mt-4 flex items-center gap-3">
|
const isSelected = selectedRealm === mode;
|
||||||
<Button variant="primary" disabled={busy || !valid || job !== null} onClick={() => void add()}>
|
const isActive = activeServerRealm === mode;
|
||||||
{busy && <Loader2 className="h-4 w-4 animate-spin" aria-hidden />}
|
const label =
|
||||||
{valid ? t("comp.add", { n: count }) : t("comp.addPlain")}
|
mode === "coa"
|
||||||
</Button>
|
? "Conquest of Azeroth"
|
||||||
{!running && <span className="text-xs text-muted">{t("comp.stoppedHint")}</span>}
|
: mode === "wildcard"
|
||||||
|
? "Wildcard (Hero)"
|
||||||
|
: "Warcraft Reborn";
|
||||||
|
return (
|
||||||
|
<button
|
||||||
|
key={mode}
|
||||||
|
type="button"
|
||||||
|
onClick={() => setSelectedRealm(mode)}
|
||||||
|
className={`flex items-center gap-2 rounded-lg px-4 py-2 text-sm font-medium transition-colors ${
|
||||||
|
isSelected
|
||||||
|
? "bg-gold/20 text-gold border border-gold/40 shadow-sm"
|
||||||
|
: "border border-line hover:bg-white/5 text-muted hover:text-white"
|
||||||
|
}`}
|
||||||
|
>
|
||||||
|
<span>{label}</span>
|
||||||
|
{isActive && (
|
||||||
|
<span className="rounded bg-ok/20 px-1.5 py-0.5 text-[10px] font-semibold text-ok uppercase">
|
||||||
|
Active Server
|
||||||
|
</span>
|
||||||
|
)}
|
||||||
|
</button>
|
||||||
|
);
|
||||||
|
})}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{busy && !running && count >= 100 && (
|
|
||||||
<div className="mt-3">
|
{/* Binary Compatibility & Realm Mode Warning */}
|
||||||
<p className="text-sm text-muted" role="status">{t("comp.progressOffline", { n: count })}</p>
|
{!isBinaryCompatible && (
|
||||||
<div className="mt-2 h-2 overflow-hidden rounded-full bg-white/10" role="progressbar" aria-busy="true">
|
<div className="rounded-lg border border-bad/40 bg-bad/10 p-4 text-sm text-bad flex items-start gap-3">
|
||||||
<div className="h-full w-full animate-pulse rounded-full bg-gold/70" />
|
<AlertCircle className="h-5 w-5 shrink-0 mt-0.5" />
|
||||||
|
<div>
|
||||||
|
<div className="font-semibold">Binary Compatibility Warning</div>
|
||||||
|
<p className="mt-1 text-xs text-bad/90">
|
||||||
|
The currently running server core binary does not have full multi-realm support enabled
|
||||||
|
for <strong>{selectedRealm.toUpperCase()}</strong>. Automated bot features may be restricted.
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{job && (
|
|
||||||
<div className="mt-3">
|
{/* Active Realm Switch Helper */}
|
||||||
<div className="flex justify-between text-sm">
|
{!isViewingActiveRealm && (
|
||||||
<span role="status">{t("comp.progress", { done, target: job.target })}</span>
|
<div className="rounded-lg border border-warn/40 bg-warn/10 p-3 text-sm flex items-center justify-between gap-3">
|
||||||
<span className="text-muted">{Math.round((done / job.target) * 100)}%</span>
|
<span className="text-warn text-xs">
|
||||||
</div>
|
Viewing <strong>{selectedRealm.toUpperCase()}</strong> bots, but the worldserver is currently running in{" "}
|
||||||
<div className="mt-2 h-2 overflow-hidden rounded-full bg-white/10" role="progressbar" aria-valuenow={done} aria-valuemin={0} aria-valuemax={job.target}>
|
<strong>{activeServerRealm.toUpperCase()}</strong> mode.
|
||||||
<div className="h-full rounded-full bg-gold transition-[width] duration-500" style={{ width: `${(done / job.target) * 100}%` }} />
|
</span>
|
||||||
</div>
|
<Button
|
||||||
{done === 0 && Date.now() - job.since > 20000 && <p className="mt-1 text-xs text-muted">{t("comp.progressStalled")}</p>}
|
size="sm"
|
||||||
<Button className="mt-2" size="sm" variant="ghost" disabled={busy} onClick={() => void stopCreating()}>
|
variant="secondary"
|
||||||
{t("comp.stop")}
|
disabled={busy}
|
||||||
|
onClick={() => void switchServerRealm(selectedRealm)}
|
||||||
|
>
|
||||||
|
Switch Server to {selectedRealm.toUpperCase()}
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{note && !job && <p className="mt-3 text-sm text-ok" role="status">{note}</p>}
|
|
||||||
|
|
||||||
{running && pop && pop.bots_total > 0 && (
|
{/* Realm Population Dashboard */}
|
||||||
<div className="mt-5 border-t border-line pt-4">
|
<div className="grid grid-cols-2 sm:grid-cols-4 gap-3">
|
||||||
<h3 className="text-sm font-semibold">{t("comp.manageTitle")}</h3>
|
<div className="rounded-lg border border-line bg-bg/50 p-3">
|
||||||
<div className="mt-2 flex flex-wrap items-center gap-2 text-sm">
|
<div className="text-xs text-muted flex items-center gap-1.5">
|
||||||
<label htmlFor="despawn-n" className="text-muted">{t("comp.despawnCount")}</label>
|
<Bot className="h-3.5 w-3.5 text-gold" />
|
||||||
|
Bots Online
|
||||||
|
</div>
|
||||||
|
<div className="mt-1 text-2xl font-bold text-white">
|
||||||
|
{running && pop ? pop.bots_online : "—"}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div className="rounded-lg border border-line bg-bg/50 p-3">
|
||||||
|
<div className="text-xs text-muted flex items-center gap-1.5">
|
||||||
|
<Users className="h-3.5 w-3.5 text-gold" />
|
||||||
|
Total Fleet
|
||||||
|
</div>
|
||||||
|
<div className="mt-1 text-2xl font-bold text-white">
|
||||||
|
{pop ? pop.bots_total : "—"}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div className="rounded-lg border border-line bg-bg/50 p-3">
|
||||||
|
<div className="text-xs text-muted flex items-center gap-1.5">
|
||||||
|
<CheckCircle2 className="h-3.5 w-3.5 text-ok" />
|
||||||
|
Players Online
|
||||||
|
</div>
|
||||||
|
<div className="mt-1 text-2xl font-bold text-white">
|
||||||
|
{running && pop ? pop.players_online : "—"}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div className="rounded-lg border border-line bg-bg/50 p-3 flex flex-col justify-between">
|
||||||
|
<div className="text-xs text-muted flex items-center justify-between">
|
||||||
|
<span>Status</span>
|
||||||
|
<button
|
||||||
|
onClick={() => void fetchPopulation()}
|
||||||
|
title="Refresh"
|
||||||
|
className="text-muted hover:text-white"
|
||||||
|
>
|
||||||
|
<RefreshCw className="h-3 w-3" />
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<div className="text-sm font-medium">
|
||||||
|
{running ? (
|
||||||
|
<span className="text-ok flex items-center gap-1">
|
||||||
|
<span className="h-2 w-2 rounded-full bg-ok animate-pulse" /> Running
|
||||||
|
</span>
|
||||||
|
) : (
|
||||||
|
<span className="text-muted">Offline</span>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Fleet Configuration & Spawning Section */}
|
||||||
|
<div className="border-t border-line pt-5 space-y-4">
|
||||||
|
<div className="flex items-center justify-between">
|
||||||
|
<h3 className="font-semibold text-sm tracking-wide uppercase text-muted">
|
||||||
|
Fleet Deployment Controls
|
||||||
|
</h3>
|
||||||
|
<div className="flex rounded-md border border-line p-0.5 text-xs">
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
onClick={() => setSpawnMode("population")}
|
||||||
|
className={`px-2.5 py-1 rounded transition-colors ${
|
||||||
|
spawnMode === "population" ? "bg-gold/20 text-gold font-medium" : "text-muted hover:text-white"
|
||||||
|
}`}
|
||||||
|
>
|
||||||
|
Batch Population
|
||||||
|
</button>
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
onClick={() => setSpawnMode("fleet")}
|
||||||
|
className={`px-2.5 py-1 rounded transition-colors ${
|
||||||
|
spawnMode === "fleet" ? "bg-gold/20 text-gold font-medium" : "text-muted hover:text-white"
|
||||||
|
}`}
|
||||||
|
>
|
||||||
|
Synchronous Fleet
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Count Selector */}
|
||||||
|
{spawnMode === "population" && (
|
||||||
|
<div>
|
||||||
|
<label className="text-xs text-muted">Fleet Size (Number of Bots)</label>
|
||||||
|
<div className="mt-2 flex flex-wrap gap-2">
|
||||||
|
{["10", "25", "50", "100", "250", "500"].map((n) => (
|
||||||
|
<button
|
||||||
|
key={n}
|
||||||
|
type="button"
|
||||||
|
onClick={() => setCountChoice(n)}
|
||||||
|
className={`rounded-md border px-3 py-1.5 text-sm transition-colors ${
|
||||||
|
countChoice === n
|
||||||
|
? "border-gold bg-gold/15 text-gold font-medium"
|
||||||
|
: "border-line hover:bg-white/5 text-muted"
|
||||||
|
}`}
|
||||||
|
>
|
||||||
|
{n}
|
||||||
|
</button>
|
||||||
|
))}
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
onClick={() => setCountChoice("custom")}
|
||||||
|
className={`rounded-md border px-3 py-1.5 text-sm transition-colors ${
|
||||||
|
countChoice === "custom"
|
||||||
|
? "border-gold bg-gold/15 text-gold font-medium"
|
||||||
|
: "border-line hover:bg-white/5 text-muted"
|
||||||
|
}`}
|
||||||
|
>
|
||||||
|
Custom
|
||||||
|
</button>
|
||||||
|
{countChoice === "custom" && (
|
||||||
|
<input
|
||||||
|
type="number"
|
||||||
|
min="1"
|
||||||
|
max="2000"
|
||||||
|
value={customCount}
|
||||||
|
onChange={(e) => setCustomCount(e.target.value)}
|
||||||
|
className="w-24 rounded-md border border-line bg-bg px-3 py-1.5 text-right text-sm outline-none focus:border-gold"
|
||||||
|
/>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
|
||||||
|
{/* Fleet Specific Settings: Level, Class, Role, Archetype */}
|
||||||
|
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-3">
|
||||||
|
{/* Target Level */}
|
||||||
|
<div>
|
||||||
|
<label className="text-xs text-muted">
|
||||||
|
{spawnMode === "fleet" ? "Fleet Level" : "Max Level Cap"} (1 - {maxLevelForRealm})
|
||||||
|
</label>
|
||||||
|
<input
|
||||||
|
type="number"
|
||||||
|
min="1"
|
||||||
|
max={maxLevelForRealm}
|
||||||
|
value={targetLevel}
|
||||||
|
onChange={(e) => setTargetLevel(Math.max(1, Math.min(maxLevelForRealm, Number(e.target.value))))}
|
||||||
|
className="mt-1.5 w-full rounded-md border border-line bg-bg px-3 py-1.5 text-sm outline-none focus:border-gold"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Class Filter */}
|
||||||
|
<div>
|
||||||
|
<label className="text-xs text-muted">Class Focus</label>
|
||||||
|
<select
|
||||||
|
value={selectedClass}
|
||||||
|
onChange={(e) => setSelectedClass(e.target.value)}
|
||||||
|
className="mt-1.5 w-full rounded-md border border-line bg-bg px-3 py-1.5 text-sm outline-none focus:border-gold"
|
||||||
|
>
|
||||||
|
<option value="all">All Realm Classes</option>
|
||||||
|
{selectedRealm === "coa" && (
|
||||||
|
<>
|
||||||
|
<option value="12">Barbarian</option>
|
||||||
|
<option value="13">Witch Doctor</option>
|
||||||
|
<option value="14">Felsworn</option>
|
||||||
|
<option value="15">Witch Hunter</option>
|
||||||
|
<option value="16">Stormbringer</option>
|
||||||
|
<option value="17">Knight of Xoroth</option>
|
||||||
|
<option value="18">Guardian</option>
|
||||||
|
<option value="19">Templar</option>
|
||||||
|
<option value="20">Bloodmage</option>
|
||||||
|
<option value="21">Ranger</option>
|
||||||
|
<option value="22">Chronomancer</option>
|
||||||
|
<option value="23">Necromancer</option>
|
||||||
|
<option value="24">Pyromancer</option>
|
||||||
|
<option value="25">Cultist</option>
|
||||||
|
<option value="26">Starcaller</option>
|
||||||
|
<option value="27">Tinker</option>
|
||||||
|
<option value="28">Venomancer</option>
|
||||||
|
<option value="29">Reaper</option>
|
||||||
|
<option value="30">Sun Cleric</option>
|
||||||
|
<option value="31">Runemaster</option>
|
||||||
|
<option value="32">Primalist</option>
|
||||||
|
</>
|
||||||
|
)}
|
||||||
|
{selectedRealm === "wildcard" && (
|
||||||
|
<option value="10">Hero (Freepick)</option>
|
||||||
|
)}
|
||||||
|
{selectedRealm === "reborn" && (
|
||||||
|
<>
|
||||||
|
<option value="1">Warrior</option>
|
||||||
|
<option value="2">Paladin</option>
|
||||||
|
<option value="3">Hunter</option>
|
||||||
|
<option value="4">Rogue</option>
|
||||||
|
<option value="5">Priest</option>
|
||||||
|
<option value="6">Death Knight</option>
|
||||||
|
<option value="7">Shaman</option>
|
||||||
|
<option value="8">Mage</option>
|
||||||
|
<option value="9">Warlock</option>
|
||||||
|
<option value="11">Druid</option>
|
||||||
|
</>
|
||||||
|
)}
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Role Filter */}
|
||||||
|
<div>
|
||||||
|
<label className="text-xs text-muted">Combat Role</label>
|
||||||
|
<select
|
||||||
|
value={selectedRole}
|
||||||
|
onChange={(e) => setSelectedRole(e.target.value)}
|
||||||
|
className="mt-1.5 w-full rounded-md border border-line bg-bg px-3 py-1.5 text-sm outline-none focus:border-gold"
|
||||||
|
>
|
||||||
|
<option value="all">All Roles</option>
|
||||||
|
<option value="tank">Tank</option>
|
||||||
|
<option value="healer">Healer</option>
|
||||||
|
<option value="melee">Melee DPS</option>
|
||||||
|
<option value="ranged">Ranged Physical DPS</option>
|
||||||
|
<option value="caster">Caster DPS</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Archetype Filter */}
|
||||||
|
<div>
|
||||||
|
<label className="text-xs text-muted">Archetype / Build</label>
|
||||||
|
<select
|
||||||
|
value={selectedArchetype}
|
||||||
|
onChange={(e) => setSelectedArchetype(e.target.value)}
|
||||||
|
className="mt-1.5 w-full rounded-md border border-line bg-bg px-3 py-1.5 text-sm outline-none focus:border-gold"
|
||||||
|
>
|
||||||
|
<option value="all">Auto / Integral Archetype</option>
|
||||||
|
{selectedRealm === "wildcard" && (
|
||||||
|
<>
|
||||||
|
{wildcardArchetypes.map((b) => (
|
||||||
|
<option key={b.id} value={b.id}>
|
||||||
|
{b.name} ({formatRole(b.roles)}) [{formatStat(b.primary_stat)}]
|
||||||
|
</option>
|
||||||
|
))}
|
||||||
|
</>
|
||||||
|
)}
|
||||||
|
{selectedRealm === "reborn" && (
|
||||||
|
<>
|
||||||
|
<option value="spiritguard">Spirit Guard Shaman (Tank)</option>
|
||||||
|
<option value="darkapoth">Dark Apotheosis Warlock (Tank)</option>
|
||||||
|
<option value="guardianbear">Guardian Bear Druid (Tank)</option>
|
||||||
|
<option value="protpal">Protection Paladin (Tank)</option>
|
||||||
|
<option value="protwar">Protection Warrior (Tank)</option>
|
||||||
|
<option value="holypriest">Holy Priest (Healer)</option>
|
||||||
|
<option value="restodruid">Restoration Druid / Shaman</option>
|
||||||
|
</>
|
||||||
|
)}
|
||||||
|
{selectedRealm === "coa" && (
|
||||||
|
<option value="class_spec">Class Mastery Specialization</option>
|
||||||
|
)}
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Deployment Actions */}
|
||||||
|
<div className="flex flex-wrap items-center gap-3 pt-2">
|
||||||
|
<Button
|
||||||
|
variant="primary"
|
||||||
|
disabled={busy || !valid || job !== null || !isRealmOperational}
|
||||||
|
onClick={() => void handleSpawn()}
|
||||||
|
>
|
||||||
|
{busy && <Loader2 className="h-4 w-4 animate-spin mr-2" />}
|
||||||
|
{spawnMode === "fleet"
|
||||||
|
? `Spawn Level ${targetLevel} Fleet`
|
||||||
|
: `Deploy ${valid ? count : ""} Bots`}
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
{running && pop && pop.bots_total > pop.bots_online && (
|
||||||
|
<Button
|
||||||
|
variant="secondary"
|
||||||
|
disabled={busy || job !== null || !isRealmOperational}
|
||||||
|
onClick={() => void handleLoginAll()}
|
||||||
|
title="Bring all created bots online"
|
||||||
|
>
|
||||||
|
<Power className="h-4 w-4 mr-1.5 text-ok" />
|
||||||
|
Bring All Online ({pop.bots_total - pop.bots_online} idle)
|
||||||
|
</Button>
|
||||||
|
)}
|
||||||
|
|
||||||
|
{!running && (
|
||||||
|
<span className="text-xs text-muted">
|
||||||
|
Server stopped: bots will be created directly in DB or queued for startup.
|
||||||
|
</span>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Progress Bar during active spawn */}
|
||||||
|
{job && (
|
||||||
|
<div className="rounded-lg border border-line bg-bg/40 p-4 space-y-2">
|
||||||
|
<div className="flex justify-between text-sm">
|
||||||
|
<span className="font-medium">
|
||||||
|
Creating bots: {done} / {job.target}
|
||||||
|
</span>
|
||||||
|
<span className="text-gold font-bold">
|
||||||
|
{Math.round((done / job.target) * 100)}%
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<div className="h-2 overflow-hidden rounded-full bg-white/10">
|
||||||
|
<div
|
||||||
|
className="h-full rounded-full bg-gold transition-[width] duration-300"
|
||||||
|
style={{ width: `${(done / job.target) * 100}%` }}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div className="flex justify-between items-center pt-1">
|
||||||
|
<span className="text-xs text-muted">
|
||||||
|
Paced creation prevents server stalls and guarantees full talent/gear setup.
|
||||||
|
</span>
|
||||||
|
<Button size="sm" variant="ghost" disabled={busy} onClick={() => void stopCreating()}>
|
||||||
|
Cancel Queue
|
||||||
|
</Button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
|
||||||
|
{note && !job && (
|
||||||
|
<p className="text-sm text-ok flex items-center gap-1.5">
|
||||||
|
<CheckCircle2 className="h-4 w-4 shrink-0" />
|
||||||
|
{note}
|
||||||
|
</p>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Online Fleet Management (Despawn, Purge) */}
|
||||||
|
{running && pop && pop.bots_total > 0 && isViewingActiveRealm && (
|
||||||
|
<div className="border-t border-line pt-5 space-y-3">
|
||||||
|
<h3 className="font-semibold text-sm tracking-wide uppercase text-muted">
|
||||||
|
Online Fleet Management
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<div className="flex flex-wrap items-center gap-3 text-sm">
|
||||||
|
<label htmlFor="despawn-n" className="text-muted text-xs">
|
||||||
|
Despawn Batch:
|
||||||
|
</label>
|
||||||
<input
|
<input
|
||||||
id="despawn-n"
|
id="despawn-n"
|
||||||
value={despawnN}
|
value={despawnN}
|
||||||
onChange={(e) => setDespawnN(e.target.value)}
|
onChange={(e) => setDespawnN(e.target.value)}
|
||||||
inputMode="numeric"
|
inputMode="numeric"
|
||||||
aria-invalid={!dnValid}
|
aria-invalid={!dnValid}
|
||||||
className="w-20 rounded-md border border-line bg-bg px-3 py-1.5 text-right outline-none focus:border-gold"
|
className="w-20 rounded-md border border-line bg-bg px-2.5 py-1 text-right text-sm outline-none focus:border-gold"
|
||||||
/>
|
/>
|
||||||
<Button size="sm" variant="secondary" disabled={busy || !dnValid} onClick={() => void despawnSome()}>
|
<Button
|
||||||
{t("comp.despawnSome", { n: dnValid ? dn : "…" })}
|
size="sm"
|
||||||
|
variant="secondary"
|
||||||
|
disabled={busy || !dnValid}
|
||||||
|
onClick={() => void despawnSome()}
|
||||||
|
>
|
||||||
|
Despawn {dnValid ? dn : "…"} Bots
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
|
||||||
<p className="mt-1 text-xs text-muted">{t("comp.despawnHint")}</p>
|
|
||||||
<div className="mt-3 flex flex-wrap gap-2">
|
|
||||||
<Button size="sm" variant="secondary" disabled={busy} onClick={takeOffline}>
|
<Button size="sm" variant="secondary" disabled={busy} onClick={takeOffline}>
|
||||||
{t("comp.offline")}
|
Take All Offline
|
||||||
</Button>
|
</Button>
|
||||||
<Button size="sm" variant="ghost" className="text-bad hover:text-bad" disabled={busy} onClick={deleteAll}>
|
|
||||||
{t("comp.delete")}
|
<Button
|
||||||
|
size="sm"
|
||||||
|
variant="ghost"
|
||||||
|
className="text-bad hover:text-bad ml-auto"
|
||||||
|
disabled={busy}
|
||||||
|
onClick={deleteAll}
|
||||||
|
>
|
||||||
|
Purge Entire Fleet ({pop.bots_total})
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<div className="mt-5 border-t border-line pt-4">
|
{/* Startup Auto-Login Configuration */}
|
||||||
<h3 className="text-sm font-semibold">{t("comp.startTitle")}</h3>
|
<div className="border-t border-line pt-5 space-y-3">
|
||||||
<label className="mt-2 flex cursor-pointer items-center gap-2 text-sm">
|
<h3 className="font-semibold text-sm tracking-wide uppercase text-muted">
|
||||||
<input type="checkbox" checked={autoOn} onChange={(e) => setAutoOn(e.target.checked)} />
|
Persistent Startup Fleet
|
||||||
{t("comp.startAuto")}
|
</h3>
|
||||||
</label>
|
<p className="text-xs text-muted">
|
||||||
<div className="mt-2 flex flex-wrap items-center gap-2 text-sm">
|
Configure how many bots automatically log into the world whenever the server launches.
|
||||||
<label htmlFor="start-max" className="text-muted">{t("comp.startCount")}</label>
|
</p>
|
||||||
<input
|
|
||||||
id="start-max"
|
<div className="flex flex-wrap items-center gap-4 text-sm">
|
||||||
value={autoMax}
|
<label className="flex cursor-pointer items-center gap-2">
|
||||||
onChange={(e) => setAutoMax(e.target.value)}
|
<input
|
||||||
inputMode="numeric"
|
type="checkbox"
|
||||||
disabled={!autoOn}
|
checked={autoOn}
|
||||||
aria-invalid={!maxValid}
|
onChange={(e) => setAutoOn(e.target.checked)}
|
||||||
className="w-24 rounded-md border border-line bg-bg px-3 py-1.5 text-right outline-none focus:border-gold disabled:opacity-40"
|
className="rounded border-line text-gold focus:ring-gold"
|
||||||
/>
|
/>
|
||||||
<Button size="sm" variant="secondary" disabled={startBusy || (autoOn && !maxValid)} onClick={() => void saveStart()}>
|
<span>Enable Auto-Login on Server Startup</span>
|
||||||
{t("comp.startSave")}
|
</label>
|
||||||
</Button>
|
|
||||||
|
<div className="flex items-center gap-2">
|
||||||
|
<label htmlFor="start-max" className="text-xs text-muted">
|
||||||
|
Startup Limit:
|
||||||
|
</label>
|
||||||
|
<input
|
||||||
|
id="start-max"
|
||||||
|
value={autoMax}
|
||||||
|
onChange={(e) => setAutoMax(e.target.value)}
|
||||||
|
inputMode="numeric"
|
||||||
|
disabled={!autoOn}
|
||||||
|
aria-invalid={!maxValid}
|
||||||
|
className="w-24 rounded-md border border-line bg-bg px-2.5 py-1 text-right text-sm outline-none focus:border-gold disabled:opacity-40"
|
||||||
|
/>
|
||||||
|
<Button
|
||||||
|
size="sm"
|
||||||
|
variant="secondary"
|
||||||
|
disabled={startBusy || (autoOn && !maxValid)}
|
||||||
|
onClick={() => void saveStart()}
|
||||||
|
>
|
||||||
|
Save Setting
|
||||||
|
</Button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{autoOn && !maxValid && autoMax !== "" && <p className="mt-1 text-xs text-warn">{t("comp.startInvalid")}</p>}
|
{startNote && <p className="text-xs text-ok">{startNote}</p>}
|
||||||
<p className="mt-1 text-xs text-muted">{t("comp.startHint")}</p>
|
|
||||||
{startNote && <p className="mt-2 text-sm text-ok" role="status">{startNote}</p>}
|
|
||||||
</div>
|
</div>
|
||||||
{error && <p className="mt-3 text-sm text-bad" role="alert">{error.human.code === "unknown" ? error.technical : human(error.human).message}</p>}
|
|
||||||
|
{error && (
|
||||||
|
<div className="rounded-md border border-bad/40 bg-bad/10 p-3 text-sm text-bad flex items-center gap-2">
|
||||||
|
<AlertCircle className="h-4 w-4 shrink-0" />
|
||||||
|
<span>{error.human.code === "unknown" ? error.technical : human(error.human).message}</span>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
</Card>
|
</Card>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -1,6 +1,17 @@
|
|||||||
{
|
{
|
||||||
"version": "0.9.13",
|
"version": "0.9.14",
|
||||||
"notes": [
|
"notes": [
|
||||||
"The custom races client is updated to Custom Races V2"
|
"Install community addons from the Manager",
|
||||||
|
"Old item and creature data is cleared before every Play",
|
||||||
|
"Turning the custom races client patch on or off takes seconds again",
|
||||||
|
"The database moves to a free port when Windows reserves or another program takes 3307",
|
||||||
|
"Your own MySQL settings survive restarts and updates",
|
||||||
|
"Disabled custom races stay disabled after a server update that adds races",
|
||||||
|
"Rename your realms in the Manager",
|
||||||
|
"The account for a friend's server is in the login box at every Play",
|
||||||
|
"Restart the world every day at a chosen time",
|
||||||
|
"Switches for the Custom Races V2 subclasses, Hero Races and the /dev menu",
|
||||||
|
"Companion bots on Wildcard and Warcraft Reborn",
|
||||||
|
"The Custom Races card tells which characters stay out while races are off"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
"components": {
|
"components": {
|
||||||
"core": {
|
"core": {
|
||||||
"repository": "Corfirean/azerothcore-wotlk-coa",
|
"repository": "Corfirean/azerothcore-wotlk-coa",
|
||||||
"sha": "9740ced5c41806115d851ab37ab34f28e1e8b712"
|
"sha": "30003e18ab44198ee6f2d819c3047bf6a80631f6"
|
||||||
},
|
},
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"repository": "jealous-sound/azerothcore-wotlk-coa",
|
"repository": "jealous-sound/azerothcore-wotlk-coa",
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
},
|
},
|
||||||
"bots": {
|
"bots": {
|
||||||
"repository": "Corfirean/mod-coa-playerbots",
|
"repository": "Corfirean/mod-coa-playerbots",
|
||||||
"sha": "30a5a555f56fda8f4ccad14be8438bd0532d85b9"
|
"sha": "178a7fde6abe1c3c8813d338073b2c83835da497"
|
||||||
},
|
},
|
||||||
"scaling": {
|
"scaling": {
|
||||||
"repository": "Corfirean/mod-coa-content-scaling",
|
"repository": "Corfirean/mod-coa-content-scaling",
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
},
|
},
|
||||||
"build": {
|
"build": {
|
||||||
"repository": "Corfirean/coa-server-build",
|
"repository": "Corfirean/coa-server-build",
|
||||||
"sha": "9a122d049e8be457444389e9756936bcdb4e7ef5"
|
"sha": "087ca17c4eb2c0ef218d84dd77f37263ee4ed7ee"
|
||||||
},
|
},
|
||||||
"squid": {
|
"squid": {
|
||||||
"repository": "Zyth45/mod-playerbots",
|
"repository": "Zyth45/mod-playerbots",
|
||||||
@@ -32,218 +32,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"notes": [
|
"notes": [
|
||||||
"Test build of the subclass module for two-headed Ogres",
|
"Custom races stay on when an update changes the race catalog",
|
||||||
"Thin Twins can earn a subclass through their own quest, the Bravery Badge",
|
"Server support for companion bots on Wildcard and Warcraft Reborn",
|
||||||
"A two-headed Ogre's ranged subclass can shoot at point-blank range",
|
"Custom-race characters stay out of the world while custom races are off",
|
||||||
"Ogres have a new racial, Tolerance",
|
"Companion bots play Wildcard and Warcraft Reborn",
|
||||||
"Standard-class Ogres and Thin Humans start with only their own class kit",
|
"Stopping the server no longer leaves the world running now and then",
|
||||||
"Helmets sit on the Thin Human's head instead of his chest",
|
"The server includes a native launcher for the world supervisor"
|
||||||
"LiveMon shows live damage, healing, crowd control and subclass combo statistics",
|
|
||||||
"Standard-class Ogres and Thin Twins can take a CoA class as their subclass",
|
|
||||||
"Thin Human and Two-Headed Ogre are now their own playable races",
|
|
||||||
"Subclassed relic users can hold a relic beside a ranged weapon",
|
|
||||||
"Server options to limit subclassing or turn the two subclass races off",
|
|
||||||
"A standard subclass brings its whole basic kit, skills and weapons",
|
|
||||||
"Two-Headed Ogres and Thin Humans with a standard class can now pick a subclass",
|
|
||||||
"Thin Humans find more gold with the Hand-Me-Downs racial",
|
|
||||||
"Two-Headed Ogres wear helmets on both heads",
|
|
||||||
"Flying mounts no longer fly in Kalimdor and the Eastern Kingdoms",
|
|
||||||
"LiveMon's character tab can be closed and goes away for deleted characters",
|
|
||||||
"Classic classes can be limited to their Wrath of the Lich King abilities",
|
|
||||||
"Dual Wield shows once in the spellbook",
|
|
||||||
"Two-Headed Ogres get Subclass Bar 1 for the other head's spells",
|
|
||||||
"Subclass forms leave Two-Headed Ogres in their own body and turn the twin brother instead",
|
|
||||||
"CoA subclass trees show their specialization painting in the subclass tab",
|
|
||||||
"Characters with a subclass no longer get Dual Specialization",
|
|
||||||
"You can hold only one subclass book and one insight at a time",
|
|
||||||
"Thin Humans and Two-Headed Ogres get the quests of their starting zone",
|
|
||||||
"The Bravery Badge and the Book of Origins look and read like a badge and a book",
|
|
||||||
"Ghost Wolf and Travel Form turn the whole ogre, and the twin brother rides the beast",
|
|
||||||
"Standard-class mains can spend points in their subclass trees and reset main talents",
|
|
||||||
"Your subclass's trainer can reset only your subclass talents",
|
|
||||||
"The Thin Human's cape lies along his back instead of sticking out like a board",
|
|
||||||
"The twin brother finishes pointing before hopping off and readies his weapon with you",
|
|
||||||
"The twin brother fights with his melee weapon up close and sits close behind you on mounts",
|
|
||||||
"The twin brother copies your pose on hover discs, carpets and other unusual mounts",
|
|
||||||
"Two-Headed Ogres sit in cars and keep their mace drawn after a shot",
|
|
||||||
"Two-Headed Ogres fight with a weapon in one hand and a gun in the other",
|
|
||||||
"The Ogre's Agree or Disagree racial now shows what it will do next",
|
|
||||||
"The Thin Twins' brother turns into a worgen in every subclass Cursed Form",
|
|
||||||
"Leaps and charges ordered for the Thin Twins' brother move him instead of you",
|
|
||||||
"CoA classes taken as a subclass get their class mechanics",
|
|
||||||
"Thin Twins and Two-Headed Ogres keep their weapons in a subclass Cursed Form",
|
|
||||||
"Hovering a Guardian standard no longer causes a Lua error",
|
|
||||||
"LiveMon shows specialization names instead of their signature spells",
|
|
||||||
"Ogre eyes are picked by colour, with a Blind checkbox for each eye",
|
|
||||||
"Two-headed ogres no longer keep casting after a subclass spell with a cast time",
|
|
||||||
"Two-headed ogres cast every subclass spell with the left arm",
|
|
||||||
"The other half only shoots when you attack a target out of melee reach",
|
|
||||||
"The other head raises her hand while casting and your presses come first",
|
|
||||||
"Saving talent changes no longer fails for characters with a subclass",
|
|
||||||
"The second-way quest no longer pops up at level 20",
|
|
||||||
"Every race can create the standard classes the creation screen offers again",
|
|
||||||
"Subclass Bar 1 shows cooldowns, charges and casts like a normal action bar",
|
|
||||||
"Subclass Bar 1 refills itself when you change subclass",
|
|
||||||
"Subclass Bar 1 appears as soon as you choose a subclass",
|
|
||||||
"Subclass Bar 1 works like an action bar and can live in Bartender4",
|
|
||||||
"A subclass can never be the character's own class",
|
|
||||||
"New characters no longer inherit the subclass of a deleted character",
|
|
||||||
"Sun Cleric, Barbarian, Bloodmage and Cultist subclass resources use the game's own orbs",
|
|
||||||
"Shapeshifting no longer takes away the twin brother or the subclass",
|
|
||||||
"A subclass specialization now teaches the ability its passive promises",
|
|
||||||
"Subclass stances and forms appear only on the subclass stance bar",
|
|
||||||
"Subclass vows, auras and formations move to the subclass stance bar",
|
|
||||||
"The Thin Human's cape rests on his shoulders and moves with them",
|
|
||||||
"The twin brother gets a real spot in cars and rides along in passenger seats",
|
|
||||||
"The twin brother puts his weapons away while he wears a subclass shape",
|
|
||||||
"The Thin Twins' brother now shows the flash and glow of subclass forms",
|
|
||||||
"The twin brother sneaks along in stealth instead of staying behind",
|
|
||||||
"The stance button takes a Thin Twin out of a form his brother wears again",
|
|
||||||
"The Two-Head and Two-Thins tabs show one wide background and the right class icon",
|
|
||||||
"The Two-Head and Two-Thins trees use the game's own talent nodes",
|
|
||||||
"Agree or Disagree takes one spellbook slot that changes name and icon",
|
|
||||||
"Subclass talent trees no longer let you spend more points than you have",
|
|
||||||
"Your brother stays at your side when you melee with a bow equipped",
|
|
||||||
"A melee brother stays on your target and keeps fighting",
|
|
||||||
"The Two-Headed Ogre twists her body less while her other head casts",
|
|
||||||
"Thin Twins and Two-Headed Ogres are Hero Races that need a level 60 character",
|
|
||||||
"The Two-Headed Ogre's portrait shows both heads instead of her body",
|
|
||||||
"Your other half's spells break your stealth, and Running Wild ends when you stealth",
|
|
||||||
"Spells your other half casts now trigger the class's talents and resources",
|
|
||||||
"Your other half takes the subclass's Cat, Bear and stance forms on their own",
|
|
||||||
"Your other head or brother can no longer finish a cast while you run",
|
|
||||||
"The other head's hand glows while she casts",
|
|
||||||
"With Play Easy on, your other half uses abilities that cost health",
|
|
||||||
"New racial passives explain the shared and split resource pools",
|
|
||||||
"The dressing room works for races without their own background, no extra addon needed",
|
|
||||||
"Your brother climbs onto your Travel Form or wolf even after a fight",
|
|
||||||
"When your brother uses Running Wild, you ride on his back",
|
|
||||||
"In Running Wild you ride on your brother's shoulders",
|
|
||||||
"Your weapons no longer go missing after a Running Wild ride",
|
|
||||||
"When both halves use the same resource, their pool is twice as big",
|
|
||||||
"The subclass window shows every CoA class's own background at full strength",
|
|
||||||
"You can rearrange Subclass Bar 1 during combat without an error",
|
|
||||||
"Your other head or brother has a cast bar of their own",
|
|
||||||
"Choice talents in the subclass window show as one node with two options",
|
|
||||||
"SpellActivationOverlay can light up Subclass Bar 1",
|
|
||||||
"Your subclass's resource now shows as an extra bar under your portrait",
|
|
||||||
"Your other half's resource bar keeps its value when you log out and back in",
|
|
||||||
"Rage, energy and runic power subclasses now get and use their resource",
|
|
||||||
"Subclass resource orbs only appear when your subclass specialization can fill them",
|
|
||||||
"Your subclass specialization comes with its first class talent learned",
|
|
||||||
"Your main class's key stat now also powers your subclass",
|
|
||||||
"Subclass talents follow the paths and point requirements of their tree",
|
|
||||||
"Your summons follow your brother while he walks beside you",
|
|
||||||
"Your brother rides on the back of your Travel Form cat and moves with it",
|
|
||||||
"Dressing your twin in the wardrobe no longer causes an addon error",
|
|
||||||
"Your brother rides on your back in Wargstride",
|
|
||||||
"A Bloodmage subclass's Cursed Form no longer replaces your own action bar",
|
|
||||||
"Pressing an active subclass stance or form again turns it off",
|
|
||||||
"Character select shows your subclass under your class",
|
|
||||||
"The Two-Headed Ogre's second head no longer pokes through hats",
|
|
||||||
"Two-Headed Ogres keep aiming between shots instead of idling",
|
|
||||||
"Two-Headed Ogres who shoot rest their gun on the shoulder when not firing",
|
|
||||||
"Two-Headed Ogres who shoot themselves aim and fire their gun with the right hand",
|
|
||||||
"Two-Headed Ogres who shoot fire their bullets from the gun hand",
|
|
||||||
"The wardrobe shows a Two-Headed Ogre's applied look and her saved outfits apply again",
|
|
||||||
"The second head's quest mark floats over her head in cities and inns",
|
|
||||||
"Subclass Bar 1 no longer fills up with Throw, Shoot, Wand and Auto Attack",
|
|
||||||
"Abilities you learn from your subclass no longer land on your own action bars",
|
|
||||||
"A caster Two-Headed Ogre keeps her staff in hand while her second head shoots",
|
|
||||||
"A Two-Headed Ogre's staff keeps its size when she puts it on her back",
|
|
||||||
"A shooting subclass starts Auto Shot on right-click without logging out first",
|
|
||||||
"A Hunter subclass keeps Auto Shot going while the main head casts or moves",
|
|
||||||
"Weapons and armor from a subclass stay usable after logging in again",
|
|
||||||
"Two-Headed Ogres are Horde again and Thin Twins share Forgotten race rules",
|
|
||||||
"Thin Humans and Two-Headed Ogres can no longer be created as Hero",
|
|
||||||
"The Two-Headed Ogre stays in her combat stance between attacks",
|
|
||||||
"The second-head tab only shows for Two-Headed Ogres and Thin Twins",
|
|
||||||
"Thin Twins capes no longer show their inside at the shoulders",
|
|
||||||
"Thin Twins keep short hair under hats",
|
|
||||||
"Thin Twins keep their face, cape and hat fit with CoA Custom 1.9.2",
|
|
||||||
"Thin Twins show their class gear in character creation",
|
|
||||||
"Two-Headed Ogre capes drape over her back",
|
|
||||||
"CoA Custom 1.9.5 races work on the subclass server",
|
|
||||||
"With Play easy, cowboy the brother leaves a spent timed form",
|
|
||||||
"The Two-Headed Ogre casts with a raised fist before her face",
|
|
||||||
"The second-head client patch is now patch-ZZZZT.MPQ",
|
|
||||||
"Dual Wield shows once in the spellbook, whichever class teaches it",
|
|
||||||
"The subclass addon keeps working when the Twins or Ogre are renamed",
|
|
||||||
"The subclass name shows only on the character tab",
|
|
||||||
"The Thin Twins' Accursed brother keeps his distance until he takes his cursed form",
|
|
||||||
"The Thin Twins' brother follows a form's cost, cooldown and duration",
|
|
||||||
"The Thin Twins' own mana bar no longer flickers",
|
|
||||||
"Witch Hunter Vault now springs over in a handspring instead of a jump",
|
|
||||||
"The Twins brother keeps his timed form and no longer takes forms a spell forbids",
|
|
||||||
"The Twins brother faces his target, leaps in and leaves a form to heal you",
|
|
||||||
"With Play easy, cowboy, the brother uses his timed forms in a fight",
|
|
||||||
"Original races no longer look broken in the 64-bit client's character creation",
|
|
||||||
"Subclasses get their specialization's free passives, like the Pyromancer's draconic form",
|
|
||||||
"The subclass cast bar no longer gets stuck and can always be Alt-dragged",
|
|
||||||
"Pick-one talents in the subclass window no longer overlap their neighbours",
|
|
||||||
"Subclass spells get their rank upgrades, resources and class mechanics",
|
|
||||||
"Subclass talents that replace a spell now replace it for the subclass too",
|
|
||||||
"The Thin Twins keep their own hairstyle under hats",
|
|
||||||
"The Twins brother takes the look of the cursed form he actually uses",
|
|
||||||
"The Twins brother stands beside you at character select in his own clothes",
|
|
||||||
"The Twins brother climbs down from your back before taking a form",
|
|
||||||
"Spells the Twins brother casts no longer play a cast animation on you",
|
|
||||||
"The Thin Twins brother is now your mirror image",
|
|
||||||
"The Thin Twins brother can have his own face, hair style and beard",
|
|
||||||
"A script builds the original races' Vault patches from your own client files",
|
|
||||||
"The subclass client patch is now built after the release's own patches",
|
|
||||||
"The mirrored Thin Twins brother is built from the current Thin Twins model",
|
|
||||||
"Pressing your subclass mount again dismounts you",
|
|
||||||
"Removing a subclass dismisses the pet it let you summon",
|
|
||||||
"Removing a Warlock or Paladin subclass no longer unlearns your mounts",
|
|
||||||
"Removing a subclass no longer leaves its spells in your spellbook",
|
|
||||||
"A Starcaller subclass shows Lunar Phase as CoA's moon",
|
|
||||||
"Your twin's or other head's pet gets its own movable pet bar",
|
|
||||||
"A Ranged Head stands still while the Melee Head is offline",
|
|
||||||
"A bot plays the missing head of a Two-Players ogre",
|
|
||||||
"A Ranged Head keeps an echo of its deleted Melee Head's gear",
|
|
||||||
"Two-Players ogres hold books, pouches and orbs forward in the off hand",
|
|
||||||
"Two-Players ogres can pair up as Melee Head and Ranged Head",
|
|
||||||
"Paired Two-Players heads share one body",
|
|
||||||
"SquidBots Lite no longer prints \"Command 'dc status' does not exist\" at login",
|
|
||||||
"The subclass action bar no longer causes a blocked-action error in combat",
|
|
||||||
"Two-Players heads split their abilities into melee for the body and ranged for the rider",
|
|
||||||
"Two-Players heads gain Agree or Disagree stacks when they fight together",
|
|
||||||
"Two-Players heads can only be CoA classes",
|
|
||||||
"The Ranged Head's gear slots are frozen in ice and can no longer be dragged",
|
|
||||||
"Two-Players heads find the abilities they borrow on their own bar",
|
|
||||||
"Two-Players ogres can Bonk Heads! together once the heads have agreed long enough",
|
|
||||||
"Abilities lent between Two-Players heads follow each head's respecs and new spells",
|
|
||||||
"Two-Players ogres can use Mutate Me! to take the eyes-everywhere look and back",
|
|
||||||
"A Two-Players ogre fills one party spot and enters dungeons as one player",
|
|
||||||
"A Two-Players ogre joins a party only when there is room for both heads",
|
|
||||||
"A Ranged Head's own frame now stands for the shared Two-Players body",
|
|
||||||
"The Two-Players Ranged Head shares the body's health and both heads get full kill XP",
|
|
||||||
"The Two-Players Ranged Head shares the body's gear",
|
|
||||||
"Two-Players heads split quest gold, share one resource pool and keep their head's specs",
|
|
||||||
"Mobs attacked by the Two-Players Ranged Head now fight the body",
|
|
||||||
"Two-Players Twins: the second brother rides piggyback on the first, visible as himself",
|
|
||||||
"Bot plans panel shows what your group's bots are doing and lets you pick their next quest",
|
|
||||||
"Questing bots do all their quests in one area before moving on",
|
|
||||||
"The Twins' second brother keeps and wears his own gear on his brother's back",
|
|
||||||
"A Two-Players twin can call his brother to his side until another player joins him",
|
|
||||||
"Agree now raises spell and ranged hit too, not only melee hit",
|
|
||||||
"Two-Players ogres drop their mount when either head attacks",
|
|
||||||
"The other head's abilities now go on your own action bars",
|
|
||||||
"A bot body keeps questing, looting and resting after a fight instead of standing still",
|
|
||||||
"A bot body's SquidBots menu now opens from a button on your own player frame",
|
|
||||||
"Character select shows a Two-Players head's joined name and its partner's class",
|
|
||||||
"The Ranged Head now goes into and out of Dungeon Finder dungeons with the body",
|
|
||||||
"Two-Players can be switched off with Subclass.TwoPlayers.Enable",
|
|
||||||
"The other head's abilities only cost you resources when they actually go off",
|
|
||||||
"Character select shows a Two-Players ogre in his Mutate Me look",
|
|
||||||
"The Ranged Head gets the enchant, gem and suffix stats of the shared gear",
|
|
||||||
"The Ranged Head of a Two-Headed Ogre no longer pops out of the body at logout",
|
|
||||||
"A Ranged Head and its bot body are in one party again, so party chat and bot orders work",
|
|
||||||
"A bot riding as the Ranged Head no longer rests, roams or makes the body sit down",
|
|
||||||
"The character sheet of a Two-Players head shows the other head's class",
|
|
||||||
"Two-Players Ogres can fit a carried mount in a window and share the fit",
|
|
||||||
"Custom Races V2 with 17 new races, subclasses and the Fading Island",
|
|
||||||
"Updated Custom Races to 2.0"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user