mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-18 19:25:56 +00:00
Race restriction survives a catalog that only adds races
The worldserver ignores DisabledRaceIds saved against another ChrRaces catalog and with it CoACustomRaces.Enable, so every server that had a restriction from 1.9.2 lost custom races after the V2 update. Before a start the Manager binds the restriction to the new catalog when every disabled race keeps its RaceID and name, judged by the server's own snapshot (written by every save) or the table of every catalog a build has shipped (race_catalogs.json, generated from the core history). Renamed races (1.9.1 reused 32/33) and unknown catalogs still wait for the owner's review. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
de38e60444
commit
4fc133c35e
4 files changed
+821
No files matched your search
@@ -0,0 +1,7 @@
|
||||
---
|
||||
area: manager
|
||||
type: fixed
|
||||
audience: admins
|
||||
title: Disabled custom races stay disabled after a server update that adds races
|
||||
---
|
||||
A race list saved before Custom Races V2 no longer matched V2's race catalog, and the server then ignored it and turned custom races off. Before a start the Manager now keeps the list when every disabled race kept its ID and name.
|
||||
@@ -144,6 +144,10 @@ fn run_inner_mode(
|
||||
}
|
||||
if matches!(verb, Verb::StartAll | Verb::StartWorld) {
|
||||
crate::modules::ensure_bot_exclusivity(&root)?;
|
||||
// A server update that only added races keeps the owner's race restriction (and custom races on).
|
||||
if let Err(error) = crate::race_availability::rebind_unchanged(&root) {
|
||||
tracing::warn!(%error, "the race restriction could not be checked against the race catalog");
|
||||
}
|
||||
}
|
||||
if crate::docker::is_docker(&root) {
|
||||
prepare_headless_world(&root, verb)?;
|
||||
|
||||
@@ -269,9 +269,95 @@ pub fn save(
|
||||
),
|
||||
]),
|
||||
)?;
|
||||
write_snapshot(root, ¤t.catalog_sha256, ¤t.races)?;
|
||||
status(root)
|
||||
}
|
||||
|
||||
/// Every race catalog (`ChrRaces.dbc` of the custom races overlay) a server build has shipped, by SHA-256:
|
||||
/// RaceID -> name. Generated from the core repository's history of the overlay.
|
||||
const SHIPPED_CATALOGS: &str = include_str!("race_catalogs.json");
|
||||
/// The names of the catalog a restriction was saved against, written by every save.
|
||||
const SNAPSHOT: &str = "Settings/race-catalog.json";
|
||||
|
||||
#[derive(serde::Deserialize, Serialize)]
|
||||
struct Snapshot {
|
||||
sha256: String,
|
||||
races: BTreeMap<u32, String>,
|
||||
}
|
||||
|
||||
/// RaceID -> name of the catalog with `hash`: this server's own snapshot, or a catalog a build shipped.
|
||||
fn names_of(root: &Path, hash: &str) -> Option<BTreeMap<u32, String>> {
|
||||
if let Ok(snapshot) = crate::fsx::read_json::<Snapshot>(&root.join(SNAPSHOT)) {
|
||||
if snapshot.sha256.eq_ignore_ascii_case(hash) {
|
||||
return Some(snapshot.races);
|
||||
}
|
||||
}
|
||||
#[derive(serde::Deserialize)]
|
||||
struct Shipped {
|
||||
catalogs: BTreeMap<String, BTreeMap<u32, String>>,
|
||||
}
|
||||
let shipped: Shipped = serde_json::from_str(SHIPPED_CATALOGS).ok()?;
|
||||
shipped.catalogs.get(&hash.to_ascii_lowercase()).cloned()
|
||||
}
|
||||
|
||||
fn write_snapshot(root: &Path, hash: &str, races: &[Race]) -> Result<()> {
|
||||
crate::fsx::atomic_write_json(
|
||||
&root.join(SNAPSHOT),
|
||||
&Snapshot {
|
||||
sha256: hash.to_string(),
|
||||
races: races.iter().map(|race| (race.id, race.name.clone())).collect(),
|
||||
},
|
||||
)
|
||||
}
|
||||
|
||||
/// A server update that only adds races keeps the owner's restriction. The worldserver ignores a restriction
|
||||
/// saved against another catalog (and with it the whole custom races switch), so before a start: when every
|
||||
/// disabled race still has its RaceID and name in the new catalog, the restriction is bound to the new catalog.
|
||||
/// Anything else (an unknown old catalog, a renamed or missing race) is left for the owner to review. Returns
|
||||
/// whether the restriction was bound again.
|
||||
pub fn rebind_unchanged(root: &Path) -> Result<bool> {
|
||||
let conf_path = root.join(CONF);
|
||||
let Ok(conf_bytes) = fs::read(&conf_path) else {
|
||||
return Ok(false);
|
||||
};
|
||||
let mut conf = ConfFile::parse_bytes(&conf_bytes)?;
|
||||
let configured = parse_ids(conf.get(KEY).unwrap_or(""))?;
|
||||
let saved = conf
|
||||
.get(CATALOG_KEY)
|
||||
.unwrap_or("")
|
||||
.trim()
|
||||
.trim_matches('"')
|
||||
.to_ascii_lowercase();
|
||||
if configured.is_empty() || saved.is_empty() {
|
||||
return Ok(false);
|
||||
}
|
||||
let Ok(bytes) = fs::read(dbc_path(root)?) else {
|
||||
return Ok(false);
|
||||
};
|
||||
let current = hex::encode(Sha256::digest(&bytes));
|
||||
if saved == current {
|
||||
return Ok(false);
|
||||
}
|
||||
let races = catalog(&bytes)?;
|
||||
let Some(before) = names_of(root, &saved) else {
|
||||
tracing::warn!("race restriction saved against an unknown catalog; it needs the owner's review");
|
||||
return Ok(false);
|
||||
};
|
||||
let now: BTreeMap<u32, &str> = races.iter().map(|race| (race.id, race.name.as_str())).collect();
|
||||
let unchanged = configured
|
||||
.iter()
|
||||
.all(|id| before.get(id).is_some_and(|name| now.get(id) == Some(&name.as_str())));
|
||||
if !unchanged {
|
||||
tracing::warn!("a restricted race changed in the new catalog; the restriction needs the owner's review");
|
||||
return Ok(false);
|
||||
}
|
||||
conf.set(CATALOG_KEY, &format!("\"{current}\""), &[]);
|
||||
crate::fsx::atomic_write(&conf_path, conf.to_text().as_bytes())?;
|
||||
write_snapshot(root, ¤t, &races)?;
|
||||
tracing::info!(races = configured.len(), "race restriction kept for the updated race catalog");
|
||||
Ok(true)
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
@@ -292,6 +378,91 @@ mod tests {
|
||||
bytes
|
||||
}
|
||||
|
||||
fn catalog_of(rows: &[(u32, &str)]) -> Vec<u8> {
|
||||
let mut strings = vec![0u8];
|
||||
let mut offsets = Vec::new();
|
||||
for (_, name) in rows {
|
||||
offsets.push(strings.len() as u32);
|
||||
strings.extend(name.as_bytes());
|
||||
strings.push(0);
|
||||
}
|
||||
let mut bytes = b"WDBC".to_vec();
|
||||
for value in [rows.len() as u32, 69, 276, strings.len() as u32] {
|
||||
bytes.extend(value.to_le_bytes());
|
||||
}
|
||||
for ((id, _), offset) in rows.iter().zip(offsets) {
|
||||
let mut row = vec![0; 276];
|
||||
row[..4].copy_from_slice(&id.to_le_bytes());
|
||||
row[56..60].copy_from_slice(&offset.to_le_bytes());
|
||||
bytes.extend(row);
|
||||
}
|
||||
bytes.extend(strings);
|
||||
bytes
|
||||
}
|
||||
|
||||
fn restricted_server(catalog: &[u8], disabled: &str, saved_hash: &str) -> tempfile::TempDir {
|
||||
let d = tempfile::tempdir().unwrap();
|
||||
fs::create_dir_all(d.path().join("Data/dbc_races")).unwrap();
|
||||
fs::create_dir_all(d.path().join("Core/configs/modules")).unwrap();
|
||||
fs::write(d.path().join("Data/dbc_races/ChrRaces.dbc"), catalog).unwrap();
|
||||
fs::write(
|
||||
d.path().join(CONF),
|
||||
format!("CoACustomRaces.Enable = 1\nCoACustomRaces.DisabledRaceIds = \"{disabled}\"\nCoACustomRaces.DisabledRaceCatalogSha256 = \"{saved_hash}\"\n"),
|
||||
)
|
||||
.unwrap();
|
||||
d
|
||||
}
|
||||
|
||||
fn sha(bytes: &[u8]) -> String {
|
||||
hex::encode(Sha256::digest(bytes))
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn a_catalog_that_only_adds_races_keeps_the_restriction() {
|
||||
let old = catalog_of(&[(83, "Vulpera"), (97, "Gnoll")]);
|
||||
let new = catalog_of(&[(83, "Vulpera"), (97, "Gnoll"), (120, "Nerubian")]);
|
||||
let d = restricted_server(&new, "83", &sha(&old));
|
||||
write_snapshot(d.path(), &sha(&old), &catalog(&old).unwrap()).unwrap();
|
||||
assert!(rebind_unchanged(d.path()).unwrap());
|
||||
let conf = ConfFile::parse_bytes(&fs::read(d.path().join(CONF)).unwrap()).unwrap();
|
||||
assert_eq!(conf.get(KEY), Some("\"83\""));
|
||||
assert_eq!(
|
||||
conf.get(CATALOG_KEY).map(|h| h.trim_matches('"').to_string()),
|
||||
Some(sha(&new))
|
||||
);
|
||||
assert_eq!(conf.get("CoACustomRaces.Enable"), Some("1"));
|
||||
assert!(!rebind_unchanged(d.path()).unwrap(), "already bound");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn a_renamed_race_or_unknown_catalog_waits_for_review() {
|
||||
let old = catalog_of(&[(83, "Thin Human"), (97, "Gnoll")]);
|
||||
let renamed = catalog_of(&[(83, "Forgotten"), (97, "Gnoll")]);
|
||||
let d = restricted_server(&renamed, "83", &sha(&old));
|
||||
write_snapshot(d.path(), &sha(&old), &catalog(&old).unwrap()).unwrap();
|
||||
assert!(!rebind_unchanged(d.path()).unwrap());
|
||||
let unknown = restricted_server(&renamed, "97", &"ab".repeat(32));
|
||||
assert!(!rebind_unchanged(unknown.path()).unwrap());
|
||||
// Nothing is restricted: nothing to bind.
|
||||
let empty = restricted_server(&renamed, "", &sha(&old));
|
||||
assert!(!rebind_unchanged(empty.path()).unwrap());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn the_shipped_catalogs_include_1_9_2_and_v2_with_stable_ids() {
|
||||
let shipped: serde_json::Value = serde_json::from_str(SHIPPED_CATALOGS).unwrap();
|
||||
let catalogs = shipped["catalogs"].as_object().unwrap();
|
||||
let size = |c: &serde_json::Value| c.as_object().unwrap().len();
|
||||
assert!(catalogs.values().any(|c| size(c) == 95), "1.9.2 has 95 races");
|
||||
let v2: Vec<_> = catalogs.values().filter(|c| size(c) == 112).collect();
|
||||
assert_eq!(v2.len(), 1, "V2 has 112 races");
|
||||
for old in catalogs.values().filter(|c| size(c) == 95) {
|
||||
for (id, name) in old.as_object().unwrap() {
|
||||
assert_eq!(&v2[0][id], name, "race {id}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn catalog_preserves_ids_and_excludes_stock_and_nonplayable() {
|
||||
let mut bytes = dbc();
|
||||
|
||||
@@ -0,0 +1,639 @@
|
||||
{
|
||||
"catalogs": {
|
||||
"0f9e05112d56609a87f0b1900be88f8130a8fcb24ee4acae585f1fd8d9144bf0": {
|
||||
"1": "Human",
|
||||
"10": "Blood Elf",
|
||||
"100": "Drakonid",
|
||||
"103": "Grummle",
|
||||
"11": "Draenei",
|
||||
"12": "Zandalari Troll",
|
||||
"13": "Worgen",
|
||||
"14": "High Elf",
|
||||
"15": "Tuskarr",
|
||||
"16": "Kul Tiran",
|
||||
"17": "Taunka",
|
||||
"18": "Vrykul",
|
||||
"19": "Vulpera",
|
||||
"2": "Orc",
|
||||
"20": "Pandaren",
|
||||
"21": "Naga",
|
||||
"22": "Broken",
|
||||
"23": "Fel Orc",
|
||||
"24": "Forest Troll",
|
||||
"25": "Ice Troll",
|
||||
"26": "Skeleton",
|
||||
"27": "Earthen",
|
||||
"28": "Drakkari Troll",
|
||||
"29": "Pandaren",
|
||||
"3": "Dwarf",
|
||||
"30": "Murloc",
|
||||
"31": "Murloc",
|
||||
"32": "Thin Human",
|
||||
"33": "Thin Human",
|
||||
"34": "Fel Orc",
|
||||
"35": "Naga",
|
||||
"36": "Broken",
|
||||
"37": "Skeleton",
|
||||
"38": "Vrykul",
|
||||
"39": "Tuskarr",
|
||||
"4": "Night Elf",
|
||||
"40": "Forest Troll",
|
||||
"41": "Taunka",
|
||||
"42": "Northrend Skeleton",
|
||||
"43": "Ice Troll",
|
||||
"44": "Drakkari Troll",
|
||||
"45": "Leper Troll",
|
||||
"46": "Troglodyte",
|
||||
"47": "Alpha Worgen",
|
||||
"48": "Dark Iron Dwarf",
|
||||
"49": "Mag'har Orc",
|
||||
"5": "Undead",
|
||||
"50": "Furbolg",
|
||||
"51": "Undead Gnome",
|
||||
"52": "Orc",
|
||||
"53": "Ogre",
|
||||
"54": "Dracthyr",
|
||||
"55": "Eredar",
|
||||
"56": "Harpy",
|
||||
"57": "Alpha Goblin",
|
||||
"58": "Dracthyr",
|
||||
"59": "Void Elf",
|
||||
"6": "Tauren",
|
||||
"60": "Illidari Blood Elf",
|
||||
"61": "Illidari Night Elf",
|
||||
"62": "Lightforged Draenei",
|
||||
"63": "Nightborne",
|
||||
"65": "Test Race",
|
||||
"66": "Highmountain Tauren",
|
||||
"67": "Mechagnome",
|
||||
"68": "Earthen",
|
||||
"69": "Earthen",
|
||||
"7": "Gnome",
|
||||
"70": "Haranir",
|
||||
"71": "Haranir",
|
||||
"72": "Windshaper Skyborne",
|
||||
"74": "Vulpera",
|
||||
"77": "High Order Skyborne",
|
||||
"78": "Jinyu",
|
||||
"79": "Arakkoa",
|
||||
"8": "Troll",
|
||||
"80": "Darkfallen",
|
||||
"81": "Darkfallen",
|
||||
"82": "Sethrak",
|
||||
"83": "Gnoll",
|
||||
"9": "Goblin",
|
||||
"97": "Saberon",
|
||||
"98": "Drakonid",
|
||||
"99": "Drakkin"
|
||||
},
|
||||
"358503359af5b05d16a76f61bab77b5c6221c792bcb0e11793eba8e279689ff7": {
|
||||
"1": "Human",
|
||||
"10": "Blood Elf",
|
||||
"11": "Draenei",
|
||||
"12": "Zandalari Troll",
|
||||
"13": "Worgen",
|
||||
"14": "High Elf",
|
||||
"15": "Tuskarr",
|
||||
"16": "Kul Tiran",
|
||||
"17": "Taunka",
|
||||
"18": "Vrykul",
|
||||
"19": "Vulpera",
|
||||
"2": "Orc",
|
||||
"20": "Pandaren",
|
||||
"21": "Naga",
|
||||
"22": "Broken",
|
||||
"23": "Fel Orc",
|
||||
"24": "Forest Troll",
|
||||
"25": "Ice Troll",
|
||||
"26": "Skeleton",
|
||||
"27": "Earthen",
|
||||
"28": "Drakkari Troll",
|
||||
"29": "Pandaren",
|
||||
"3": "Dwarf",
|
||||
"30": "Murloc",
|
||||
"31": "Murloc",
|
||||
"32": "Thin Human",
|
||||
"33": "Thin Human",
|
||||
"34": "Fel Orc",
|
||||
"35": "Naga",
|
||||
"36": "Broken",
|
||||
"37": "Skeleton",
|
||||
"38": "Vrykul",
|
||||
"39": "Tuskarr",
|
||||
"4": "Night Elf",
|
||||
"40": "Forest Troll",
|
||||
"41": "Taunka",
|
||||
"42": "Northrend Skeleton",
|
||||
"43": "Ice Troll",
|
||||
"44": "Drakkari Troll",
|
||||
"45": "Leper Troll",
|
||||
"46": "Troglodyte",
|
||||
"47": "Alpha Worgen",
|
||||
"48": "Dark Iron Dwarf",
|
||||
"49": "Mag'har Orc",
|
||||
"5": "Undead",
|
||||
"50": "Furbolg",
|
||||
"51": "Undead Gnome",
|
||||
"52": "Orc",
|
||||
"53": "Ogre",
|
||||
"54": "Dracthyr",
|
||||
"55": "Eredar",
|
||||
"56": "Harpy",
|
||||
"57": "Alpha Goblin",
|
||||
"58": "Dracthyr",
|
||||
"59": "Void Elf",
|
||||
"6": "Tauren",
|
||||
"60": "Illidari Blood Elf",
|
||||
"61": "Illidari Night Elf",
|
||||
"62": "Lightforged Draenei",
|
||||
"63": "Nightborne",
|
||||
"65": "Test Race",
|
||||
"66": "Highmountain Tauren",
|
||||
"67": "Mechagnome",
|
||||
"68": "Earthen",
|
||||
"69": "Earthen",
|
||||
"7": "Gnome",
|
||||
"70": "Haranir",
|
||||
"71": "Haranir",
|
||||
"72": "Windshaper Skyborne",
|
||||
"74": "Vulpera",
|
||||
"77": "High Order Skyborne",
|
||||
"78": "Jinyu",
|
||||
"8": "Troll",
|
||||
"80": "Darkfallen",
|
||||
"81": "Darkfallen",
|
||||
"82": "Sethrak",
|
||||
"83": "Gnoll",
|
||||
"9": "Goblin",
|
||||
"97": "Saberon"
|
||||
},
|
||||
"6ad3ac1ad6ef7f32ed347e979cd1667bb5393d7a0967a859e5ba3cfa2a5d04c7": {
|
||||
"1": "Human",
|
||||
"10": "Blood Elf",
|
||||
"100": "Drakonid",
|
||||
"101": "Venthyr",
|
||||
"102": "Centaur",
|
||||
"103": "Grummle",
|
||||
"104": "Slime Giant",
|
||||
"106": "Mantid",
|
||||
"107": "Kyrian",
|
||||
"109": "Ethereal",
|
||||
"11": "Draenei",
|
||||
"110": "Sylvari",
|
||||
"112": "Hozen",
|
||||
"12": "Zandalari Troll",
|
||||
"13": "Worgen",
|
||||
"14": "High Elf",
|
||||
"15": "Tuskarr",
|
||||
"16": "Kul Tiran",
|
||||
"17": "Taunka",
|
||||
"18": "Vrykul",
|
||||
"19": "Vulpera",
|
||||
"2": "Orc",
|
||||
"20": "Pandaren",
|
||||
"21": "Naga",
|
||||
"22": "Broken",
|
||||
"23": "Fel Orc",
|
||||
"24": "Forest Troll",
|
||||
"25": "Ice Troll",
|
||||
"26": "Skeleton",
|
||||
"27": "Earthen",
|
||||
"28": "Drakkari Troll",
|
||||
"29": "Pandaren",
|
||||
"3": "Dwarf",
|
||||
"30": "Murloc",
|
||||
"31": "Murloc",
|
||||
"32": "Forgotten",
|
||||
"33": "Forgotten",
|
||||
"34": "Fel Orc",
|
||||
"35": "Naga",
|
||||
"36": "Broken",
|
||||
"37": "Skeleton",
|
||||
"38": "Vrykul",
|
||||
"39": "Tuskarr",
|
||||
"4": "Night Elf",
|
||||
"40": "Forest Troll",
|
||||
"41": "Taunka",
|
||||
"42": "Northrend Skeleton",
|
||||
"43": "Ice Troll",
|
||||
"44": "Drakkari Troll",
|
||||
"45": "Leper Troll",
|
||||
"46": "Troglodyte",
|
||||
"47": "Alpha Worgen",
|
||||
"48": "Dark Iron Dwarf",
|
||||
"49": "Mag'har Orc",
|
||||
"5": "Undead",
|
||||
"50": "Furbolg",
|
||||
"51": "Undead Gnome",
|
||||
"52": "Orc",
|
||||
"53": "Ogre",
|
||||
"54": "Dracthyr",
|
||||
"55": "Eredar",
|
||||
"56": "Harpy",
|
||||
"57": "Alpha Goblin",
|
||||
"58": "Dracthyr",
|
||||
"59": "Void Elf",
|
||||
"6": "Tauren",
|
||||
"60": "Illidari Blood Elf",
|
||||
"61": "Illidari Night Elf",
|
||||
"62": "Lightforged Draenei",
|
||||
"63": "Nightborne",
|
||||
"65": "Test Race",
|
||||
"66": "Highmountain Tauren",
|
||||
"67": "Mechagnome",
|
||||
"68": "Earthen",
|
||||
"69": "Earthen",
|
||||
"7": "Gnome",
|
||||
"70": "Haranir",
|
||||
"71": "Haranir",
|
||||
"72": "Windshaper Skyborne",
|
||||
"74": "Vulpera",
|
||||
"75": "Centaur",
|
||||
"77": "High Order Skyborne",
|
||||
"78": "Jinyu",
|
||||
"79": "Arakkoa",
|
||||
"8": "Troll",
|
||||
"80": "Darkfallen",
|
||||
"81": "Darkfallen",
|
||||
"82": "Sethrak",
|
||||
"83": "Gnoll",
|
||||
"87": "Faceless One",
|
||||
"9": "Goblin",
|
||||
"90": "Banshee",
|
||||
"97": "Saberon",
|
||||
"98": "Drakonid",
|
||||
"99": "Drakkin"
|
||||
},
|
||||
"833e18c0f0550d400e78ee5db00bd65bf86d051861fe6b795c0539e3fd9f125d": {
|
||||
"1": "Human",
|
||||
"10": "Blood Elf",
|
||||
"11": "Draenei",
|
||||
"12": "Zandalari Troll",
|
||||
"13": "Worgen",
|
||||
"14": "High Elf",
|
||||
"15": "Tuskarr",
|
||||
"16": "Kul Tiran",
|
||||
"17": "Taunka",
|
||||
"18": "Vrykul",
|
||||
"19": "Vulpera",
|
||||
"2": "Orc",
|
||||
"20": "Pandaren",
|
||||
"21": "Naga",
|
||||
"22": "Broken",
|
||||
"23": "Fel Orc",
|
||||
"24": "Forest Troll",
|
||||
"25": "Ice Troll",
|
||||
"26": "Skeleton",
|
||||
"27": "Earthen",
|
||||
"28": "Drakkari Troll",
|
||||
"29": "Pandaren",
|
||||
"3": "Dwarf",
|
||||
"30": "Murloc",
|
||||
"31": "Murloc",
|
||||
"32": "Thin Human",
|
||||
"33": "Thin Human",
|
||||
"34": "Fel Orc",
|
||||
"35": "Naga",
|
||||
"36": "Broken",
|
||||
"37": "Skeleton",
|
||||
"38": "Vrykul",
|
||||
"39": "Tuskarr",
|
||||
"4": "Night Elf",
|
||||
"40": "Forest Troll",
|
||||
"41": "Taunka",
|
||||
"42": "Northrend Skeleton",
|
||||
"43": "Ice Troll",
|
||||
"44": "Drakkari Troll",
|
||||
"45": "Leper Troll",
|
||||
"46": "Troglodyte",
|
||||
"47": "Alpha Worgen",
|
||||
"48": "Dark Iron Dwarf",
|
||||
"49": "Mag'har Orc",
|
||||
"5": "Undead",
|
||||
"50": "Furbolg",
|
||||
"51": "Undead Gnome",
|
||||
"52": "Orc",
|
||||
"53": "Ogre",
|
||||
"54": "Dracthyr",
|
||||
"55": "Eredar",
|
||||
"56": "Harpy",
|
||||
"57": "Alpha Goblin",
|
||||
"58": "Dracthyr",
|
||||
"59": "Void Elf",
|
||||
"6": "Tauren",
|
||||
"60": "Illidari Blood Elf",
|
||||
"61": "Illidari Night Elf",
|
||||
"62": "Lightforged Draenei",
|
||||
"63": "Nightborne",
|
||||
"65": "Test Race",
|
||||
"66": "Highmountain Tauren",
|
||||
"67": "Mechagnome",
|
||||
"68": "Earthen",
|
||||
"69": "Earthen",
|
||||
"7": "Gnome",
|
||||
"70": "Haranir",
|
||||
"71": "Haranir",
|
||||
"72": "Windshaper Skyborne",
|
||||
"74": "Vulpera",
|
||||
"77": "High Order Skyborne",
|
||||
"8": "Troll",
|
||||
"9": "Goblin"
|
||||
},
|
||||
"9a49163b9a330d844f0add5a2023f538b828bd5c57d6ecbb3cd5b4196930c5da": {
|
||||
"1": "Human",
|
||||
"10": "Blood Elf",
|
||||
"103": "Grummle",
|
||||
"11": "Draenei",
|
||||
"12": "Zandalari Troll",
|
||||
"13": "Worgen",
|
||||
"14": "High Elf",
|
||||
"15": "Tuskarr",
|
||||
"16": "Kul Tiran",
|
||||
"17": "Taunka",
|
||||
"18": "Vrykul",
|
||||
"19": "Vulpera",
|
||||
"2": "Orc",
|
||||
"20": "Pandaren",
|
||||
"21": "Naga",
|
||||
"22": "Broken",
|
||||
"23": "Fel Orc",
|
||||
"24": "Forest Troll",
|
||||
"25": "Ice Troll",
|
||||
"26": "Skeleton",
|
||||
"27": "Earthen",
|
||||
"28": "Drakkari Troll",
|
||||
"29": "Pandaren",
|
||||
"3": "Dwarf",
|
||||
"30": "Murloc",
|
||||
"31": "Murloc",
|
||||
"32": "Thin Human",
|
||||
"33": "Thin Human",
|
||||
"34": "Fel Orc",
|
||||
"35": "Naga",
|
||||
"36": "Broken",
|
||||
"37": "Skeleton",
|
||||
"38": "Vrykul",
|
||||
"39": "Tuskarr",
|
||||
"4": "Night Elf",
|
||||
"40": "Forest Troll",
|
||||
"41": "Taunka",
|
||||
"42": "Northrend Skeleton",
|
||||
"43": "Ice Troll",
|
||||
"44": "Drakkari Troll",
|
||||
"45": "Leper Troll",
|
||||
"46": "Troglodyte",
|
||||
"47": "Alpha Worgen",
|
||||
"48": "Dark Iron Dwarf",
|
||||
"49": "Mag'har Orc",
|
||||
"5": "Undead",
|
||||
"50": "Furbolg",
|
||||
"51": "Undead Gnome",
|
||||
"52": "Orc",
|
||||
"53": "Ogre",
|
||||
"54": "Dracthyr",
|
||||
"55": "Eredar",
|
||||
"56": "Harpy",
|
||||
"57": "Alpha Goblin",
|
||||
"58": "Dracthyr",
|
||||
"59": "Void Elf",
|
||||
"6": "Tauren",
|
||||
"60": "Illidari Blood Elf",
|
||||
"61": "Illidari Night Elf",
|
||||
"62": "Lightforged Draenei",
|
||||
"63": "Nightborne",
|
||||
"65": "Test Race",
|
||||
"66": "Highmountain Tauren",
|
||||
"67": "Mechagnome",
|
||||
"68": "Earthen",
|
||||
"69": "Earthen",
|
||||
"7": "Gnome",
|
||||
"70": "Haranir",
|
||||
"71": "Haranir",
|
||||
"72": "Windshaper Skyborne",
|
||||
"74": "Vulpera",
|
||||
"77": "High Order Skyborne",
|
||||
"78": "Jinyu",
|
||||
"79": "Arakkoa",
|
||||
"8": "Troll",
|
||||
"80": "Darkfallen",
|
||||
"81": "Darkfallen",
|
||||
"82": "Sethrak",
|
||||
"83": "Gnoll",
|
||||
"9": "Goblin",
|
||||
"97": "Saberon"
|
||||
},
|
||||
"b78635b08bf0bd63d2898fce97c1fb162c8a9c41632703172eefa88bae79061f": {
|
||||
"1": "Human",
|
||||
"10": "Blood Elf",
|
||||
"100": "Drakonid",
|
||||
"101": "Venthyr",
|
||||
"102": "Centaur",
|
||||
"103": "Grummle",
|
||||
"104": "Slime Giant",
|
||||
"106": "Mantid",
|
||||
"107": "Kyrian",
|
||||
"109": "Ethereal",
|
||||
"11": "Draenei",
|
||||
"110": "Sylvari",
|
||||
"112": "Hozen",
|
||||
"12": "Zandalari Troll",
|
||||
"13": "Worgen",
|
||||
"14": "High Elf",
|
||||
"15": "Tuskarr",
|
||||
"16": "Kul Tiran",
|
||||
"17": "Taunka",
|
||||
"18": "Vrykul",
|
||||
"19": "Vulpera",
|
||||
"2": "Orc",
|
||||
"20": "Pandaren",
|
||||
"21": "Naga",
|
||||
"22": "Broken",
|
||||
"23": "Fel Orc",
|
||||
"24": "Forest Troll",
|
||||
"25": "Ice Troll",
|
||||
"26": "Skeleton",
|
||||
"27": "Earthen",
|
||||
"28": "Drakkari Troll",
|
||||
"29": "Pandaren",
|
||||
"3": "Dwarf",
|
||||
"30": "Murloc",
|
||||
"31": "Murloc",
|
||||
"32": "Forgotten",
|
||||
"33": "Forgotten",
|
||||
"34": "Fel Orc",
|
||||
"35": "Naga",
|
||||
"36": "Broken",
|
||||
"37": "Skeleton",
|
||||
"38": "Vrykul",
|
||||
"39": "Tuskarr",
|
||||
"4": "Night Elf",
|
||||
"40": "Forest Troll",
|
||||
"41": "Taunka",
|
||||
"42": "Northrend Skeleton",
|
||||
"43": "Ice Troll",
|
||||
"44": "Drakkari Troll",
|
||||
"45": "Leper Troll",
|
||||
"46": "Troglodyte",
|
||||
"47": "Alpha Worgen",
|
||||
"48": "Dark Iron Dwarf",
|
||||
"49": "Mag'har Orc",
|
||||
"5": "Undead",
|
||||
"50": "Furbolg",
|
||||
"51": "Undead Gnome",
|
||||
"52": "Orc",
|
||||
"53": "Ogre",
|
||||
"54": "Dracthyr",
|
||||
"55": "Eredar",
|
||||
"56": "Harpy",
|
||||
"57": "Alpha Goblin",
|
||||
"58": "Dracthyr",
|
||||
"59": "Void Elf",
|
||||
"6": "Tauren",
|
||||
"60": "Illidari Blood Elf",
|
||||
"61": "Illidari Night Elf",
|
||||
"62": "Lightforged Draenei",
|
||||
"63": "Nightborne",
|
||||
"65": "Test Race",
|
||||
"66": "Highmountain Tauren",
|
||||
"67": "Mechagnome",
|
||||
"68": "Earthen",
|
||||
"69": "Earthen",
|
||||
"7": "Gnome",
|
||||
"70": "Haranir",
|
||||
"71": "Haranir",
|
||||
"72": "Windshaper Skyborne",
|
||||
"74": "Vulpera",
|
||||
"75": "Centaur",
|
||||
"77": "High Order Skyborne",
|
||||
"78": "Jinyu",
|
||||
"79": "Arakkoa",
|
||||
"8": "Troll",
|
||||
"80": "Darkfallen",
|
||||
"81": "Darkfallen",
|
||||
"82": "Sethrak",
|
||||
"83": "Gnoll",
|
||||
"87": "Faceless One",
|
||||
"9": "Goblin",
|
||||
"90": "Banshee",
|
||||
"97": "Saberon",
|
||||
"98": "Drakonid",
|
||||
"99": "Drakkin"
|
||||
},
|
||||
"bff09e612ba44567a5c7d928562d6261755504dc8948daa334e675bf49b54938": {
|
||||
"1": "Human",
|
||||
"10": "Blood Elf",
|
||||
"100": "Drakonid",
|
||||
"101": "Venthyr",
|
||||
"102": "Centaur",
|
||||
"103": "Grummle",
|
||||
"104": "Slime Giant",
|
||||
"105": "Gilgoblin",
|
||||
"106": "Mantid",
|
||||
"107": "Kyrian",
|
||||
"109": "Ethereal",
|
||||
"11": "Draenei",
|
||||
"110": "Sylvari",
|
||||
"111": "Sporeling",
|
||||
"112": "Hozen",
|
||||
"114": "Stormforged",
|
||||
"118": "Elune's Chosen",
|
||||
"119": "Mo'arg",
|
||||
"12": "Zandalari Troll",
|
||||
"120": "Nerubian",
|
||||
"122": "Lich",
|
||||
"123": "Mogu",
|
||||
"125": "Lost One",
|
||||
"13": "Worgen",
|
||||
"14": "High Elf",
|
||||
"15": "Tuskarr",
|
||||
"16": "Kul Tiran",
|
||||
"17": "Taunka",
|
||||
"18": "Vrykul",
|
||||
"19": "Vulpera",
|
||||
"2": "Orc",
|
||||
"20": "Pandaren",
|
||||
"21": "Naga",
|
||||
"22": "Broken",
|
||||
"23": "Fel Orc",
|
||||
"24": "Forest Troll",
|
||||
"25": "Ice Troll",
|
||||
"26": "Skeleton",
|
||||
"27": "Earthen",
|
||||
"28": "Drakkari Troll",
|
||||
"29": "Pandaren",
|
||||
"3": "Dwarf",
|
||||
"30": "Murloc",
|
||||
"31": "Murloc",
|
||||
"32": "Forgotten",
|
||||
"33": "Forgotten",
|
||||
"34": "Fel Orc",
|
||||
"35": "Naga",
|
||||
"36": "Broken",
|
||||
"37": "Skeleton",
|
||||
"38": "Vrykul",
|
||||
"39": "Tuskarr",
|
||||
"4": "Night Elf",
|
||||
"40": "Forest Troll",
|
||||
"41": "Taunka",
|
||||
"42": "Northrend Skeleton",
|
||||
"43": "Ice Troll",
|
||||
"44": "Drakkari Troll",
|
||||
"45": "Leper Troll",
|
||||
"46": "Troglodyte",
|
||||
"47": "Alpha Worgen",
|
||||
"48": "Dark Iron Dwarf",
|
||||
"49": "Mag'har Orc",
|
||||
"5": "Undead",
|
||||
"50": "Furbolg",
|
||||
"51": "Undead Gnome",
|
||||
"52": "Orc",
|
||||
"53": "Ogre",
|
||||
"54": "Dracthyr",
|
||||
"55": "Eredar",
|
||||
"56": "Harpy",
|
||||
"57": "Alpha Goblin",
|
||||
"58": "Dracthyr",
|
||||
"59": "Void Elf",
|
||||
"6": "Tauren",
|
||||
"60": "Illidari Blood Elf",
|
||||
"61": "Illidari Night Elf",
|
||||
"62": "Lightforged Draenei",
|
||||
"63": "Nightborne",
|
||||
"65": "Test Race",
|
||||
"66": "Highmountain Tauren",
|
||||
"67": "Mechagnome",
|
||||
"68": "Earthen",
|
||||
"69": "Earthen",
|
||||
"7": "Gnome",
|
||||
"70": "Haranir",
|
||||
"71": "Haranir",
|
||||
"72": "Windshaper Skyborne",
|
||||
"74": "Vulpera",
|
||||
"75": "Centaur",
|
||||
"77": "High Order Skyborne",
|
||||
"78": "Jinyu",
|
||||
"79": "Arakkoa",
|
||||
"8": "Troll",
|
||||
"80": "Darkfallen",
|
||||
"81": "Darkfallen",
|
||||
"82": "Sethrak",
|
||||
"83": "Gnoll",
|
||||
"85": "Two-Headed Ogre",
|
||||
"86": "Sureki",
|
||||
"87": "Faceless One",
|
||||
"88": "Qiraji",
|
||||
"89": "Dreadlord",
|
||||
"9": "Goblin",
|
||||
"90": "Banshee",
|
||||
"91": "Titan",
|
||||
"92": "Wretched",
|
||||
"93": "Fungarian",
|
||||
"96": "Thin Human",
|
||||
"97": "Saberon",
|
||||
"98": "Drakonid",
|
||||
"99": "Drakkin"
|
||||
}
|
||||
},
|
||||
"schema": 1,
|
||||
"source": "Corfirean/azerothcore-wotlk-coa modules/mod-coa-custom-races/data/dbc/ChrRaces.dbc"
|
||||
}
|
||||
Reference in new issue
Block a user