Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
544c1bee91 | ||
|
|
8c9809d3e0 | ||
|
|
ed8b9e3719 | ||
|
|
147c2804d4 | ||
|
|
e7cc588bfc | ||
|
|
bac0da9300 | ||
|
|
c4346751a9 | ||
|
|
7f6001723a | ||
|
|
f6f2375145 | ||
|
|
699fc858c9 | ||
|
|
d9bebb4e81 | ||
|
|
eaddad4134 | ||
|
|
fc8a7a722a | ||
|
|
b57d2b2839 | ||
|
|
f49e54f35f |
No files matched your search
@@ -207,6 +207,7 @@ $ReleaseVersion = [ordered]@{
|
||||
npm run content:test
|
||||
npm run server:test
|
||||
npm test
|
||||
npm run content:publish
|
||||
npm run build
|
||||
npm test -- --run src/avatar
|
||||
npx vitest run src/game/inputManager.test.ts src/game/inputMath.test.ts
|
||||
@@ -222,6 +223,11 @@ git push origin main
|
||||
git rev-parse HEAD
|
||||
```
|
||||
|
||||
`content:publish` is a fail-closed pre-build release check. It must report all
|
||||
54 WoW campaign dungeon packs and refuses to replace the manifest when a pack,
|
||||
dependency, or catalog-referenced asset is missing. Its local `content/` output
|
||||
is ignored and must not be staged.
|
||||
|
||||
Before `git commit`, read the staged file list printed by `git status --short`.
|
||||
Do not commit a `.env` file, password, API token, keystore, APK, database,
|
||||
`content/`, `dist/`, `dist-android/`, `.web-public/`, or `.android-public/`
|
||||
|
||||
@@ -0,0 +1,110 @@
|
||||
# Encounter authoring and fidelity
|
||||
|
||||
Healer Man keeps boss abilities, dungeon orchestration, presentation, and source
|
||||
evidence separate. Boss abilities are modular `EnemyAttackDefinition` records;
|
||||
dungeon-wide doors, waves, checkpoints, and transitions are modular
|
||||
`DungeonEncounterDefinition` records. Neither runtime stores Three.js or React
|
||||
objects, so the same definitions can later be selected or randomized without
|
||||
rewriting a boss component.
|
||||
|
||||
## Adding or editing a boss mechanic
|
||||
|
||||
1. Add or edit the attack in the boss entity's `combat.attacks` list. Imported
|
||||
RuneWaker lists are generated under `src/game/generated`; authored WoW
|
||||
exceptions live with their dungeon content.
|
||||
2. Give the mechanic a stable `id`, timing, condition, target, effect, and source
|
||||
record. Health mechanics use `self-health-percent`; timed mechanics use
|
||||
`initialCooldownMs` and `repeatCooldownMs`.
|
||||
3. Author a `telegraph` when the source supplies geometry. Harmful area attacks
|
||||
without explicit geometry receive a conservative circle/cone/line inference,
|
||||
but inferred geometry is not described as source-exact.
|
||||
4. Add a guide override only when the generated explanation needs encounter
|
||||
context that cannot be derived from the mechanic. The Boss Guide otherwise
|
||||
reads the runtime definition directly, including its trigger, timer, effect,
|
||||
telegraph, counterplay, fidelity, and test procedure.
|
||||
5. Run the focused mechanic, telegraph-geometry, campaign, timeline, and guide
|
||||
tests, then perform the browser playtest described in `PLAYTEST_NOTES.md`.
|
||||
|
||||
Telegraph geometry is shared by presentation and hit resolution. A circle,
|
||||
frontal cone, or line shown on the floor is therefore the area the resolver
|
||||
tests when the cast completes. `warningMs` is also enforced as a minimum cast
|
||||
time, so a telegraph cannot appear after its damage resolves.
|
||||
|
||||
## Adding a dungeon encounter rule
|
||||
|
||||
Attach a `DungeonEncounterDefinition` to `DungeonDefinition.encounters`. Rules
|
||||
combine a trigger, optional guards, and reusable actions. Available primitives
|
||||
cover tick/elapsed time, signals, interactions, entity engagement/death/health,
|
||||
all-members-dead checks, phases, flags, counters, timers, spawn groups, dynamic
|
||||
world-object state, objective completion, checkpoints, party teleports, loot,
|
||||
and signal chaining.
|
||||
|
||||
Definitions and snapshots are JSON-safe and stable-ID based. Actions are
|
||||
idempotent by default. Loot actions must use `persistence: "run"`; this prevents
|
||||
a wipe or checkpoint reload from duplicating a reward. Declare encounter-owned
|
||||
mob waves in `DungeonDefinition.encounterSpawnGroups`. Declare doors, switches,
|
||||
chests, keys, bridges, NPC prompts, and quest objects in
|
||||
`DungeonDefinition.serverGameObjects`; their collision, sight blocking, visual,
|
||||
prompt, and allowed interaction states follow the current encounter snapshot.
|
||||
|
||||
Online groups use party-leader authority. A follower interaction is sent as a
|
||||
request, then revalidated by the leader against the follower's synchronized
|
||||
position, range, line of sight, object state, and object ID before any rule is
|
||||
dispatched. The leader publishes serializable encounter snapshots to followers.
|
||||
|
||||
## Save behavior
|
||||
|
||||
Character profiles store a versioned safe dungeon checkpoint. The checkpoint
|
||||
projection retains only actions marked `checkpoint` or `run`; active timers,
|
||||
temporary waves, and a half-finished pull are reset. Entering the same dungeon
|
||||
hydrates that safe projection and its spawn after definitions are registered.
|
||||
Loading a different dungeon starts at its normal entrance.
|
||||
|
||||
## Source fidelity and remaining review
|
||||
|
||||
The deterministic ledgers are:
|
||||
|
||||
- `scripts/runewaker-pipeline/RUNEWAKER_ENCOUNTER_IMPLEMENTATION_REPORT.md`
|
||||
- `scripts/runewaker-pipeline/RUNEWAKER_GAMEPLAY_CONTENT_REPORT.md`
|
||||
- `scripts/runewaker-pipeline/RUNEWAKER_ENVIRONMENT_ASSEMBLY_REPORT.md`
|
||||
- `scripts/runewaker-pipeline/RUNEWAKER_NAVIGATION_GAP_REPORT.md`
|
||||
|
||||
Current encounter evidence covers 30 RuneWaker packages, 4,113 deferred source
|
||||
rows, and 1,524 unique direct evidence records. Of those evidence records, 388
|
||||
have exact executable spell mappings and 1,136 still need source review. Four
|
||||
bosses have clearly labeled, playable Healer Man fallback kits because the
|
||||
preserved data does not expose their original executable behavior. Eight
|
||||
non-empty packages do not contain source-confirmed boss membership; two
|
||||
authoritative variants are intentionally empty.
|
||||
|
||||
The upgraded WDB environment builder can assemble all referenced ROS resources
|
||||
with full placement translation, quaternion, and nonuniform scale, source-hash
|
||||
caching, shared meshes, collision chunking, and a separate dynamic-placement
|
||||
manifest. The integration pass regenerated Raksha Temple and The Origin through
|
||||
that full-WDB path; remaining shipping packages retain their last validated
|
||||
build until they are individually regenerated. The current audit finds 107
|
||||
filename-only dynamic candidates; they remain static and review-required
|
||||
because filenames alone do not prove door/switch behavior.
|
||||
|
||||
Treasure Trove's 908-placement full-WDB staging export is reproducible and its
|
||||
487,380-triangle visual/collision assembly, meshopt pass, and KTX2 compression
|
||||
all succeed. Its 0.3-metre, 512-cell full-resolution Recast navigation bake did
|
||||
not complete: the watershed run was stopped after nearly two CPU-hours when it
|
||||
showed the smaller-tile retry signature, and the explicit monotone run was
|
||||
stopped after more than four CPU-hours on its first pass. The fail-closed
|
||||
pipeline therefore did not publish that staged package. The last validated
|
||||
shipping package remains active. The recipe retains the monotone tiled policy
|
||||
for a future offline bake or a reviewed spatial-partitioning optimization;
|
||||
lowering navigation resolution was not silently substituted.
|
||||
|
||||
The route report contains 19 unreachable legs across eight dungeons, all from a
|
||||
distance-from-entrance objective-order heuristic. Those legs are evidence that
|
||||
objective order needs review, not proof that an off-mesh link should exist.
|
||||
Links are added only when source geometry or a reviewed traversal justifies
|
||||
them.
|
||||
|
||||
Run `npm run runewaker:audit:gameplay`, `npm run
|
||||
runewaker:audit:environment-assembly`, and `npm run runewaker:audit:navigation`
|
||||
after importing new source data. A report can be structurally green while its
|
||||
content status remains `review-required`; this is intentional and prevents an
|
||||
incomplete source inference from being presented as an original mechanic.
|
||||
@@ -4,6 +4,39 @@ This file is the durable record of runtime behavior, regressions, and the
|
||||
evidence required before calling a visual bug fixed. Update it whenever scene,
|
||||
camera, input, physics, mob-rendering, or asset-loading code changes.
|
||||
|
||||
## 2026-09-10 Personal UI templates and desktop action bars
|
||||
|
||||
- Opened Wailing Caverns through the normal offline roster, dungeon, and role
|
||||
selection screens, then opened Pause > Edit UI & templates.
|
||||
- Verified five bars containing 12 buttons each, including 2 x 6 and 3 x 4
|
||||
arrangements. Default stacking accounts for each bar's height. The editor
|
||||
can collapse or dock on either side so drag handles remain reachable.
|
||||
- Clicked Renew and pressed Shift+Q in keybind edit mode. Reassigned Shift+Q
|
||||
to bar 5/button 12 and verified the previous keybind cleared. Assigned Renew
|
||||
to that button through the ability picker; after saving, Shift+Q cast it and
|
||||
displayed its cooldown. No spell fired during key capture.
|
||||
- Dragged the minimap, hid party frames, saved/renamed/overwrote PC slot 1,
|
||||
loaded it, and round-tripped all layouts through export text and import.
|
||||
The imported JSON retained the minimap position, hidden party, bar geometry,
|
||||
ability assignment, key chord, and template name. Restoring a hidden widget
|
||||
works, and Cancel discards that visibility edit.
|
||||
- At a 390 x 844 viewport, the editor remained within the viewport and the
|
||||
Save UI button was visible and 36 CSS pixels high. The in-app browser's
|
||||
screenshot preview scales the page unusually at this override; DOM bounds
|
||||
confirmed the editor was 310 CSS pixels wide. This was responsive browser
|
||||
verification, not an Android hardware playtest.
|
||||
- Evidence: `playtest-artifacts/ui-layout-desktop.png` and
|
||||
`playtest-artifacts/ui-layout-phone-viewport.png`. Restored the offline UI
|
||||
to defaults and removed the temporary template via import after testing.
|
||||
- Automated coverage includes migration to six slots, owner isolation,
|
||||
cloud upload/hydration into a separate device cache with a mocked endpoint,
|
||||
malformed imports, key conflicts, and input precedence. No production
|
||||
account credentials were used for the cloud round-trip test.
|
||||
- `npm run build` and the focused 67-test suite passed. The development server
|
||||
was restarted after an existing watcher hit EBUSY on generated web-bootstrap
|
||||
assets during a concurrent build; no runtime UI error was logged in the
|
||||
subsequent playtest.
|
||||
|
||||
## 2026-08-18 GM Manastorm administration - COMPLETE
|
||||
|
||||
- Server-authorized `Phenom` access, revisioned SQLite configuration, safe
|
||||
@@ -1654,3 +1687,474 @@ Vite's existing large-chunk advisory remains informational.
|
||||
corrected production build completed with 923 modules transformed. KTX2 and
|
||||
environment-performance audits remained green, and the release-candidate
|
||||
check passed.
|
||||
|
||||
# 2026-09-05 — specialization-aware heirlooms and endgame loot
|
||||
|
||||
- Activated the legacy level-10 Priest `Rolecheck`. The mandatory Class Hall
|
||||
picker appeared before the main menu, offered Discipline, Holy, and Shadow,
|
||||
and presented Cancel, Keep talents, and Reset talents after choosing Holy.
|
||||
Keeping talents returned to the main menu with the specialization saved.
|
||||
- Opened Wailing Caverns from Dungeon Finder. Role selection was restricted to
|
||||
Healer, matching the saved Holy specialization; no Tank or DPS override was
|
||||
available.
|
||||
- Reviewed the roster preview and a live Wailing Caverns combat scene. The
|
||||
player body, staff, and all four AI party bodies/equipment silhouettes were
|
||||
visible and correctly anchored without obscuring the HUD or playfield.
|
||||
- Opened Inventory & Equipment in the dungeon. The player had zero earned
|
||||
items but every applicable slot resolved to a level-10 Priest healer
|
||||
heirloom and reported average item level 10. Morvane, the Blood Death Knight
|
||||
companion, showed a complete tank heirloom loadout with the intended
|
||||
two-handed weapon layout and empty conflicting slots.
|
||||
- Browser logs contained no uncaught application errors. Only the existing
|
||||
third-party initialization deprecation warning appeared.
|
||||
- Automated coverage validates every classic and CoA specialization, Feral
|
||||
Bear/Cat separation, RoM-derived profiles, player and party scaling caps,
|
||||
same-level catalog dominance at levels 1/40/79, real item-level-85 upgrade
|
||||
availability for every gear archetype, two-hand replacement scoring,
|
||||
fallback reappearance, percentage-preserving stat refreshes, specialization
|
||||
persistence and talent reset behavior, and the item-level-255 save limit.
|
||||
- Verification: the complete Vitest suite passed all 928 cases across 171
|
||||
files, including all 43 avatar cases. All 15 server persistence/API tests
|
||||
passed. The production build completed with 925 modules transformed, KTX2
|
||||
and environment-performance audits remained green, and the release-candidate
|
||||
check passed. The existing large-chunk advisory remains informational.
|
||||
|
||||
# 2026-09-07 — modular encounter completion and boss guide
|
||||
|
||||
- Entered Wailing Caverns through the live offline roster and verified the 3D
|
||||
dungeon, party HUD, minimap, and buff/debuff strips remained readable. The
|
||||
encounter timeline occupies the same top-right HUD column beneath those
|
||||
elements, keeping timed casts and pending health thresholds out of the
|
||||
central playfield.
|
||||
- Opened the new Boss Guide from the in-dungeon pause menu. The three-column
|
||||
field manual listed both WoW and RuneWaker dungeons, their bosses, source
|
||||
provenance, triggers, timings, target/effect descriptions, warning geometry,
|
||||
counterplay, and a concrete test procedure for every listed mechanic.
|
||||
- Selected Archaedas in Uldaman and confirmed all four authored mechanics:
|
||||
Awaken Earthen Custodian every 10 seconds, the two-second 18-metre Ground
|
||||
Tremor warning circle, six Earthen Guardians at 70% health, and two Vault
|
||||
Warders at 40% health. Bosses with no sourced special attack are explicitly
|
||||
labelled with zero special mechanics instead of receiving invented behavior.
|
||||
- The encounter authoring layer now drives serializable timers, health gates,
|
||||
guards, actions, summon groups, chained signals, stateful world objects,
|
||||
teleports, rewards, checkpoints, and online leader-authoritative interaction
|
||||
validation. Harmful area mechanics use the same geometry for both the world
|
||||
warning and hit resolution.
|
||||
- Browser review found no visible layout or interaction regressions. The only
|
||||
previously observed browser message remains Rapier's third-party
|
||||
initialization deprecation warning.
|
||||
- Source limitations and the exact remaining RuneWaker evidence, navigation,
|
||||
formula, loot, animation, and asset-fidelity gaps are recorded in the linked
|
||||
deterministic audit reports and authoring documentation rather than silently
|
||||
approximated.
|
||||
- Full-WDB environment packages for Raksha Temple and The Origin completed and
|
||||
passed their GLB gates. Treasure Trove's 908-placement visual/collision stage
|
||||
also completed, but its full-resolution 36-tile Recast bake did not terminate
|
||||
after nearly two CPU-hours on the watershed path and more than four CPU-hours
|
||||
on the monotone path. The fail-closed pipeline preserved the prior validated
|
||||
shipping package; this remaining offline bake is documented in
|
||||
`ENCOUNTER_AUTHORING.md` instead of lowering navigation resolution.
|
||||
- Verification passed: the complete Vitest suite passed all 981 cases across
|
||||
185 files; online authority passed all 4 server cases; RuneWaker gameplay,
|
||||
encounter, environment, navigation, formula/loot, and animation audits passed;
|
||||
and the production build completed with 955 modules transformed. The KTX2
|
||||
audit covered 12,347 compressed textures with zero fallbacks, and the
|
||||
environment-performance audit found no regressions. The existing large-chunk
|
||||
advisory and Rapier initialization deprecation warning remain informational.
|
||||
|
||||
# 2026-09-08 — WoW dungeon production-functionality audit
|
||||
|
||||
- Audited all 54 WoW five-player catalog entries against live runtime contracts,
|
||||
pinned AzerothCore population/object drafts, and instance-script source. The
|
||||
composed-runtime content audit is green for 1,193 mobs, 273 bosses, 4,026
|
||||
attacks, 2,572 specials, and 1,275 native models, but the stricter production-
|
||||
fidelity gate remains blocked at 0/54.
|
||||
- The audit found 3,943 source game-object spawns, including 2,321 actionable
|
||||
doors, buttons, chests/resources, transports, traps, and related objects. Raw
|
||||
database rows are no longer passed into the typed world-object renderer; all
|
||||
54 live definitions now have zero malformed world-object records.
|
||||
- The follow-up implementation sweep completed source review for all 54
|
||||
instances. Fifty-one now have runtime-wired instance orchestration and the three
|
||||
genuinely empty stock instance scripts are pinned as source-exact no-ops;
|
||||
there are no unreviewed instance scripts left. Wailing Caverns remains the
|
||||
only entry with a reviewed off-mesh link, and the three Ascension-specific
|
||||
dungeons still lack authoritative server population data.
|
||||
- Entered Wailing Caverns from the local browser roster as a Priest healer. The
|
||||
3D environment, populated combat route, party, objective, minimap, and HUD all
|
||||
loaded; the minimap strip showed one Power Word: Fortitude entry. No uncaught
|
||||
client runtime errors appeared. Rapier's existing initialization deprecation
|
||||
warning remained informational.
|
||||
- The local content manager exposed all 54 WoW entries but only Wailing Caverns
|
||||
was installed; the other 53 were marked download required. Those dungeons were
|
||||
therefore checked by source/runtime-contract audit in this pass, not claimed
|
||||
as completed visual traversal playtests.
|
||||
- The follow-up world-object compiler converted all 3,943 source rows—including
|
||||
all 2,321 actionable doors, chests/resources, switches, traps, and
|
||||
transports—into stable typed definitions with transformed coordinates,
|
||||
type-aware states, conservative dimensions, and source/template/spawn/type
|
||||
provenance. Wailing Caverns receives its 57 generated records through the
|
||||
authored-definition enrichment path as well.
|
||||
- Client `GameObjectDisplayInfo` metadata resolves a visual display ID for
|
||||
3,905 records, a native model path for 3,837, and exact bounds for 3,547. The
|
||||
generated export manifest deduplicates those instances into 458 native legacy
|
||||
assets, records 38 intentional no-display spell-focus objects, and isolates
|
||||
the remaining nine missing-model display IDs and 68 no-bounds display IDs for
|
||||
review.
|
||||
- An initial live pass exposed colored procedural markers for adapted
|
||||
chests/resources. Unreviewed source objects are now deliberately hidden,
|
||||
non-blocking, and non-interactive so incomplete door scripts cannot soft-lock
|
||||
a dungeon and placeholder art cannot leak into normal play. A second live
|
||||
Wailing Caverns pass confirmed the clean 3D scene, party combat, HUD, minimap,
|
||||
and single Fortitude entry. No uncaught client errors appeared; duplicate
|
||||
KTX2-loader warnings occurred only across deliberate hot-reload cycles.
|
||||
- The final runtime audit reports 54/54 reviewed dungeons. Fifty-one dungeons use
|
||||
52 rule-bearing instance-controller definitions (Blackrock Spire has separate
|
||||
lower- and upper-spire controllers), while three use verified source-exact
|
||||
no-op scripts. Every catalog objective has a completion action, and the audit
|
||||
found zero malformed-object, duplicate-id, or encounter-contract issues. All
|
||||
51 rule-bearing dungeons retain explicit adaptation/gap notes; native object
|
||||
models and full-route live traversal are not claimed complete.
|
||||
- The source-combat follow-up gives every runtime-spawnable boss a sourced kit
|
||||
unless the pinned source really is melee-only. The six deliberate exceptions
|
||||
are Kresh, Deviate Faerie Dragon, Spirestone Battle Lord, Spirestone Butcher,
|
||||
Crystal Fang, and Grubbis. Crystal Fang retains its source-exact 15% rare-spawn
|
||||
behavior and death summon. Trial of the Champion, Utgarde Keep, Hellfire
|
||||
Ramparts, Sethekk Halls, Mana-Tombs, and Slave Pens event bosses now use their
|
||||
pinned spell IDs and timing windows; unsupported vehicle, proc, queue, shared-
|
||||
health, phase, stack, and healing-reduction semantics are explicitly recorded
|
||||
as adaptations instead of being silently invented.
|
||||
- Wipe/reset validation exhaustively covered 673,664 reachable encounter states,
|
||||
180 reset paths, every one of the 68 non-initial reset targets, and all 135
|
||||
entity-timeout rules. Durable progression now fails closed on a missing entity,
|
||||
legacy snapshots with unordered action history fail closed, and Frozen Reach's
|
||||
Arktos is attempt-scoped so a wipe respawns him and can still advance the duo
|
||||
encounter on the next pull. The two viable post-reset resume states in Scarlet
|
||||
Cathedral and Halls of Stone are intentional, not soft locks.
|
||||
- Same-process checkpoint restore and online follower hydration now accept their
|
||||
trusted save/leader snapshots even when a retained local provider has a newer
|
||||
reset revision; ordinary stale imports remain rejected. A renderer restart
|
||||
preserves the current encounter snapshot. Encounter effects use one delivery
|
||||
path at a time, and obsolete headless queues are cleared on reset or dungeon
|
||||
switch instead of retaining already-applied envelopes for the process lifetime.
|
||||
- The generated download topology now contains an installable logical pack for
|
||||
every one of the 54 campaign dungeons. The three custom dungeons without their
|
||||
own creature payload are represented by dependency-only packs, while every
|
||||
non-bundled dungeon pulls its exact environment and shared-creature closure.
|
||||
The existing live content feed was not deployed or mutated during this pass;
|
||||
browser traversal therefore still reflects the packs already available there.
|
||||
- Installed packs now persist v2 verification receipts containing their exact
|
||||
file set, byte counts, hashes, and dependencies. Browser-cache and native-file
|
||||
presence are revalidated before entry, production dungeon entry fails closed
|
||||
when a pack or dependency is missing or stale, and `content:publish` validates
|
||||
the complete 54-dungeon dependency graph before any release output is written.
|
||||
- Run completion now leaves the final room active so loot can be collected before
|
||||
the player explicitly exits and clears the checkpoint. A wipe returns the party
|
||||
to the saved run spawn while preserving already-cleared bosses and durable run
|
||||
progress; attempt-scoped actors and effects reset for the next pull.
|
||||
- The live Priest check used the saved `Rolecheck` character, which advanced from
|
||||
level 11 to level 12 during the dungeon passes. The latest Wailing Caverns run
|
||||
displayed 677/677 health, one Power Word: Fortitude alongside Arcane Intellect
|
||||
(and Holy Concentration while active), and one Frostbolt plus one Icy Touch
|
||||
debuff. Repeated Frostbolt applications refreshed that one entry from 7.1 to
|
||||
21 seconds rather than duplicating it. The deterministic geared level-8 check
|
||||
produced 3,285 mana and increased health from 407 to 437 when Fortitude was
|
||||
applied.
|
||||
- Verification remains deliberately split: source coverage, runtime contracts,
|
||||
reset reachability, and automated behavior are green, while the combined
|
||||
production-fidelity audit remains 0/54. Its remaining blockers include native
|
||||
object export/collision, explicitly listed source-semantic gaps, and end-to-end
|
||||
traversal evidence for every production pack—not unfinished instance-script
|
||||
review.
|
||||
- Final release verification passed all 1,109 Vitest cases across 202 files,
|
||||
TypeScript project compilation, and the production build with 967 modules
|
||||
transformed. The build staged 5,587 browser-bootstrap files, validated all
|
||||
eight arenas, audited 12,347 compressed textures with zero fallbacks, and found
|
||||
no environment-performance regressions. The release-candidate check accepted
|
||||
all 118 changed paths. The existing large-chunk advisory and Rapier
|
||||
initialization deprecation warning remain informational.
|
||||
|
||||
# 2026-09-09 — fixed per-rank classic mana costs
|
||||
|
||||
- Imported WoW mana percentages are now converted into fixed costs at each
|
||||
spell rank's source level. Player level, Intellect, equipment, and maximum-mana
|
||||
modifiers no longer increase the cost of an already learned rank; legitimate
|
||||
talent and aura cost reductions are still applied afterward.
|
||||
- Shadow Word: Pain rank 4 now costs 133 mana at every level from 26 through 33,
|
||||
including level 32. Learning rank 5 at level 34 raises the cost to 188 mana.
|
||||
- AI companions now use real character-scale mana pools so fixed spell costs do
|
||||
not prevent healing or resurrection. The companion display also resolves the
|
||||
active spell rank and the same final affordability result as the primary HUD.
|
||||
- Verification passed all 1,133 Vitest cases across 208 files. The production
|
||||
build completed with 974 modules transformed; arena, KTX2, and environment-
|
||||
performance audits remained green, and the release-candidate check passed.
|
||||
|
||||
# 2026-09-09 — dungeon wall and nameplate performance regressions
|
||||
|
||||
- The 0.1.24 material fallback honored BLEND tags on legacy WoW WMO walls,
|
||||
floors, and ceilings, disabling their depth writes. WoW environments now use
|
||||
their authored material roles again; RuneWaker environments retain their
|
||||
source MASK/BLEND semantics. Shipped Wailing Caverns wall materials, vines,
|
||||
and water are covered by regression tests.
|
||||
- The 0.1.25 boss-name occlusion scanned the complete rendered scene with
|
||||
Three.js raycasts. A live Kalin's Shrine CPU profile was dominated by triangle
|
||||
intersection and vertex decoding. Boss names and nearby NPC prompts now use
|
||||
bounded camera-to-label queries against Rapier's existing physical spatial
|
||||
index, at most ten times per second, skipping offscreen labels. Walls, floors,
|
||||
and ceilings occlude labels; actors and trigger sensors do not.
|
||||
- In an isolated offline Edge playtest at 1440 x 900 on an AMD RX 9070 XT,
|
||||
Kalin's Shrine improved from about 10 FPS (98.5 ms/frame, 167 draw calls,
|
||||
DPR 1.125) to 55.5-56.1 FPS (17.8-18.0 ms/frame, 168-170 draw calls,
|
||||
DPR 1.5). This is a representative entrance/combat comparison, not an audit
|
||||
of all thirty RoM dungeons. The environment alone took about 0.8 ms CPU and
|
||||
0.5 ms GPU with 14 draw calls.
|
||||
- Wailing Caverns screenshots show continuous opaque cavern walls and ceilings.
|
||||
A controlled toggle of the old material flags reproduced the missing wall
|
||||
sections at the same camera position; restoring depth-writing materials fixed
|
||||
them. Its full scene ran at about 57 FPS. No uncaught client errors appeared.
|
||||
- Evidence and repeatable local benchmark helpers are under
|
||||
`playtest-artifacts/2026-09-09-dungeon-rendering/`: `kalin-before.cpuprofile`,
|
||||
`kalin-after.cpuprofile`, `kalin-after-metrics.json`, `kalin-before.png`,
|
||||
`kalin-after.png`, `wailing-regression.png`, and `wailing-restored.png`.
|
||||
- All 26 focused material, label occlusion, combat sight, aggro visibility,
|
||||
instancing, and NPC-prompt tests passed. Physical-occlusion tests exercise
|
||||
actual Rapier worlds rather than just source-code assertions.
|
||||
|
||||
# 2026-09-09 — campaign rendering audit and Thor performance preparation
|
||||
|
||||
- Audited the actual visual GLB headers for all 54 WoW campaign dungeons:
|
||||
9,402 materials, including 3,586 legacy BLEND materials restored to opaque
|
||||
rendering by the shared policy. Every WoW package contained affected
|
||||
materials. A permanent shipped-asset test covers all 54 definitions and
|
||||
retains explicit cutout, blend, and additive roles. This is material-policy
|
||||
coverage, not a claim that every room has been visually traversed.
|
||||
- Live screenshots checked Wailing Caverns, Shadowfang Keep, Utgarde Pinnacle,
|
||||
the Nexus, and Tinkertech Showdown. The sampled walls, floors, stairs, and
|
||||
ceilings remain solid; authored lighting effects remain transparent. Kalin's
|
||||
Shrine and Forsaken Abbey provided RoM rendering checks. Roster and in-dungeon
|
||||
screenshots show character bodies and equipped weapon silhouettes after the
|
||||
shared character animation change.
|
||||
- A controlled Utgarde Pinnacle entrance test found about 1,739 draw calls,
|
||||
1.95 million triangles, and 30.5 FPS on the desktop GPU. Clipping at the
|
||||
existing full-fog distance reduced this to about 209 calls, 567,000 triangles,
|
||||
and 60 FPS at the same viewpoint. The camera now follows each dungeon's fog
|
||||
distance, including transitions that retain the existing Canvas/camera.
|
||||
The background uses the fog color to avoid a clipping seam at the horizon.
|
||||
All 84 dungeon definitions have render-distance coverage.
|
||||
- Static dungeon visual transforms are cached until the root or its parent's
|
||||
world transform changes. Tests verify imported matrices, repeated unchanged
|
||||
frames, root movement, and parent movement. Characters, moving world objects,
|
||||
and physics remain outside this immutable visual cache.
|
||||
The final 63-second Utgarde sample held 60 FPS with 213 draw calls:
|
||||
main-thread work averaged 9.2 ms/frame, renderer CPU averaged 7.5 ms
|
||||
(p95 8.3 ms), and GPU averaged 2.7 ms (p95 4.1 ms). Movement and jump input
|
||||
continued to animate the player while the environment remained stationary.
|
||||
- Character locomotion and jump clip selections are cached by animation
|
||||
library and weapon stance. The final Kalin CPU profile contains no sampled
|
||||
per-frame base-clip selection/name parsing. Frame-cap deadlines now tolerate
|
||||
sub-millisecond timestamp rounding without drifting or emitting catch-up
|
||||
frames; tests cover 60 FPS on rounded 60 Hz and 120 Hz callbacks.
|
||||
- A 31.5-second Kalin sample with a connected browser companion display held
|
||||
60 FPS: main-thread work averaged 8.7 ms/frame, renderer CPU averaged 5.4 ms
|
||||
(p95 5.9 ms), and GPU averaged 2.4 ms (p95 3.4 ms). The companion used about
|
||||
5.1 ms of main-thread time per second. Recent ability-cost snapshot work was
|
||||
not a dominant hotspot in this sample. Startup warmup is bounded to loading;
|
||||
companion snapshots are already limited to ten per second during gameplay.
|
||||
- These are isolated offline Edge desktop samples on an AMD RX 9070 XT at
|
||||
1920 x 1080 CSS pixels, DPR 1.5 (2880 x 1620 renderbuffer). Party composition
|
||||
can change between dungeon entries. They do not certify Android performance
|
||||
or sustained busy-combat headroom. ADB listed no connected Android device.
|
||||
- Thor acceptance should use the actual model, both native displays, target
|
||||
resolution, and a sustained 20-minute traversal/combat run after warmup.
|
||||
Provisional headroom target: p95 main-thread and GPU work each at or below
|
||||
12 ms, with p99 presented frame intervals within the 16.7 ms 60-FPS budget.
|
||||
Test large pulls, boss effects, menus, and repeated dungeon transitions;
|
||||
record thermal behavior and frame-time spikes, not only average FPS.
|
||||
The environment asset audit still has 60 grandfathered budget exceptions;
|
||||
its green result means no new asset regression, not a Thor FPS guarantee.
|
||||
- Evidence is in `playtest-artifacts/2026-09-09-thor-audit/`, including roster,
|
||||
dungeon, and companion screenshots, CPU profiles, and CPU/GPU JSON samples.
|
||||
The full material report is
|
||||
`playtest-artifacts/2026-09-09-dungeon-rendering/wow-material-audit.json`.
|
||||
- Validation passed 227 focused tests covering avatar rendering and animation,
|
||||
camera distances, material policies, frame pacing, static transforms, label
|
||||
visibility, and companion snapshots. The final static-cache change also
|
||||
passed the 105-test scene subset. The production build and release-candidate
|
||||
check passed; the existing large-bundle advisory remains.
|
||||
|
||||
# 2026-09-09 — additional CPU headroom from culling and shared skeletons
|
||||
|
||||
- Prepared dungeon visuals now group static siblings into conservative spatial
|
||||
bounds. One scene hook checks these bounds after the current camera and world
|
||||
matrices update, before Three.js traverses individual meshes. Bounds include
|
||||
complete wall geometry and all instances; lights, animated meshes, and meshes
|
||||
explicitly disabling frustum culling remain outside these groups. The hook
|
||||
supports streamed chunks and restores its predecessor after cleanup.
|
||||
- At the same Utgarde Pinnacle entrance, only 16 of 1,383 spatial groups were
|
||||
visible. The renderer examined 108 static meshes instead of 7,002, retaining
|
||||
the same 206 draw calls and 566,913 rendered triangles. Controlled culling
|
||||
toggles produced byte-identical canvas PNGs across eight camera headings.
|
||||
- In the same running scene, spatial grouping reduced average main-thread work
|
||||
from 9.45 to 6.83 ms/frame, and renderer CPU from 7.81 to 5.31 ms/frame.
|
||||
Removing containers emptied by static instancing reduced the final fresh-run
|
||||
averages further to 6.49 ms main-thread and 4.85 ms renderer CPU (p95 5.2 ms).
|
||||
The final sample lasted 87.8 seconds and held 60 FPS. Authored empty scene
|
||||
nodes are preserved; only containers emptied by our batching are removed.
|
||||
- The shared character renderer still uses SkeletonUtils.clone, then reuses
|
||||
equivalent skeleton palettes within that owned clone. Bone identities, order,
|
||||
and inverse bind matrices must all match; per-mesh bind transforms remain
|
||||
unchanged. Different characters retain independent bones and animations.
|
||||
Owned bone textures are now explicitly disposed during character teardown.
|
||||
- A live character audit found 66 skeleton objects for one player palette and
|
||||
256 objects for four party palettes. A Wailing Caverns toggle removed 309
|
||||
duplicate skeletons and produced an identical rendered image. Tests verify
|
||||
posed vertices, differing bind transforms, incompatible palettes, independent
|
||||
cloned characters, and redundant texture disposal.
|
||||
In the same Wailing scene, main-thread work fell from 7.40 to 6.70 ms/frame;
|
||||
renderer CPU fell from 5.51 to 4.86 ms/frame, and allocated GPU textures fell
|
||||
from 292 to 217. This measures palette sharing after spatial culling was
|
||||
already enabled. Both samples held 60 FPS.
|
||||
- The final built runtime showed a complete roster body and staff with one
|
||||
skeleton for 66 skinned meshes. Kalin's Shrine showed one player palette and
|
||||
four independent party palettes; walking retained the player body and weapon
|
||||
silhouette. Wailing Caverns and Utgarde screenshots retained solid dungeon
|
||||
surfaces. There were no uncaught client errors during these playtests.
|
||||
- All 210 targeted avatar, visibility, instancing, material, camera-distance,
|
||||
and label tests passed. The production build and release-candidate check
|
||||
passed. The existing large-bundle advisory remains.
|
||||
- Evidence is under `playtest-artifacts/2026-09-09-static-culling/`: paired PNGs,
|
||||
eight-heading pixel comparisons, profiles, before/after timing JSON, and
|
||||
screenshots. Measurements use the same desktop Edge/RX 9070 XT setup as the
|
||||
preceding audit. These CPU improvements do not certify Thor performance.
|
||||
|
||||
# 2026-09-09 — bundled arena assets blocked by the browser content worker
|
||||
|
||||
- Reproduced the reported collision-matched fallback in the production build
|
||||
with the content worker active. Warnorken's `visual.glb?arena-runtime=1`
|
||||
returned 404 even though the file was bundled and directly served with 200.
|
||||
The worker omitted `/assets/game/arenas/` from its bundled asset prefixes and
|
||||
incorrectly rejected these files as uninstalled optional content.
|
||||
- Added the arena prefix to the worker. Installed updates still take priority;
|
||||
missing optional dungeon content still returns 404. Behavioral worker tests
|
||||
failed for all eight arenas before the fix and now cover visual, collision,
|
||||
and navigation requests with the runtime query parameter.
|
||||
- The production build passed. Reloading the same browser session activated
|
||||
the fixed worker without clearing storage or downloading content. Warnorken
|
||||
rendered textured stone geometry and Nagrand rendered its authored arena
|
||||
geometry; neither showed the loading/fallback banner after loading, and no
|
||||
new console errors were recorded. Checks used offline practice in the Codex
|
||||
browser at `http://127.0.0.1:4174/`, backed by a local test server on port 4173.
|
||||
- All 22 content tests and the eight-arena asset validator passed. Screenshots,
|
||||
before/after error logs, asset validation, and build output are saved under
|
||||
`playtest-artifacts/2026-09-09-arena-loading/`. The existing large-bundle
|
||||
advisory remains. This verifies the local browser build, not a deployment
|
||||
or an Android package.
|
||||
|
||||
# 2026-09-10 - arena character and gameplay integration
|
||||
|
||||
- Replaced the limited arena spell interpreter with a private bundle of the
|
||||
existing character combat engine. Offline practice and server matches share
|
||||
casting, channels, resources, auras, pets, talents and equipment mechanics.
|
||||
Each actor/match keeps its own state; opening panels does not run a second
|
||||
client simulation or overwrite dungeon state.
|
||||
- The controlled character uses CharacterModel with saved appearance, gear,
|
||||
class, specialization, talents and bindings. Other participants also use
|
||||
character models. The HUD displays actual resources, runes, combo points,
|
||||
cast/channel status, cooldowns, buffs, pet commands and PC/controller labels.
|
||||
Spellbook, character, talents, bindings, keybinds, map and options work in
|
||||
arena. Equipment and talents remain locked to the entered match loadout.
|
||||
- Fixed Keybinds opening with a shortened custom PC bar: missing slots now
|
||||
display as empty instead of crashing the React tree. Live checks opened
|
||||
Keybinds, Character, Talents and Options; the four-slot Q/E/R/T bar cast
|
||||
Flash Heal and Power Word: Shield with resource/cast/aura feedback.
|
||||
- Fixed NaN facing, spectator-camera elevation, obstructed starting positions
|
||||
and camera collision. Shared right-button drag ends on release, blur, lost
|
||||
capture, menus and teardown without pointer lock. Movement, jump, targeting,
|
||||
ground placement, feedback, animation and combat effects use arena state.
|
||||
- Authority uses all collision chunks and navigation triangles. Removed
|
||||
invisible static proxy walls. All 3v3 starts are grounded, and bots follow
|
||||
connected routes around walls/ramps. Shortcuts stay on level ground to avoid
|
||||
falling below waypoints. Detailed scenes use a shaped support surface; the
|
||||
loading/error fallback now matches collision instead of using a flat box.
|
||||
- Black Rook's old navigation/anchors were on terrain above the arena. Rebuilt
|
||||
against restored collision, selected its connected interior component (783
|
||||
triangles), and placed both starts on the floor near Y=-28.3. Updated the
|
||||
asset metadata and generator to stop restoring the old terrain navigation.
|
||||
- Added PvP defender stats, shields, resource drains, pushback, school locks
|
||||
and control diminishing returns. Fixed duplicate control entries counting
|
||||
twice, aligned aura/control duration, and made dispels remove movement
|
||||
restrictions. Dispel Magic supports friends and enemies. Healers can heal
|
||||
allied pets; melee bots start weapon attacks to generate rage.
|
||||
- Automated checks: 38 server arena tests and 160 distinct avatar, input,
|
||||
camera, arena character/rules, combat store and ability catalog tests.
|
||||
Coverage includes channels/cancellation, runes, combos, pet orders/damage/
|
||||
healing, interrupts, absorbs, dispels, DR, ground spells, mana burns, RoM
|
||||
secondary resources, dampening, isolation, matchmaking and match results.
|
||||
Both-direction walks between team starts pass across all eight arenas.
|
||||
- Live checks use an isolated in-memory level-80 priest, ArenaPriest, without
|
||||
changing the user's roster. Warnorken showed its interior, the selected
|
||||
character and saved spell labels. Movement changed both actor and camera.
|
||||
Bots traversed, cast spells, reduced health and settled a defeat when idle.
|
||||
No detailed-asset warning appeared. Evidence uses the arena-complete prefix
|
||||
under playtest-artifacts; earlier Nagrand/custom-bar evidence retains the
|
||||
arena-player prefix. The drag probe uses installed input code with scripted
|
||||
right-button events; rotation changes while held, stops after release, and
|
||||
pointerLockElement remains null. This is not a physical-device test.
|
||||
- Final screenshots show the Warnorken interior and character/action bar,
|
||||
Black Rook's corrected interior floor, the roster body/staff, and the
|
||||
character/party after returning to Wailing Caverns. Files:
|
||||
arena-complete-warnorken.png, arena-complete-black-rook.png,
|
||||
arena-complete-roster.png, arena-complete-dungeon.png and
|
||||
arena-complete-keybinds.png in playtest-artifacts.
|
||||
- Production build and release checks passed, with the existing bundle-size
|
||||
advisory. Run npm run arena:abilities:build after catalog/asset changes;
|
||||
prebuild also regenerates the engine and geometry. Verification is local
|
||||
offline practice plus authoritative server tests. Hosted online PvP,
|
||||
deployment and Android hardware were not exercised.
|
||||
|
||||
# 2026-09-10 — profile keybinds and movement-conflict recovery
|
||||
|
||||
- Added Pause / Options → Keybinds with 133 actions, PC and Controller tabs,
|
||||
search/categories, capture and touch selectors, explicit conflict replacement,
|
||||
clear/reset controls, and Restore movement. Desktop defaults to PC; mobile
|
||||
and native Android default to Controller. Both tabs remain available.
|
||||
- Live offline browser check: assigning W to bar 1/button 1 named Move forward
|
||||
in the conflict prompt; cancelling preserved W. Rebinding forward to T,
|
||||
saving, closing, and reopening retained T. Restore movement returned it to W.
|
||||
- At 390 × 844, controller selectors assigned L1 + Triangle to Jump, prompted
|
||||
before clearing the old layer-2 ability binding, and retained the saved chord
|
||||
after reopening. Restored the test bindings afterward. The final phone panel
|
||||
starts at (0, 0), has a 443px scrolling action list, and keeps the footer within
|
||||
the viewport. Desktop layout checked at 1280 × 900.
|
||||
- Fixed the inherited 610px panel-height cap, mobile backdrop padding, action
|
||||
button accessible names, and companion-toggle overlap found during QA.
|
||||
- 89 targeted tests passed across input dispatch, mouse-drag lifecycle, analog
|
||||
remapping, conflict recovery, menus, account isolation, cloud transfer, UI
|
||||
imports, and dual-display synchronization. The full production build and
|
||||
release candidate check passed; the existing bundle-size advisory remains.
|
||||
- Controller chord conflicts also cover a modifier button’s standalone action,
|
||||
preventing combinations such as View + A from opening the companion first.
|
||||
- Hardware controller / Android APK validation and a physical right-button
|
||||
drag were unavailable through this browser session. Drag lifecycle and null
|
||||
pointer-lock assertions passed in the input tests. Browser viewport screenshots
|
||||
are scaled by the in-app compositor; DOM geometry supplied the viewport checks.
|
||||
|
||||
## 2026-09-10 - Original spell media defaults and visual fallback
|
||||
|
||||
- Original spell visuals and authentic sounds are enabled by default. The original media pack is prepared before gameplay; download failure leaves generated visuals available and missing sounds silent.
|
||||
- Saves using the previous generated-only default migrate once to original media while retaining quality, group visibility, mute, and volume settings. Explicit later preferences remain saved.
|
||||
- Removed synthesized combat audio. Original mode now uses generated visuals when no original phase is mapped or when all original graphs/textures for that phase fail to load; usable original layers remain preferred.
|
||||
- Validation: 64 targeted tests passed, covering defaults, persistence migration, media installation/retry, rendering selection, original audio playback, silence on missing/invalid audio, and existing effect lifecycles. Production TypeScript and Vite build passed after correcting the installer test mock type; prebuild content/asset checks also passed.
|
||||
- Browser verification used the production CombatEffects and OriginalCombatEffect components with isolated store/media fixtures and the actual packaged Flash Heal graph/textures. The original case rendered one original emitter and zero generated emitters. Unmapped spell, graph HTTP 404, and texture HTTP 404 cases each rendered zero original emitters and one visible generated effect. Combat reset removed the fallback.
|
||||
- Evidence: playtest-artifacts/spell-media-20260910/original.png, bad-graph.png, bad-texture.png, and missing.png. The first Vite preview timed out; the bundled isolated preview completed successfully. This was an effect-focused browser check, not a full dungeon or device audio audition.
|
||||
- Final release check: blocked by existing trailing whitespace in server/generated/arena-combat-runtime.mjs. The files changed for spell media pass the whitespace check; the unrelated generated arena file was left intact.
|
||||
|
||||
## 2026-09-10 - All regular dungeons bundled with lossless shared storage
|
||||
|
||||
- Web and Android packaging include all 84 regular dungeons and their asset dependencies. Shared Manastorm maps are stored once while every Manastorm pack keeps its optional install flag. Manastorm-only maps remain outside the initial package.
|
||||
- Packaged assets fell from 3,440,440,928 logical bytes to 1,600,690,686 stored bytes, including 179,063,519 bytes saved by sharing exact duplicate files. No source models, texture resolutions, animations, or audio were changed or generated.
|
||||
- Gzip representations retain both compressed and original SHA-256/size metadata. Publishing keeps original remote objects for older clients. Browser installs verify both representations, retain compressed shared objects with small aliases, and preserve shared objects until their final pack is removed. Native optional downloads remain resumable and verify their expanded originals before activation.
|
||||
- Android's packager automatically expanded and renamed .gz files; final objects use .gzip with noCompress instead. Added an APK verifier to the normal Android build workflow, checking every object, every original hash, exact object inventory, and the 84-dungeon/optional-Manastorm boundary.
|
||||
- Final debug APK: 1,622,100,512 bytes. All 9,106 unique objects (9,194 logical asset references) passed verification from inside the actual APK. Verification report and test APK: artifacts/dungeon-texture-audit-20260910/apk-verification.json and healer-man-0.1.28-debug.apk.
|
||||
- Validation: production TypeScript/Vite build and asset checks passed; 80 targeted content, Downloads, and avatar tests passed across the final runs, plus nine publisher/server tests. Android Java compilation and assembleDebug passed. Existing bundle-size/import advisories remain.
|
||||
- Live production browser check used an isolated offline Gziphealer character. Roster and Deadmines rendered the player body, party bodies, equipped weapon silhouettes, and textured dungeon geometry using the bundled compressed objects. Downloads showed all regular dungeon packs included and 75 Manastorm rows not installed. Evidence: artifacts/dungeon-texture-audit-20260910/roster-final.png, deadmines-final.png, and downloads-dom.txt. No new console errors appeared in the final-format dungeon run.
|
||||
- A concurrent build replaced the shared dist directory during the first preview, causing temporary asset 404s. Repeated visual validation against an isolated build completed successfully. Deadmines displayed a route-blocked party status at its entrance; this was a loading/rendering check, not a full dungeon traversal. Physical Android hardware was not exercised.
|
||||
@@ -41,6 +41,10 @@ npm test
|
||||
npm run build
|
||||
```
|
||||
|
||||
Boss-mechanic and dungeon-event extension points, telegraph rules, checkpoint
|
||||
behavior, test workflow, and the explicit source-gap ledger are documented in
|
||||
[`ENCOUNTER_AUTHORING.md`](ENCOUNTER_AUTHORING.md).
|
||||
|
||||
## Content downloads
|
||||
|
||||
Production browser and Android builds ship a compact required set: the game
|
||||
@@ -103,12 +107,23 @@ validates the relational data and ships both a browser-safe JSON catalog and
|
||||
for a future loot-browser screen.
|
||||
|
||||
Every Wailing Caverns boss rolls one item when it dies. The item instance
|
||||
captures the player's level at the killing blow, remains on the corpse until
|
||||
looted, and is then saved in that character's inventory. The SQL loot source
|
||||
contains the original 3.3.5a attributes, ratings, armor, block, weapon damage,
|
||||
weapon speed, regeneration, and spell-power values for each item. A scaled
|
||||
drop preserves that original stat distribution instead of replacing it with a
|
||||
generic item-power budget.
|
||||
captures its item level at the killing blow, remains on the corpse until
|
||||
looted, and is then saved in that character's inventory. Drops use character
|
||||
level through 79; level-80 drops begin the first endgame tier at item level 85.
|
||||
The SQL loot source contains the original 3.3.5a attributes, ratings, armor,
|
||||
block, weapon damage, weapon speed, regeneration, and spell-power values for
|
||||
each item. A scaled drop preserves that original stat distribution instead of
|
||||
replacing it with a generic item-power budget.
|
||||
|
||||
Every WoW and Conquest of Azeroth character has a saved specialization that
|
||||
locks its activity role and selects a complete specialization-aware heirloom
|
||||
loadout. Runes of Magic derives the same profile from its active primary class
|
||||
and selected role. Virtual heirlooms fill every applicable unoccupied slot,
|
||||
rescale through item level 79 for players and 80 for AI party members, never
|
||||
enter inventory, and automatically return when earned equipment is removed.
|
||||
During leveling their score is normalized above compatible same-level catalog
|
||||
drops. At level 80 the item-level-85 boss tier contains real upgrades, which
|
||||
the equipment and loot interfaces highlight without equipping automatically.
|
||||
|
||||
The equipment runtime uses the Wrath primary attributes and itemizable combat
|
||||
stats. Strength, Agility, Stamina, Intellect, Spirit, Attack Power, Spell
|
||||
|
||||
+7
-1
@@ -237,10 +237,15 @@ Gitea tag after the signed APK builds successfully.
|
||||
npm run content:test
|
||||
npm run server:test
|
||||
npm test
|
||||
npm run content:publish
|
||||
npm run build
|
||||
```
|
||||
|
||||
All four commands must succeed.
|
||||
All five commands must succeed. `content:publish` is a fail-closed release gate:
|
||||
it validates that the generated manifest contains all 54 WoW campaign dungeon
|
||||
packs, their exact dependency closure, and every catalog-referenced asset before
|
||||
it writes the ignored local `content/` output. Do not build or stage a release
|
||||
if that validation fails.
|
||||
|
||||
Apply these additional targeted checks whenever the matching area was edited:
|
||||
|
||||
@@ -540,6 +545,7 @@ Do **not** bump the Android version. Run these exact PowerShell commands:
|
||||
```powershell
|
||||
Set-Location F:\Projects\HealerMan
|
||||
npm run content:test
|
||||
npm run content:publish
|
||||
npm run build
|
||||
git status --short
|
||||
npm run release:check
|
||||
|
||||
@@ -0,0 +1,64 @@
|
||||
# RuneWaker encounter content catalog
|
||||
|
||||
This is the reviewed runtime layer above the exhaustive, machine-generated RuneWaker
|
||||
encounter audit. It intentionally contains only source behavior that can be mapped without
|
||||
guessing. The executable catalog is `src/game/runewakerEncounterCatalog.ts`.
|
||||
|
||||
## Bounded reviewed coverage
|
||||
|
||||
| Dungeon | Deferred source rows mapped | Runtime behavior | Fidelity |
|
||||
| --- | --- | --- | --- |
|
||||
| Forsaken Abbey | `12230`, `12236`, `12238` | Three two-member Ghoul/Carrion Spider formations are created on encounter initialization. After the source `sleep(20)` (2 seconds because RuneWaker sleep units are tenths of a second), the encounter enters its patrol phase. | source-backed adapted |
|
||||
| Treasure Trove | `5952428`, `5952438` | Killing Boulder Sidaar (`5952494`) arms switch `112100`; interacting with it activates the switch and lowers drawbridge `112098` once. | source-backed adapted |
|
||||
|
||||
The Forsaken mapping is backed by preserved Lua `00571.lua` and matrix helper `00727.lua`.
|
||||
The Treasure Trove mapping is backed by preserved Lua `01159.lua`. Snapshot, mechanics-audit,
|
||||
and source hashes are attached to each catalog review record.
|
||||
|
||||
“Source-backed adapted” is deliberate. Source IDs, trigger order, spawn membership, timing,
|
||||
and placement transforms are retained. HealerMan supplies serializable phases, procedural
|
||||
world-object geometry, projected heights, interaction range, and the packaged canonical Ghoul
|
||||
visual/combat definition for the source-only level-scaled Ghoul template `100653`.
|
||||
|
||||
## Effective ledger after this review
|
||||
|
||||
The generated audit baseline inventories 4,113 deferred source rows and 1,136 unresolved
|
||||
mechanics-evidence records. This catalog maps five unique deferred rows and clears five stable
|
||||
evidence IDs, leaving:
|
||||
|
||||
| Ledger item | Baseline | Reviewed here | Remaining |
|
||||
| --- | ---: | ---: | ---: |
|
||||
| Deferred source rows | 4,113 | 5 | 4,108 |
|
||||
| Unresolved mechanics-evidence records | 1,136 | 5 | 1,131 |
|
||||
|
||||
Per affected package, Forsaken Abbey moves from 101 to 98 deferred rows and 77 to 74
|
||||
unresolved evidence records. Treasure Trove moves from 188 to 186 deferred rows and 47 to 45
|
||||
unresolved evidence records. All other package counts remain unchanged.
|
||||
|
||||
The exhaustive generated JSON remains the immutable audit baseline until its generator learns
|
||||
to consume the runtime catalog. The effective counts above are exported as
|
||||
`RUNEWAKER_ENCOUNTER_CONTENT_LEDGER` and are regression tested.
|
||||
|
||||
## Explicit remaining gaps
|
||||
|
||||
- Forsaken formations remain at their source start positions after the two-second hold. The
|
||||
source uses endless flag-path patrols; the encounter runtime has no reviewed path-following
|
||||
action yet.
|
||||
- Forsaken source template `100653` is a level-scaled Ghoul variant created only by Lua and has
|
||||
no packaged actor row. The runtime alias reuses canonical Ghoul `100072`; this is not claimed
|
||||
as an exact visual or formula mapping.
|
||||
- The Forsaken keeper gate (`7883`) remains deferred. Its four Necromage deaths source-summon
|
||||
Ghoul Drake `100073`, but that summon has neither a packaged entity nor a reviewed combat
|
||||
definition. Opening the gate without that fight would be false fidelity.
|
||||
- Black Mary's Hold Door (`5952433`) remains deferred because its source interaction consumes
|
||||
inventory item `203550`; encounter guards currently expose no inventory predicate.
|
||||
- Treasure Trove uses procedural bridge/switch proxies because source object meshes and ACT
|
||||
motions are not packaged.
|
||||
- The remaining 4,108 rows require the same source-by-source review. Bulk promotion from names,
|
||||
model paths, or regex categories is not evidence of executable behavior.
|
||||
|
||||
## Validation
|
||||
|
||||
`src/game/runewakerEncounterCatalog.test.ts` validates each encounter definition and requires
|
||||
every referenced runtime spawn, entity, encounter spawn group, world object state, and objective
|
||||
to exist. It also simulates both reviewed state machines and locks the ledger arithmetic.
|
||||
@@ -24,6 +24,8 @@ android {
|
||||
versionName releaseVersionName
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
aaptOptions {
|
||||
// Dungeon objects already carry verified lossless gzip compression.
|
||||
noCompress 'gzip'
|
||||
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
|
||||
// Default: https://android.googlesource.com/platform/frameworks/base/+/282e181b58cf72b6ca770dc7ca5f91f135444502/tools/aapt/AaptAssets.cpp#61
|
||||
ignoreAssetsPattern = '!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~'
|
||||
|
||||
@@ -0,0 +1,85 @@
|
||||
package com.phenomrom.healerman;
|
||||
|
||||
import android.content.res.AssetManager;
|
||||
import android.webkit.WebResourceRequest;
|
||||
import android.webkit.WebResourceResponse;
|
||||
import com.getcapacitor.Bridge;
|
||||
import org.json.JSONObject;
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.InputStream;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.zip.GZIPInputStream;
|
||||
|
||||
/** Streams shared APK objects at their original logical URLs; no expanded disk copy. */
|
||||
final class BundledContentAssets {
|
||||
private final Bridge bridge;
|
||||
private final AssetManager assets;
|
||||
private JSONObject files;
|
||||
|
||||
BundledContentAssets(Bridge bridge) {
|
||||
this.bridge = bridge;
|
||||
this.assets = bridge.getContext().getAssets();
|
||||
}
|
||||
|
||||
private synchronized JSONObject files() throws Exception {
|
||||
if (files == null) {
|
||||
try (InputStream input = assets.open("public/content/bootstrap-manifest.json")) {
|
||||
ByteArrayOutputStream output = new ByteArrayOutputStream();
|
||||
byte[] buffer = new byte[16384];
|
||||
int count;
|
||||
while ((count = input.read(buffer)) != -1) output.write(buffer, 0, count);
|
||||
files = new JSONObject(output.toString("UTF-8")).getJSONObject("files");
|
||||
}
|
||||
}
|
||||
return files;
|
||||
}
|
||||
|
||||
WebResourceResponse intercept(WebResourceRequest request) {
|
||||
if (!"GET".equals(request.getMethod()) || !bridge.getHost().equals(request.getUrl().getAuthority())
|
||||
|| !bridge.getScheme().equals(request.getUrl().getScheme())) return null;
|
||||
String path = request.getUrl().getPath();
|
||||
if (path == null || !(path.startsWith("/assets/") || path.startsWith("/basis/") || path.startsWith("/data/"))) return null;
|
||||
try {
|
||||
JSONObject entry = files().optJSONObject(path);
|
||||
if (entry == null) return null;
|
||||
JSONObject download = entry.optJSONObject("download");
|
||||
String objectUrl = (download == null ? entry : download).getString("url");
|
||||
if (!objectUrl.matches("/content/bundled/[a-f0-9]{64}\\.[a-z0-9]+(?:\\.g(?:z|zip))?")) return null;
|
||||
InputStream input = assets.open("public" + objectUrl);
|
||||
if (download != null) {
|
||||
try { input = new GZIPInputStream(input, 128 * 1024); }
|
||||
catch (Exception error) { input.close(); throw error; }
|
||||
}
|
||||
Map<String, String> headers = new HashMap<>();
|
||||
headers.put("Content-Length", String.valueOf(entry.getLong("bytes")));
|
||||
headers.put("Cache-Control", "public, max-age=3600");
|
||||
return new WebResourceResponse(mimeType(path), null, 200, "OK", headers, input);
|
||||
} catch (Exception error) {
|
||||
return new WebResourceResponse("text/plain", "UTF-8", 500, "Bundled asset unavailable", new HashMap<>(),
|
||||
new ByteArrayInputStream("Bundled asset unavailable.".getBytes(StandardCharsets.UTF_8)));
|
||||
}
|
||||
}
|
||||
|
||||
private static String mimeType(String path) {
|
||||
String extension = path.substring(path.lastIndexOf('.') + 1);
|
||||
switch (extension) {
|
||||
case "glb": return "model/gltf-binary";
|
||||
case "json": return "application/json";
|
||||
case "js": return "text/javascript";
|
||||
case "wasm": return "application/wasm";
|
||||
case "ktx2": return "image/ktx2";
|
||||
case "png": return "image/png";
|
||||
case "webp": return "image/webp";
|
||||
case "avif": return "image/avif";
|
||||
case "svg": return "image/svg+xml";
|
||||
case "mp3": return "audio/mpeg";
|
||||
case "ogg": return "audio/ogg";
|
||||
case "wav": return "audio/wav";
|
||||
case "webm": return "video/webm";
|
||||
default: return "application/octet-stream";
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -8,6 +8,10 @@ import com.getcapacitor.Plugin;
|
||||
import com.getcapacitor.PluginCall;
|
||||
import com.getcapacitor.PluginMethod;
|
||||
import com.getcapacitor.annotation.CapacitorPlugin;
|
||||
import com.getcapacitor.BridgeWebViewClient;
|
||||
import android.webkit.WebResourceRequest;
|
||||
import android.webkit.WebResourceResponse;
|
||||
import android.webkit.WebView;
|
||||
|
||||
import java.io.BufferedInputStream;
|
||||
import java.io.BufferedOutputStream;
|
||||
@@ -20,6 +24,7 @@ import java.net.URI;
|
||||
import java.net.URL;
|
||||
import java.security.MessageDigest;
|
||||
import java.util.Locale;
|
||||
import java.util.zip.GZIPInputStream;
|
||||
|
||||
/** Streams verified, resumable content objects into Android app-private storage. */
|
||||
@CapacitorPlugin(name = "ContentStorage")
|
||||
@@ -27,6 +32,18 @@ public class ContentStoragePlugin extends Plugin {
|
||||
private static final int BUFFER_BYTES = 128 * 1024;
|
||||
private static final long PROGRESS_INTERVAL_MS = 200L;
|
||||
|
||||
@Override
|
||||
public void load() {
|
||||
BundledContentAssets bundled = new BundledContentAssets(bridge);
|
||||
bridge.setWebViewClient(new BridgeWebViewClient(bridge) {
|
||||
@Override
|
||||
public WebResourceResponse shouldInterceptRequest(WebView view, WebResourceRequest request) {
|
||||
WebResourceResponse response = bundled.intercept(request);
|
||||
return response != null ? response : super.shouldInterceptRequest(view, request);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@PluginMethod
|
||||
public void download(PluginCall call) {
|
||||
execute(() -> {
|
||||
@@ -36,6 +53,10 @@ public class ContentStoragePlugin extends Plugin {
|
||||
String sha256 = normalizedSha(requiredString(call, "sha256"));
|
||||
String extension = normalizedExtension(requiredString(call, "extension"));
|
||||
long expectedBytes = numericLong(call, "bytes", -1L);
|
||||
boolean compressed = "gzip".equals(call.getString("encoding"));
|
||||
String transferSha = compressed ? normalizedSha(requiredString(call, "downloadSha256")) : sha256;
|
||||
long transferBytes = compressed ? numericLong(call, "downloadBytes", -1L) : expectedBytes;
|
||||
if (expectedBytes < 0 || transferBytes < 0) throw new IllegalArgumentException("Missing content size.");
|
||||
validateRemoteUrl(url);
|
||||
|
||||
File destination = objectFile(sha256, extension);
|
||||
@@ -47,54 +68,89 @@ public class ContentStoragePlugin extends Plugin {
|
||||
throw new IllegalStateException("Unable to replace invalid cached content.");
|
||||
}
|
||||
|
||||
File partial = new File(destination.getParentFile(), destination.getName() + ".part");
|
||||
long existingBytes = partial.isFile() ? partial.length() : 0L;
|
||||
HttpURLConnection connection = (HttpURLConnection) new URL(url).openConnection();
|
||||
connection.setConnectTimeout(15_000);
|
||||
connection.setReadTimeout(45_000);
|
||||
connection.setRequestProperty("Accept-Encoding", "identity");
|
||||
if (existingBytes > 0L) connection.setRequestProperty("Range", "bytes=" + existingBytes + "-");
|
||||
int status = connection.getResponseCode();
|
||||
boolean resumed = existingBytes > 0L && status == HttpURLConnection.HTTP_PARTIAL;
|
||||
if (status != HttpURLConnection.HTTP_OK && status != HttpURLConnection.HTTP_PARTIAL) {
|
||||
connection.disconnect();
|
||||
throw new IllegalStateException("Content server returned HTTP " + status + ".");
|
||||
}
|
||||
if (!resumed) existingBytes = 0L;
|
||||
long downloadedBytes = existingBytes;
|
||||
long totalBytes = expectedBytes > 0L
|
||||
? expectedBytes
|
||||
: existingBytes + Math.max(0L, connection.getContentLengthLong());
|
||||
long lastProgressAt = 0L;
|
||||
|
||||
try (
|
||||
InputStream input = new BufferedInputStream(connection.getInputStream(), BUFFER_BYTES);
|
||||
BufferedOutputStream output = new BufferedOutputStream(new FileOutputStream(partial, resumed), BUFFER_BYTES)
|
||||
) {
|
||||
byte[] buffer = new byte[BUFFER_BYTES];
|
||||
int count;
|
||||
while ((count = input.read(buffer)) != -1) {
|
||||
output.write(buffer, 0, count);
|
||||
downloadedBytes += count;
|
||||
long now = System.currentTimeMillis();
|
||||
if (now - lastProgressAt >= PROGRESS_INTERVAL_MS) {
|
||||
notifyProgress(logicalPath, downloadedBytes, totalBytes);
|
||||
lastProgressAt = now;
|
||||
File partial = new File(destination.getParentFile(), destination.getName() + (compressed ? "." + transferSha + ".gz" : "") + ".part");
|
||||
if (!verifies(partial, transferSha, transferBytes)) {
|
||||
if (partial.isFile() && partial.length() >= transferBytes && !partial.delete()) {
|
||||
throw new IllegalStateException("Unable to reset an invalid partial download.");
|
||||
}
|
||||
long existingBytes = partial.isFile() ? partial.length() : 0L;
|
||||
HttpURLConnection connection = (HttpURLConnection) new URL(url).openConnection();
|
||||
connection.setConnectTimeout(15_000);
|
||||
connection.setReadTimeout(45_000);
|
||||
connection.setRequestProperty("Accept-Encoding", "identity");
|
||||
if (existingBytes > 0L) connection.setRequestProperty("Range", "bytes=" + existingBytes + "-");
|
||||
int status = connection.getResponseCode();
|
||||
boolean resumed = existingBytes > 0L && status == HttpURLConnection.HTTP_PARTIAL;
|
||||
if (status != HttpURLConnection.HTTP_OK && status != HttpURLConnection.HTTP_PARTIAL) {
|
||||
connection.disconnect();
|
||||
throw new IllegalStateException("Content server returned HTTP " + status + ".");
|
||||
}
|
||||
if (status == HttpURLConnection.HTTP_PARTIAL) {
|
||||
String range = connection.getHeaderField("Content-Range");
|
||||
if (!resumed || range == null || !range.startsWith("bytes " + existingBytes + "-")) {
|
||||
connection.disconnect();
|
||||
partial.delete();
|
||||
throw new IllegalStateException("Content server returned an invalid resume range.");
|
||||
}
|
||||
}
|
||||
} finally {
|
||||
connection.disconnect();
|
||||
}
|
||||
notifyProgress(logicalPath, downloadedBytes, totalBytes);
|
||||
if (!resumed) existingBytes = 0L;
|
||||
long downloadedBytes = existingBytes;
|
||||
long totalBytes = transferBytes > 0L
|
||||
? transferBytes
|
||||
: existingBytes + Math.max(0L, connection.getContentLengthLong());
|
||||
long lastProgressAt = 0L;
|
||||
|
||||
if (!verifies(partial, sha256, expectedBytes)) {
|
||||
try (
|
||||
InputStream input = new BufferedInputStream(connection.getInputStream(), BUFFER_BYTES);
|
||||
BufferedOutputStream output = new BufferedOutputStream(new FileOutputStream(partial, resumed), BUFFER_BYTES)
|
||||
) {
|
||||
byte[] buffer = new byte[BUFFER_BYTES];
|
||||
int count;
|
||||
while ((count = input.read(buffer)) != -1) {
|
||||
output.write(buffer, 0, count);
|
||||
downloadedBytes += count;
|
||||
if (downloadedBytes > transferBytes) throw new IllegalStateException("Downloaded content exceeds expected size.");
|
||||
long now = System.currentTimeMillis();
|
||||
if (now - lastProgressAt >= PROGRESS_INTERVAL_MS) {
|
||||
notifyProgress(logicalPath, downloadedBytes, totalBytes);
|
||||
lastProgressAt = now;
|
||||
}
|
||||
}
|
||||
} finally {
|
||||
connection.disconnect();
|
||||
}
|
||||
notifyProgress(logicalPath, downloadedBytes, totalBytes);
|
||||
}
|
||||
|
||||
if (!verifies(partial, transferSha, transferBytes)) {
|
||||
partial.delete();
|
||||
throw new IllegalStateException("Downloaded content failed SHA-256 or size verification.");
|
||||
}
|
||||
File verified = partial;
|
||||
if (compressed) {
|
||||
verified = new File(destination.getParentFile(), destination.getName() + ".decoded");
|
||||
try (InputStream input = new GZIPInputStream(new FileInputStream(partial), BUFFER_BYTES);
|
||||
BufferedOutputStream output = new BufferedOutputStream(new FileOutputStream(verified), BUFFER_BYTES)) {
|
||||
byte[] buffer = new byte[BUFFER_BYTES];
|
||||
long decodedBytes = 0;
|
||||
int count;
|
||||
while ((count = input.read(buffer)) != -1) {
|
||||
decodedBytes += count;
|
||||
if (decodedBytes > expectedBytes) throw new IllegalStateException("Expanded content exceeds expected size.");
|
||||
output.write(buffer, 0, count);
|
||||
}
|
||||
} catch (Exception error) { verified.delete(); throw error; }
|
||||
if (!verifies(verified, sha256, expectedBytes)) {
|
||||
verified.delete();
|
||||
partial.delete();
|
||||
throw new IllegalStateException("Expanded content failed SHA-256 or size verification.");
|
||||
}
|
||||
partial.delete();
|
||||
}
|
||||
if (destination.exists() && !destination.delete()) {
|
||||
throw new IllegalStateException("Unable to activate downloaded content.");
|
||||
}
|
||||
if (!partial.renameTo(destination)) {
|
||||
if (!verified.renameTo(destination)) {
|
||||
throw new IllegalStateException("Unable to atomically activate downloaded content.");
|
||||
}
|
||||
call.resolve(fileResult(destination, false));
|
||||
|
||||
@@ -100,6 +100,8 @@ public abstract class ControllerBridgeActivity extends BridgeActivity {
|
||||
addAxisTokens(currentTokens, event.getAxisValue(MotionEvent.AXIS_HAT_Y), "Button12", "Button13");
|
||||
addAxisTokens(currentTokens, leftStickX, "Axis0-", "Axis0+");
|
||||
addAxisTokens(currentTokens, leftStickY, "Axis1-", "Axis1+");
|
||||
addAxisTokens(currentTokens, rightStickX, "Axis2-", "Axis2+");
|
||||
addAxisTokens(currentTokens, rightStickY, "Axis3-", "Axis3+");
|
||||
addPositiveAxisToken(currentTokens, positiveControllerAxisValue(event, MotionEvent.AXIS_LTRIGGER, MotionEvent.AXIS_BRAKE), "Button6");
|
||||
addPositiveAxisToken(currentTokens, positiveControllerAxisValue(event, MotionEvent.AXIS_RTRIGGER, MotionEvent.AXIS_GAS), "Button7");
|
||||
|
||||
|
||||
@@ -288,7 +288,7 @@ public class ThorDualScreenPlugin extends Plugin implements DisplayManager.Displ
|
||||
webView.setWebViewClient(new WebViewClient() {
|
||||
@Override
|
||||
public WebResourceResponse shouldInterceptRequest(WebView view, WebResourceRequest request) {
|
||||
return bridge.getLocalServer().shouldInterceptRequest(request);
|
||||
return bridge.getWebViewClient().shouldInterceptRequest(view, request);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
# Lossless game content packaging
|
||||
|
||||
`npm run web:prepare` and `npm run android:prepare` include all 84 regular
|
||||
dungeon packs, the existing core packs, and the dungeons' dependency closure.
|
||||
Manastorm packs keep their optional install flag even when a regular dungeon
|
||||
uses the same map. Manastorm-only maps and extra character packs stay optional.
|
||||
|
||||
The staging directories contain one object per original SHA-256 and extension
|
||||
under `content/bundled`. Gzip is used only when it saves space. The packager
|
||||
expands each compressed object and compares every byte with its source before
|
||||
writing the bootstrap catalog. Source GLBs, texture resolutions, animations,
|
||||
and audio are unchanged. No media is generated by this pipeline.
|
||||
|
||||
Compressed objects end in `.gzip`, not `.gz`: Android's asset packager expands
|
||||
and renames `.gz` inputs. The `.gzip` extension is explicitly stored without
|
||||
additional ZIP compression so the manifest and APK preserve identical bytes.
|
||||
|
||||
Each logical asset keeps its original byte count and SHA-256 in the manifest.
|
||||
An optional `download` record describes its gzip representation, including a
|
||||
separate compressed hash and byte count. The schema remains compatible with
|
||||
existing catalogs. Remote publishing retains original objects for older apps;
|
||||
new clients prefer the compressed representation and verify both hashes.
|
||||
|
||||
The Node server and Vite preview middleware resolve bundled logical URLs on
|
||||
first launch. The browser service worker does the same after activation.
|
||||
Android streams bundled gzip through its WebView asset handler, including the
|
||||
companion display, without writing an expanded copy to app storage. Deploy the
|
||||
browser build with the project's Node server so first-launch asset aliases work.
|
||||
|
||||
Browser optional installs store compressed objects once and keep small logical
|
||||
aliases. Legacy uncompressed cache entries remain readable. Removing a pack
|
||||
removes an object only after its last installed reference is gone. Android
|
||||
optional downloads resume the compressed transfer, verify it, expand and verify
|
||||
the original, and atomically activate the existing shared native object file.
|
||||
|
||||
`content/storage-report.json` inside each staging/build directory records actual
|
||||
unique object bytes and duplicate savings. These are packaged asset sizes, not
|
||||
GPU memory estimates. Optional Android downloads occupy their expanded size;
|
||||
bundled Android assets stay compressed inside the APK.
|
||||
|
||||
Validation: `npm run content:test`, the content/avatar Vitest suites, the
|
||||
bundled-content server tests, `npm run build`, Android compilation, and a live
|
||||
roster plus dungeon screenshot check. Run `npm run release:check` before handoff.
|
||||
Android build commands also run `scripts/content/verify-android-package.py`
|
||||
against the resulting APK, checking every stored object and every original hash.
|
||||
@@ -1,8 +1,17 @@
|
||||
# Five-player dungeon import checklist
|
||||
|
||||
Each dungeon is complete only when its actual instance environment, collision,
|
||||
This checklist tracks the native asset and population import, not complete
|
||||
instance gameplay. A checked dungeon has its environment, collision,
|
||||
navigation, AzerothCore population, boss roster, and native animated creature
|
||||
models are packaged under `public/assets/game/dungeons/<slug>/`.
|
||||
models packaged under `public/assets/game/dungeons/<slug>/`. Use
|
||||
`WOW_DUNGEON_FUNCTIONALITY_REPORT.md` for the separate production-fidelity gate
|
||||
covering doors, objects, scripted progression, waves, escorts, vehicles,
|
||||
traversal, resets, checkpoints, and completion playtests.
|
||||
|
||||
Instance-source review status (2026-09-08): 54/54 reviewed, 51/54 backed by an
|
||||
executable instance controller, and 3/54 pinned as source-exact no-op instance
|
||||
scripts. These counts describe implemented runtime coverage; they do not close
|
||||
the native game-object export or end-to-end playtest gates.
|
||||
|
||||
Run one dungeon at a time:
|
||||
|
||||
@@ -88,24 +97,28 @@ TypeScript/production bundle checks passed.
|
||||
|
||||
## Ascension-specific five-player instances
|
||||
|
||||
- [ ] Tinkertech Showdown (`821`) - blocked on authoritative Ascension server
|
||||
population/model data. Encounter identity exists for Mechatron (`663012`),
|
||||
but no creature template, display mapping, or spawn rows exist locally.
|
||||
- [ ] Frozen Reach (`908`) - blocked on authoritative Ascension server
|
||||
population/model data. Encounter identity exists for Alva (`97700`), but no
|
||||
creature template, display mapping, or spawn rows exist locally.
|
||||
- [ ] Forgotten Mine (`1781`) - blocked on authoritative Ascension server
|
||||
population/model data. Encounter identity exists for Geolord Vek (`254272`),
|
||||
but no creature template, display mapping, or spawn rows exist locally.
|
||||
- [ ] Tinkertech Showdown (`821`) - playable HealerMan-authored adaptation.
|
||||
Mechatron (`663012`) and the environment are exact; the candidate machine
|
||||
spell cluster, trash, cadence, positions, models, and phase rules remain
|
||||
explicitly authored because no server binding or spawn snapshot survived.
|
||||
- [ ] Frozen Reach (`908`) - playable source-backed adaptation. Alva (`97700`),
|
||||
Arktos (`97701`), 85 exact spell rows, and summon links for entries `97703`,
|
||||
`97731`, and `97770` were recovered. Server cadence, positions, stats,
|
||||
models, targeting, and exact phase behavior remain authored.
|
||||
- [ ] Forgotten Mine (`1781`) - playable source-backed adaptation. Geolord Vek
|
||||
(`254272`), 33 exact spell rows, Geospike (`254278`), and Resonite Shard
|
||||
(`254051`) were recovered. Server cadence, positions, trash, models, and the
|
||||
exact crystal rule remain authored.
|
||||
|
||||
The individual command has been run for all three blocked instances. Their maps
|
||||
and encounter identities are present in the installed client, but the installed
|
||||
client and available creature caches do not provide the server-only
|
||||
entry-to-display and spawn data needed to package their actual mobs/bosses.
|
||||
They intentionally remain on the documented procedural fallback until an
|
||||
Ascension server snapshot or reviewed creature/spawn export is supplied.
|
||||
The individual import command has been run for all three source-limited
|
||||
instances. Their checksummed recovery manifest lives under `ascension/` and is
|
||||
validated by `npm run dungeon:ascension:recovery:validate`. Runtime adapters
|
||||
consume the recovered evidence while retaining explicit `source-backed-adapted`
|
||||
or `healer-man-authored` labels. The checklist remains open until an
|
||||
authoritative Ascension creature/spawn/object/server-script snapshot and native
|
||||
display mappings replace the remaining authored portions.
|
||||
|
||||
## Per-dungeon completion gate
|
||||
## Per-dungeon asset/import gate
|
||||
|
||||
These gates passed for every checked dungeon above:
|
||||
|
||||
@@ -116,3 +129,7 @@ These gates passed for every checked dungeon above:
|
||||
- [x] Boss order, entrance, and coordinates reviewed.
|
||||
- [x] Generated campaign catalog points at `/assets/game/dungeons/<slug>/`.
|
||||
- [x] Catalog verification, tests, type-check, and production bundle pass.
|
||||
|
||||
These checks do not certify instance-script behavior. A dungeon remains
|
||||
functionally incomplete until its entry in `WOW_DUNGEON_FUNCTIONALITY_REPORT.md`
|
||||
is green.
|
||||
+54
-15
@@ -92,8 +92,10 @@ whose preserved source has no recoverable combat ability is explicitly marked
|
||||
|
||||
Stock AzerothCore population is used for the standard dungeons. The three
|
||||
Ascension-specific instances—Tinkertech Showdown, Frozen Reach, and Forgotten
|
||||
Mine—keep their client encounter identities and use an explicit procedural
|
||||
trash-population fallback. Non-Epoch recipes keep explicit procedural actor
|
||||
Mine—keep their recovered client identities, spell/summon evidence where
|
||||
available, and explicit source-backed or HealerMan-authored runtime adaptations.
|
||||
Their remaining procedural population is never labeled authoritative.
|
||||
Non-Epoch recipes keep explicit procedural actor
|
||||
bodies until reviewed display exports are available. Epoch actors use packaged
|
||||
client GLBs with their complete native animation libraries; only event-only
|
||||
controllers without a creature display fall back.
|
||||
@@ -160,10 +162,13 @@ The audit verifies the complete 54-dungeon catalog, authoritative/fallback
|
||||
classification, every native environment and creature URL, file sizes,
|
||||
checksums, animation presence, and compiled entry-to-model bindings. The
|
||||
2026-07-26 batch packaged 50 native imports; together with the Wailing Caverns
|
||||
golden fixture, 51/54 dungeons are authoritative. Tinkertech Showdown, Frozen
|
||||
Reach, and Forgotten Mine remain documented fallbacks because available local
|
||||
sources contain their maps and encounter identities but no authoritative
|
||||
Ascension creature templates, display mappings, or spawn rows.
|
||||
golden fixture, 51/54 dungeons have authoritative WoW population packages.
|
||||
Tinkertech Showdown, Frozen Reach, and Forgotten Mine now have playable,
|
||||
provenance-labeled runtime adaptations backed by
|
||||
`ascension/ASCENSION_CUSTOM_DUNGEON_RECOVERY.json`. They remain outside the
|
||||
authoritative package count because the recovered client evidence does not
|
||||
include complete Ascension creature templates, display mappings, spawn/object
|
||||
coordinates, or server-side cadence.
|
||||
|
||||
1. `npm run dungeon:discover -- <slug>` writes deterministic client/server
|
||||
snapshots, a provenance lock, review-required overrides, and—when server
|
||||
@@ -224,9 +229,14 @@ The default pass recompiles the 54-dungeon campaign, verifies all packaged
|
||||
environment and creature assets, audits every mob and boss attack/mechanic,
|
||||
opens every unique native creature GLB to verify idle, movement, attack, wound,
|
||||
and death clips, proves the procedural animation path for model-less actors,
|
||||
and runs the actual runtime-registry coverage test. It writes deterministic
|
||||
JSON and Markdown reports to WOW_DUNGEON_CONTENT_REPORT.json and
|
||||
WOW_DUNGEON_CONTENT_REPORT.md.
|
||||
runs the actual runtime-registry coverage test, and audits instance-level
|
||||
functionality. It writes deterministic JSON and Markdown reports to
|
||||
WOW_DUNGEON_CONTENT_REPORT.json, WOW_DUNGEON_CONTENT_REPORT.md,
|
||||
WOW_DUNGEON_FUNCTIONALITY_REPORT.json, and
|
||||
WOW_DUNGEON_FUNCTIONALITY_REPORT.md. Catalog compilation also writes
|
||||
WOW_GAMEOBJECT_ASSET_MANIFEST.json, which deduplicates the source-backed object
|
||||
spawns by client model path, preserves per-dungeon/display usage, assigns the
|
||||
planned shipping GLB URL, and lists unresolved display models and bounds.
|
||||
|
||||
Useful batch options:
|
||||
|
||||
@@ -239,11 +249,40 @@ Useful batch options:
|
||||
# Re-run green packages, then build the app after validation.
|
||||
npm run dungeon:wow:all -- --refresh --force --build
|
||||
|
||||
# Only re-run combat, mechanic, and animation coverage against current output.
|
||||
# Re-run combat, animation, and instance-functionality audits against current output.
|
||||
npm run dungeon:wow:all -- --audit-only
|
||||
|
||||
Kresh is intentionally recorded as a source-faithful melee-only boss: entry
|
||||
3653 has no spell or SmartAI row in the pinned AzerothCore snapshot. Trial of
|
||||
the Champion is likewise documented as a boss-arena population rather than a
|
||||
trash route. These exceptions are asserted by exact dungeon/entity IDs; any
|
||||
new basic-only boss or mob-less dungeon fails the batch.
|
||||
The functionality report is the production-fidelity gate. It separately checks
|
||||
typed world-object contracts, source instance scripts, encounter orchestration,
|
||||
required interactions, traversal evidence, resets, checkpoints, and completion
|
||||
playtests. A green asset or combat audit does not imply that doors, escorts,
|
||||
waves, vehicles, keys, chests, or scripted instance progression are implemented.
|
||||
The report fails closed and lists concrete edit targets for every remaining
|
||||
dungeon gap.
|
||||
|
||||
The 2026-09-08 implementation sweep completed an instance-level source review
|
||||
for all 54 campaign dungeons. Fifty-one now have runtime-wired reviewed
|
||||
orchestration in addition to fleet boss/checkpoint/completion declarations; the
|
||||
three stock instance scripts that are genuinely empty are pinned and recorded
|
||||
as source-exact no-ops. This means there is no remaining unreviewed instance
|
||||
script, not that every source feature is already exact or live-traversal validated. Per-dungeon adaptations,
|
||||
missing primitives, native-object export work, and live traversal evidence stay
|
||||
open in `WOW_DUNGEON_FUNCTIONALITY_REPORT.md`.
|
||||
|
||||
Source-backed object records stay hidden, non-blocking, and non-interactive
|
||||
until their manifest asset has been exported and the corresponding instance
|
||||
script transition has been reviewed. This lets the typed data ship through the
|
||||
runtime contract without leaking placeholder geometry or turning an incomplete
|
||||
door/transport port into a dungeon soft lock.
|
||||
|
||||
Kresh, the Deviate Faerie Dragon, Grubbis, Spirestone Battle Lord, Spirestone
|
||||
Butcher, and Crystal Fang are intentionally recorded as source-faithful
|
||||
melee-only bosses. Kresh entry 3653 and the Deviate Faerie Dragon entry 5912
|
||||
have no spell or SmartAI row in the pinned AzerothCore snapshot; the latter is
|
||||
also despawned by the Wailing Caverns initialization event. Grubbis entry 7361
|
||||
has only aggro dialogue and death-completion rows, with no combat spell cast.
|
||||
The three Blackrock Spire entries are 15% rare spawns whose database rows
|
||||
contain no active combat cast; Crystal Fang's exact on-death Spire Spiderling
|
||||
summon is implemented by the reviewed instance adapter. One shared exception
|
||||
table supplies the runtime test and composed-content audit; stale, duplicate,
|
||||
or newly introduced basic-only boss keys fail the batch.
|
||||
@@ -1,22 +1,22 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"status": "green",
|
||||
"scope": "HealerMan WoW five-player campaign",
|
||||
"scope": "HealerMan WoW five-player combat and animation coverage",
|
||||
"summary": {
|
||||
"dungeons": 54,
|
||||
"mobs": 1031,
|
||||
"bosses": 253,
|
||||
"attacks": 2953,
|
||||
"specialAttacks": 1669,
|
||||
"nativeModels": 1266,
|
||||
"proceduralModels": 18,
|
||||
"uniqueNativeModels": 1166,
|
||||
"nativeStateFallbacks": 16
|
||||
"mobs": 1193,
|
||||
"bosses": 273,
|
||||
"attacks": 4026,
|
||||
"specialAttacks": 2572,
|
||||
"nativeModels": 1275,
|
||||
"proceduralModels": 191,
|
||||
"uniqueNativeModels": 1167,
|
||||
"nativeStateFallbacks": 18
|
||||
},
|
||||
"documentedExceptions": [
|
||||
{
|
||||
"type": "basic-only-boss",
|
||||
"key": "wailing-caverns:entry-3653",
|
||||
"key": "wailing-caverns:kresh",
|
||||
"reason": "Kresh is melee-only in the pinned AzerothCore snapshot; the historical server has no spell or SmartAI row for entry 3653."
|
||||
},
|
||||
{
|
||||
@@ -25,9 +25,24 @@
|
||||
"reason": "The server-faithful rare entry 5912 has no spell rows and is despawned by the Wailing Caverns initialization event."
|
||||
},
|
||||
{
|
||||
"type": "no-trash-instance",
|
||||
"key": "trial-of-the-champion",
|
||||
"reason": "Trial of the Champion is an encounter arena; its imported combat population is the five Grand Champion bosses, not a trash route."
|
||||
"type": "basic-only-boss",
|
||||
"key": "gnomeregan:wow-classic-batch-three-entry-7361",
|
||||
"reason": "Grubbis is melee-only in the pinned AzerothCore snapshot; entry 7361 has aggro dialogue and instance-completion rows but no combat spell cast."
|
||||
},
|
||||
{
|
||||
"type": "basic-only-boss",
|
||||
"key": "blackrock-spire:entry-9218",
|
||||
"reason": "Spirestone Battle Lord is a 15% rare spawn in the pinned database and has no combat spell cast beyond its basic melee attack."
|
||||
},
|
||||
{
|
||||
"type": "basic-only-boss",
|
||||
"key": "blackrock-spire:entry-9219",
|
||||
"reason": "Spirestone Butcher is a 15% rare spawn in the pinned database and has no combat spell cast beyond its basic melee attack."
|
||||
},
|
||||
{
|
||||
"type": "basic-only-boss",
|
||||
"key": "blackrock-spire:entry-10376",
|
||||
"reason": "Crystal Fang is a 15% rare spawn with no active combat spell in the pinned database; its exact on-death Spire Spiderling summon is implemented by the instance adapter."
|
||||
}
|
||||
],
|
||||
"animationFallbacks": [
|
||||
@@ -47,6 +62,14 @@
|
||||
],
|
||||
"renderer": "OriginalCreatureModel combat fallback"
|
||||
},
|
||||
{
|
||||
"url": "/assets/game/dungeons/dire-maul/creatures/display-14430-animated.glb",
|
||||
"state": "move",
|
||||
"users": [
|
||||
"dire-maul:entry-14386"
|
||||
],
|
||||
"renderer": "AnimatedMobBody locomotion fallback"
|
||||
},
|
||||
{
|
||||
"url": "/assets/game/dungeons/dire-maul/creatures/display-14430-animated.glb",
|
||||
"state": "attack",
|
||||
@@ -56,7 +79,15 @@
|
||||
"renderer": "OriginalCreatureModel combat fallback"
|
||||
},
|
||||
{
|
||||
"url": "/assets/game/creatures/shared/2fbb8d2226a7fdf3e9a7af13568f6bb46cb1b27afc008732832b9fd42c2e510e.glb",
|
||||
"url": "/assets/game/dungeons/dire-maul/creatures/display-14430-animated.glb",
|
||||
"state": "wound",
|
||||
"users": [
|
||||
"dire-maul:entry-14386"
|
||||
],
|
||||
"renderer": "OriginalCreatureModel combat fallback"
|
||||
},
|
||||
{
|
||||
"url": "/assets/game/creatures/shared/52c8b3aea63f21f8e98ad84eaf601f2918d1df17a05525d41f5b3e17da53c8ff.glb",
|
||||
"state": "wound",
|
||||
"users": [
|
||||
"steamvault:entry-21694",
|
||||
@@ -164,14 +195,26 @@
|
||||
],
|
||||
"issues": [],
|
||||
"dungeons": [
|
||||
{
|
||||
"id": "wailing-caverns",
|
||||
"title": "Wailing Caverns",
|
||||
"source": "azerothcore",
|
||||
"mobs": 23,
|
||||
"bosses": 9,
|
||||
"attacks": 72,
|
||||
"specialAttacks": 40,
|
||||
"nativeModels": 24,
|
||||
"proceduralModels": 8,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
"id": "shadowfang-keep",
|
||||
"title": "Shadowfang Keep",
|
||||
"source": "azerothcore",
|
||||
"mobs": 24,
|
||||
"bosses": 7,
|
||||
"attacks": 58,
|
||||
"specialAttacks": 27,
|
||||
"attacks": 65,
|
||||
"specialAttacks": 34,
|
||||
"nativeModels": 31,
|
||||
"proceduralModels": 0,
|
||||
"status": "green"
|
||||
@@ -182,8 +225,8 @@
|
||||
"source": "azerothcore",
|
||||
"mobs": 6,
|
||||
"bosses": 5,
|
||||
"attacks": 32,
|
||||
"specialAttacks": 21,
|
||||
"attacks": 42,
|
||||
"specialAttacks": 31,
|
||||
"nativeModels": 11,
|
||||
"proceduralModels": 0,
|
||||
"status": "green"
|
||||
@@ -194,32 +237,20 @@
|
||||
"source": "azerothcore",
|
||||
"mobs": 15,
|
||||
"bosses": 7,
|
||||
"attacks": 48,
|
||||
"specialAttacks": 26,
|
||||
"attacks": 55,
|
||||
"specialAttacks": 33,
|
||||
"nativeModels": 22,
|
||||
"proceduralModels": 0,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
"id": "wailing-caverns",
|
||||
"title": "Wailing Caverns",
|
||||
"source": "azerothcore",
|
||||
"mobs": 12,
|
||||
"bosses": 8,
|
||||
"attacks": 51,
|
||||
"specialAttacks": 31,
|
||||
"nativeModels": 15,
|
||||
"proceduralModels": 5,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
"id": "razorfen-kraul",
|
||||
"title": "Razorfen Kraul",
|
||||
"source": "azerothcore",
|
||||
"mobs": 31,
|
||||
"bosses": 7,
|
||||
"attacks": 78,
|
||||
"specialAttacks": 40,
|
||||
"attacks": 87,
|
||||
"specialAttacks": 49,
|
||||
"nativeModels": 38,
|
||||
"proceduralModels": 0,
|
||||
"status": "green"
|
||||
@@ -228,12 +259,12 @@
|
||||
"id": "blackfathom-deeps",
|
||||
"title": "Blackfathom Deeps",
|
||||
"source": "azerothcore",
|
||||
"mobs": 21,
|
||||
"mobs": 23,
|
||||
"bosses": 6,
|
||||
"attacks": 58,
|
||||
"specialAttacks": 31,
|
||||
"attacks": 67,
|
||||
"specialAttacks": 38,
|
||||
"nativeModels": 27,
|
||||
"proceduralModels": 0,
|
||||
"proceduralModels": 2,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
@@ -242,8 +273,8 @@
|
||||
"source": "azerothcore",
|
||||
"mobs": 31,
|
||||
"bosses": 7,
|
||||
"attacks": 85,
|
||||
"specialAttacks": 47,
|
||||
"attacks": 104,
|
||||
"specialAttacks": 66,
|
||||
"nativeModels": 38,
|
||||
"proceduralModels": 0,
|
||||
"status": "green"
|
||||
@@ -252,36 +283,36 @@
|
||||
"id": "gnomeregan",
|
||||
"title": "Gnomeregan",
|
||||
"source": "azerothcore",
|
||||
"mobs": 27,
|
||||
"bosses": 4,
|
||||
"attacks": 68,
|
||||
"specialAttacks": 37,
|
||||
"mobs": 28,
|
||||
"bosses": 5,
|
||||
"attacks": 84,
|
||||
"specialAttacks": 51,
|
||||
"nativeModels": 31,
|
||||
"proceduralModels": 0,
|
||||
"proceduralModels": 2,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
"id": "sunken-temple",
|
||||
"title": "Sunken Temple",
|
||||
"source": "azerothcore",
|
||||
"mobs": 29,
|
||||
"mobs": 31,
|
||||
"bosses": 4,
|
||||
"attacks": 86,
|
||||
"specialAttacks": 53,
|
||||
"attacks": 95,
|
||||
"specialAttacks": 60,
|
||||
"nativeModels": 33,
|
||||
"proceduralModels": 0,
|
||||
"proceduralModels": 2,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
"id": "razorfen-downs",
|
||||
"title": "Razorfen Downs",
|
||||
"source": "azerothcore",
|
||||
"mobs": 19,
|
||||
"mobs": 21,
|
||||
"bosses": 6,
|
||||
"attacks": 55,
|
||||
"specialAttacks": 30,
|
||||
"attacks": 65,
|
||||
"specialAttacks": 38,
|
||||
"nativeModels": 25,
|
||||
"proceduralModels": 0,
|
||||
"proceduralModels": 2,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
@@ -290,8 +321,8 @@
|
||||
"source": "azerothcore",
|
||||
"mobs": 32,
|
||||
"bosses": 5,
|
||||
"attacks": 89,
|
||||
"specialAttacks": 52,
|
||||
"attacks": 107,
|
||||
"specialAttacks": 70,
|
||||
"nativeModels": 37,
|
||||
"proceduralModels": 0,
|
||||
"status": "green"
|
||||
@@ -300,60 +331,60 @@
|
||||
"id": "zulfarrak",
|
||||
"title": "Zul'Farrak",
|
||||
"source": "azerothcore",
|
||||
"mobs": 16,
|
||||
"mobs": 23,
|
||||
"bosses": 5,
|
||||
"attacks": 53,
|
||||
"specialAttacks": 32,
|
||||
"attacks": 76,
|
||||
"specialAttacks": 48,
|
||||
"nativeModels": 21,
|
||||
"proceduralModels": 0,
|
||||
"proceduralModels": 7,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
"id": "blackrock-spire",
|
||||
"title": "Blackrock Spire",
|
||||
"source": "azerothcore",
|
||||
"mobs": 63,
|
||||
"bosses": 15,
|
||||
"attacks": 210,
|
||||
"specialAttacks": 132,
|
||||
"mobs": 66,
|
||||
"bosses": 17,
|
||||
"attacks": 285,
|
||||
"specialAttacks": 202,
|
||||
"nativeModels": 78,
|
||||
"proceduralModels": 0,
|
||||
"proceduralModels": 5,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
"id": "blackrock-depths",
|
||||
"title": "Blackrock Depths",
|
||||
"source": "azerothcore",
|
||||
"mobs": 48,
|
||||
"mobs": 58,
|
||||
"bosses": 13,
|
||||
"attacks": 145,
|
||||
"specialAttacks": 84,
|
||||
"attacks": 192,
|
||||
"specialAttacks": 121,
|
||||
"nativeModels": 61,
|
||||
"proceduralModels": 0,
|
||||
"proceduralModels": 10,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
"id": "scholomance",
|
||||
"title": "Scholomance",
|
||||
"source": "azerothcore",
|
||||
"mobs": 30,
|
||||
"mobs": 31,
|
||||
"bosses": 8,
|
||||
"attacks": 115,
|
||||
"specialAttacks": 77,
|
||||
"attacks": 151,
|
||||
"specialAttacks": 112,
|
||||
"nativeModels": 38,
|
||||
"proceduralModels": 0,
|
||||
"proceduralModels": 1,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
"id": "stratholme",
|
||||
"title": "Stratholme",
|
||||
"source": "azerothcore",
|
||||
"mobs": 41,
|
||||
"mobs": 45,
|
||||
"bosses": 9,
|
||||
"attacks": 131,
|
||||
"specialAttacks": 81,
|
||||
"attacks": 180,
|
||||
"specialAttacks": 126,
|
||||
"nativeModels": 50,
|
||||
"proceduralModels": 0,
|
||||
"proceduralModels": 4,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
@@ -362,8 +393,8 @@
|
||||
"source": "azerothcore",
|
||||
"mobs": 25,
|
||||
"bosses": 8,
|
||||
"attacks": 83,
|
||||
"specialAttacks": 50,
|
||||
"attacks": 95,
|
||||
"specialAttacks": 62,
|
||||
"nativeModels": 33,
|
||||
"proceduralModels": 0,
|
||||
"status": "green"
|
||||
@@ -374,8 +405,8 @@
|
||||
"source": "azerothcore",
|
||||
"mobs": 7,
|
||||
"bosses": 4,
|
||||
"attacks": 21,
|
||||
"specialAttacks": 10,
|
||||
"attacks": 23,
|
||||
"specialAttacks": 12,
|
||||
"nativeModels": 11,
|
||||
"proceduralModels": 0,
|
||||
"status": "green"
|
||||
@@ -386,8 +417,8 @@
|
||||
"source": "azerothcore",
|
||||
"mobs": 63,
|
||||
"bosses": 12,
|
||||
"attacks": 184,
|
||||
"specialAttacks": 109,
|
||||
"attacks": 242,
|
||||
"specialAttacks": 167,
|
||||
"nativeModels": 75,
|
||||
"proceduralModels": 0,
|
||||
"status": "green"
|
||||
@@ -398,8 +429,8 @@
|
||||
"source": "azerothcore",
|
||||
"mobs": 29,
|
||||
"bosses": 3,
|
||||
"attacks": 74,
|
||||
"specialAttacks": 42,
|
||||
"attacks": 92,
|
||||
"specialAttacks": 60,
|
||||
"nativeModels": 32,
|
||||
"proceduralModels": 0,
|
||||
"status": "green"
|
||||
@@ -410,8 +441,8 @@
|
||||
"source": "azerothcore",
|
||||
"mobs": 14,
|
||||
"bosses": 3,
|
||||
"attacks": 44,
|
||||
"specialAttacks": 27,
|
||||
"attacks": 53,
|
||||
"specialAttacks": 36,
|
||||
"nativeModels": 17,
|
||||
"proceduralModels": 0,
|
||||
"status": "green"
|
||||
@@ -420,12 +451,12 @@
|
||||
"id": "hellfire-ramparts",
|
||||
"title": "Hellfire Citadel: Ramparts",
|
||||
"source": "azerothcore",
|
||||
"mobs": 10,
|
||||
"bosses": 2,
|
||||
"attacks": 36,
|
||||
"specialAttacks": 24,
|
||||
"mobs": 11,
|
||||
"bosses": 4,
|
||||
"attacks": 47,
|
||||
"specialAttacks": 32,
|
||||
"nativeModels": 12,
|
||||
"proceduralModels": 0,
|
||||
"proceduralModels": 3,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
@@ -434,8 +465,8 @@
|
||||
"source": "azerothcore",
|
||||
"mobs": 14,
|
||||
"bosses": 3,
|
||||
"attacks": 50,
|
||||
"specialAttacks": 33,
|
||||
"attacks": 63,
|
||||
"specialAttacks": 46,
|
||||
"nativeModels": 17,
|
||||
"proceduralModels": 0,
|
||||
"status": "green"
|
||||
@@ -444,48 +475,48 @@
|
||||
"id": "underbog",
|
||||
"title": "Coilfang: The Underbog",
|
||||
"source": "azerothcore",
|
||||
"mobs": 18,
|
||||
"mobs": 20,
|
||||
"bosses": 4,
|
||||
"attacks": 59,
|
||||
"specialAttacks": 37,
|
||||
"attacks": 82,
|
||||
"specialAttacks": 58,
|
||||
"nativeModels": 22,
|
||||
"proceduralModels": 0,
|
||||
"proceduralModels": 2,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
"id": "slave-pens",
|
||||
"title": "Coilfang: The Slave Pens",
|
||||
"source": "azerothcore",
|
||||
"mobs": 18,
|
||||
"bosses": 3,
|
||||
"attacks": 53,
|
||||
"specialAttacks": 32,
|
||||
"mobs": 21,
|
||||
"bosses": 4,
|
||||
"attacks": 66,
|
||||
"specialAttacks": 43,
|
||||
"nativeModels": 21,
|
||||
"proceduralModels": 0,
|
||||
"proceduralModels": 4,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
"id": "arcatraz",
|
||||
"title": "Tempest Keep: The Arcatraz",
|
||||
"source": "azerothcore",
|
||||
"mobs": 25,
|
||||
"mobs": 28,
|
||||
"bosses": 4,
|
||||
"attacks": 73,
|
||||
"specialAttacks": 44,
|
||||
"attacks": 108,
|
||||
"specialAttacks": 76,
|
||||
"nativeModels": 29,
|
||||
"proceduralModels": 0,
|
||||
"proceduralModels": 3,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
"id": "botanica",
|
||||
"title": "Tempest Keep: The Botanica",
|
||||
"source": "azerothcore",
|
||||
"mobs": 24,
|
||||
"mobs": 28,
|
||||
"bosses": 5,
|
||||
"attacks": 67,
|
||||
"specialAttacks": 38,
|
||||
"attacks": 89,
|
||||
"specialAttacks": 56,
|
||||
"nativeModels": 29,
|
||||
"proceduralModels": 0,
|
||||
"proceduralModels": 4,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
@@ -494,8 +525,8 @@
|
||||
"source": "azerothcore",
|
||||
"mobs": 14,
|
||||
"bosses": 3,
|
||||
"attacks": 45,
|
||||
"specialAttacks": 28,
|
||||
"attacks": 69,
|
||||
"specialAttacks": 52,
|
||||
"nativeModels": 17,
|
||||
"proceduralModels": 0,
|
||||
"status": "green"
|
||||
@@ -506,8 +537,8 @@
|
||||
"source": "azerothcore",
|
||||
"mobs": 18,
|
||||
"bosses": 4,
|
||||
"attacks": 46,
|
||||
"specialAttacks": 24,
|
||||
"attacks": 67,
|
||||
"specialAttacks": 45,
|
||||
"nativeModels": 22,
|
||||
"proceduralModels": 0,
|
||||
"status": "green"
|
||||
@@ -516,72 +547,72 @@
|
||||
"id": "sethekk-halls",
|
||||
"title": "Auchindoun: Sethekk Halls",
|
||||
"source": "azerothcore",
|
||||
"mobs": 14,
|
||||
"bosses": 2,
|
||||
"attacks": 39,
|
||||
"specialAttacks": 23,
|
||||
"mobs": 19,
|
||||
"bosses": 3,
|
||||
"attacks": 59,
|
||||
"specialAttacks": 37,
|
||||
"nativeModels": 16,
|
||||
"proceduralModels": 0,
|
||||
"proceduralModels": 6,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
"id": "mana-tombs",
|
||||
"title": "Auchindoun: Mana-Tombs",
|
||||
"source": "azerothcore",
|
||||
"mobs": 11,
|
||||
"bosses": 3,
|
||||
"attacks": 33,
|
||||
"specialAttacks": 19,
|
||||
"mobs": 12,
|
||||
"bosses": 4,
|
||||
"attacks": 50,
|
||||
"specialAttacks": 34,
|
||||
"nativeModels": 14,
|
||||
"proceduralModels": 0,
|
||||
"proceduralModels": 2,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
"id": "auchenai-crypts",
|
||||
"title": "Auchindoun: Auchenai Crypts",
|
||||
"source": "azerothcore",
|
||||
"mobs": 12,
|
||||
"bosses": 2,
|
||||
"attacks": 30,
|
||||
"specialAttacks": 16,
|
||||
"mobs": 13,
|
||||
"bosses": 3,
|
||||
"attacks": 48,
|
||||
"specialAttacks": 32,
|
||||
"nativeModels": 14,
|
||||
"proceduralModels": 0,
|
||||
"proceduralModels": 2,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
"id": "magisters-terrace",
|
||||
"title": "Magister's Terrace",
|
||||
"source": "azerothcore",
|
||||
"mobs": 15,
|
||||
"mobs": 23,
|
||||
"bosses": 3,
|
||||
"attacks": 33,
|
||||
"specialAttacks": 15,
|
||||
"attacks": 65,
|
||||
"specialAttacks": 39,
|
||||
"nativeModels": 18,
|
||||
"proceduralModels": 0,
|
||||
"proceduralModels": 8,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
"id": "black-morass",
|
||||
"title": "The Black Morass",
|
||||
"source": "azerothcore",
|
||||
"mobs": 4,
|
||||
"mobs": 13,
|
||||
"bosses": 3,
|
||||
"attacks": 20,
|
||||
"specialAttacks": 13,
|
||||
"attacks": 34,
|
||||
"specialAttacks": 18,
|
||||
"nativeModels": 7,
|
||||
"proceduralModels": 0,
|
||||
"proceduralModels": 9,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
"id": "escape-from-durnholde",
|
||||
"title": "The Escape From Durnholde",
|
||||
"source": "azerothcore",
|
||||
"mobs": 26,
|
||||
"mobs": 32,
|
||||
"bosses": 3,
|
||||
"attacks": 45,
|
||||
"specialAttacks": 16,
|
||||
"attacks": 59,
|
||||
"specialAttacks": 24,
|
||||
"nativeModels": 29,
|
||||
"proceduralModels": 0,
|
||||
"proceduralModels": 6,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
@@ -589,107 +620,107 @@
|
||||
"title": "Utgarde Keep",
|
||||
"source": "azerothcore",
|
||||
"mobs": 19,
|
||||
"bosses": 3,
|
||||
"attacks": 35,
|
||||
"specialAttacks": 13,
|
||||
"bosses": 6,
|
||||
"attacks": 55,
|
||||
"specialAttacks": 30,
|
||||
"nativeModels": 22,
|
||||
"proceduralModels": 0,
|
||||
"proceduralModels": 3,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
"id": "utgarde-pinnacle",
|
||||
"title": "Utgarde Pinnacle",
|
||||
"source": "azerothcore",
|
||||
"mobs": 13,
|
||||
"mobs": 19,
|
||||
"bosses": 4,
|
||||
"attacks": 32,
|
||||
"specialAttacks": 15,
|
||||
"attacks": 50,
|
||||
"specialAttacks": 27,
|
||||
"nativeModels": 17,
|
||||
"proceduralModels": 0,
|
||||
"proceduralModels": 6,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
"id": "the-nexus",
|
||||
"title": "The Nexus",
|
||||
"source": "azerothcore",
|
||||
"mobs": 21,
|
||||
"mobs": 24,
|
||||
"bosses": 5,
|
||||
"attacks": 50,
|
||||
"specialAttacks": 24,
|
||||
"attacks": 64,
|
||||
"specialAttacks": 35,
|
||||
"nativeModels": 26,
|
||||
"proceduralModels": 0,
|
||||
"proceduralModels": 3,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
"id": "the-oculus",
|
||||
"title": "The Oculus",
|
||||
"source": "azerothcore",
|
||||
"mobs": 8,
|
||||
"mobs": 17,
|
||||
"bosses": 4,
|
||||
"attacks": 27,
|
||||
"specialAttacks": 15,
|
||||
"attacks": 42,
|
||||
"specialAttacks": 21,
|
||||
"nativeModels": 12,
|
||||
"proceduralModels": 0,
|
||||
"proceduralModels": 9,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
"id": "culling-of-stratholme",
|
||||
"title": "The Culling of Stratholme",
|
||||
"source": "azerothcore",
|
||||
"mobs": 16,
|
||||
"mobs": 21,
|
||||
"bosses": 4,
|
||||
"attacks": 41,
|
||||
"specialAttacks": 21,
|
||||
"attacks": 49,
|
||||
"specialAttacks": 24,
|
||||
"nativeModels": 20,
|
||||
"proceduralModels": 0,
|
||||
"proceduralModels": 5,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
"id": "halls-of-stone",
|
||||
"title": "Halls of Stone",
|
||||
"source": "azerothcore",
|
||||
"mobs": 13,
|
||||
"mobs": 16,
|
||||
"bosses": 4,
|
||||
"attacks": 32,
|
||||
"specialAttacks": 15,
|
||||
"attacks": 45,
|
||||
"specialAttacks": 25,
|
||||
"nativeModels": 16,
|
||||
"proceduralModels": 1,
|
||||
"proceduralModels": 4,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
"id": "draktharon-keep",
|
||||
"title": "Drak'Tharon Keep",
|
||||
"source": "azerothcore",
|
||||
"mobs": 18,
|
||||
"mobs": 20,
|
||||
"bosses": 4,
|
||||
"attacks": 38,
|
||||
"specialAttacks": 16,
|
||||
"attacks": 47,
|
||||
"specialAttacks": 23,
|
||||
"nativeModels": 22,
|
||||
"proceduralModels": 0,
|
||||
"proceduralModels": 2,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
"id": "azjol-nerub",
|
||||
"title": "Azjol-Nerub",
|
||||
"source": "azerothcore",
|
||||
"mobs": 10,
|
||||
"mobs": 18,
|
||||
"bosses": 3,
|
||||
"attacks": 25,
|
||||
"specialAttacks": 12,
|
||||
"attacks": 38,
|
||||
"specialAttacks": 17,
|
||||
"nativeModels": 13,
|
||||
"proceduralModels": 0,
|
||||
"proceduralModels": 8,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
"id": "halls-of-lightning",
|
||||
"title": "Halls of Lightning",
|
||||
"source": "azerothcore",
|
||||
"mobs": 16,
|
||||
"mobs": 19,
|
||||
"bosses": 4,
|
||||
"attacks": 35,
|
||||
"specialAttacks": 15,
|
||||
"attacks": 52,
|
||||
"specialAttacks": 29,
|
||||
"nativeModels": 20,
|
||||
"proceduralModels": 0,
|
||||
"proceduralModels": 3,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
@@ -698,8 +729,8 @@
|
||||
"source": "azerothcore",
|
||||
"mobs": 15,
|
||||
"bosses": 5,
|
||||
"attacks": 43,
|
||||
"specialAttacks": 23,
|
||||
"attacks": 53,
|
||||
"specialAttacks": 33,
|
||||
"nativeModels": 20,
|
||||
"proceduralModels": 0,
|
||||
"status": "green"
|
||||
@@ -708,24 +739,24 @@
|
||||
"id": "violet-hold",
|
||||
"title": "Violet Hold",
|
||||
"source": "azerothcore",
|
||||
"mobs": 2,
|
||||
"mobs": 17,
|
||||
"bosses": 3,
|
||||
"attacks": 19,
|
||||
"specialAttacks": 14,
|
||||
"attacks": 39,
|
||||
"specialAttacks": 19,
|
||||
"nativeModels": 5,
|
||||
"proceduralModels": 0,
|
||||
"proceduralModels": 15,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
"id": "ahnkahet-old-kingdom",
|
||||
"title": "Ahn'kahet: The Old Kingdom",
|
||||
"source": "azerothcore",
|
||||
"mobs": 19,
|
||||
"mobs": 23,
|
||||
"bosses": 5,
|
||||
"attacks": 43,
|
||||
"specialAttacks": 19,
|
||||
"attacks": 64,
|
||||
"specialAttacks": 36,
|
||||
"nativeModels": 24,
|
||||
"proceduralModels": 0,
|
||||
"proceduralModels": 4,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
@@ -734,8 +765,8 @@
|
||||
"source": "azerothcore",
|
||||
"mobs": 11,
|
||||
"bosses": 2,
|
||||
"attacks": 21,
|
||||
"specialAttacks": 8,
|
||||
"attacks": 23,
|
||||
"specialAttacks": 10,
|
||||
"nativeModels": 13,
|
||||
"proceduralModels": 0,
|
||||
"status": "green"
|
||||
@@ -744,36 +775,36 @@
|
||||
"id": "trial-of-the-champion",
|
||||
"title": "Trial of the Champion",
|
||||
"source": "azerothcore",
|
||||
"mobs": 0,
|
||||
"bosses": 5,
|
||||
"attacks": 22,
|
||||
"specialAttacks": 17,
|
||||
"mobs": 6,
|
||||
"bosses": 12,
|
||||
"attacks": 123,
|
||||
"specialAttacks": 105,
|
||||
"nativeModels": 5,
|
||||
"proceduralModels": 0,
|
||||
"proceduralModels": 13,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
"id": "pit-of-saron",
|
||||
"title": "Pit of Saron",
|
||||
"source": "azerothcore",
|
||||
"mobs": 27,
|
||||
"mobs": 31,
|
||||
"bosses": 3,
|
||||
"attacks": 43,
|
||||
"specialAttacks": 13,
|
||||
"attacks": 53,
|
||||
"specialAttacks": 19,
|
||||
"nativeModels": 30,
|
||||
"proceduralModels": 0,
|
||||
"proceduralModels": 4,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
"id": "halls-of-reflection",
|
||||
"title": "Halls of Reflection",
|
||||
"source": "azerothcore",
|
||||
"mobs": 8,
|
||||
"mobs": 16,
|
||||
"bosses": 2,
|
||||
"attacks": 26,
|
||||
"specialAttacks": 16,
|
||||
"attacks": 46,
|
||||
"specialAttacks": 28,
|
||||
"nativeModels": 10,
|
||||
"proceduralModels": 0,
|
||||
"proceduralModels": 8,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
@@ -782,8 +813,8 @@
|
||||
"source": "procedural-fallback",
|
||||
"mobs": 3,
|
||||
"bosses": 1,
|
||||
"attacks": 8,
|
||||
"specialAttacks": 4,
|
||||
"attacks": 13,
|
||||
"specialAttacks": 12,
|
||||
"nativeModels": 0,
|
||||
"proceduralModels": 4,
|
||||
"status": "green"
|
||||
@@ -792,24 +823,24 @@
|
||||
"id": "frozen-reach",
|
||||
"title": "Frozen Reach",
|
||||
"source": "procedural-fallback",
|
||||
"mobs": 3,
|
||||
"mobs": 2,
|
||||
"bosses": 1,
|
||||
"attacks": 8,
|
||||
"specialAttacks": 4,
|
||||
"attacks": 19,
|
||||
"specialAttacks": 19,
|
||||
"nativeModels": 0,
|
||||
"proceduralModels": 4,
|
||||
"proceduralModels": 3,
|
||||
"status": "green"
|
||||
},
|
||||
{
|
||||
"id": "forgotten-mine",
|
||||
"title": "Forgotten Mine",
|
||||
"source": "procedural-fallback",
|
||||
"mobs": 3,
|
||||
"mobs": 4,
|
||||
"bosses": 1,
|
||||
"attacks": 8,
|
||||
"specialAttacks": 4,
|
||||
"attacks": 13,
|
||||
"specialAttacks": 12,
|
||||
"nativeModels": 0,
|
||||
"proceduralModels": 4,
|
||||
"proceduralModels": 5,
|
||||
"status": "green"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -1,73 +1,78 @@
|
||||
# WoW dungeon content report
|
||||
# WoW dungeon combat and animation report
|
||||
|
||||
Status: **green**
|
||||
|
||||
Coverage: 54 dungeons, 1031 mobs, 253 bosses, 2953 executable attacks, and 1669 special attacks/mechanics.
|
||||
Scope: executable combat populations and creature animation bindings. This report does not certify instance scripts, doors, interactables, escorts, waves, vehicles, or navigation.
|
||||
|
||||
Animation paths: 1266 native model bindings and 18 procedural bindings across 1166 unique native GLBs; 16 missing native states use the shared procedural fallback.
|
||||
Coverage: 54 dungeons, 1193 mobs, 273 bosses, 4026 executable attacks, and 2572 special attacks/mechanics.
|
||||
|
||||
Animation paths: 1275 native model bindings and 191 procedural bindings across 1167 unique native GLBs; 18 missing native states use the shared procedural fallback.
|
||||
|
||||
| Dungeon | Mobs | Bosses | Attacks | Specials | Native | Procedural | Status |
|
||||
| --- | ---: | ---: | ---: | ---: | ---: | ---: | --- |
|
||||
| Shadowfang Keep | 24 | 7 | 58 | 27 | 31 | 0 | green |
|
||||
| Stormwind Stockade | 6 | 5 | 32 | 21 | 11 | 0 | green |
|
||||
| The Deadmines | 15 | 7 | 48 | 26 | 22 | 0 | green |
|
||||
| Wailing Caverns | 12 | 8 | 51 | 31 | 15 | 5 | green |
|
||||
| Razorfen Kraul | 31 | 7 | 78 | 40 | 38 | 0 | green |
|
||||
| Blackfathom Deeps | 21 | 6 | 58 | 31 | 27 | 0 | green |
|
||||
| Uldaman | 31 | 7 | 85 | 47 | 38 | 0 | green |
|
||||
| Gnomeregan | 27 | 4 | 68 | 37 | 31 | 0 | green |
|
||||
| Sunken Temple | 29 | 4 | 86 | 53 | 33 | 0 | green |
|
||||
| Razorfen Downs | 19 | 6 | 55 | 30 | 25 | 0 | green |
|
||||
| Scarlet Monastery | 32 | 5 | 89 | 52 | 37 | 0 | green |
|
||||
| Zul'Farrak | 16 | 5 | 53 | 32 | 21 | 0 | green |
|
||||
| Blackrock Spire | 63 | 15 | 210 | 132 | 78 | 0 | green |
|
||||
| Blackrock Depths | 48 | 13 | 145 | 84 | 61 | 0 | green |
|
||||
| Scholomance | 30 | 8 | 115 | 77 | 38 | 0 | green |
|
||||
| Stratholme | 41 | 9 | 131 | 81 | 50 | 0 | green |
|
||||
| Maraudon | 25 | 8 | 83 | 50 | 33 | 0 | green |
|
||||
| Ragefire Chasm | 7 | 4 | 21 | 10 | 11 | 0 | green |
|
||||
| Dire Maul | 63 | 12 | 184 | 109 | 75 | 0 | green |
|
||||
| Hellfire Citadel: The Shattered Halls | 29 | 3 | 74 | 42 | 32 | 0 | green |
|
||||
| Hellfire Citadel: The Blood Furnace | 14 | 3 | 44 | 27 | 17 | 0 | green |
|
||||
| Hellfire Citadel: Ramparts | 10 | 2 | 36 | 24 | 12 | 0 | green |
|
||||
| Coilfang: The Steamvault | 14 | 3 | 50 | 33 | 17 | 0 | green |
|
||||
| Coilfang: The Underbog | 18 | 4 | 59 | 37 | 22 | 0 | green |
|
||||
| Coilfang: The Slave Pens | 18 | 3 | 53 | 32 | 21 | 0 | green |
|
||||
| Tempest Keep: The Arcatraz | 25 | 4 | 73 | 44 | 29 | 0 | green |
|
||||
| Tempest Keep: The Botanica | 24 | 5 | 67 | 38 | 29 | 0 | green |
|
||||
| Tempest Keep: The Mechanar | 14 | 3 | 45 | 28 | 17 | 0 | green |
|
||||
| Auchindoun: Shadow Labyrinth | 18 | 4 | 46 | 24 | 22 | 0 | green |
|
||||
| Auchindoun: Sethekk Halls | 14 | 2 | 39 | 23 | 16 | 0 | green |
|
||||
| Auchindoun: Mana-Tombs | 11 | 3 | 33 | 19 | 14 | 0 | green |
|
||||
| Auchindoun: Auchenai Crypts | 12 | 2 | 30 | 16 | 14 | 0 | green |
|
||||
| Magister's Terrace | 15 | 3 | 33 | 15 | 18 | 0 | green |
|
||||
| The Black Morass | 4 | 3 | 20 | 13 | 7 | 0 | green |
|
||||
| The Escape From Durnholde | 26 | 3 | 45 | 16 | 29 | 0 | green |
|
||||
| Utgarde Keep | 19 | 3 | 35 | 13 | 22 | 0 | green |
|
||||
| Utgarde Pinnacle | 13 | 4 | 32 | 15 | 17 | 0 | green |
|
||||
| The Nexus | 21 | 5 | 50 | 24 | 26 | 0 | green |
|
||||
| The Oculus | 8 | 4 | 27 | 15 | 12 | 0 | green |
|
||||
| The Culling of Stratholme | 16 | 4 | 41 | 21 | 20 | 0 | green |
|
||||
| Halls of Stone | 13 | 4 | 32 | 15 | 16 | 1 | green |
|
||||
| Drak'Tharon Keep | 18 | 4 | 38 | 16 | 22 | 0 | green |
|
||||
| Azjol-Nerub | 10 | 3 | 25 | 12 | 13 | 0 | green |
|
||||
| Halls of Lightning | 16 | 4 | 35 | 15 | 20 | 0 | green |
|
||||
| Gundrak | 15 | 5 | 43 | 23 | 20 | 0 | green |
|
||||
| Violet Hold | 2 | 3 | 19 | 14 | 5 | 0 | green |
|
||||
| Ahn'kahet: The Old Kingdom | 19 | 5 | 43 | 19 | 24 | 0 | green |
|
||||
| The Forge of Souls | 11 | 2 | 21 | 8 | 13 | 0 | green |
|
||||
| Trial of the Champion | 0 | 5 | 22 | 17 | 5 | 0 | green |
|
||||
| Pit of Saron | 27 | 3 | 43 | 13 | 30 | 0 | green |
|
||||
| Halls of Reflection | 8 | 2 | 26 | 16 | 10 | 0 | green |
|
||||
| Tinkertech Showdown | 3 | 1 | 8 | 4 | 0 | 4 | green |
|
||||
| Frozen Reach | 3 | 1 | 8 | 4 | 0 | 4 | green |
|
||||
| Forgotten Mine | 3 | 1 | 8 | 4 | 0 | 4 | green |
|
||||
| Wailing Caverns | 23 | 9 | 72 | 40 | 24 | 8 | green |
|
||||
| Shadowfang Keep | 24 | 7 | 65 | 34 | 31 | 0 | green |
|
||||
| Stormwind Stockade | 6 | 5 | 42 | 31 | 11 | 0 | green |
|
||||
| The Deadmines | 15 | 7 | 55 | 33 | 22 | 0 | green |
|
||||
| Razorfen Kraul | 31 | 7 | 87 | 49 | 38 | 0 | green |
|
||||
| Blackfathom Deeps | 23 | 6 | 67 | 38 | 27 | 2 | green |
|
||||
| Uldaman | 31 | 7 | 104 | 66 | 38 | 0 | green |
|
||||
| Gnomeregan | 28 | 5 | 84 | 51 | 31 | 2 | green |
|
||||
| Sunken Temple | 31 | 4 | 95 | 60 | 33 | 2 | green |
|
||||
| Razorfen Downs | 21 | 6 | 65 | 38 | 25 | 2 | green |
|
||||
| Scarlet Monastery | 32 | 5 | 107 | 70 | 37 | 0 | green |
|
||||
| Zul'Farrak | 23 | 5 | 76 | 48 | 21 | 7 | green |
|
||||
| Blackrock Spire | 66 | 17 | 285 | 202 | 78 | 5 | green |
|
||||
| Blackrock Depths | 58 | 13 | 192 | 121 | 61 | 10 | green |
|
||||
| Scholomance | 31 | 8 | 151 | 112 | 38 | 1 | green |
|
||||
| Stratholme | 45 | 9 | 180 | 126 | 50 | 4 | green |
|
||||
| Maraudon | 25 | 8 | 95 | 62 | 33 | 0 | green |
|
||||
| Ragefire Chasm | 7 | 4 | 23 | 12 | 11 | 0 | green |
|
||||
| Dire Maul | 63 | 12 | 242 | 167 | 75 | 0 | green |
|
||||
| Hellfire Citadel: The Shattered Halls | 29 | 3 | 92 | 60 | 32 | 0 | green |
|
||||
| Hellfire Citadel: The Blood Furnace | 14 | 3 | 53 | 36 | 17 | 0 | green |
|
||||
| Hellfire Citadel: Ramparts | 11 | 4 | 47 | 32 | 12 | 3 | green |
|
||||
| Coilfang: The Steamvault | 14 | 3 | 63 | 46 | 17 | 0 | green |
|
||||
| Coilfang: The Underbog | 20 | 4 | 82 | 58 | 22 | 2 | green |
|
||||
| Coilfang: The Slave Pens | 21 | 4 | 66 | 43 | 21 | 4 | green |
|
||||
| Tempest Keep: The Arcatraz | 28 | 4 | 108 | 76 | 29 | 3 | green |
|
||||
| Tempest Keep: The Botanica | 28 | 5 | 89 | 56 | 29 | 4 | green |
|
||||
| Tempest Keep: The Mechanar | 14 | 3 | 69 | 52 | 17 | 0 | green |
|
||||
| Auchindoun: Shadow Labyrinth | 18 | 4 | 67 | 45 | 22 | 0 | green |
|
||||
| Auchindoun: Sethekk Halls | 19 | 3 | 59 | 37 | 16 | 6 | green |
|
||||
| Auchindoun: Mana-Tombs | 12 | 4 | 50 | 34 | 14 | 2 | green |
|
||||
| Auchindoun: Auchenai Crypts | 13 | 3 | 48 | 32 | 14 | 2 | green |
|
||||
| Magister's Terrace | 23 | 3 | 65 | 39 | 18 | 8 | green |
|
||||
| The Black Morass | 13 | 3 | 34 | 18 | 7 | 9 | green |
|
||||
| The Escape From Durnholde | 32 | 3 | 59 | 24 | 29 | 6 | green |
|
||||
| Utgarde Keep | 19 | 6 | 55 | 30 | 22 | 3 | green |
|
||||
| Utgarde Pinnacle | 19 | 4 | 50 | 27 | 17 | 6 | green |
|
||||
| The Nexus | 24 | 5 | 64 | 35 | 26 | 3 | green |
|
||||
| The Oculus | 17 | 4 | 42 | 21 | 12 | 9 | green |
|
||||
| The Culling of Stratholme | 21 | 4 | 49 | 24 | 20 | 5 | green |
|
||||
| Halls of Stone | 16 | 4 | 45 | 25 | 16 | 4 | green |
|
||||
| Drak'Tharon Keep | 20 | 4 | 47 | 23 | 22 | 2 | green |
|
||||
| Azjol-Nerub | 18 | 3 | 38 | 17 | 13 | 8 | green |
|
||||
| Halls of Lightning | 19 | 4 | 52 | 29 | 20 | 3 | green |
|
||||
| Gundrak | 15 | 5 | 53 | 33 | 20 | 0 | green |
|
||||
| Violet Hold | 17 | 3 | 39 | 19 | 5 | 15 | green |
|
||||
| Ahn'kahet: The Old Kingdom | 23 | 5 | 64 | 36 | 24 | 4 | green |
|
||||
| The Forge of Souls | 11 | 2 | 23 | 10 | 13 | 0 | green |
|
||||
| Trial of the Champion | 6 | 12 | 123 | 105 | 5 | 13 | green |
|
||||
| Pit of Saron | 31 | 3 | 53 | 19 | 30 | 4 | green |
|
||||
| Halls of Reflection | 16 | 2 | 46 | 28 | 10 | 8 | green |
|
||||
| Tinkertech Showdown | 3 | 1 | 13 | 12 | 0 | 4 | green |
|
||||
| Frozen Reach | 2 | 1 | 19 | 19 | 0 | 3 | green |
|
||||
| Forgotten Mine | 4 | 1 | 13 | 12 | 0 | 5 | green |
|
||||
|
||||
## Documented source-faithful exceptions
|
||||
|
||||
- wailing-caverns:entry-3653: Kresh is melee-only in the pinned AzerothCore snapshot; the historical server has no spell or SmartAI row for entry 3653.
|
||||
- wailing-caverns:kresh: Kresh is melee-only in the pinned AzerothCore snapshot; the historical server has no spell or SmartAI row for entry 3653.
|
||||
- wailing-caverns:deviate-faerie-dragon: The server-faithful rare entry 5912 has no spell rows and is despawned by the Wailing Caverns initialization event.
|
||||
- trial-of-the-champion: Trial of the Champion is an encounter arena; its imported combat population is the five Grand Champion bosses, not a trash route.
|
||||
- gnomeregan:wow-classic-batch-three-entry-7361: Grubbis is melee-only in the pinned AzerothCore snapshot; entry 7361 has aggro dialogue and instance-completion rows but no combat spell cast.
|
||||
- blackrock-spire:entry-9218: Spirestone Battle Lord is a 15% rare spawn in the pinned database and has no combat spell cast beyond its basic melee attack.
|
||||
- blackrock-spire:entry-9219: Spirestone Butcher is a 15% rare spawn in the pinned database and has no combat spell cast beyond its basic melee attack.
|
||||
- blackrock-spire:entry-10376: Crystal Fang is a 15% rare spawn with no active combat spell in the pinned database; its exact on-death Spire Spiderling summon is implemented by the instance adapter.
|
||||
|
||||
## Issues
|
||||
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,858 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"scope": "ascension-custom-five-player-source-recovery",
|
||||
"status": "partial-authoritative-recovery",
|
||||
"sourcePolicy": {
|
||||
"exact": "Values copied from installed-client DBC rows or already checksummed map packages.",
|
||||
"spellLinked": "Creature and gameobject IDs recovered from summon effects in installed-client Spell.dbc. The link is exact even when the missing creature_template or gameobject_template name is inferred from the spell context.",
|
||||
"authored": "Timing, phase ownership, placement, health tuning, and any entity explicitly marked authored are adaptation decisions, not claims about Ascension server behavior."
|
||||
},
|
||||
"sources": [
|
||||
{
|
||||
"id": "ascension-area52-spell-dbc",
|
||||
"kind": "installed-client-dbc",
|
||||
"pathHint": "../LadiksMPQEditor/client-current/area-52/patch-D/DBFilesClient/Spell.dbc",
|
||||
"sha256": "2f77f18b91ffbae32a19568e4bc05ec78ee384b6ba8dd2a6e05f0e97abbb2dce",
|
||||
"header": {
|
||||
"signature": "WDBC",
|
||||
"recordCount": 238891,
|
||||
"fieldCount": 234,
|
||||
"recordSize": 936,
|
||||
"stringBlockSize": 14058299
|
||||
},
|
||||
"localeField": "enUS",
|
||||
"confidence": "exact"
|
||||
},
|
||||
{
|
||||
"id": "manastorm-runtime-catalog",
|
||||
"kind": "installed-client-encounter-export",
|
||||
"path": "src/game/generated/manastormRuntimeCatalog.json",
|
||||
"confidence": "exact"
|
||||
},
|
||||
{
|
||||
"id": "manastorm-asset-packages",
|
||||
"kind": "installed-client-map-export",
|
||||
"path": "src/game/generated/manastormAssetPackages.json",
|
||||
"confidence": "exact-environment-provisional-semantics"
|
||||
},
|
||||
{
|
||||
"id": "campaign-runtime-snapshot",
|
||||
"kind": "generated-runtime-catalog",
|
||||
"path": "src/game/generated/dungeonCampaignCatalog.json",
|
||||
"confidence": "exact-current-state"
|
||||
},
|
||||
{
|
||||
"id": "ascension-db-alva",
|
||||
"kind": "official-public-database",
|
||||
"url": "https://db.ascension.gg/?npc=97700",
|
||||
"confidence": "exact"
|
||||
},
|
||||
{
|
||||
"id": "ascension-db-arktos",
|
||||
"kind": "official-public-database",
|
||||
"url": "https://db.ascension.gg/?npc=97701",
|
||||
"confidence": "exact"
|
||||
},
|
||||
{
|
||||
"id": "ascension-changelog-frozen-reach-blast-arrow",
|
||||
"kind": "official-changelog",
|
||||
"url": "https://ascension.gg/en/changelog/1?page=7",
|
||||
"confidence": "exact-wording-name-differs"
|
||||
},
|
||||
{
|
||||
"id": "ascension-changelog-frozen-reach-rebirth",
|
||||
"kind": "official-changelog",
|
||||
"url": "https://ascension.gg/en/changelog/1?page=8",
|
||||
"confidence": "exact"
|
||||
},
|
||||
{
|
||||
"id": "ascension-changelog-forgotten-mine-crystals",
|
||||
"kind": "official-changelog",
|
||||
"url": "https://ascension.gg/en/changelog/1?page=51",
|
||||
"confidence": "exact"
|
||||
},
|
||||
{
|
||||
"id": "ascension-changelog-forgotten-mine-geospike",
|
||||
"kind": "official-changelog",
|
||||
"url": "https://ascension.gg/en/changelog/1?page=29",
|
||||
"confidence": "exact"
|
||||
}
|
||||
],
|
||||
"localSearchAudit": {
|
||||
"searchedRoots": [
|
||||
"../wow-pvt-server-backups-2",
|
||||
"../WoW-Pvt-Server-Backups",
|
||||
"../wow-private-server-notes",
|
||||
"../LadiksMPQEditor",
|
||||
"../wow335a/Cache",
|
||||
"../resources/client/Cache"
|
||||
],
|
||||
"searchedArtifacts": [
|
||||
"creature_template and creature spawn SQL",
|
||||
"gameobject_template and gameobject spawn SQL",
|
||||
"SmartAI and ScriptName bindings",
|
||||
"Lua/XML/JSON/CSV encounter data",
|
||||
"creaturecache.wdb and gameobjectcache.wdb records"
|
||||
],
|
||||
"missingAuthoritativeData": [
|
||||
"creature templates and display mappings for 663012, 97700, and 254272",
|
||||
"world spawn rows for maps 821, 908, and 1781",
|
||||
"server-side encounter scripts and cast cadence",
|
||||
"authoritative trash population and patrol routes",
|
||||
"authoritative gameobject placements"
|
||||
],
|
||||
"publicSnapshotCheck": {
|
||||
"repository": "https://github.com/Ascension-Addons/Questie-X-AscensionDB.git",
|
||||
"commit": "cf6710ef94c264d842cf2ea94c4b50e9ece6dd61",
|
||||
"result": "No target boss IDs, names, spawns, or encounter scripts were present."
|
||||
}
|
||||
},
|
||||
"dungeons": [
|
||||
{
|
||||
"mapId": 821,
|
||||
"id": "tinkertech-showdown",
|
||||
"title": "Tinkertech Showdown",
|
||||
"mapDirectory": "TinketechShowdown",
|
||||
"sourceClassification": "identity-and-environment-only",
|
||||
"environment": {
|
||||
"sourceHash": "323c47c081d0a6c39daf9878284863c21e3e38dbced2ba3f58d1d157d080d41d",
|
||||
"rootWmo": "World/wmo/Dungeon/AZ_Subway/Subway_Dungeon.wmo",
|
||||
"anchors": {
|
||||
"player": [
|
||||
3.648781,
|
||||
-4.167801,
|
||||
66.263252
|
||||
],
|
||||
"trash": [
|
||||
10.220209,
|
||||
-126.067818,
|
||||
1266.206177
|
||||
],
|
||||
"boss": [
|
||||
-15.779793,
|
||||
-4.267807,
|
||||
2439.406006
|
||||
]
|
||||
},
|
||||
"semanticStatus": "provisional-geometry-derived"
|
||||
},
|
||||
"encounters": [
|
||||
{
|
||||
"encounterId": 9013,
|
||||
"modeId": 2,
|
||||
"name": "Mechatron",
|
||||
"creatureId": 663012,
|
||||
"identityConfidence": "exact"
|
||||
}
|
||||
],
|
||||
"currentRuntime": {
|
||||
"bossEntityId": "entry-663012",
|
||||
"proceduralTrashSpawnCount": 15,
|
||||
"proceduralMobEntries": [
|
||||
{
|
||||
"entityId": "tinkertech-showdown-guardian",
|
||||
"serverEntry": 2629079128
|
||||
},
|
||||
{
|
||||
"entityId": "tinkertech-showdown-caster",
|
||||
"serverEntry": 3849447491
|
||||
},
|
||||
{
|
||||
"entityId": "tinkertech-showdown-brute",
|
||||
"serverEntry": 1787979165
|
||||
}
|
||||
]
|
||||
},
|
||||
"sourceRecovery": {
|
||||
"association": "candidate-client-cluster-only",
|
||||
"associationConfidence": "low",
|
||||
"reason": "These adjacent client rows form a coherent mechanical-machine kit and include Sound: Goblin Head Machine Loop, but no recovered server row links them to creature 663012.",
|
||||
"spellRows": {
|
||||
"257438": "Rocket",
|
||||
"257459": "Gatling Missile Barrage",
|
||||
"257460": "Gatling Missile",
|
||||
"257461": "Gatling Missile",
|
||||
"257462": "Sound: Goblin Head Machine Loop",
|
||||
"257470": "Incineration Beam",
|
||||
"257471": "Energy Ball",
|
||||
"257472": "Electrified Zone",
|
||||
"257473": "Electric Shock"
|
||||
},
|
||||
"families": {
|
||||
"rocket": [
|
||||
257438
|
||||
],
|
||||
"gatlingMissileBarrage": [
|
||||
257459,
|
||||
257460,
|
||||
257461
|
||||
],
|
||||
"incinerationBeam": [
|
||||
257470
|
||||
],
|
||||
"electrifiedZone": [
|
||||
257472,
|
||||
257473
|
||||
]
|
||||
}
|
||||
},
|
||||
"adaptation": {
|
||||
"status": "custom-authoring-required",
|
||||
"populationPlan": {
|
||||
"disposition": "retain-current-route-as-explicit-adaptation",
|
||||
"packCount": 5,
|
||||
"membersPerPack": 3,
|
||||
"authoredMobs": [
|
||||
{
|
||||
"serverEntry": 2629079128,
|
||||
"name": "Tinkertech Guardbot",
|
||||
"role": "melee-interceptor"
|
||||
},
|
||||
{
|
||||
"serverEntry": 3849447491,
|
||||
"name": "Tinkertech Coilcaster",
|
||||
"role": "electrical-ranged"
|
||||
},
|
||||
{
|
||||
"serverEntry": 1787979165,
|
||||
"name": "Tinkertech Demolisher",
|
||||
"role": "rocket-bruiser"
|
||||
}
|
||||
]
|
||||
},
|
||||
"encounterPlan": [
|
||||
"Mechatron remains creature 663012 at the provisional boss anchor.",
|
||||
"Rocket uses a 2.0 second target reticle and splash damage on an authored 8 second cadence.",
|
||||
"Gatling Missile Barrage uses a 3.0 second warning followed by eight lane impacts over 4 seconds on an authored 14 second cadence.",
|
||||
"Incineration Beam uses a 2.5 second wind-up and sweeps the subway lane for 5 seconds; immutable web geometry means it visually disables lane sections instead of permanently destroying client platforms.",
|
||||
"Electrified Zone alternates floor strips after a 1.5 second warning, remains active for 8 seconds, and applies a 1.5 second stun on contact.",
|
||||
"At 35 percent health, cadence accelerates by 20 percent and two authored Coilcasters enter from the previous pack anchor."
|
||||
],
|
||||
"mustBeCustomAuthored": [
|
||||
"all trash identities, placements, and AI",
|
||||
"all boss timing and phase thresholds",
|
||||
"the decision to associate candidate spells 257438 and 257459-257473 with Mechatron",
|
||||
"platform or lane disable behavior",
|
||||
"boss and trash visual composites",
|
||||
"loot and completion scripting"
|
||||
]
|
||||
},
|
||||
"unresolved": [
|
||||
"No authoritative Mechatron spell-to-creature binding was found.",
|
||||
"No authoritative trash or gameobject IDs were found.",
|
||||
"The custom ADT placement transform and all semantic anchors still require playtest approval."
|
||||
]
|
||||
},
|
||||
{
|
||||
"mapId": 908,
|
||||
"id": "frozen-reach",
|
||||
"title": "Frozen Reach",
|
||||
"mapDirectory": "Alvaencounter",
|
||||
"sourceClassification": "encounter-spells-and-summons-recovered",
|
||||
"environment": {
|
||||
"sourceHash": "5ab771df79c0e062cea3ebda4e416a9245bcf8a4cc6da048077df5e674081f97",
|
||||
"anchors": {
|
||||
"player": [
|
||||
1858.534668,
|
||||
78.860199,
|
||||
2229.334473
|
||||
],
|
||||
"trash": [
|
||||
2100.134766,
|
||||
80.860199,
|
||||
2132.93457
|
||||
],
|
||||
"boss": [
|
||||
2344.134766,
|
||||
62.460205,
|
||||
2134.334717
|
||||
]
|
||||
},
|
||||
"semanticStatus": "provisional-elevated-encounter-component"
|
||||
},
|
||||
"encounters": [
|
||||
{
|
||||
"encounterId": 2168,
|
||||
"modeId": 0,
|
||||
"name": "Alva",
|
||||
"creatureId": 97700,
|
||||
"identityConfidence": "exact"
|
||||
},
|
||||
{
|
||||
"encounterId": 2170,
|
||||
"modeId": 2,
|
||||
"name": "Alva",
|
||||
"creatureId": 97700,
|
||||
"identityConfidence": "exact"
|
||||
}
|
||||
],
|
||||
"entities": [
|
||||
{
|
||||
"entryId": 97700,
|
||||
"name": "Alva",
|
||||
"role": "boss",
|
||||
"sourceKind": "encounter-dbc-and-official-db"
|
||||
},
|
||||
{
|
||||
"entryId": 97701,
|
||||
"name": "Arktos",
|
||||
"role": "boss-companion",
|
||||
"sourceKind": "official-db"
|
||||
},
|
||||
{
|
||||
"entryId": 97703,
|
||||
"name": "Blast Arrow summoned unit",
|
||||
"role": "area-trigger",
|
||||
"sourceKind": "spell-linked-name-inferred"
|
||||
},
|
||||
{
|
||||
"entryId": 97731,
|
||||
"name": "Explosive Trap summoned unit",
|
||||
"role": "trap",
|
||||
"sourceKind": "spell-linked-name-inferred"
|
||||
},
|
||||
{
|
||||
"entryId": 97770,
|
||||
"name": "Alvajar summoned unit",
|
||||
"role": "add",
|
||||
"sourceKind": "spell-linked-name-inferred"
|
||||
}
|
||||
],
|
||||
"currentRuntime": {
|
||||
"bossEntityId": "entry-97700",
|
||||
"proceduralTrashSpawnCount": 15,
|
||||
"proceduralMobEntries": [
|
||||
{
|
||||
"entityId": "frozen-reach-guardian",
|
||||
"serverEntry": 1606324391
|
||||
},
|
||||
{
|
||||
"entityId": "frozen-reach-caster",
|
||||
"serverEntry": 854807736
|
||||
},
|
||||
{
|
||||
"entityId": "frozen-reach-brute",
|
||||
"serverEntry": 2855026892
|
||||
}
|
||||
]
|
||||
},
|
||||
"sourceRecovery": {
|
||||
"association": "explicit-alva-arktos-client-cluster",
|
||||
"associationConfidence": "high",
|
||||
"spellRows": {
|
||||
"255347": "Auto Shot",
|
||||
"255349": "Rain of Arrows",
|
||||
"255351": "Rain of Arrows",
|
||||
"255352": "Unbridled Arrows",
|
||||
"255353": "Unbridled Arrows",
|
||||
"255358": "Blast Arrow",
|
||||
"255359": "Blast Arrow",
|
||||
"255360": "Pact of the Hunt",
|
||||
"255362": "Blast Arrow",
|
||||
"255363": "Blast Arrow",
|
||||
"255374": "Ice Rock",
|
||||
"255375": "Ice Rock",
|
||||
"255377": "Ice Rock",
|
||||
"255378": "Unholy Frenzy",
|
||||
"255379": "Carnivorous Bite",
|
||||
"255380": "Frost Shield",
|
||||
"255381": "Set Ablaze",
|
||||
"255382": "Blaze",
|
||||
"255387": "Frost Strike",
|
||||
"255389": "Shadow Shroud Surge",
|
||||
"255390": "Shadow Shroud Rebirth",
|
||||
"255393": "Sphere of Grief and Wrath",
|
||||
"255394": "Vengeful Bolt",
|
||||
"255395": "Vengeful Bolt",
|
||||
"255397": "Shadow Veil Lance",
|
||||
"255398": "Shadow Veil Lance",
|
||||
"255399": "Frost Roar",
|
||||
"255401": "Cluster Shot",
|
||||
"255402": "Cluster Shot",
|
||||
"255403": "Cluster Shot",
|
||||
"255410": "Alva's Grief",
|
||||
"255411": "Alva's Grief",
|
||||
"255412": "Frost orb",
|
||||
"255413": "Frozen Pulse",
|
||||
"255417": "Shield Wall",
|
||||
"255418": "Shield Wall",
|
||||
"255419": "Alva's Wrath",
|
||||
"255420": "Throw Explosive Trap",
|
||||
"255421": "Explosive Trap",
|
||||
"255423": "Trap Explosion",
|
||||
"255424": "Charging",
|
||||
"255426": "Explosive Trap",
|
||||
"255427": "Frostblade Strike",
|
||||
"255428": "Frostblade Strike",
|
||||
"255432": "Army of the Dead",
|
||||
"255433": "Army of the Dead",
|
||||
"255434": "Lacerate",
|
||||
"255435": "Lacerate",
|
||||
"255436": "Lacerate",
|
||||
"255437": "Arcing Slice",
|
||||
"255438": "Rain of Arrows",
|
||||
"255439": "Rain of Arrows",
|
||||
"255440": "Cluster Shot",
|
||||
"255441": "Cluster Shot",
|
||||
"255442": "Unbridled Arrows",
|
||||
"255443": "Unbridled Arrows",
|
||||
"255444": "Blast Arrow",
|
||||
"255445": "Blast Arrow",
|
||||
"255446": "Frost Roar",
|
||||
"255447": "Frost Roar",
|
||||
"255448": "Vengeful Bolt",
|
||||
"255449": "Vengeful Bolt",
|
||||
"255450": "Ice Rock",
|
||||
"255451": "Ice Rock",
|
||||
"255452": "Frostblade Strike",
|
||||
"255453": "Frostblade Strike",
|
||||
"255454": "Shadow Shroud Surge",
|
||||
"255455": "Shadow Shroud Surge",
|
||||
"255456": "Shadow Shroud Rebirth",
|
||||
"255457": "Shadow Shroud Rebirth",
|
||||
"255458": "Shadow Veil Lance",
|
||||
"255459": "Shadow Veil Lance",
|
||||
"255460": "Alva's Wrath",
|
||||
"255461": "Alva's Wrath",
|
||||
"255462": "Sphere of Grief and Wrath",
|
||||
"255463": "Sphere of Grief and Wrath",
|
||||
"255464": "Frost Strike",
|
||||
"255465": "Frost Strike",
|
||||
"255466": "Predator's Fury",
|
||||
"255467": "Alva's Grief",
|
||||
"255468": "Alva's Grief",
|
||||
"255469": "Trap Explosion",
|
||||
"255470": "Trap Explosion",
|
||||
"255471": "Frozen Pulse",
|
||||
"255472": "Frozen Pulse"
|
||||
},
|
||||
"families": {
|
||||
"alvaRanged": [
|
||||
255347,
|
||||
255349,
|
||||
255351,
|
||||
255352,
|
||||
255353,
|
||||
255358,
|
||||
255359,
|
||||
255401,
|
||||
255402,
|
||||
255403,
|
||||
255420,
|
||||
255421,
|
||||
255423,
|
||||
255424
|
||||
],
|
||||
"arktos": [
|
||||
255360,
|
||||
255374,
|
||||
255375,
|
||||
255377,
|
||||
255378,
|
||||
255379,
|
||||
255380,
|
||||
255381,
|
||||
255382,
|
||||
255387,
|
||||
255399,
|
||||
255417,
|
||||
255418,
|
||||
255434
|
||||
],
|
||||
"alvaVengeance": [
|
||||
255389,
|
||||
255390,
|
||||
255393,
|
||||
255394,
|
||||
255395,
|
||||
255397,
|
||||
255398,
|
||||
255410,
|
||||
255411,
|
||||
255419,
|
||||
255432,
|
||||
255433
|
||||
],
|
||||
"difficultyOneAndTwoVariants": [
|
||||
255435,
|
||||
255436,
|
||||
255438,
|
||||
255439,
|
||||
255440,
|
||||
255441,
|
||||
255442,
|
||||
255443,
|
||||
255444,
|
||||
255445,
|
||||
255446,
|
||||
255447,
|
||||
255448,
|
||||
255449,
|
||||
255450,
|
||||
255451,
|
||||
255452,
|
||||
255453,
|
||||
255454,
|
||||
255455,
|
||||
255456,
|
||||
255457,
|
||||
255458,
|
||||
255459,
|
||||
255460,
|
||||
255461,
|
||||
255462,
|
||||
255463,
|
||||
255464,
|
||||
255465,
|
||||
255467,
|
||||
255468,
|
||||
255469,
|
||||
255470,
|
||||
255471,
|
||||
255472
|
||||
]
|
||||
},
|
||||
"summonLinks": [
|
||||
{
|
||||
"spellId": 255363,
|
||||
"effectIndex": 0,
|
||||
"effectType": 28,
|
||||
"targetKind": "creature",
|
||||
"entryId": 97703
|
||||
},
|
||||
{
|
||||
"spellId": 255421,
|
||||
"effectIndex": 0,
|
||||
"effectType": 28,
|
||||
"targetKind": "creature",
|
||||
"entryId": 97731
|
||||
},
|
||||
{
|
||||
"spellId": 255433,
|
||||
"effectIndex": 0,
|
||||
"effectType": 28,
|
||||
"targetKind": "creature",
|
||||
"entryId": 97770
|
||||
}
|
||||
]
|
||||
},
|
||||
"adaptation": {
|
||||
"status": "source-backed-custom-cadence-required",
|
||||
"populationPlan": {
|
||||
"disposition": "remove-unverified-generic-trash",
|
||||
"reason": "Alvaencounter and the recovered spell cluster describe a contained Alva/Arktos encounter; no evidence supports the current 15 generic hallway creatures.",
|
||||
"encounterEntities": [
|
||||
97700,
|
||||
97701,
|
||||
97703,
|
||||
97731,
|
||||
97770
|
||||
]
|
||||
},
|
||||
"encounterPlan": [
|
||||
"Phase one starts Alva 97700 and Arktos 97701 together, with Pact of the Hunt 255360 active while they remain close.",
|
||||
"Alva uses Rain of Arrows, Unbridled Arrows, Blast Arrow, Cluster Shot, and summoned Explosive Traps; Arktos uses Carnivorous Bite, Ice Rock, Frost Roar, Lacerate, and defensive Frost Shield or Shield Wall.",
|
||||
"Blast Arrow can strike Arktos and apply Set Ablaze 255381, causing panic movement, Blaze 255382, and increased damage taken. This matches the official changelog's Blast Shot/Arktos interaction despite the DBC naming it Blast Arrow.",
|
||||
"Arktos death leaves Alva's Grief 255410 around the corpse and transitions Alva to the vengeance kit.",
|
||||
"The transition casts Shadow Shroud Rebirth 255390 and summons four Alvajar 97770 around the arena. Rebirth damage must scale by living group size, reaching full value at five or more players per the official changelog.",
|
||||
"Phase two rotates Vengeful Bolt, Shadow Veil Lance, Sphere of Grief and Wrath, Army of the Dead, and stacking Alva's Wrath as the soft enrage.",
|
||||
"Wire ASC D0 rows to the current normal experience. Preserve D1 and D2 rows but do not assign public difficulty labels until an authoritative mode mapping is recovered."
|
||||
],
|
||||
"authoredCadence": {
|
||||
"rainOfArrowsMs": 12000,
|
||||
"unbridledArrowsMs": 20000,
|
||||
"blastArrowMs": 15000,
|
||||
"clusterShotMs": 18000,
|
||||
"explosiveTrapMs": 16000,
|
||||
"arktosIceRockMs": 12000,
|
||||
"arktosFrostRoarMs": 18000,
|
||||
"vengefulBoltMs": 7000,
|
||||
"shadowVeilLanceMs": 12000,
|
||||
"sphereOfGriefMs": 20000,
|
||||
"alvasWrathMs": 25000
|
||||
},
|
||||
"mustBeCustomAuthored": [
|
||||
"all cast cadence and target-selection rules",
|
||||
"Arktos initial placement and companion pathing",
|
||||
"phase transition and exact death threshold behavior",
|
||||
"Alvajar formation and spawn placement",
|
||||
"trap and area-trigger web-runtime behavior",
|
||||
"boss and add visual composites",
|
||||
"loot and completion scripting"
|
||||
]
|
||||
},
|
||||
"unresolved": [
|
||||
"The server-side spell schedule and encounter script are absent.",
|
||||
"Creature template stats, display IDs, and exact positions are absent.",
|
||||
"ASC D0/D1/D2 spell ranks cannot be mapped safely beyond D0 without a surviving difficulty script."
|
||||
]
|
||||
},
|
||||
{
|
||||
"mapId": 1781,
|
||||
"id": "forgotten-mine",
|
||||
"title": "Forgotten Mine",
|
||||
"mapDirectory": "ForgottenMine",
|
||||
"sourceClassification": "encounter-spells-creature-summon-and-gameobject-recovered",
|
||||
"environment": {
|
||||
"sourceHash": "693b7067aa1109e14beb944bc95aed8299bf64e2ec6ae3dc43f4fab7d18f57b6",
|
||||
"anchors": {
|
||||
"player": [
|
||||
1285.886108,
|
||||
149.58075,
|
||||
1724.264526
|
||||
],
|
||||
"trash": [
|
||||
1857.461304,
|
||||
136.080749,
|
||||
1871.884277
|
||||
],
|
||||
"boss": [
|
||||
2246.06665,
|
||||
198.180786,
|
||||
2147.866699
|
||||
]
|
||||
},
|
||||
"semanticStatus": "provisional-main-navigation-component"
|
||||
},
|
||||
"encounters": [
|
||||
{
|
||||
"encounterId": 5069,
|
||||
"modeId": 0,
|
||||
"name": "Geolord Vek",
|
||||
"creatureId": 254272,
|
||||
"identityConfidence": "exact"
|
||||
},
|
||||
{
|
||||
"encounterId": 5071,
|
||||
"modeId": 2,
|
||||
"name": "Geolord Vek",
|
||||
"creatureId": 254272,
|
||||
"identityConfidence": "exact"
|
||||
}
|
||||
],
|
||||
"entities": [
|
||||
{
|
||||
"entryId": 254272,
|
||||
"name": "Geolord Vek",
|
||||
"role": "boss",
|
||||
"sourceKind": "encounter-dbc"
|
||||
},
|
||||
{
|
||||
"entryId": 254278,
|
||||
"name": "Geospike summoned unit",
|
||||
"role": "hazard",
|
||||
"sourceKind": "spell-linked-name-inferred"
|
||||
}
|
||||
],
|
||||
"gameObjects": [
|
||||
{
|
||||
"entryId": 254051,
|
||||
"name": "Resonite Shard",
|
||||
"role": "clickable-encounter-countermeasure",
|
||||
"sourceKind": "spell-linked-name-from-create-spell"
|
||||
}
|
||||
],
|
||||
"currentRuntime": {
|
||||
"bossEntityId": "entry-254272",
|
||||
"proceduralTrashSpawnCount": 15,
|
||||
"proceduralMobEntries": [
|
||||
{
|
||||
"entityId": "forgotten-mine-guardian",
|
||||
"serverEntry": 4175632753
|
||||
},
|
||||
{
|
||||
"entityId": "forgotten-mine-caster",
|
||||
"serverEntry": 647988074
|
||||
},
|
||||
{
|
||||
"entityId": "forgotten-mine-brute",
|
||||
"serverEntry": 2677742134
|
||||
}
|
||||
]
|
||||
},
|
||||
"sourceRecovery": {
|
||||
"association": "explicit-vek-client-cluster",
|
||||
"associationConfidence": "high",
|
||||
"reason": "The contiguous cluster contains Vek Death and Vek Reset control rows alongside the complete earth and Resonite kit.",
|
||||
"spellRows": {
|
||||
"354000": "Stonebreaker",
|
||||
"354001": "Quake",
|
||||
"354002": "Stone Shield",
|
||||
"354003": "Cosmetic Fear",
|
||||
"354004": "Geospike",
|
||||
"354005": "Geospike",
|
||||
"354006": "Geospike",
|
||||
"354007": "Vek Death",
|
||||
"354008": "Vek Reset",
|
||||
"354009": "Quake",
|
||||
"354010": "Quake",
|
||||
"354011": "Stone Shield",
|
||||
"354012": "Stone Shield",
|
||||
"354013": "Resonance",
|
||||
"354014": "Resonance",
|
||||
"354015": "Geode Barrage",
|
||||
"354016": "Geode Barrage",
|
||||
"354017": "Ruptured Earth",
|
||||
"354018": "Ruptured Earth",
|
||||
"354019": "Stoneskin",
|
||||
"354020": "Stoneskin",
|
||||
"354021": "Stonebreaker",
|
||||
"354022": "Stonebreaker",
|
||||
"354023": "Stonebreaker",
|
||||
"354024": "Stonebreaker",
|
||||
"354025": "Geospike",
|
||||
"354026": "Geospike",
|
||||
"354027": "Geode Barrage",
|
||||
"354028": "Geode Barrage",
|
||||
"354029": "Geode Barrage",
|
||||
"354030": "Geode Barrage",
|
||||
"354031": "Resonite Cleanse",
|
||||
"354032": "Create Resonite Shard"
|
||||
},
|
||||
"families": {
|
||||
"control": [
|
||||
354007,
|
||||
354008
|
||||
],
|
||||
"quake": [
|
||||
354001,
|
||||
354009,
|
||||
354010
|
||||
],
|
||||
"stoneShield": [
|
||||
354002,
|
||||
354011,
|
||||
354012
|
||||
],
|
||||
"geospike": [
|
||||
354004,
|
||||
354005,
|
||||
354006,
|
||||
354025,
|
||||
354026
|
||||
],
|
||||
"resonance": [
|
||||
354013,
|
||||
354014
|
||||
],
|
||||
"geodeBarrage": [
|
||||
354015,
|
||||
354016,
|
||||
354027,
|
||||
354028,
|
||||
354029,
|
||||
354030
|
||||
],
|
||||
"rupturedEarth": [
|
||||
354017,
|
||||
354018
|
||||
],
|
||||
"stoneskin": [
|
||||
354019,
|
||||
354020
|
||||
],
|
||||
"stonebreaker": [
|
||||
354000,
|
||||
354021,
|
||||
354022,
|
||||
354023,
|
||||
354024
|
||||
],
|
||||
"resonite": [
|
||||
354031,
|
||||
354032
|
||||
]
|
||||
},
|
||||
"summonLinks": [
|
||||
{
|
||||
"spellId": 354004,
|
||||
"effectIndex": 0,
|
||||
"effectType": 28,
|
||||
"targetKind": "creature",
|
||||
"entryId": 254278
|
||||
},
|
||||
{
|
||||
"spellId": 354032,
|
||||
"effectIndex": 0,
|
||||
"effectType": 76,
|
||||
"targetKind": "gameobject",
|
||||
"entryId": 254051
|
||||
}
|
||||
]
|
||||
},
|
||||
"adaptation": {
|
||||
"status": "source-backed-custom-cadence-required",
|
||||
"populationPlan": {
|
||||
"disposition": "retain-current-route-as-explicit-adaptation",
|
||||
"packCount": 5,
|
||||
"membersPerPack": 3,
|
||||
"authoredMobs": [
|
||||
{
|
||||
"serverEntry": 4175632753,
|
||||
"name": "Forgotten Mine Stoneguard",
|
||||
"role": "shielding-melee"
|
||||
},
|
||||
{
|
||||
"serverEntry": 647988074,
|
||||
"name": "Forgotten Mine Geomancer",
|
||||
"role": "geode-ranged"
|
||||
},
|
||||
{
|
||||
"serverEntry": 2677742134,
|
||||
"name": "Forgotten Mine Quarry Brute",
|
||||
"role": "frontal-bruiser"
|
||||
}
|
||||
]
|
||||
},
|
||||
"encounterPlan": [
|
||||
"Geolord Vek 254272 remains at the provisional boss anchor and opens with Stone Shield.",
|
||||
"Stonebreaker is a telegraphed frontal strike; Quake is a short-range raid pulse; Geode Barrage repeatedly targets one player; Ruptured Earth creates a marked split-damage pillar.",
|
||||
"Geospike 354004 summons entry 254278 after a clearly visible ground telegraph. The hazard erupts with the matching Geospike damage row and then despawns.",
|
||||
"Three clickable Resonite Shard gameobjects 254051 appear at authored offsets around the boss. Clicking consumes one and applies Resonite Cleanse 354031, which removes one active earth protection or prevents the next Resonance hit.",
|
||||
"At 50 percent health, Resonance begins and Vek alternates Quake with Ruptured Earth. Missing crystals respawn once per 30 second cycle.",
|
||||
"The official changelog requires large, obvious clickable crystal bounds and a high-contrast Geospike telegraph."
|
||||
],
|
||||
"authoredGameObjectOffsetsFromBoss": [
|
||||
[
|
||||
-12,
|
||||
0,
|
||||
0
|
||||
],
|
||||
[
|
||||
6,
|
||||
0,
|
||||
10.392
|
||||
],
|
||||
[
|
||||
6,
|
||||
0,
|
||||
-10.392
|
||||
]
|
||||
],
|
||||
"authoredCadence": {
|
||||
"stonebreakerMs": 6500,
|
||||
"geodeBarrageMs": 11000,
|
||||
"geospikeMs": 15000,
|
||||
"quakeMs": 18000,
|
||||
"rupturedEarthMs": 22000,
|
||||
"resoniteCycleMs": 30000
|
||||
},
|
||||
"mustBeCustomAuthored": [
|
||||
"all trash identities, placements, and AI",
|
||||
"all boss cadence, target selection, and phase thresholds",
|
||||
"the exact Resonite Cleanse interaction because the server script is absent",
|
||||
"crystal placement, interaction bounds, and respawn rules",
|
||||
"Geospike hazard placement and lifetime",
|
||||
"boss, hazard, trash, and crystal visual composites",
|
||||
"loot and completion scripting"
|
||||
]
|
||||
},
|
||||
"unresolved": [
|
||||
"Paired low/high-value spell rows do not expose a safe difficulty-label mapping.",
|
||||
"The authoritative creature and gameobject spawn coordinates are absent.",
|
||||
"Creature template stats and visual display IDs are absent.",
|
||||
"The exact Resonite click result is only constrained by client spell text and official changelog behavior."
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,97 @@
|
||||
# Ascension custom dungeon source recovery
|
||||
|
||||
This report separates recoverable client facts from the behavior that HealerMan must author for Tinkertech Showdown (821), Frozen Reach (908), and Forgotten Mine (1781). The machine-readable companion is `ASCENSION_CUSTOM_DUNGEON_RECOVERY.json`; its validator checks both the current generated catalogs and the original installed-client `Spell.dbc`.
|
||||
|
||||
## Result
|
||||
|
||||
| Map | Recovered exactly | Still requires adaptation |
|
||||
| --- | --- | --- |
|
||||
| 821 Tinkertech Showdown | Client environment, encounter 9013, boss creature 663012 | Every spawn, trash identity, gameobject, spell binding, boss schedule, phase, visual, loot, and completion rule |
|
||||
| 908 Frozen Reach | Client environment, encounters 2168/2170, Alva 97700, Arktos 97701, three summoned entries, and 85 encounter spell rows | Positions, stats, cast schedule, target rules, phase scripting, web hazards, visuals, loot, and completion rules |
|
||||
| 1781 Forgotten Mine | Client environment, encounters 5069/5071, Geolord Vek 254272, Geospike summon 254278, Resonite Shard gameobject 254051, and 33 encounter spell rows | Positions, stats, cast schedule, trash roster, crystal behavior, hazard lifetime, visuals, loot, and completion rules |
|
||||
|
||||
The local server/reference repositories, installed WDB caches, addon databases, and the public Questie Ascension snapshot do not contain surviving creature templates, world spawn rows, SmartAI, or encounter scripts for these maps. Client spell rows prove names and summon targets, but they do not prove cast cadence, ownership in every case, or coordinates.
|
||||
|
||||
## 821: Tinkertech Showdown
|
||||
|
||||
Exact client facts:
|
||||
|
||||
- Map directory: `TinketechShowdown` (the client spelling omits the second `r`). Source hash: `323c47c081d0a6c39daf9878284863c21e3e38dbced2ba3f58d1d157d080d41d`.
|
||||
- The recovered root WMO is `World/wmo/Dungeon/AZ_Subway/Subway_Dungeon.wmo`.
|
||||
- Manastorm encounter 9013 names Mechatron and binds it to creature 663012 in mode 2.
|
||||
- The player, trash, and boss anchors in the manifest are geometry-derived and provisional, not recovered server spawn points.
|
||||
|
||||
Candidate-only evidence:
|
||||
|
||||
- Spell 257438 `Rocket`.
|
||||
- Spells 257459-257461 `Gatling Missile Barrage` / `Gatling Missile`.
|
||||
- Spell 257462 `Sound: Goblin Head Machine Loop`.
|
||||
- Spell 257470 `Incineration Beam`, spell 257471 `Energy Ball`, and spells 257472-257473 `Electrified Zone` / `Electric Shock`.
|
||||
|
||||
Those rows form a coherent goblin-machine cluster, but no surviving source binds them to creature 663012. They must stay labeled as an adaptation if used.
|
||||
|
||||
Concrete adaptation:
|
||||
|
||||
- Retain the current route as five authored three-creature packs. Recast generated entries 2629079128, 3849447491, and 1787979165 as `Tinkertech Guardbot`, `Tinkertech Coilcaster`, and `Tinkertech Demolisher`; these IDs and names remain HealerMan-owned.
|
||||
- Keep Mechatron 663012 at the provisional boss anchor.
|
||||
- Use an authored rotation of Rocket reticles, Gatling lane impacts, Incineration Beam lane sweeps, and alternating Electrified Zones. At 35% health, accelerate the rotation and add two Coilcasters.
|
||||
- Model platform destruction as temporary lane disabling because the imported web geometry is immutable.
|
||||
|
||||
Everything in that combat implementation except the boss identity and candidate spell names is custom-authored. It should not be represented as recovered Ascension parity.
|
||||
|
||||
## 908: Frozen Reach
|
||||
|
||||
Exact client facts:
|
||||
|
||||
- Map directory: `Alvaencounter`. Source hash: `5ab771df79c0e062cea3ebda4e416a9245bcf8a4cc6da048077df5e674081f97`.
|
||||
- Manastorm encounters 2168 and 2170 name Alva and bind her to creature 97700 in modes 0 and 2.
|
||||
- The official Ascension database identifies Alva as creature 97700 and Arktos as creature 97701.
|
||||
- Spell 255363 summons creature 97703, spell 255421 summons creature 97731, and spell 255433 summons creature 97770. In context these are the Blast Arrow unit, Explosive Trap, and Alvajar add.
|
||||
- The client cluster spans 85 exact rows from 255347 through 255472. The principal families are Rain of Arrows, Unbridled Arrows, Blast Arrow, Cluster Shot, Pact of the Hunt, Ice Rock, Carnivorous Bite, Frost Shield, Set Ablaze, Blaze, Frost Strike, Frost Roar, Lacerate, Shield Wall, Shadow Shroud Surge/Rebirth, Vengeful Bolt, Shadow Veil Lance, Sphere of Grief and Wrath, Alva's Grief/Wrath, Explosive Trap, and Army of the Dead.
|
||||
- The official changelog confirms that the Blast Arrow/“Blast Shot” interaction can hit Arktos and that Shadow Shroud Rebirth reaches full damage scaling at five or more players.
|
||||
|
||||
Concrete adaptation:
|
||||
|
||||
- Remove the current 15 procedural hallway creatures (entries 1606324391, 854807736, and 2855026892). Available evidence describes a contained Alva/Arktos encounter and provides no support for that generic trash population.
|
||||
- Start Alva 97700 and Arktos 97701 together with Pact of the Hunt. Give Alva the recovered ranged/trap kit and Arktos the recovered bite, ice, roar, lacerate, and defensive kit.
|
||||
- Allow Blast Arrow to apply Set Ablaze to Arktos, forcing panic movement and increased damage taken.
|
||||
- On Arktos's death, leave Alva's Grief at the corpse, cast Shadow Shroud Rebirth, summon four Alvajar 97770, and move Alva into the recovered vengeance spell family.
|
||||
- Preserve D1/D2 spell variants as source data but use D0 for the current normal experience until a surviving difficulty mapping is found.
|
||||
|
||||
The exact cadence in the JSON is an explicit HealerMan proposal. Initial positions, transition rules, summon formation, stats, targeting, and hazard implementation all remain custom-authored.
|
||||
|
||||
## 1781: Forgotten Mine
|
||||
|
||||
Exact client facts:
|
||||
|
||||
- Map directory: `ForgottenMine`. Source hash: `693b7067aa1109e14beb944bc95aed8299bf64e2ec6ae3dc43f4fab7d18f57b6`.
|
||||
- Manastorm encounters 5069 and 5071 name Geolord Vek and bind him to creature 254272 in modes 0 and 2.
|
||||
- The contiguous 354000-354032 spell cluster explicitly contains `Vek Death` and `Vek Reset`, tying the cluster to Vek.
|
||||
- The recovered families are Stonebreaker, Quake, Stone Shield, Geospike, Resonance, Geode Barrage, Ruptured Earth, Stoneskin, Resonite Cleanse, and Create Resonite Shard.
|
||||
- Spell 354004 summons Geospike creature 254278. Spell 354032 creates gameobject 254051, named by the spell as a Resonite Shard.
|
||||
- Client text says Resonite counters the power of Earth. Official changelogs additionally require larger clickable crystal bounds and a visible Geospike telegraph.
|
||||
|
||||
Concrete adaptation:
|
||||
|
||||
- Retain five authored three-creature route packs only as an explicit approximation. Recast generated entries 4175632753, 647988074, and 2677742134 as `Forgotten Mine Stoneguard`, `Forgotten Mine Geomancer`, and `Forgotten Mine Quarry Brute`; these are not recovered Ascension creatures.
|
||||
- Keep Geolord Vek 254272 at the provisional boss anchor. Rotate Stonebreaker, Quake, Geode Barrage, Geospike, and Ruptured Earth, then begin Resonance at 50% health.
|
||||
- Spawn three clickable Resonite Shards 254051 at the authored triangular offsets in the JSON. Consuming a shard applies Resonite Cleanse 354031 and removes one active earth protection or prevents the next Resonance hit.
|
||||
- Give Geospike 254278 a high-contrast ground warning, eruption, and despawn sequence. Make crystal interaction bounds deliberately generous.
|
||||
|
||||
The crystal effect is constrained by spell text and changelog behavior but its exact server-side rule did not survive. Trash, timing, targeting, positions, respawn cadence, and visuals are custom-authored.
|
||||
|
||||
## Integration boundary
|
||||
|
||||
The recovery files intentionally do not change `compile-campaign-catalog.mjs`. Runtime integration should consume the recovered IDs and family lists while preserving three provenance labels:
|
||||
|
||||
- `exact`: copied from checksummed client/catalog data.
|
||||
- `spellLinked`: an entry ID read directly from a DBC summon effect; its descriptive name can still be contextual.
|
||||
- `authored`: HealerMan timing, placement, visuals, or behavior.
|
||||
|
||||
Validate the recovery against the current catalogs and installed client with:
|
||||
|
||||
```powershell
|
||||
node scripts/dungeon-pipeline/validate-ascension-custom-dungeon-recovery.mjs
|
||||
```
|
||||
|
||||
Use `--skip-dbc` only on machines without the checksummed Area-52 client, or pass another byte-identical file with `--dbc <path>`.
|
||||
@@ -9,7 +9,10 @@
|
||||
"mapDirectory": "World/Maps/TempestKeepArcane",
|
||||
"environmentMode": "global-wmo",
|
||||
"coordinateAlignment": "source",
|
||||
"difficultyVariants": [{"id": "normal", "difficulty": "normal", "spawnMask": 1, "levelRange": [65, 70]}],
|
||||
"difficultyVariants": [
|
||||
{"id": "normal", "difficulty": "normal", "spawnMask": 1, "levelRange": [65, 70]},
|
||||
{"id": "heroic", "difficulty": "heroic", "spawnMask": 2, "levelRange": [70, 70]}
|
||||
],
|
||||
"clientSource": {"rootEnvironmentVariable": "WOW_CLIENT_ROOT", "relativeDefault": "../wow335a"},
|
||||
"serverSource": {"rootEnvironmentVariable": "WOW_SERVER_DATA", "adapter": "normalized-json", "readOnly": true},
|
||||
"extraction": {"rootWmo": "World/wmo/Dungeon/OL_TempestKeep/TK_Arcane.wmo", "doodadSets": ["Set_$DefaultGlobal"]},
|
||||
|
||||
@@ -9,7 +9,10 @@
|
||||
"mapDirectory": "World/Maps/AuchindounDraenei",
|
||||
"environmentMode": "global-wmo",
|
||||
"coordinateAlignment": "source",
|
||||
"difficultyVariants": [{"id": "normal", "difficulty": "normal", "spawnMask": 1, "levelRange": [65, 70]}],
|
||||
"difficultyVariants": [
|
||||
{"id": "normal", "difficulty": "normal", "spawnMask": 1, "levelRange": [65, 70]},
|
||||
{"id": "heroic", "difficulty": "heroic", "spawnMask": 2, "levelRange": [70, 70]}
|
||||
],
|
||||
"clientSource": {"rootEnvironmentVariable": "WOW_CLIENT_ROOT", "relativeDefault": "../wow335a"},
|
||||
"serverSource": {"rootEnvironmentVariable": "WOW_SERVER_DATA", "adapter": "normalized-json", "readOnly": true},
|
||||
"extraction": {"rootWmo": "World/wmo/Dungeon/OL_Auchindoun/Draenei_wing.wmo", "doodadSets": ["Set_$DefaultGlobal"]},
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"slug": "blades-edge-arena",
|
||||
"title": "Blade's Edge Arena",
|
||||
"mapId": 562,
|
||||
"lfgDungeonIds": [],
|
||||
"expansion": "the-burning-crusade",
|
||||
"clientBuild": "3.3.5a",
|
||||
"mapDirectory": "World/Maps/bladesedgearena",
|
||||
"environmentMode": "global-wmo",
|
||||
"difficultyVariants": [{"id": "rated", "difficulty": "normal", "spawnMask": 1, "levelRange": [80, 80]}],
|
||||
"clientSource": {"rootEnvironmentVariable": "WOW_CLIENT_ROOT", "relativeDefault": "../wow335a"},
|
||||
"serverSource": {"rootEnvironmentVariable": "WOW_SERVER_DATA", "adapter": "normalized-json", "readOnly": true},
|
||||
"extraction": {"rootWmo": "World/wmo/PvP/Buildings/AncientOrcArena/ancorc_PVPstadium.wmo", "doodadSets": ["Set_$DefaultGlobal"]},
|
||||
"navigation": {"cellSize": 0.2, "cellHeight": 0.1, "agentHeight": 1.8, "agentRadius": 0.36, "agentMaxClimb": 0.5, "agentMaxSlope": 50},
|
||||
"review": {"entrance": "required", "bossOrder": "not-applicable", "optionalEncounters": "not-applicable", "presentation": "required", "offMeshLinks": "required"},
|
||||
"exceptions": []
|
||||
}
|
||||
@@ -9,7 +9,10 @@
|
||||
"mapDirectory": "World/Maps/HellfireDemon",
|
||||
"environmentMode": "global-wmo",
|
||||
"coordinateAlignment": "source",
|
||||
"difficultyVariants": [{"id": "normal", "difficulty": "normal", "spawnMask": 1, "levelRange": [58, 70]}],
|
||||
"difficultyVariants": [
|
||||
{"id": "normal", "difficulty": "normal", "spawnMask": 1, "levelRange": [58, 70]},
|
||||
{"id": "heroic", "difficulty": "heroic", "spawnMask": 2, "levelRange": [70, 70]}
|
||||
],
|
||||
"clientSource": {"rootEnvironmentVariable": "WOW_CLIENT_ROOT", "relativeDefault": "../wow335a"},
|
||||
"serverSource": {"rootEnvironmentVariable": "WOW_SERVER_DATA", "adapter": "normalized-json", "readOnly": true},
|
||||
"extraction": {"rootWmo": "World/wmo/Dungeon/Hellfire/hellfire_DemonWing.wmo", "doodadSets": ["Set_$DefaultGlobal"]},
|
||||
|
||||
@@ -9,7 +9,10 @@
|
||||
"mapDirectory": "World/Maps/TempestKeepAtrium",
|
||||
"environmentMode": "global-wmo",
|
||||
"coordinateAlignment": "source",
|
||||
"difficultyVariants": [{"id": "normal", "difficulty": "normal", "spawnMask": 1, "levelRange": [65, 70]}],
|
||||
"difficultyVariants": [
|
||||
{"id": "normal", "difficulty": "normal", "spawnMask": 1, "levelRange": [65, 70]},
|
||||
{"id": "heroic", "difficulty": "heroic", "spawnMask": 2, "levelRange": [70, 70]}
|
||||
],
|
||||
"clientSource": {"rootEnvironmentVariable": "WOW_CLIENT_ROOT", "relativeDefault": "../wow335a"},
|
||||
"serverSource": {"rootEnvironmentVariable": "WOW_SERVER_DATA", "adapter": "normalized-json", "readOnly": true},
|
||||
"extraction": {"rootWmo": "World/wmo/Dungeon/OL_TempestKeep/TK_Atrium.wmo", "doodadSets": ["Set_$DefaultGlobal"]},
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"slug": "dalaran-sewers",
|
||||
"title": "Dalaran Sewers",
|
||||
"mapId": 617,
|
||||
"lfgDungeonIds": [],
|
||||
"expansion": "wrath-of-the-lich-king",
|
||||
"clientBuild": "3.3.5a",
|
||||
"mapDirectory": "World/Maps/DalaranArena",
|
||||
"environmentMode": "global-wmo",
|
||||
"difficultyVariants": [{"id": "rated", "difficulty": "normal", "spawnMask": 1, "levelRange": [80, 80]}],
|
||||
"clientSource": {"rootEnvironmentVariable": "WOW_CLIENT_ROOT", "relativeDefault": "../wow335a"},
|
||||
"serverSource": {"rootEnvironmentVariable": "WOW_SERVER_DATA", "adapter": "normalized-json", "readOnly": true},
|
||||
"extraction": {"rootWmo": "World/wmo/PvP/Buildings/Dalaran/dalaran_sewer_arena.wmo", "doodadSets": ["Set_$DefaultGlobal"]},
|
||||
"navigation": {"cellSize": 0.2, "cellHeight": 0.1, "agentHeight": 1.8, "agentRadius": 0.36, "agentMaxClimb": 0.5, "agentMaxSlope": 50},
|
||||
"review": {"entrance": "required", "bossOrder": "not-applicable", "optionalEncounters": "not-applicable", "presentation": "required", "offMeshLinks": "required"},
|
||||
"exceptions": []
|
||||
}
|
||||
@@ -10,7 +10,10 @@
|
||||
"environmentMode": "global-wmo",
|
||||
"coordinateAlignment": "source-transform",
|
||||
"coordinateTransform": {"origin": [1262.4427, -60.8902, 1622.5397], "yawDegrees": 262.143},
|
||||
"difficultyVariants": [{"id": "normal", "difficulty": "normal", "spawnMask": 1, "levelRange": [58, 70]}],
|
||||
"difficultyVariants": [
|
||||
{"id": "normal", "difficulty": "normal", "spawnMask": 1, "levelRange": [58, 70]},
|
||||
{"id": "heroic", "difficulty": "heroic", "spawnMask": 2, "levelRange": [70, 70]}
|
||||
],
|
||||
"clientSource": {"rootEnvironmentVariable": "WOW_CLIENT_ROOT", "relativeDefault": "../wow335a"},
|
||||
"serverSource": {"rootEnvironmentVariable": "WOW_SERVER_DATA", "adapter": "normalized-json", "readOnly": true},
|
||||
"extraction": {"rootWmo": "World/wmo/Dungeon/Hellfire/Hellfire_ramparts.wmo", "doodadSets": ["Set_$DefaultGlobal"]},
|
||||
|
||||
@@ -9,7 +9,10 @@
|
||||
"mapDirectory": "World/Maps/Sunwell5ManFix",
|
||||
"environmentMode": "global-wmo",
|
||||
"coordinateAlignment": "source",
|
||||
"difficultyVariants": [{"id": "normal", "difficulty": "normal", "spawnMask": 1, "levelRange": [70, 70]}],
|
||||
"difficultyVariants": [
|
||||
{"id": "normal", "difficulty": "normal", "spawnMask": 1, "levelRange": [70, 70]},
|
||||
{"id": "heroic", "difficulty": "heroic", "spawnMask": 2, "levelRange": [70, 70]}
|
||||
],
|
||||
"clientSource": {"rootEnvironmentVariable": "WOW_CLIENT_ROOT", "relativeDefault": "../wow335a"},
|
||||
"serverSource": {"rootEnvironmentVariable": "WOW_SERVER_DATA", "adapter": "normalized-json", "readOnly": true},
|
||||
"extraction": {"rootWmo": "World/wmo/Dungeon/QT_Sunwell_5Man/Sunwell_5Man.wmo", "doodadSets": ["Set_$DefaultGlobal"]},
|
||||
|
||||
@@ -9,7 +9,10 @@
|
||||
"mapDirectory": "World/Maps/AuchindounEthereal",
|
||||
"environmentMode": "global-wmo",
|
||||
"coordinateAlignment": "source",
|
||||
"difficultyVariants": [{"id": "normal", "difficulty": "normal", "spawnMask": 1, "levelRange": [65, 70]}],
|
||||
"difficultyVariants": [
|
||||
{"id": "normal", "difficulty": "normal", "spawnMask": 1, "levelRange": [65, 70]},
|
||||
{"id": "heroic", "difficulty": "heroic", "spawnMask": 2, "levelRange": [70, 70]}
|
||||
],
|
||||
"clientSource": {"rootEnvironmentVariable": "WOW_CLIENT_ROOT", "relativeDefault": "../wow335a"},
|
||||
"serverSource": {"rootEnvironmentVariable": "WOW_SERVER_DATA", "adapter": "normalized-json", "readOnly": true},
|
||||
"extraction": {"rootWmo": "World/wmo/Dungeon/OL_Auchindoun/ethereal_wing.wmo", "doodadSets": ["Set_$DefaultGlobal"]},
|
||||
|
||||
@@ -9,7 +9,10 @@
|
||||
"mapDirectory": "World/Maps/TempestKeepFactory",
|
||||
"environmentMode": "global-wmo",
|
||||
"coordinateAlignment": "source",
|
||||
"difficultyVariants": [{"id": "normal", "difficulty": "normal", "spawnMask": 1, "levelRange": [65, 70]}],
|
||||
"difficultyVariants": [
|
||||
{"id": "normal", "difficulty": "normal", "spawnMask": 1, "levelRange": [65, 70]},
|
||||
{"id": "heroic", "difficulty": "heroic", "spawnMask": 2, "levelRange": [70, 70]}
|
||||
],
|
||||
"clientSource": {"rootEnvironmentVariable": "WOW_CLIENT_ROOT", "relativeDefault": "../wow335a"},
|
||||
"serverSource": {"rootEnvironmentVariable": "WOW_SERVER_DATA", "adapter": "normalized-json", "readOnly": true},
|
||||
"extraction": {"rootWmo": "World/wmo/Dungeon/OL_TempestKeep/TK_Factory.wmo", "doodadSets": ["Set_$DefaultGlobal"]},
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"slug": "nagrand-arena",
|
||||
"title": "Nagrand Arena",
|
||||
"mapId": 559,
|
||||
"lfgDungeonIds": [],
|
||||
"expansion": "the-burning-crusade",
|
||||
"clientBuild": "3.3.5a",
|
||||
"mapDirectory": "World/Maps/PVPZone01",
|
||||
"environmentMode": "global-wmo",
|
||||
"difficultyVariants": [{"id": "rated", "difficulty": "normal", "spawnMask": 1, "levelRange": [80, 80]}],
|
||||
"clientSource": {"rootEnvironmentVariable": "WOW_CLIENT_ROOT", "relativeDefault": "../wow335a"},
|
||||
"serverSource": {"rootEnvironmentVariable": "WOW_SERVER_DATA", "adapter": "normalized-json", "readOnly": true},
|
||||
"extraction": {"rootWmo": "World/wmo/Dungeon/OL_OgreHuts/PVP_Ogre_Arena01.wmo", "doodadSets": ["Set_$DefaultGlobal"]},
|
||||
"navigation": {"cellSize": 0.2, "cellHeight": 0.1, "agentHeight": 1.8, "agentRadius": 0.36, "agentMaxClimb": 0.5, "agentMaxSlope": 50},
|
||||
"review": {"entrance": "required", "bossOrder": "not-applicable", "optionalEncounters": "not-applicable", "presentation": "required", "offMeshLinks": "required"},
|
||||
"exceptions": []
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"slug": "ring-of-valor",
|
||||
"title": "Ring of Valor",
|
||||
"mapId": 618,
|
||||
"lfgDungeonIds": [],
|
||||
"expansion": "wrath-of-the-lich-king",
|
||||
"clientBuild": "3.3.5a",
|
||||
"mapDirectory": "World/Maps/OrgrimmarArena",
|
||||
"environmentMode": "global-wmo",
|
||||
"difficultyVariants": [{"id": "rated", "difficulty": "normal", "spawnMask": 1, "levelRange": [80, 80]}],
|
||||
"clientSource": {"rootEnvironmentVariable": "WOW_CLIENT_ROOT", "relativeDefault": "../wow335a"},
|
||||
"serverSource": {"rootEnvironmentVariable": "WOW_SERVER_DATA", "adapter": "normalized-json", "readOnly": true},
|
||||
"extraction": {"rootWmo": "World/wmo/PvP/Buildings/Orgrimmar/OrgrimmarArena.wmo", "doodadSets": ["Set_$DefaultGlobal"]},
|
||||
"navigation": {"cellSize": 0.2, "cellHeight": 0.1, "agentHeight": 1.8, "agentRadius": 0.36, "agentMaxClimb": 0.5, "agentMaxSlope": 50},
|
||||
"review": {"entrance": "required", "bossOrder": "not-applicable", "optionalEncounters": "not-applicable", "presentation": "required", "offMeshLinks": "required"},
|
||||
"exceptions": []
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"slug": "ruins-of-lordaeron",
|
||||
"title": "Ruins of Lordaeron",
|
||||
"mapId": 572,
|
||||
"lfgDungeonIds": [],
|
||||
"expansion": "the-burning-crusade",
|
||||
"clientBuild": "3.3.5a",
|
||||
"mapDirectory": "World/Maps/PVPLordaeron",
|
||||
"environmentMode": "global-wmo",
|
||||
"difficultyVariants": [{"id": "rated", "difficulty": "normal", "spawnMask": 1, "levelRange": [80, 80]}],
|
||||
"clientSource": {"rootEnvironmentVariable": "WOW_CLIENT_ROOT", "relativeDefault": "../wow335a"},
|
||||
"serverSource": {"rootEnvironmentVariable": "WOW_SERVER_DATA", "adapter": "normalized-json", "readOnly": true},
|
||||
"extraction": {"rootWmo": "World/wmo/PvP/Buildings/Lordaeron/PVP_Lordaeron_Arena.wmo", "doodadSets": ["Set_$DefaultGlobal"]},
|
||||
"navigation": {"cellSize": 0.2, "cellHeight": 0.1, "agentHeight": 1.8, "agentRadius": 0.36, "agentMaxClimb": 0.5, "agentMaxSlope": 50},
|
||||
"review": {"entrance": "required", "bossOrder": "not-applicable", "optionalEncounters": "not-applicable", "presentation": "required", "offMeshLinks": "required"},
|
||||
"exceptions": []
|
||||
}
|
||||
@@ -9,7 +9,10 @@
|
||||
"mapDirectory": "World/Maps/AuchindounDemon",
|
||||
"environmentMode": "global-wmo",
|
||||
"coordinateAlignment": "source",
|
||||
"difficultyVariants": [{"id": "normal", "difficulty": "normal", "spawnMask": 1, "levelRange": [65, 70]}],
|
||||
"difficultyVariants": [
|
||||
{"id": "normal", "difficulty": "normal", "spawnMask": 1, "levelRange": [65, 70]},
|
||||
{"id": "heroic", "difficulty": "heroic", "spawnMask": 2, "levelRange": [70, 70]}
|
||||
],
|
||||
"clientSource": {"rootEnvironmentVariable": "WOW_CLIENT_ROOT", "relativeDefault": "../wow335a"},
|
||||
"serverSource": {"rootEnvironmentVariable": "WOW_SERVER_DATA", "adapter": "normalized-json", "readOnly": true},
|
||||
"extraction": {"rootWmo": "World/wmo/Dungeon/OL_Auchindoun/demon_wing.wmo", "doodadSets": ["Set_$DefaultGlobal"]},
|
||||
|
||||
@@ -9,7 +9,10 @@
|
||||
"mapDirectory": "World/Maps/AuchindounShadow",
|
||||
"environmentMode": "global-wmo",
|
||||
"coordinateAlignment": "source",
|
||||
"difficultyVariants": [{"id": "normal", "difficulty": "normal", "spawnMask": 1, "levelRange": [65, 70]}],
|
||||
"difficultyVariants": [
|
||||
{"id": "normal", "difficulty": "normal", "spawnMask": 1, "levelRange": [65, 70]},
|
||||
{"id": "heroic", "difficulty": "heroic", "spawnMask": 2, "levelRange": [70, 70]}
|
||||
],
|
||||
"clientSource": {"rootEnvironmentVariable": "WOW_CLIENT_ROOT", "relativeDefault": "../wow335a"},
|
||||
"serverSource": {"rootEnvironmentVariable": "WOW_SERVER_DATA", "adapter": "normalized-json", "readOnly": true},
|
||||
"extraction": {"rootWmo": "World/wmo/Dungeon/OL_Auchindoun/shadow_council_wing.wmo", "doodadSets": ["Set_$DefaultGlobal"]},
|
||||
|
||||
@@ -9,7 +9,10 @@
|
||||
"mapDirectory": "World/Maps/HellfireMilitary",
|
||||
"environmentMode": "global-wmo",
|
||||
"coordinateAlignment": "source",
|
||||
"difficultyVariants": [{"id": "normal", "difficulty": "normal", "spawnMask": 1, "levelRange": [60, 70]}],
|
||||
"difficultyVariants": [
|
||||
{"id": "normal", "difficulty": "normal", "spawnMask": 1, "levelRange": [60, 70]},
|
||||
{"id": "heroic", "difficulty": "heroic", "spawnMask": 2, "levelRange": [70, 70]}
|
||||
],
|
||||
"clientSource": {"rootEnvironmentVariable": "WOW_CLIENT_ROOT", "relativeDefault": "../wow335a"},
|
||||
"serverSource": {"rootEnvironmentVariable": "WOW_SERVER_DATA", "adapter": "normalized-json", "readOnly": true},
|
||||
"extraction": {"rootWmo": "World/wmo/Dungeon/Hellfire/Hellfire_Military.wmo", "doodadSets": ["Set_$DefaultGlobal"]},
|
||||
|
||||
@@ -9,7 +9,10 @@
|
||||
"mapDirectory": "World/Maps/CoilfangDraenei",
|
||||
"environmentMode": "global-wmo",
|
||||
"coordinateAlignment": "source",
|
||||
"difficultyVariants": [{"id": "normal", "difficulty": "normal", "spawnMask": 1, "levelRange": [60, 70]}],
|
||||
"difficultyVariants": [
|
||||
{"id": "normal", "difficulty": "normal", "spawnMask": 1, "levelRange": [60, 70]},
|
||||
{"id": "heroic", "difficulty": "heroic", "spawnMask": 2, "levelRange": [70, 70]}
|
||||
],
|
||||
"clientSource": {"rootEnvironmentVariable": "WOW_CLIENT_ROOT", "relativeDefault": "../wow335a"},
|
||||
"serverSource": {"rootEnvironmentVariable": "WOW_SERVER_DATA", "adapter": "normalized-json", "readOnly": true},
|
||||
"extraction": {"rootWmo": "World/wmo/Dungeon/OL_Coilfang/Coilfang_Draenei.wmo", "doodadSets": ["Set_$DefaultGlobal"]},
|
||||
|
||||
@@ -9,7 +9,10 @@
|
||||
"mapDirectory": "World/Maps/CoilfangPumping",
|
||||
"environmentMode": "global-wmo",
|
||||
"coordinateAlignment": "source",
|
||||
"difficultyVariants": [{"id": "normal", "difficulty": "normal", "spawnMask": 1, "levelRange": [60, 70]}],
|
||||
"difficultyVariants": [
|
||||
{"id": "normal", "difficulty": "normal", "spawnMask": 1, "levelRange": [60, 70]},
|
||||
{"id": "heroic", "difficulty": "heroic", "spawnMask": 2, "levelRange": [70, 70]}
|
||||
],
|
||||
"clientSource": {"rootEnvironmentVariable": "WOW_CLIENT_ROOT", "relativeDefault": "../wow335a"},
|
||||
"serverSource": {"rootEnvironmentVariable": "WOW_SERVER_DATA", "adapter": "normalized-json", "readOnly": true},
|
||||
"extraction": {"rootWmo": "World/wmo/Dungeon/OL_Coilfang/Coilfang_Pumping.wmo", "doodadSets": ["Set_$DefaultGlobal"]},
|
||||
|
||||
@@ -9,7 +9,10 @@
|
||||
"mapDirectory": "World/Maps/CoilfangMarsh",
|
||||
"environmentMode": "global-wmo",
|
||||
"coordinateAlignment": "source",
|
||||
"difficultyVariants": [{"id": "normal", "difficulty": "normal", "spawnMask": 1, "levelRange": [60, 70]}],
|
||||
"difficultyVariants": [
|
||||
{"id": "normal", "difficulty": "normal", "spawnMask": 1, "levelRange": [60, 70]},
|
||||
{"id": "heroic", "difficulty": "heroic", "spawnMask": 2, "levelRange": [70, 70]}
|
||||
],
|
||||
"clientSource": {"rootEnvironmentVariable": "WOW_CLIENT_ROOT", "relativeDefault": "../wow335a"},
|
||||
"serverSource": {"rootEnvironmentVariable": "WOW_SERVER_DATA", "adapter": "normalized-json", "readOnly": true},
|
||||
"extraction": {"rootWmo": "World/wmo/Dungeon/OL_Coilfang/Coilfang_Marsh.wmo", "doodadSets": ["Set_$DefaultGlobal"]},
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "healer-man",
|
||||
"version": "0.1.14",
|
||||
"version": "0.1.29",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "healer-man",
|
||||
"version": "0.1.14",
|
||||
"version": "0.1.29",
|
||||
"dependencies": {
|
||||
"@capacitor/android": "8.4.1",
|
||||
"@capacitor/core": "8.4.1",
|
||||
|
||||
+15
-4
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "healer-man",
|
||||
"private": true,
|
||||
"version": "0.1.14",
|
||||
"version": "0.1.29",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite --host 0.0.0.0",
|
||||
@@ -52,8 +52,11 @@
|
||||
"dungeon:five-player:import": "node scripts/dungeon-pipeline/import-five-player-dungeon.mjs",
|
||||
"dungeon:five-player:import:remaining": "node scripts/dungeon-pipeline/import-remaining-five-player-dungeons.mjs",
|
||||
"dungeon:five-player:verify": "node scripts/dungeon-pipeline/verify-five-player-dungeon-imports.mjs",
|
||||
"dungeon:wow:audit": "node scripts/dungeon-pipeline/audit-wow-dungeon-content.mjs",
|
||||
"dungeon:wow:audit": "vite-node scripts/dungeon-pipeline/audit-wow-dungeon-content.mjs",
|
||||
"dungeon:wow:functionality:audit": "vite-node scripts/dungeon-pipeline/audit-wow-dungeon-functionality.ts",
|
||||
"dungeon:wow:test": "vitest run src/game/wowDungeonContent.test.ts",
|
||||
"dungeon:wow:export-tool:test": "node --test scripts/dungeon-pipeline/wow-export-tool.test.mjs",
|
||||
"dungeon:ascension:recovery:validate": "node scripts/dungeon-pipeline/validate-ascension-custom-dungeon-recovery.mjs --skip-dbc",
|
||||
"dungeon:wow:all": "node scripts/dungeon-pipeline/run-all-wow-dungeons.mjs",
|
||||
"dungeon:extract": "node scripts/dungeon-pipeline/cli.mjs extract",
|
||||
"dungeon:creatures": "node scripts/dungeon-pipeline/cli.mjs creatures",
|
||||
@@ -63,6 +66,9 @@
|
||||
"dungeon:navmesh": "node scripts/dungeon-pipeline/cli.mjs navmesh",
|
||||
"dungeon:navmesh:conversion": "node scripts/dungeon-pipeline/cli.mjs navmesh-conversion",
|
||||
"dungeon:validate": "node scripts/dungeon-pipeline/cli.mjs validate",
|
||||
"arena:assets:build": "node scripts/arena-pipeline/build-wmo-arenas.mjs && node scripts/arena-pipeline/build-custom-arenas.mjs && node scripts/arena-pipeline/prepare-warnorken.mjs",
|
||||
"arena:assets:validate": "node scripts/arena-pipeline/validate-arenas.mjs",
|
||||
"arena:abilities:build": "node scripts/arena-pipeline/build-combat-runtime.mjs && node scripts/arena-pipeline/build-runtime-geometry.mjs",
|
||||
"dungeon:enable": "node scripts/dungeon-pipeline/cli.mjs enable",
|
||||
"runewaker:forsaken": "node \"%INIT_CWD%\\scripts\\runewaker-pipeline\\build-forsaken-abbey.mjs\"",
|
||||
"runewaker:forsaken:actors": "node scripts/runewaker-pipeline/build-forsaken-population.mjs --actors-only",
|
||||
@@ -74,6 +80,8 @@
|
||||
"runewaker:register:all": "node scripts/runewaker-pipeline/cli.mjs register-all",
|
||||
"runewaker:refresh:all": "node scripts/runewaker-pipeline/cli.mjs refresh-all",
|
||||
"runewaker:spells:refresh": "node scripts/runewaker-pipeline/export-spell-catalog.mjs",
|
||||
"runewaker:loot:refresh": "node scripts/runewaker-pipeline/export-loot-catalog.mjs",
|
||||
"runewaker:audit:formula-loot": "node --test scripts/runewaker-pipeline/runewaker-formula-export.test.mjs scripts/runewaker-pipeline/runewaker-loot-import.test.mjs && vitest run src/game/runewakerCombatFormula.test.ts src/game/runewakerLootCatalog.test.ts",
|
||||
"runewaker:bosses:refresh": "npm run runewaker:spells:refresh && node scripts/runewaker-pipeline/import-boss-mechanics.mjs",
|
||||
"runewaker:players:refresh": "node scripts/runewaker-pipeline/export-player-catalog.mjs && npm run runewaker:players:avatars",
|
||||
"runewaker:players:avatars": "node scripts/runewaker-pipeline/build-population.mjs --recipe scripts/runewaker-pipeline/recipes/runewaker-player-avatars.json --actors-only && node scripts/runewaker-pipeline/finalize-player-avatar-manifest.mjs",
|
||||
@@ -84,8 +92,11 @@
|
||||
"runewaker:audit:pose-batch": "node scripts/runewaker-pipeline/audit-animated-poses.mjs",
|
||||
"runewaker:audit:pose-master": "node scripts/runewaker-pipeline/generate-master-actor-pose-audit.mjs",
|
||||
"runewaker:audit:animations": "npm run runewaker:audit:animation-readiness && vitest run src/game/runewakerDungeonAnimation.test.ts src/game/mobAnimation.test.ts src/game/runewakerDungeonRegistry.test.ts",
|
||||
"runewaker:audit:gameplay": "node scripts/runewaker-pipeline/audit-gameplay-content.mjs",
|
||||
"runewaker:audit:gameplay": "node scripts/runewaker-pipeline/audit-gameplay-content.mjs && node --test scripts/runewaker-pipeline/encounter-implementation-report.test.mjs",
|
||||
"runewaker:audit:encounters": "node scripts/runewaker-pipeline/audit-encounter-implementation.mjs && node --test scripts/runewaker-pipeline/encounter-implementation-report.test.mjs",
|
||||
"runewaker:audit:environment-assembly": "node scripts/runewaker-pipeline/audit-environment-assembly.mjs && node --test scripts/runewaker-pipeline/environment-assembly.test.mjs",
|
||||
"runewaker:audit:navigation": "node scripts/runewaker-pipeline/analyze-navigation-gaps.mjs && vitest run src/game/runewakerObjectiveRouteAudit.test.ts",
|
||||
"runewaker:audit:material-alpha": "node scripts/runewaker-pipeline/audit-material-alpha.mjs",
|
||||
"assets:wailing:instance": "gltf-transform instance ../wow335a/dungeon-export-work/WailingCaverns/converted/wailing-caverns.visual.glb src/assets/game/dungeons/wailing-caverns/wailing-caverns-visual.glb --min 3",
|
||||
"assets:wailing:creatures:animated": "node scripts/prepareAnimatedCreatures.mjs",
|
||||
"assets:wailing:creatures:combat": "node scripts/add-combat-creature-clips.mjs",
|
||||
@@ -98,7 +109,7 @@
|
||||
"assets:performance:audit": "node scripts/asset-pipeline/audit-environment-performance.mjs",
|
||||
"balance:benchmark": "vite-node scripts/combat-benchmark/run.ts",
|
||||
"balance:smoke": "vite-node scripts/combat-benchmark/run.ts --class mage --role damage --scenario damage-single-burst --seeds 1 --duration-scale 0.2",
|
||||
"prebuild": "npm run loot:generate && npm run web:prepare && npm run assets:ktx2:audit && npm run assets:performance:audit",
|
||||
"prebuild": "npm run loot:generate && npm run arena:abilities:build && npm run web:prepare && npm run arena:assets:validate && npm run assets:ktx2:audit && npm run assets:performance:audit",
|
||||
"build": "node --max-old-space-size=8192 node_modules/typescript/bin/tsc -b && node --max-old-space-size=8192 node_modules/vite/bin/vite.js build",
|
||||
"build:android:web": "npm run prebuild && npm run android:prepare && node --max-old-space-size=8192 node_modules/typescript/bin/tsc -b && node --max-old-space-size=8192 node_modules/vite/bin/vite.js build --mode android",
|
||||
"android:sync": "npm run build:android:web && cap sync android",
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,127 @@
|
||||
{
|
||||
"build": {
|
||||
"attempts": [
|
||||
{
|
||||
"failures": [],
|
||||
"tileCount": 1,
|
||||
"tileSize": null,
|
||||
"valid": true
|
||||
}
|
||||
],
|
||||
"gridCells": 258876,
|
||||
"gridHeight": 564,
|
||||
"gridWidth": 459,
|
||||
"ignoredEmptyTilePackingFailures": 0,
|
||||
"intermediateRetention": null,
|
||||
"mode": "solo",
|
||||
"partition": "watershed",
|
||||
"populatedTileCount": 1,
|
||||
"tileColumns": 1,
|
||||
"tileCount": 1,
|
||||
"tileRows": 1,
|
||||
"tileSize": null
|
||||
},
|
||||
"dungeonId": "ashamanes-fall",
|
||||
"generator": "@recast-navigation/three@0.43.1",
|
||||
"geometry": {
|
||||
"bounds": [
|
||||
[
|
||||
16.435361862182617,
|
||||
-2.676706314086914,
|
||||
4.506431579589844
|
||||
],
|
||||
[
|
||||
65.03536224365234,
|
||||
26.523292541503906,
|
||||
43.1064338684082
|
||||
]
|
||||
],
|
||||
"boundsTolerance": 0.4,
|
||||
"rejectedOutOfBoundsTriangles": 0,
|
||||
"sourceTriangles": 353,
|
||||
"sourceVertices": 1059,
|
||||
"triangles": 353,
|
||||
"vertices": 1059
|
||||
},
|
||||
"input": {
|
||||
"bounds": [
|
||||
[
|
||||
-6.364639759063721,
|
||||
-19.976707458496094,
|
||||
-59.093570709228516
|
||||
],
|
||||
[
|
||||
85.27696990966797,
|
||||
36.782005310058594,
|
||||
53.62468338012695
|
||||
]
|
||||
],
|
||||
"degenerateTriangleCount": 0,
|
||||
"invalidIndexCount": 0,
|
||||
"meshCount": 1,
|
||||
"nonFiniteCoordinateCount": 0,
|
||||
"triangleCount": 2783,
|
||||
"vertexCount": 8349
|
||||
},
|
||||
"inputChunkChecksums": {
|
||||
"public/assets/game/arenas/ashamanes-fall/navigation-collision.glb": "cdc39b903da6a6f9f21bd9e5e0b2ca61e76b09e13575b02349ca92d68815e5a8"
|
||||
},
|
||||
"inputChunks": [
|
||||
"public/assets/game/arenas/ashamanes-fall/navigation-collision.glb"
|
||||
],
|
||||
"output": "public/assets/game/arenas/ashamanes-fall/navigation-raw.glb",
|
||||
"schemaVersion": 1,
|
||||
"settings": {
|
||||
"agentHeight": 1.8,
|
||||
"agentMaxClimb": 0.5,
|
||||
"agentMaxSlope": 50,
|
||||
"agentRadius": 0.36,
|
||||
"cellHeight": 0.1,
|
||||
"cellSize": 0.2
|
||||
},
|
||||
"source": {
|
||||
"adtFiles": [
|
||||
"valsharaharena_20_24.adt",
|
||||
"valsharaharena_20_25.adt",
|
||||
"valsharaharena_20_26.adt",
|
||||
"valsharaharena_21_24.adt",
|
||||
"valsharaharena_21_25.adt",
|
||||
"valsharaharena_21_26.adt",
|
||||
"valsharaharena_22_24.adt",
|
||||
"valsharaharena_22_25.adt",
|
||||
"valsharaharena_22_26.adt"
|
||||
],
|
||||
"gameplayBounds": {
|
||||
"max": [
|
||||
58,
|
||||
16,
|
||||
36
|
||||
],
|
||||
"min": [
|
||||
14,
|
||||
-4,
|
||||
2
|
||||
]
|
||||
},
|
||||
"kind": "adt-placed-wmo-repair",
|
||||
"legacyCollision": "public/assets/game/manastorm/1785-valsharaharena/collision.glb",
|
||||
"placedWmos": [
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/BROKENISLES/NIGHTELF/7NE_NIGHTELF_RETAINERCURVED02.WMO",
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/BROKENISLES/NIGHTELF/7NE_NIGHTELF_RETAINERCURVED02.WMO",
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/BROKENISLES/NIGHTELF/7NE_NIGHTELF_RETAINERCURVED02.WMO",
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/BROKENISLES/NIGHTELF/7NE_NIGHTELF_RETAINERCURVED02.WMO",
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/BROKENISLES/NIGHTELF/7NE_NIGHTELF_RETAINERCURVED02.WMO",
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/BROKENISLES/NIGHTELF/7NE_NIGHTELF_RETAINERCURVED02.WMO",
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/BROKENISLES/NIGHTELF/7NE_NIGHTELF_RETAINERCURVED02.WMO",
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/BROKENISLES/VALSHARAH/7VS_CAVEMICRO01.WMO",
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/BROKENISLES/NIGHTELF/7NE_NIGHTELF_RUINPIECE06.WMO",
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/BROKENISLES/NIGHTELF/7NE_DRUID_BRIDGE01.WMO",
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/BROKENISLES/NIGHTELF/7NE_DRUID_BRIDGE01.WMO",
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/BROKENISLES/NIGHTELF/7NE_DRUID_TOWER01_NIGHTMARE.WMO",
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/BROKENISLES/NIGHTELF/7NE_DRUID_BRIDGE01_NIGHTMARE.WMO",
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/BROKENISLES/NIGHTELF/7NE_NIGHTELF_RUINPIECE06.WMO",
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/BROKENISLES/NIGHTELF/7NE_NIGHTELF_BRIDGESHORT.WMO",
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/DUNGEON/PVP/CUSTOM_VALSHARAH_ARENA.WMO"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,99 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"id": "ashamanes-fall",
|
||||
"title": "Ashamane's Fall",
|
||||
"status": "generated-review-required",
|
||||
"source": {
|
||||
"mapDirectory": "patch-WB2/world/maps/valsharaharena",
|
||||
"adtFiles": [
|
||||
"valsharaharena_20_24.adt",
|
||||
"valsharaharena_20_25.adt",
|
||||
"valsharaharena_20_26.adt",
|
||||
"valsharaharena_21_24.adt",
|
||||
"valsharaharena_21_25.adt",
|
||||
"valsharaharena_21_26.adt",
|
||||
"valsharaharena_22_24.adt",
|
||||
"valsharaharena_22_25.adt",
|
||||
"valsharaharena_22_26.adt"
|
||||
],
|
||||
"placementCount": 16,
|
||||
"placedWmos": [
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/BROKENISLES/NIGHTELF/7NE_NIGHTELF_RETAINERCURVED02.WMO",
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/BROKENISLES/NIGHTELF/7NE_NIGHTELF_RETAINERCURVED02.WMO",
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/BROKENISLES/NIGHTELF/7NE_NIGHTELF_RETAINERCURVED02.WMO",
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/BROKENISLES/NIGHTELF/7NE_NIGHTELF_RETAINERCURVED02.WMO",
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/BROKENISLES/NIGHTELF/7NE_NIGHTELF_RETAINERCURVED02.WMO",
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/BROKENISLES/NIGHTELF/7NE_NIGHTELF_RETAINERCURVED02.WMO",
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/BROKENISLES/NIGHTELF/7NE_NIGHTELF_RETAINERCURVED02.WMO",
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/BROKENISLES/VALSHARAH/7VS_CAVEMICRO01.WMO",
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/BROKENISLES/NIGHTELF/7NE_NIGHTELF_RUINPIECE06.WMO",
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/BROKENISLES/NIGHTELF/7NE_DRUID_BRIDGE01.WMO",
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/BROKENISLES/NIGHTELF/7NE_DRUID_BRIDGE01.WMO",
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/BROKENISLES/NIGHTELF/7NE_DRUID_TOWER01_NIGHTMARE.WMO",
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/BROKENISLES/NIGHTELF/7NE_DRUID_BRIDGE01_NIGHTMARE.WMO",
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/BROKENISLES/NIGHTELF/7NE_NIGHTELF_RUINPIECE06.WMO",
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/BROKENISLES/NIGHTELF/7NE_NIGHTELF_BRIDGESHORT.WMO",
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/DUNGEON/PVP/CUSTOM_VALSHARAH_ARENA.WMO"
|
||||
]
|
||||
},
|
||||
"coordinateSystem": {
|
||||
"conversion": "three(x,y,z)=(-wow.x,wow.z,wow.y)",
|
||||
"rebasedOrigin": [
|
||||
6.0437164306640625,
|
||||
-37.49217987060547,
|
||||
30.740463256835938
|
||||
],
|
||||
"alignmentOffset": [
|
||||
34.174934,
|
||||
-32.347685,
|
||||
20.31486
|
||||
],
|
||||
"alignment": "primary WMO matched to the existing HealerMan stage coordinate frame"
|
||||
},
|
||||
"bounds": {
|
||||
"min": [
|
||||
-289.133544921875,
|
||||
-32.347686767578125,
|
||||
-200.8459930419922
|
||||
],
|
||||
"max": [
|
||||
357.4833984375,
|
||||
316.2064514160156,
|
||||
241.47572326660156
|
||||
]
|
||||
},
|
||||
"geometry": {
|
||||
"groups": 18,
|
||||
"triangles": 82815,
|
||||
"collisionTriangles": 82815,
|
||||
"collisionChunks": 1
|
||||
},
|
||||
"navigation": {
|
||||
"triangles": 209,
|
||||
"vertices": 627,
|
||||
"sourceComponents": 20,
|
||||
"spawnDistances": [
|
||||
0.5941920148506428,
|
||||
0.0212655626862784
|
||||
],
|
||||
"rawTriangles": 353,
|
||||
"report": "recast-report.json"
|
||||
},
|
||||
"assets": [
|
||||
{
|
||||
"file": "visual.glb",
|
||||
"bytes": 2611788,
|
||||
"sha256": "25e8a0d63d420559a6bc965dc2b930039d951de8cdc189d785a00edc3610b112"
|
||||
},
|
||||
{
|
||||
"file": "collision.glb",
|
||||
"bytes": 1805536,
|
||||
"sha256": "48f45c434687f07969a618e1251e05e8672061d16a1f3a88338dbc667e33e78e"
|
||||
},
|
||||
{
|
||||
"file": "navigation.glb",
|
||||
"bytes": 10936,
|
||||
"sha256": "ac69ef1e845f632576598a8b2a5d0bbfa8086b21ed5d7fd17af06d5a565a5248"
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,85 @@
|
||||
{
|
||||
"build": {
|
||||
"attempts": [
|
||||
{
|
||||
"failures": [],
|
||||
"tileCount": 1,
|
||||
"tileSize": null,
|
||||
"valid": true
|
||||
}
|
||||
],
|
||||
"gridCells": 4046196,
|
||||
"gridHeight": 1812,
|
||||
"gridWidth": 2233,
|
||||
"ignoredEmptyTilePackingFailures": 0,
|
||||
"intermediateRetention": null,
|
||||
"mode": "solo",
|
||||
"partition": "watershed",
|
||||
"populatedTileCount": 1,
|
||||
"tileColumns": 1,
|
||||
"tileCount": 1,
|
||||
"tileRows": 1,
|
||||
"tileSize": null
|
||||
},
|
||||
"dungeonId": "arena-runtime-black-rook",
|
||||
"generator": "@recast-navigation/three@0.43.1",
|
||||
"geometry": {
|
||||
"bounds": [
|
||||
[
|
||||
-102.83599853515625,
|
||||
-49.58357238769531,
|
||||
-373.1059875488281
|
||||
],
|
||||
[
|
||||
340.9640197753906,
|
||||
410.1164245605469,
|
||||
-28.105987548828125
|
||||
]
|
||||
],
|
||||
"boundsTolerance": 0.4,
|
||||
"rejectedOutOfBoundsTriangles": 0,
|
||||
"sourceTriangles": 26724,
|
||||
"sourceVertices": 80172,
|
||||
"triangles": 26724,
|
||||
"vertices": 80172
|
||||
},
|
||||
"input": {
|
||||
"bounds": [
|
||||
[
|
||||
-103.83599853515625,
|
||||
-98.98357391357422,
|
||||
-375.3059997558594
|
||||
],
|
||||
[
|
||||
342.7250061035156,
|
||||
410.1130065917969,
|
||||
-13.022000312805176
|
||||
]
|
||||
],
|
||||
"degenerateTriangleCount": 33,
|
||||
"invalidIndexCount": 0,
|
||||
"meshCount": 1,
|
||||
"nonFiniteCoordinateCount": 0,
|
||||
"triangleCount": 192419,
|
||||
"vertexCount": 577257
|
||||
},
|
||||
"inputChunkChecksums": {
|
||||
"playtest-artifacts/black-rook-combined.glb": "aa4f39620e2562cea0bf39ec54ff377b19eef799eaa08f0e9ea81896f8a31aba"
|
||||
},
|
||||
"inputChunks": [
|
||||
"playtest-artifacts/black-rook-combined.glb"
|
||||
],
|
||||
"output": "playtest-artifacts/black-rook-navigation.glb",
|
||||
"schemaVersion": 1,
|
||||
"settings": {
|
||||
"agentHeight": 1.8,
|
||||
"agentMaxClimb": 0.5,
|
||||
"agentMaxSlope": 50,
|
||||
"agentRadius": 0.36,
|
||||
"cellHeight": 0.1,
|
||||
"cellSize": 0.2
|
||||
},
|
||||
"source": {
|
||||
"kind": "runtime-collision-repair"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,102 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"id": "black-rook-hold-arena",
|
||||
"title": "Black Rook Hold Arena",
|
||||
"status": "generated-review-required",
|
||||
"source": {
|
||||
"mapDirectory": "patch-WB1/world/maps/blackrookholdarena",
|
||||
"adtFiles": [
|
||||
"blackrookholdarena_28_28.adt",
|
||||
"blackrookholdarena_28_29.adt",
|
||||
"blackrookholdarena_28_30.adt",
|
||||
"blackrookholdarena_29_28.adt",
|
||||
"blackrookholdarena_29_29.adt",
|
||||
"blackrookholdarena_29_30.adt",
|
||||
"blackrookholdarena_30_28.adt",
|
||||
"blackrookholdarena_30_29.adt",
|
||||
"blackrookholdarena_30_30.adt"
|
||||
],
|
||||
"placementCount": 3,
|
||||
"placedWmos": [
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/BROKENISLES/VALSHARAH/7VS_BLACKROOKHOLD_MICRO01.WMO",
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/PVP/BUILDINGS/BLACKROOKHOLD/7VS_BLACKROOKHOLD_ARENA.WMO",
|
||||
"../LadiksMPQEditor/patch-WC1/WORLD/WMO/PVP/BUILDINGS/BLACKROOKHOLD/BLACKROOKHOLD_ARENA_PLATFORMTEST.WMO"
|
||||
]
|
||||
},
|
||||
"coordinateSystem": {
|
||||
"conversion": "three(x,y,z)=(-wow.x,wow.z,wow.y)",
|
||||
"rebasedOrigin": [
|
||||
-117.73179244995117,
|
||||
-104.28124237060547,
|
||||
60.68927764892578
|
||||
],
|
||||
"alignmentOffset": [
|
||||
117.542488,
|
||||
-102.29949,
|
||||
-224.463489
|
||||
],
|
||||
"alignment": "primary WMO matched to the existing HealerMan stage coordinate frame"
|
||||
},
|
||||
"bounds": {
|
||||
"min": [
|
||||
-110.3111343383789,
|
||||
-102.29949188232422,
|
||||
-519.4838256835938
|
||||
],
|
||||
"max": [
|
||||
345.3961181640625,
|
||||
410.11322021484375,
|
||||
70.55683898925781
|
||||
]
|
||||
},
|
||||
"geometry": {
|
||||
"groups": 20,
|
||||
"triangles": 298817,
|
||||
"collisionTriangles": 298817,
|
||||
"collisionChunks": 4
|
||||
},
|
||||
"navigation": {
|
||||
"triangles": 783,
|
||||
"vertices": 2349,
|
||||
"sourceComponents": 1078,
|
||||
"spawnDistances": [
|
||||
2.095,
|
||||
1.026
|
||||
],
|
||||
"rawTriangles": 26724,
|
||||
"report": "recast-report.json",
|
||||
"repair": "Rebaked against restored collision. Both teams spawn on the connected interior floor, not the terrain above the arena."
|
||||
},
|
||||
"assets": [
|
||||
{
|
||||
"file": "visual.glb",
|
||||
"bytes": 9908648,
|
||||
"sha256": "622c0832eb5a3bca85837de418b02be6dc5dad54db3b05e69e740d93c870e319"
|
||||
},
|
||||
{
|
||||
"file": "collision.glb",
|
||||
"bytes": 2059780,
|
||||
"sha256": "27a698c59e08744bd7bf6cfe9585f643a28aea45850da85020e3b4bac45ce92f"
|
||||
},
|
||||
{
|
||||
"file": "collision-001.glb",
|
||||
"bytes": 2443032,
|
||||
"sha256": "914702646d8a6a657d677bd9f69b1b0aea13f4033952c143ff85d8932127a82f"
|
||||
},
|
||||
{
|
||||
"file": "collision-002.glb",
|
||||
"bytes": 2377504,
|
||||
"sha256": "33622cbbc5e82cebee74049a53cd9fbb4e1ca8196322697f751916a3dd9d30ec"
|
||||
},
|
||||
{
|
||||
"file": "collision-003.glb",
|
||||
"bytes": 916280,
|
||||
"sha256": "2f405e27efcf4e7b4d41d2286293dcbe700d854edf4d5aa276bf5b0523e9748a"
|
||||
},
|
||||
{
|
||||
"file": "navigation.glb",
|
||||
"bytes": 38500,
|
||||
"sha256": "ee2df9f0c2dbd14d53e84fd66efcc4b48a93ac99c57c27a7d1ea876d29899910"
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,89 @@
|
||||
{
|
||||
"build": {
|
||||
"attempts": [
|
||||
{
|
||||
"failures": [],
|
||||
"tileCount": 1,
|
||||
"tileSize": null,
|
||||
"valid": true
|
||||
}
|
||||
],
|
||||
"gridCells": 652881,
|
||||
"gridHeight": 849,
|
||||
"gridWidth": 769,
|
||||
"ignoredEmptyTilePackingFailures": 0,
|
||||
"intermediateRetention": null,
|
||||
"mode": "solo",
|
||||
"partition": "watershed",
|
||||
"populatedTileCount": 1,
|
||||
"tileColumns": 1,
|
||||
"tileCount": 1,
|
||||
"tileRows": 1,
|
||||
"tileSize": null
|
||||
},
|
||||
"dungeonId": "blades-edge-arena",
|
||||
"generator": "@recast-navigation/three@0.43.1",
|
||||
"geometry": {
|
||||
"bounds": [
|
||||
[
|
||||
-75.85150146484375,
|
||||
6.099999904632568,
|
||||
-80.292236328125
|
||||
],
|
||||
[
|
||||
76.14849853515625,
|
||||
82.0999984741211,
|
||||
80.3077621459961
|
||||
]
|
||||
],
|
||||
"boundsTolerance": 0.4,
|
||||
"rejectedOutOfBoundsTriangles": 0,
|
||||
"sourceTriangles": 3932,
|
||||
"sourceVertices": 11796,
|
||||
"triangles": 3932,
|
||||
"vertices": 11796
|
||||
},
|
||||
"input": {
|
||||
"bounds": [
|
||||
[
|
||||
-76.85150146484375,
|
||||
0,
|
||||
-84.8922348022461
|
||||
],
|
||||
[
|
||||
76.85150146484375,
|
||||
82.12013244628906,
|
||||
84.8922348022461
|
||||
]
|
||||
],
|
||||
"degenerateTriangleCount": 0,
|
||||
"invalidIndexCount": 0,
|
||||
"meshCount": 1,
|
||||
"nonFiniteCoordinateCount": 0,
|
||||
"triangleCount": 7327,
|
||||
"vertexCount": 7086
|
||||
},
|
||||
"inputChunkChecksums": {
|
||||
"public/assets/game/arenas/blades-edge-arena/collision.glb": "96bb151cc43fcac887cee1e573878221e14d4690e023bc4cf7b5b40c2788333a"
|
||||
},
|
||||
"inputChunks": [
|
||||
"public/assets/game/arenas/blades-edge-arena/collision.glb"
|
||||
],
|
||||
"output": "public/assets/game/arenas/blades-edge-arena/navigation-raw.glb",
|
||||
"schemaVersion": 1,
|
||||
"settings": {
|
||||
"agentHeight": 1.8,
|
||||
"agentMaxClimb": 0.5,
|
||||
"agentMaxSlope": 50,
|
||||
"agentRadius": 0.36,
|
||||
"cellHeight": 0.1,
|
||||
"cellSize": 0.2
|
||||
},
|
||||
"source": {
|
||||
"files": [
|
||||
"../LadiksMPQEditor/common-2.mpq/World/wmo/PvP/Buildings/AncientOrcArena/ancorc_PVPstadium.wmo",
|
||||
"../LadiksMPQEditor/common-2.mpq/World/wmo/PvP/Buildings/AncientOrcArena/ancorc_PVPstadium_000.wmo"
|
||||
],
|
||||
"kind": "direct-wmo-parser"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"id": "blades-edge-arena",
|
||||
"title": "Blade's Edge Arena",
|
||||
"status": "generated-review-required",
|
||||
"source": {
|
||||
"root": "../LadiksMPQEditor/common-2.mpq/World/wmo/PvP/Buildings/AncientOrcArena/ancorc_PVPstadium.wmo",
|
||||
"groupCount": 1
|
||||
},
|
||||
"coordinateSystem": {
|
||||
"conversion": "three(x,y,z)=(-wow.x,wow.z,wow.y)",
|
||||
"rebasedOrigin": [
|
||||
-0.32387542724609375,
|
||||
-3.3863677978515625,
|
||||
-0.1770477294921875
|
||||
]
|
||||
},
|
||||
"sourceBounds": {
|
||||
"min": [
|
||||
-77.17537689208984,
|
||||
-3.3863677978515625,
|
||||
-85.06928253173828
|
||||
],
|
||||
"max": [
|
||||
76.52762603759766,
|
||||
78.7337646484375,
|
||||
84.7151870727539
|
||||
]
|
||||
},
|
||||
"bounds": {
|
||||
"min": [
|
||||
-76.85150146484375,
|
||||
0,
|
||||
-84.8922348022461
|
||||
],
|
||||
"max": [
|
||||
76.85150146484375,
|
||||
82.12013244628906,
|
||||
84.8922348022461
|
||||
]
|
||||
},
|
||||
"geometry": {
|
||||
"groups": 1,
|
||||
"vertices": 7086,
|
||||
"triangles": 7327,
|
||||
"collisionTriangles": 7327,
|
||||
"triangleFlags": [
|
||||
{
|
||||
"group": "group-000",
|
||||
"counts": {
|
||||
"8": 680,
|
||||
"36": 616,
|
||||
"38": 137,
|
||||
"72": 2729,
|
||||
"100": 2922,
|
||||
"102": 243
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"navigation": {
|
||||
"triangles": 465,
|
||||
"vertices": 1395,
|
||||
"sourceComponents": 134,
|
||||
"spawnDistances": [
|
||||
0.0026893801684426334,
|
||||
0.004853620635976984
|
||||
],
|
||||
"rawTriangles": 3932,
|
||||
"report": "recast-report.json"
|
||||
},
|
||||
"assets": [
|
||||
{
|
||||
"role": "visual",
|
||||
"file": "visual.glb",
|
||||
"bytes": 259116,
|
||||
"sha256": "5dc8c6662bccf04892b059c819de91b1134cce6011a1f707c5ee9645491e5279"
|
||||
},
|
||||
{
|
||||
"role": "collision",
|
||||
"file": "collision.glb",
|
||||
"bytes": 173784,
|
||||
"sha256": "96bb151cc43fcac887cee1e573878221e14d4690e023bc4cf7b5b40c2788333a"
|
||||
},
|
||||
{
|
||||
"role": "navigation",
|
||||
"file": "navigation.glb",
|
||||
"bytes": 23228,
|
||||
"sha256": "d99822c69df3f6363c9fab1c6c67c70c3afa4e94ed0e66fa992adf8b6724cf2b"
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,90 @@
|
||||
{
|
||||
"build": {
|
||||
"attempts": [
|
||||
{
|
||||
"failures": [],
|
||||
"tileCount": 1,
|
||||
"tileSize": null,
|
||||
"valid": true
|
||||
}
|
||||
],
|
||||
"gridCells": 529759,
|
||||
"gridHeight": 713,
|
||||
"gridWidth": 743,
|
||||
"ignoredEmptyTilePackingFailures": 0,
|
||||
"intermediateRetention": null,
|
||||
"mode": "solo",
|
||||
"partition": "watershed",
|
||||
"populatedTileCount": 1,
|
||||
"tileColumns": 1,
|
||||
"tileCount": 1,
|
||||
"tileRows": 1,
|
||||
"tileSize": null
|
||||
},
|
||||
"dungeonId": "dalaran-sewers",
|
||||
"generator": "@recast-navigation/three@0.43.1",
|
||||
"geometry": {
|
||||
"bounds": [
|
||||
[
|
||||
-73.60513305664062,
|
||||
0.30000001192092896,
|
||||
-69.85077667236328
|
||||
],
|
||||
[
|
||||
73.5948715209961,
|
||||
79,
|
||||
70.14923095703125
|
||||
]
|
||||
],
|
||||
"boundsTolerance": 0.4,
|
||||
"rejectedOutOfBoundsTriangles": 0,
|
||||
"sourceTriangles": 4054,
|
||||
"sourceVertices": 12162,
|
||||
"triangles": 4054,
|
||||
"vertices": 12162
|
||||
},
|
||||
"input": {
|
||||
"bounds": [
|
||||
[
|
||||
-74.20513153076172,
|
||||
0,
|
||||
-71.25077819824219
|
||||
],
|
||||
[
|
||||
74.20513153076172,
|
||||
92.40137481689453,
|
||||
71.25077819824219
|
||||
]
|
||||
],
|
||||
"degenerateTriangleCount": 0,
|
||||
"invalidIndexCount": 0,
|
||||
"meshCount": 2,
|
||||
"nonFiniteCoordinateCount": 0,
|
||||
"triangleCount": 15469,
|
||||
"vertexCount": 13094
|
||||
},
|
||||
"inputChunkChecksums": {
|
||||
"public/assets/game/arenas/dalaran-sewers/collision.glb": "88c889838b76365ee0541dcce567151419b3310a6dc1252934ffb997f31215bd"
|
||||
},
|
||||
"inputChunks": [
|
||||
"public/assets/game/arenas/dalaran-sewers/collision.glb"
|
||||
],
|
||||
"output": "public/assets/game/arenas/dalaran-sewers/navigation-raw.glb",
|
||||
"schemaVersion": 1,
|
||||
"settings": {
|
||||
"agentHeight": 1.8,
|
||||
"agentMaxClimb": 0.5,
|
||||
"agentMaxSlope": 50,
|
||||
"agentRadius": 0.36,
|
||||
"cellHeight": 0.1,
|
||||
"cellSize": 0.2
|
||||
},
|
||||
"source": {
|
||||
"files": [
|
||||
"../LadiksMPQEditor/common-2.mpq/World/wmo/PvP/Buildings/Dalaran/dalaran_sewer_arena.wmo",
|
||||
"../LadiksMPQEditor/common-2.mpq/World/wmo/PvP/Buildings/Dalaran/dalaran_sewer_arena_000.wmo",
|
||||
"../LadiksMPQEditor/common-2.mpq/World/wmo/PvP/Buildings/Dalaran/dalaran_sewer_arena_001.wmo"
|
||||
],
|
||||
"kind": "direct-wmo-parser"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"id": "dalaran-sewers",
|
||||
"title": "Dalaran Sewers",
|
||||
"status": "generated-review-required",
|
||||
"source": {
|
||||
"root": "../LadiksMPQEditor/common-2.mpq/World/wmo/PvP/Buildings/Dalaran/dalaran_sewer_arena.wmo",
|
||||
"groupCount": 2
|
||||
},
|
||||
"coordinateSystem": {
|
||||
"conversion": "three(x,y,z)=(-wow.x,wow.z,wow.y)",
|
||||
"rebasedOrigin": [
|
||||
-9.411468505859375,
|
||||
-16.876672744750977,
|
||||
10.746021270751953
|
||||
]
|
||||
},
|
||||
"sourceBounds": {
|
||||
"min": [
|
||||
-83.6166000366211,
|
||||
-16.876672744750977,
|
||||
-60.5047607421875
|
||||
],
|
||||
"max": [
|
||||
64.79366302490234,
|
||||
75.52470397949219,
|
||||
81.9968032836914
|
||||
]
|
||||
},
|
||||
"bounds": {
|
||||
"min": [
|
||||
-74.20513153076172,
|
||||
0,
|
||||
-71.25077819824219
|
||||
],
|
||||
"max": [
|
||||
74.20513153076172,
|
||||
92.40137481689453,
|
||||
71.25077819824219
|
||||
]
|
||||
},
|
||||
"geometry": {
|
||||
"groups": 2,
|
||||
"vertices": 13094,
|
||||
"triangles": 15469,
|
||||
"collisionTriangles": 15469,
|
||||
"triangleFlags": [
|
||||
{
|
||||
"group": "group-000",
|
||||
"counts": {
|
||||
"8": 85,
|
||||
"32": 545,
|
||||
"36": 573,
|
||||
"72": 40,
|
||||
"96": 2835,
|
||||
"100": 98
|
||||
}
|
||||
},
|
||||
{
|
||||
"group": "group-001",
|
||||
"counts": {
|
||||
"8": 165,
|
||||
"10": 480,
|
||||
"32": 766,
|
||||
"36": 2362,
|
||||
"72": 136,
|
||||
"74": 416,
|
||||
"96": 2053,
|
||||
"100": 4915
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"navigation": {
|
||||
"triangles": 458,
|
||||
"vertices": 1374,
|
||||
"sourceComponents": 104,
|
||||
"spawnDistances": [
|
||||
0.004929398584727517,
|
||||
0.0049300317713031425
|
||||
],
|
||||
"rawTriangles": 4054,
|
||||
"report": "recast-report.json"
|
||||
},
|
||||
"assets": [
|
||||
{
|
||||
"role": "visual",
|
||||
"file": "visual.glb",
|
||||
"bytes": 501848,
|
||||
"sha256": "91b37f5df3c5c0d2ecad9e1096177abfe8eb36acc384df36a949ce246a0155ba"
|
||||
},
|
||||
{
|
||||
"role": "collision",
|
||||
"file": "collision.glb",
|
||||
"bytes": 344140,
|
||||
"sha256": "88c889838b76365ee0541dcce567151419b3310a6dc1252934ffb997f31215bd"
|
||||
},
|
||||
{
|
||||
"role": "navigation",
|
||||
"file": "navigation.glb",
|
||||
"bytes": 22896,
|
||||
"sha256": "2e1db39fe16bd3d4a747710e1da774d841bc9cd9ada446c666a1d95a4e1aafb2"
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,89 @@
|
||||
{
|
||||
"build": {
|
||||
"attempts": [
|
||||
{
|
||||
"failures": [],
|
||||
"tileCount": 1,
|
||||
"tileSize": null,
|
||||
"valid": true
|
||||
}
|
||||
],
|
||||
"gridCells": 605259,
|
||||
"gridHeight": 783,
|
||||
"gridWidth": 773,
|
||||
"ignoredEmptyTilePackingFailures": 0,
|
||||
"intermediateRetention": null,
|
||||
"mode": "solo",
|
||||
"partition": "watershed",
|
||||
"populatedTileCount": 1,
|
||||
"tileColumns": 1,
|
||||
"tileCount": 1,
|
||||
"tileRows": 1,
|
||||
"tileSize": null
|
||||
},
|
||||
"dungeonId": "nagrand-arena",
|
||||
"generator": "@recast-navigation/three@0.43.1",
|
||||
"geometry": {
|
||||
"bounds": [
|
||||
[
|
||||
-75.41183471679688,
|
||||
1.2000000476837158,
|
||||
-74.84174346923828
|
||||
],
|
||||
[
|
||||
75.9881591796875,
|
||||
72.80000305175781,
|
||||
65.15826416015625
|
||||
]
|
||||
],
|
||||
"boundsTolerance": 0.4,
|
||||
"rejectedOutOfBoundsTriangles": 0,
|
||||
"sourceTriangles": 3536,
|
||||
"sourceVertices": 10608,
|
||||
"triangles": 3536,
|
||||
"vertices": 10608
|
||||
},
|
||||
"input": {
|
||||
"bounds": [
|
||||
[
|
||||
-77.21183776855469,
|
||||
0,
|
||||
-78.24174499511719
|
||||
],
|
||||
[
|
||||
77.21183776855469,
|
||||
82.11756134033203,
|
||||
78.24174499511719
|
||||
]
|
||||
],
|
||||
"degenerateTriangleCount": 0,
|
||||
"invalidIndexCount": 0,
|
||||
"meshCount": 1,
|
||||
"nonFiniteCoordinateCount": 0,
|
||||
"triangleCount": 7727,
|
||||
"vertexCount": 8197
|
||||
},
|
||||
"inputChunkChecksums": {
|
||||
"public/assets/game/arenas/nagrand-arena/collision.glb": "c5ec36344bc335aad5c63607a93d6cacb535d4055c2626fed7da250855f5fa74"
|
||||
},
|
||||
"inputChunks": [
|
||||
"public/assets/game/arenas/nagrand-arena/collision.glb"
|
||||
],
|
||||
"output": "public/assets/game/arenas/nagrand-arena/navigation-raw.glb",
|
||||
"schemaVersion": 1,
|
||||
"settings": {
|
||||
"agentHeight": 1.8,
|
||||
"agentMaxClimb": 0.5,
|
||||
"agentMaxSlope": 50,
|
||||
"agentRadius": 0.36,
|
||||
"cellHeight": 0.1,
|
||||
"cellSize": 0.2
|
||||
},
|
||||
"source": {
|
||||
"files": [
|
||||
"../LadiksMPQEditor/common-2.mpq/World/wmo/Dungeon/OL_OgreHuts/PVP_Ogre_Arena01.wmo",
|
||||
"../LadiksMPQEditor/common-2.mpq/World/wmo/Dungeon/OL_OgreHuts/PVP_Ogre_Arena01_000.wmo"
|
||||
],
|
||||
"kind": "direct-wmo-parser"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"id": "nagrand-arena",
|
||||
"title": "Nagrand Arena",
|
||||
"status": "generated-review-required",
|
||||
"source": {
|
||||
"root": "../LadiksMPQEditor/common-2.mpq/World/wmo/Dungeon/OL_OgreHuts/PVP_Ogre_Arena01.wmo",
|
||||
"groupCount": 1
|
||||
},
|
||||
"coordinateSystem": {
|
||||
"conversion": "three(x,y,z)=(-wow.x,wow.z,wow.y)",
|
||||
"rebasedOrigin": [
|
||||
49.19449806213379,
|
||||
-10.582855224609375,
|
||||
30.535707473754883
|
||||
]
|
||||
},
|
||||
"sourceBounds": {
|
||||
"min": [
|
||||
-28.017337799072266,
|
||||
-10.582855224609375,
|
||||
-47.70603561401367
|
||||
],
|
||||
"max": [
|
||||
126.40633392333984,
|
||||
71.53470611572266,
|
||||
108.77745056152344
|
||||
]
|
||||
},
|
||||
"bounds": {
|
||||
"min": [
|
||||
-77.21183776855469,
|
||||
0,
|
||||
-78.24174499511719
|
||||
],
|
||||
"max": [
|
||||
77.21183776855469,
|
||||
82.11756134033203,
|
||||
78.24174499511719
|
||||
]
|
||||
},
|
||||
"geometry": {
|
||||
"groups": 1,
|
||||
"vertices": 8197,
|
||||
"triangles": 7727,
|
||||
"collisionTriangles": 7727,
|
||||
"triangleFlags": [
|
||||
{
|
||||
"group": "group-000",
|
||||
"counts": {
|
||||
"8": 783,
|
||||
"32": 35,
|
||||
"36": 831,
|
||||
"38": 2,
|
||||
"72": 2230,
|
||||
"96": 502,
|
||||
"100": 3291,
|
||||
"102": 53
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"navigation": {
|
||||
"triangles": 1450,
|
||||
"vertices": 4350,
|
||||
"sourceComponents": 155,
|
||||
"spawnDistances": [
|
||||
0.0025342739142059146,
|
||||
0.0025336963502397706
|
||||
],
|
||||
"rawTriangles": 3536,
|
||||
"report": "recast-report.json"
|
||||
},
|
||||
"assets": [
|
||||
{
|
||||
"role": "visual",
|
||||
"file": "visual.glb",
|
||||
"bytes": 290580,
|
||||
"sha256": "6730970440c31df26e4fe90a6eb3913e6402f0027a334d966fb2b57c2e7b3e7c"
|
||||
},
|
||||
{
|
||||
"role": "collision",
|
||||
"file": "collision.glb",
|
||||
"bytes": 191916,
|
||||
"sha256": "c5ec36344bc335aad5c63607a93d6cacb535d4055c2626fed7da250855f5fa74"
|
||||
},
|
||||
{
|
||||
"role": "navigation",
|
||||
"file": "navigation.glb",
|
||||
"bytes": 70512,
|
||||
"sha256": "cd9027c8d3cf175a8879efad1eb51584f3fbce1bc2eb9355959676471e06798a"
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,89 @@
|
||||
{
|
||||
"build": {
|
||||
"attempts": [
|
||||
{
|
||||
"failures": [],
|
||||
"tileCount": 1,
|
||||
"tileSize": null,
|
||||
"valid": true
|
||||
}
|
||||
],
|
||||
"gridCells": 2185272,
|
||||
"gridHeight": 1208,
|
||||
"gridWidth": 1809,
|
||||
"ignoredEmptyTilePackingFailures": 0,
|
||||
"intermediateRetention": null,
|
||||
"mode": "solo",
|
||||
"partition": "watershed",
|
||||
"populatedTileCount": 1,
|
||||
"tileColumns": 1,
|
||||
"tileCount": 1,
|
||||
"tileRows": 1,
|
||||
"tileSize": null
|
||||
},
|
||||
"dungeonId": "ring-of-valor",
|
||||
"generator": "@recast-navigation/three@0.43.1",
|
||||
"geometry": {
|
||||
"bounds": [
|
||||
[
|
||||
-180.21835327148438,
|
||||
0.10000000149011612,
|
||||
-117.37078094482422
|
||||
],
|
||||
[
|
||||
180.181640625,
|
||||
100.80000305175781,
|
||||
120.02922058105469
|
||||
]
|
||||
],
|
||||
"boundsTolerance": 0.4,
|
||||
"rejectedOutOfBoundsTriangles": 0,
|
||||
"sourceTriangles": 4405,
|
||||
"sourceVertices": 13215,
|
||||
"triangles": 4405,
|
||||
"vertices": 13215
|
||||
},
|
||||
"input": {
|
||||
"bounds": [
|
||||
[
|
||||
-180.818359375,
|
||||
0,
|
||||
-120.77078247070312
|
||||
],
|
||||
[
|
||||
180.818359375,
|
||||
116.26216125488281,
|
||||
120.77078247070312
|
||||
]
|
||||
],
|
||||
"degenerateTriangleCount": 0,
|
||||
"invalidIndexCount": 0,
|
||||
"meshCount": 1,
|
||||
"nonFiniteCoordinateCount": 0,
|
||||
"triangleCount": 9713,
|
||||
"vertexCount": 12167
|
||||
},
|
||||
"inputChunkChecksums": {
|
||||
"public/assets/game/arenas/ring-of-valor/collision.glb": "25162e36ed6fea03d6de939cf4d742bc142fbebb2db1c9fbc6f2fcc9e15cffdf"
|
||||
},
|
||||
"inputChunks": [
|
||||
"public/assets/game/arenas/ring-of-valor/collision.glb"
|
||||
],
|
||||
"output": "public/assets/game/arenas/ring-of-valor/navigation-raw.glb",
|
||||
"schemaVersion": 1,
|
||||
"settings": {
|
||||
"agentHeight": 1.8,
|
||||
"agentMaxClimb": 0.5,
|
||||
"agentMaxSlope": 50,
|
||||
"agentRadius": 0.36,
|
||||
"cellHeight": 0.1,
|
||||
"cellSize": 0.2
|
||||
},
|
||||
"source": {
|
||||
"files": [
|
||||
"../LadiksMPQEditor/common-2.mpq/World/wmo/PvP/Buildings/Orgrimmar/OrgrimmarArena.wmo",
|
||||
"../LadiksMPQEditor/common-2.mpq/World/wmo/PvP/Buildings/Orgrimmar/OrgrimmarArena_000.wmo"
|
||||
],
|
||||
"kind": "direct-wmo-parser"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"id": "ring-of-valor",
|
||||
"title": "Ring of Valor",
|
||||
"status": "generated-review-required",
|
||||
"source": {
|
||||
"root": "../LadiksMPQEditor/common-2.mpq/World/wmo/PvP/Buildings/Orgrimmar/OrgrimmarArena.wmo",
|
||||
"groupCount": 1
|
||||
},
|
||||
"coordinateSystem": {
|
||||
"conversion": "three(x,y,z)=(-wow.x,wow.z,wow.y)",
|
||||
"rebasedOrigin": [
|
||||
-0.44493865966796875,
|
||||
-32.01484298706055,
|
||||
0
|
||||
]
|
||||
},
|
||||
"sourceBounds": {
|
||||
"min": [
|
||||
-181.26329040527344,
|
||||
-32.01484298706055,
|
||||
-120.77078247070312
|
||||
],
|
||||
"max": [
|
||||
180.3734130859375,
|
||||
84.24732208251953,
|
||||
120.77078247070312
|
||||
]
|
||||
},
|
||||
"bounds": {
|
||||
"min": [
|
||||
-180.818359375,
|
||||
0,
|
||||
-120.77078247070312
|
||||
],
|
||||
"max": [
|
||||
180.818359375,
|
||||
116.26216125488281,
|
||||
120.77078247070312
|
||||
]
|
||||
},
|
||||
"geometry": {
|
||||
"groups": 1,
|
||||
"vertices": 12167,
|
||||
"triangles": 9713,
|
||||
"collisionTriangles": 9713,
|
||||
"triangleFlags": [
|
||||
{
|
||||
"group": "group-000",
|
||||
"counts": {
|
||||
"8": 18,
|
||||
"32": 1063,
|
||||
"36": 590,
|
||||
"38": 586,
|
||||
"72": 126,
|
||||
"96": 1307,
|
||||
"100": 5028,
|
||||
"102": 995
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"navigation": {
|
||||
"triangles": 702,
|
||||
"vertices": 2106,
|
||||
"sourceComponents": 61,
|
||||
"spawnDistances": [
|
||||
1.1157695927091633,
|
||||
1.258558140579426
|
||||
],
|
||||
"rawTriangles": 4405,
|
||||
"report": "recast-report.json"
|
||||
},
|
||||
"assets": [
|
||||
{
|
||||
"role": "visual",
|
||||
"file": "visual.glb",
|
||||
"bytes": 409692,
|
||||
"sha256": "32d3dc93c8f5026d29f3e9bf2efb299145e8e191e358b201a62dc987e0fa3c46"
|
||||
},
|
||||
{
|
||||
"role": "collision",
|
||||
"file": "collision.glb",
|
||||
"bytes": 263388,
|
||||
"sha256": "25162e36ed6fea03d6de939cf4d742bc142fbebb2db1c9fbc6f2fcc9e15cffdf"
|
||||
},
|
||||
{
|
||||
"role": "navigation",
|
||||
"file": "navigation.glb",
|
||||
"bytes": 34608,
|
||||
"sha256": "db986ef21767aecf08edb435f11674a094996213685f83cd7d2172886949374d"
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,93 @@
|
||||
{
|
||||
"build": {
|
||||
"attempts": [
|
||||
{
|
||||
"failures": [],
|
||||
"tileCount": 1,
|
||||
"tileSize": null,
|
||||
"valid": true
|
||||
}
|
||||
],
|
||||
"gridCells": 1226343,
|
||||
"gridHeight": 1213,
|
||||
"gridWidth": 1011,
|
||||
"ignoredEmptyTilePackingFailures": 0,
|
||||
"intermediateRetention": null,
|
||||
"mode": "solo",
|
||||
"partition": "watershed",
|
||||
"populatedTileCount": 1,
|
||||
"tileColumns": 1,
|
||||
"tileCount": 1,
|
||||
"tileRows": 1,
|
||||
"tileSize": null
|
||||
},
|
||||
"dungeonId": "ruins-of-lordaeron",
|
||||
"generator": "@recast-navigation/three@0.43.1",
|
||||
"geometry": {
|
||||
"bounds": [
|
||||
[
|
||||
-100.48125457763672,
|
||||
3.5,
|
||||
-119.45735168457031
|
||||
],
|
||||
[
|
||||
96.71875,
|
||||
77.70000457763672,
|
||||
120.54264831542969
|
||||
]
|
||||
],
|
||||
"boundsTolerance": 0.4,
|
||||
"rejectedOutOfBoundsTriangles": 0,
|
||||
"sourceTriangles": 7958,
|
||||
"sourceVertices": 23874,
|
||||
"triangles": 7958,
|
||||
"vertices": 23874
|
||||
},
|
||||
"input": {
|
||||
"bounds": [
|
||||
[
|
||||
-101.08125305175781,
|
||||
0,
|
||||
-121.25735473632812
|
||||
],
|
||||
[
|
||||
101.08125305175781,
|
||||
77.79415893554688,
|
||||
121.25735473632812
|
||||
]
|
||||
],
|
||||
"degenerateTriangleCount": 0,
|
||||
"invalidIndexCount": 0,
|
||||
"meshCount": 5,
|
||||
"nonFiniteCoordinateCount": 0,
|
||||
"triangleCount": 23642,
|
||||
"vertexCount": 26192
|
||||
},
|
||||
"inputChunkChecksums": {
|
||||
"public/assets/game/arenas/ruins-of-lordaeron/collision.glb": "a844092b66cbfcc8ae430879de3ce7a1e6441c2cfc69328dc2cb259e4cb6c645"
|
||||
},
|
||||
"inputChunks": [
|
||||
"public/assets/game/arenas/ruins-of-lordaeron/collision.glb"
|
||||
],
|
||||
"output": "public/assets/game/arenas/ruins-of-lordaeron/navigation-raw.glb",
|
||||
"schemaVersion": 1,
|
||||
"settings": {
|
||||
"agentHeight": 1.8,
|
||||
"agentMaxClimb": 0.5,
|
||||
"agentMaxSlope": 50,
|
||||
"agentRadius": 0.36,
|
||||
"cellHeight": 0.1,
|
||||
"cellSize": 0.2
|
||||
},
|
||||
"source": {
|
||||
"files": [
|
||||
"../LadiksMPQEditor/common-2.mpq/World/wmo/PvP/Buildings/Lordaeron/PVP_Lordaeron_Arena.wmo",
|
||||
"../LadiksMPQEditor/common-2.mpq/World/wmo/PvP/Buildings/Lordaeron/PVP_Lordaeron_Arena_000.wmo",
|
||||
"../LadiksMPQEditor/common-2.mpq/World/wmo/PvP/Buildings/Lordaeron/PVP_Lordaeron_Arena_001.wmo",
|
||||
"../LadiksMPQEditor/common-2.mpq/World/wmo/PvP/Buildings/Lordaeron/PVP_Lordaeron_Arena_002.wmo",
|
||||
"../LadiksMPQEditor/common-2.mpq/World/wmo/PvP/Buildings/Lordaeron/PVP_Lordaeron_Arena_003.wmo",
|
||||
"../LadiksMPQEditor/common-2.mpq/World/wmo/PvP/Buildings/Lordaeron/PVP_Lordaeron_Arena_004.wmo"
|
||||
],
|
||||
"kind": "direct-wmo-parser"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"id": "ruins-of-lordaeron",
|
||||
"title": "Ruins of Lordaeron",
|
||||
"status": "generated-review-required",
|
||||
"source": {
|
||||
"root": "../LadiksMPQEditor/common-2.mpq/World/wmo/PvP/Buildings/Lordaeron/PVP_Lordaeron_Arena.wmo",
|
||||
"groupCount": 5
|
||||
},
|
||||
"coordinateSystem": {
|
||||
"conversion": "three(x,y,z)=(-wow.x,wow.z,wow.y)",
|
||||
"rebasedOrigin": [
|
||||
4.71783447265625,
|
||||
-31.21632957458496,
|
||||
15.956310272216797
|
||||
]
|
||||
},
|
||||
"sourceBounds": {
|
||||
"min": [
|
||||
-96.36341857910156,
|
||||
-31.21632957458496,
|
||||
-105.3010482788086
|
||||
],
|
||||
"max": [
|
||||
105.79908752441406,
|
||||
46.57782745361328,
|
||||
137.2136688232422
|
||||
]
|
||||
},
|
||||
"bounds": {
|
||||
"min": [
|
||||
-101.08125305175781,
|
||||
0,
|
||||
-121.25735473632812
|
||||
],
|
||||
"max": [
|
||||
101.08125305175781,
|
||||
77.79415893554688,
|
||||
121.25735473632812
|
||||
]
|
||||
},
|
||||
"geometry": {
|
||||
"groups": 5,
|
||||
"vertices": 26192,
|
||||
"triangles": 23642,
|
||||
"collisionTriangles": 23642,
|
||||
"triangleFlags": [
|
||||
{
|
||||
"group": "group-000",
|
||||
"counts": {
|
||||
"8": 1135,
|
||||
"36": 3730,
|
||||
"72": 730,
|
||||
"100": 10270
|
||||
}
|
||||
},
|
||||
{
|
||||
"group": "group-001",
|
||||
"counts": {
|
||||
"8": 1,
|
||||
"9": 2,
|
||||
"32": 106,
|
||||
"33": 22,
|
||||
"36": 21,
|
||||
"37": 14,
|
||||
"72": 275,
|
||||
"73": 47,
|
||||
"96": 225,
|
||||
"97": 236,
|
||||
"100": 2550,
|
||||
"101": 117
|
||||
}
|
||||
},
|
||||
{
|
||||
"group": "group-002",
|
||||
"counts": {
|
||||
"32": 21,
|
||||
"96": 132
|
||||
}
|
||||
},
|
||||
{
|
||||
"group": "group-003",
|
||||
"counts": {
|
||||
"8": 13,
|
||||
"9": 2,
|
||||
"32": 185,
|
||||
"33": 22,
|
||||
"36": 53,
|
||||
"37": 14,
|
||||
"72": 252,
|
||||
"73": 56,
|
||||
"96": 276,
|
||||
"97": 229,
|
||||
"100": 2579,
|
||||
"101": 174
|
||||
}
|
||||
},
|
||||
{
|
||||
"group": "group-004",
|
||||
"counts": {
|
||||
"36": 21,
|
||||
"100": 132
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"navigation": {
|
||||
"triangles": 2085,
|
||||
"vertices": 6255,
|
||||
"sourceComponents": 157,
|
||||
"spawnDistances": [
|
||||
0.00292914523132256,
|
||||
0.004205306248988376
|
||||
],
|
||||
"rawTriangles": 7958,
|
||||
"report": "recast-report.json"
|
||||
},
|
||||
"assets": [
|
||||
{
|
||||
"role": "visual",
|
||||
"file": "visual.glb",
|
||||
"bytes": 916788,
|
||||
"sha256": "b00bcd87bd72bbabcf3e7e7edab99e8f7ddbe820b849a40df90510096e9f2f4e"
|
||||
},
|
||||
{
|
||||
"role": "collision",
|
||||
"file": "collision.glb",
|
||||
"bytes": 601048,
|
||||
"sha256": "a844092b66cbfcc8ae430879de3ce7a1e6441c2cfc69328dc2cb259e4cb6c645"
|
||||
},
|
||||
{
|
||||
"role": "navigation",
|
||||
"file": "navigation.glb",
|
||||
"bytes": 100996,
|
||||
"sha256": "be7aa6c4822f0baecafe4eb148a5952d3ce8001c7617f351e7ab257d61e7cb59"
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"id": "warnorken-arena",
|
||||
"title": "Warnorken Arena",
|
||||
"status": "validated",
|
||||
"source": {
|
||||
"kind": "validated-runewaker-package",
|
||||
"navigationSource": "navigation-source.glb"
|
||||
},
|
||||
"navigation": {
|
||||
"sourceComponents": 96,
|
||||
"triangles": 365,
|
||||
"vertices": 1095,
|
||||
"spawnDistances": [
|
||||
0.00402499431590021,
|
||||
0.004012153291366225
|
||||
]
|
||||
},
|
||||
"assets": [
|
||||
{
|
||||
"file": "visual.glb",
|
||||
"bytes": 3752136,
|
||||
"triangles": 55200,
|
||||
"sha256": "c452a843c2e4123d4fe0d20da41558f5b5a1906548b3d091dc691ffc42ed19d9"
|
||||
},
|
||||
{
|
||||
"file": "collision.glb",
|
||||
"bytes": 3005760,
|
||||
"triangles": 60751,
|
||||
"sha256": "0b1ce7555da0d2900465e3539e1bf17ac244d23a0f5eb57a2106f29570757c5c"
|
||||
},
|
||||
{
|
||||
"file": "navigation.glb",
|
||||
"bytes": 18436,
|
||||
"triangles": 365,
|
||||
"sha256": "c6085ffc96b40b1f437b8bb7e111604c135a856b02fd9b6ccae20243183cf417"
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
@@ -1,10 +1,51 @@
|
||||
const CONTENT_CACHE_NAME = "healer-man-content-v1";
|
||||
const OBJECT_HEADER = "x-healer-man-content-object";
|
||||
const ENCODING_HEADER = "x-healer-man-content-encoding";
|
||||
let bundledManifest;
|
||||
|
||||
function mimeType(path) {
|
||||
const extension = path.split(".").pop();
|
||||
return ({ glb: "model/gltf-binary", json: "application/json", js: "text/javascript", wasm: "application/wasm",
|
||||
ktx2: "image/ktx2", png: "image/png", webp: "image/webp", avif: "image/avif", svg: "image/svg+xml",
|
||||
mp3: "audio/mpeg", ogg: "audio/ogg", wav: "audio/wav", webm: "video/webm" })[extension] ?? "application/octet-stream";
|
||||
}
|
||||
|
||||
async function decodedResponse(response, path, encoding) {
|
||||
if (encoding !== "gzip") return response;
|
||||
const headers = new Headers(response.headers);
|
||||
headers.set("content-type", mimeType(path));
|
||||
headers.delete("content-length");
|
||||
headers.delete("content-encoding");
|
||||
headers.delete(ENCODING_HEADER);
|
||||
return new Response(response.body.pipeThrough(new DecompressionStream("gzip")), { status: 200, headers });
|
||||
}
|
||||
|
||||
async function bundledAsset(path) {
|
||||
if (!bundledManifest) {
|
||||
bundledManifest = fetch("/content/bootstrap-manifest.json", { cache: "no-cache" })
|
||||
.then((response) => response.ok ? response.json() : null)
|
||||
.catch(() => null);
|
||||
}
|
||||
const manifest = await bundledManifest;
|
||||
if (!manifest) { bundledManifest = null; return null; }
|
||||
const entry = manifest.files?.[path];
|
||||
if (!entry) return null;
|
||||
const object = entry.download ?? entry;
|
||||
// Older bootstrap catalogs served their original logical paths directly.
|
||||
if (!object.url.startsWith("/content/bundled/")) return fetch(path);
|
||||
const response = await fetch(object.url);
|
||||
if (!response.ok) return response;
|
||||
if (entry.download) return decodedResponse(response, path, entry.download.encoding);
|
||||
return new Response(response.body, { headers: { "content-type": mimeType(path) } });
|
||||
}
|
||||
const MANAGED_ASSET_PREFIXES = [
|
||||
"/assets/characters/",
|
||||
"/assets/creatures/",
|
||||
"/assets/equipment/",
|
||||
"/assets/game/",
|
||||
"/assets/ui/",
|
||||
"/basis/",
|
||||
"/data/",
|
||||
];
|
||||
const BUNDLED_ASSET_PREFIXES = [
|
||||
"/assets/ui/",
|
||||
@@ -12,6 +53,7 @@ const BUNDLED_ASSET_PREFIXES = [
|
||||
"/assets/characters/wow335a-v1/manifest.json",
|
||||
"/assets/characters/wow335a-v1/human/",
|
||||
"/assets/creatures/wailing-caverns/",
|
||||
"/assets/game/arenas/",
|
||||
"/assets/game/dungeons/wailing-caverns/",
|
||||
];
|
||||
const BUNDLED_ASSET_PATHS = new Set([
|
||||
@@ -35,6 +77,10 @@ self.addEventListener("install", (event) => {
|
||||
event.waitUntil(self.skipWaiting());
|
||||
});
|
||||
|
||||
self.addEventListener("message", (event) => {
|
||||
if (event.data?.type === "refresh-content-bootstrap") bundledManifest = null;
|
||||
});
|
||||
|
||||
self.addEventListener("activate", (event) => {
|
||||
event.waitUntil((async () => {
|
||||
const names = await caches.keys();
|
||||
@@ -55,7 +101,16 @@ self.addEventListener("fetch", (event) => {
|
||||
event.respondWith((async () => {
|
||||
const cache = await caches.open(CONTENT_CACHE_NAME);
|
||||
const cached = await cache.match(request, { ignoreSearch: true });
|
||||
if (cached) return cached;
|
||||
if (cached) {
|
||||
const objectPath = cached.headers.get(OBJECT_HEADER);
|
||||
if (!objectPath) return cached;
|
||||
if (objectPath.startsWith("/content/cache-objects/")) {
|
||||
const object = await cache.match(new URL(objectPath, self.location.origin).toString());
|
||||
if (object) return decodedResponse(object, url.pathname, object.headers.get(ENCODING_HEADER));
|
||||
}
|
||||
}
|
||||
const bundled = await bundledAsset(url.pathname);
|
||||
if (bundled) return bundled;
|
||||
if (BUNDLED_ASSET_PATHS.has(url.pathname)
|
||||
|| BUNDLED_ASSET_PREFIXES.some((prefix) => url.pathname.startsWith(prefix))) {
|
||||
return fetch(request);
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"versionName": "0.1.14",
|
||||
"versionCode": 1014
|
||||
"versionName": "0.1.29",
|
||||
"versionCode": 1029
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
import { build } from "esbuild";
|
||||
import { resolve, dirname } from "node:path";
|
||||
import { readFileSync, readdirSync } from "node:fs";
|
||||
|
||||
// A private copy of the existing engine keeps dedicated matches and offline
|
||||
// practice isolated from the React player's stores. No second spell interpreter.
|
||||
await build({
|
||||
entryPoints: ["scripts/arena-pipeline/combat-runtime.ts"],
|
||||
outfile: "server/generated/arena-combat-runtime.mjs",
|
||||
bundle: true,
|
||||
format: "esm",
|
||||
platform: "neutral",
|
||||
mainFields: ["module", "main"],
|
||||
target: "es2022",
|
||||
// Escape catalog line breaks in string literals, preserving tooltip text
|
||||
// without generating source lines that end in whitespace.
|
||||
supported: { "template-literal": false },
|
||||
minify: true,
|
||||
define: { "import.meta.env.MODE": '"test"', "import.meta.env.DEV": "false", "import.meta.env.BASE_URL": '"/"', "process.env.NODE_ENV": '"production"' },
|
||||
plugins: [{
|
||||
name: "arena-engine-host",
|
||||
setup(builder) {
|
||||
builder.onLoad({ filter: /coaAbilityCatalogLoader\.ts$/ }, ({ path }) => {
|
||||
const paths = readdirSync(resolve(dirname(path), "generated/coaAbilities")).filter((name) => name.endsWith(".json"))
|
||||
.map((name) => `./generated/coaAbilities/${name}`);
|
||||
return { contents: readFileSync(path, "utf8").replace(/import\.meta\.glob<[^>]+>\([^;]+\)/, `{${paths.map((name) => `${JSON.stringify(name)}: () => import(${JSON.stringify(name)})`).join(",")}}`), loader: "ts" };
|
||||
});
|
||||
builder.onResolve({ filter: /^zustand$/ }, () => ({ path: resolve("scripts/arena-pipeline/runtime-store.ts") }));
|
||||
builder.onResolve({ filter: /^\.\/store$/ }, ({ importer }) => importer.endsWith("combatStore.ts") ? ({ path: "game-store", namespace: "arena-host" }) : undefined);
|
||||
builder.onResolve({ filter: /^\.\/dungeonEncounterRuntime$/ }, ({ importer }) => importer.endsWith("combatStore.ts") ? ({ path: "encounter", namespace: "arena-host" }) : undefined);
|
||||
builder.onResolve({ filter: /^\.\/onlineSessionRuntime$/ }, ({ importer }) => importer.endsWith("combatStore.ts") ? ({ path: "online", namespace: "arena-host" }) : undefined);
|
||||
builder.onLoad({ filter: /.*/, namespace: "arena-host" }, ({ path }) => ({ contents: path === "game-store"
|
||||
? 'export const useGameStore = { getState: () => ({ gameMode: "arena" }) };'
|
||||
: path === "online" ? 'export const onlinePlayerRuntimeActors = () => []; export const onlinePlayerRuntimeActor = () => null;'
|
||||
: 'export const dispatchDungeonEncounterSignal = () => {}; export const dungeonEncounterStateMatches = () => false;', loader: "js" }));
|
||||
},
|
||||
}],
|
||||
});
|
||||
@@ -0,0 +1,318 @@
|
||||
import { createHash } from "node:crypto";
|
||||
import { access, mkdir, readFile, readdir, unlink, writeFile } from "node:fs/promises";
|
||||
import path from "node:path";
|
||||
import { bakeNavigationFromCollisionAssets } from "../dungeon-pipeline/recast-bake.mjs";
|
||||
import { extractNavigationComponent } from "./extract-navigation-component.mjs";
|
||||
import { MeshoptDecoder } from "meshoptimizer";
|
||||
import { Vector3 } from "three";
|
||||
import { GLTFLoader } from "three/examples/jsm/loaders/GLTFLoader.js";
|
||||
import {
|
||||
geometryBounds,
|
||||
parseRootGroupCount,
|
||||
parseWmoGroup,
|
||||
rebaseWmoGroups,
|
||||
wmoChunks,
|
||||
writeWmoGeometry,
|
||||
} from "./build-wmo-arenas.mjs";
|
||||
|
||||
const projectRoot = path.resolve(import.meta.dirname, "../..");
|
||||
const extractedRoot = path.resolve(projectRoot, "../LadiksMPQEditor");
|
||||
const outputRoot = path.join(projectRoot, "public/assets/game/arenas");
|
||||
const sourceLayers = ["patch-WC1", "patch-WB2", "patch-WB1", "patch-2", "patch", "lichking", "common-2.mpq"];
|
||||
|
||||
const DEFINITIONS = Object.freeze([
|
||||
{
|
||||
slug: "black-rook-hold-arena",
|
||||
title: "Black Rook Hold Arena",
|
||||
mapDirectory: "patch-WB1/world/maps/blackrookholdarena",
|
||||
primaryPattern: /7vs_blackrookhold_arena\.wmo$/i,
|
||||
alignmentOffset: [117.542488, -102.29949, -224.463489],
|
||||
legacyCollision: "public/assets/game/manastorm/1784-blackrookholdarena/collision.glb",
|
||||
gameplayBounds: { min: [-37, -32, -286], max: [126, 20, -138] },
|
||||
teamSpawns: [[-35.043, -28.317, -204.435], [108.031, -28.317, -205.573]],
|
||||
},
|
||||
{
|
||||
slug: "ashamanes-fall",
|
||||
title: "Ashamane's Fall",
|
||||
mapDirectory: "patch-WB2/world/maps/valsharaharena",
|
||||
primaryPattern: /custom_valsharah_arena\.wmo$/i,
|
||||
alignmentOffset: [34.174934, -32.347685, 20.31486],
|
||||
legacyCollision: "public/assets/game/manastorm/1785-valsharaharena/collision.glb",
|
||||
gameplayBounds: { min: [14, -4, 2], max: [58, 16, 36] },
|
||||
teamSpawns: [[18.223099, -0.480263, 32.034554], [55.023094, -0.480263, 7.123436]],
|
||||
},
|
||||
]);
|
||||
|
||||
function strings(buffer) {
|
||||
return buffer.toString("utf8").split("\0").filter(Boolean);
|
||||
}
|
||||
|
||||
export function parseAdtPlacements(buffer) {
|
||||
const top = wmoChunks(buffer);
|
||||
const mwmo = top.get("MWMO");
|
||||
const mwid = top.get("MWID");
|
||||
const modf = top.get("MODF");
|
||||
if (!mwmo || !mwid || !modf) return [];
|
||||
const names = new Map();
|
||||
for (let offset = 0; offset < mwmo.length;) {
|
||||
const end = mwmo.indexOf(0, offset);
|
||||
if (end < 0) break;
|
||||
if (end > offset) names.set(offset, mwmo.toString("utf8", offset, end));
|
||||
offset = end + 1;
|
||||
}
|
||||
const offsets = [];
|
||||
for (let offset = 0; offset + 4 <= mwid.length; offset += 4) offsets.push(mwid.readUInt32LE(offset));
|
||||
const placements = [];
|
||||
for (let offset = 0; offset + 64 <= modf.length; offset += 64) {
|
||||
const nameIndex = modf.readUInt32LE(offset);
|
||||
placements.push({
|
||||
path: names.get(offsets[nameIndex]) ?? strings(mwmo)[nameIndex] ?? null,
|
||||
uniqueId: modf.readUInt32LE(offset + 4),
|
||||
position: [modf.readFloatLE(offset + 8), modf.readFloatLE(offset + 12), modf.readFloatLE(offset + 16)],
|
||||
rotation: [modf.readFloatLE(offset + 20), modf.readFloatLE(offset + 24), modf.readFloatLE(offset + 28)],
|
||||
scale: modf.readUInt16LE(offset + 62) / 1024 || 1,
|
||||
});
|
||||
}
|
||||
return placements.filter((placement) => placement.path);
|
||||
}
|
||||
|
||||
async function exists(file) {
|
||||
try { await access(file); return true; } catch { return false; }
|
||||
}
|
||||
|
||||
async function resolveWmo(relativePath) {
|
||||
const normalized = relativePath.replace(/\\/g, "/");
|
||||
for (const layer of sourceLayers) {
|
||||
const file = path.join(extractedRoot, layer, ...normalized.split("/"));
|
||||
if (await exists(file)) return file;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
function rotate([x, y, z], [xDegrees, yDegrees, zDegrees]) {
|
||||
const radians = [xDegrees, yDegrees, zDegrees].map((degrees) => degrees * Math.PI / 180);
|
||||
let [nextX, nextY, nextZ] = [x, y, z];
|
||||
let cosine = Math.cos(radians[0]); let sine = Math.sin(radians[0]);
|
||||
[nextY, nextZ] = [nextY * cosine - nextZ * sine, nextY * sine + nextZ * cosine];
|
||||
cosine = Math.cos(radians[1]); sine = Math.sin(radians[1]);
|
||||
[nextX, nextZ] = [nextX * cosine + nextZ * sine, -nextX * sine + nextZ * cosine];
|
||||
cosine = Math.cos(radians[2]); sine = Math.sin(radians[2]);
|
||||
[nextX, nextY] = [nextX * cosine - nextY * sine, nextX * sine + nextY * cosine];
|
||||
return [nextX, nextY, nextZ];
|
||||
}
|
||||
|
||||
function placementBase(position) {
|
||||
return [17066.6666666667 - position[2], 17066.6666666667 - position[0], position[1]];
|
||||
}
|
||||
|
||||
function placeGroup(group, placement, primaryBase) {
|
||||
const base = placementBase(placement.position);
|
||||
const positions = new Float32Array(group.positions.length);
|
||||
const normals = group.normals ? new Float32Array(group.normals.length) : null;
|
||||
for (let offset = 0; offset < group.positions.length; offset += 3) {
|
||||
// Undo the direct parser's Three-axis conversion before applying the MODF transform.
|
||||
const local = [-group.positions[offset], group.positions[offset + 2], group.positions[offset + 1]];
|
||||
const transformed = rotate(local.map((value) => value * placement.scale), placement.rotation);
|
||||
positions[offset] = -(base[0] + transformed[0] - primaryBase[0]);
|
||||
positions[offset + 1] = base[2] + transformed[2] - primaryBase[2];
|
||||
positions[offset + 2] = base[1] + transformed[1] - primaryBase[1];
|
||||
if (normals) {
|
||||
const localNormal = [-group.normals[offset], group.normals[offset + 2], group.normals[offset + 1]];
|
||||
const transformedNormal = rotate(localNormal, placement.rotation);
|
||||
normals[offset] = -transformedNormal[0];
|
||||
normals[offset + 1] = transformedNormal[2];
|
||||
normals[offset + 2] = transformedNormal[1];
|
||||
}
|
||||
}
|
||||
return { ...group, positions, normals };
|
||||
}
|
||||
|
||||
async function loadPlacementGroups(placement, placementIndex, primaryBase) {
|
||||
const rootFile = await resolveWmo(placement.path);
|
||||
if (!rootFile) throw new Error(`Missing placed WMO: ${placement.path}`);
|
||||
const root = await readFile(rootFile);
|
||||
const groupCount = parseRootGroupCount(root);
|
||||
const extension = path.extname(rootFile);
|
||||
const base = rootFile.slice(0, -extension.length);
|
||||
const groups = [];
|
||||
for (let groupIndex = 0; groupIndex < groupCount; groupIndex += 1) {
|
||||
const groupFile = `${base}_${String(groupIndex).padStart(3, "0")}${extension}`;
|
||||
let parsed;
|
||||
try {
|
||||
parsed = parseWmoGroup(await readFile(groupFile), `placement-${placementIndex}-group-${groupIndex}`);
|
||||
} catch (error) {
|
||||
throw new Error(`${placement.path} group ${groupIndex}: ${error.message}`, { cause: error });
|
||||
}
|
||||
groups.push(placeGroup(parsed, placement, primaryBase));
|
||||
}
|
||||
return { rootFile, groups };
|
||||
}
|
||||
|
||||
function splitCollisionGroups(groups, triangleLimit = 90000) {
|
||||
const chunks = [];
|
||||
let current = [];
|
||||
let currentTriangles = 0;
|
||||
for (const group of groups) {
|
||||
let indexOffset = 0;
|
||||
while (indexOffset < group.collisionIndices.length) {
|
||||
const availableTriangles = triangleLimit - currentTriangles;
|
||||
if (availableTriangles <= 0) {
|
||||
chunks.push(current);
|
||||
current = [];
|
||||
currentTriangles = 0;
|
||||
continue;
|
||||
}
|
||||
const takeIndices = Math.min(group.collisionIndices.length - indexOffset, availableTriangles * 3);
|
||||
current.push({ ...group, collisionIndices: group.collisionIndices.slice(indexOffset, indexOffset + takeIndices) });
|
||||
currentTriangles += takeIndices / 3;
|
||||
indexOffset += takeIndices;
|
||||
}
|
||||
}
|
||||
if (current.length) chunks.push(current);
|
||||
return chunks;
|
||||
}
|
||||
|
||||
async function hash(file) {
|
||||
return createHash("sha256").update(await readFile(file)).digest("hex");
|
||||
}
|
||||
|
||||
function triangleInsideGameplayBounds(points, bounds) {
|
||||
const centroid = [0, 1, 2].map((axis) => (points[0][axis] + points[1][axis] + points[2][axis]) / 3);
|
||||
return centroid[0] >= bounds.min[0] - 6 && centroid[0] <= bounds.max[0] + 6
|
||||
&& centroid[1] >= bounds.min[1] - 6 && centroid[1] <= bounds.max[1] + 16
|
||||
&& centroid[2] >= bounds.min[2] - 6 && centroid[2] <= bounds.max[2] + 6;
|
||||
}
|
||||
|
||||
async function croppedNavigationGroup(legacyCollisionFile, groups, bounds) {
|
||||
await MeshoptDecoder.ready;
|
||||
const bytes = await readFile(legacyCollisionFile);
|
||||
const buffer = bytes.buffer.slice(bytes.byteOffset, bytes.byteOffset + bytes.byteLength);
|
||||
const scene = await new Promise((resolve, reject) => new GLTFLoader()
|
||||
.setMeshoptDecoder(MeshoptDecoder)
|
||||
.parse(buffer, "", (gltf) => resolve(gltf.scene), reject));
|
||||
scene.updateMatrixWorld(true);
|
||||
const output = [];
|
||||
const a = new Vector3();
|
||||
const b = new Vector3();
|
||||
const c = new Vector3();
|
||||
scene.traverse((object) => {
|
||||
if (!object.isMesh || !object.geometry?.getAttribute("position")) return;
|
||||
const positions = object.geometry.getAttribute("position");
|
||||
const indices = object.geometry.getIndex();
|
||||
const count = indices?.count ?? positions.count;
|
||||
const vertexIndex = (element) => indices ? indices.getX(element) : element;
|
||||
for (let element = 0; element < count; element += 3) {
|
||||
const points = [a, b, c].map((point, corner) => point.fromBufferAttribute(positions, vertexIndex(element + corner)).applyMatrix4(object.matrixWorld).toArray());
|
||||
if (triangleInsideGameplayBounds(points, bounds)) output.push(...points.flat());
|
||||
}
|
||||
});
|
||||
for (const group of groups) {
|
||||
for (let offset = 0; offset < group.collisionIndices.length; offset += 3) {
|
||||
const points = [0, 1, 2].map((corner) => {
|
||||
const index = group.collisionIndices[offset + corner] * 3;
|
||||
return [group.positions[index], group.positions[index + 1], group.positions[index + 2]];
|
||||
});
|
||||
if (triangleInsideGameplayBounds(points, bounds)) output.push(...points.flat());
|
||||
}
|
||||
}
|
||||
const positions = new Float32Array(output);
|
||||
const indices = Uint32Array.from({ length: positions.length / 3 }, (_, index) => index);
|
||||
return { name: "rated-gameplay-collision", positions, normals: null, indices, collisionIndices: indices, flagCounts: {} };
|
||||
}
|
||||
|
||||
async function build(definition) {
|
||||
const mapRoot = path.join(extractedRoot, ...definition.mapDirectory.split("/"));
|
||||
const adtFiles = (await readdir(mapRoot)).filter((name) => name.toLowerCase().endsWith(".adt")).sort();
|
||||
const placementsById = new Map();
|
||||
for (const adt of adtFiles) {
|
||||
for (const placement of parseAdtPlacements(await readFile(path.join(mapRoot, adt)))) placementsById.set(placement.uniqueId, placement);
|
||||
}
|
||||
const placements = [...placementsById.values()];
|
||||
const primary = placements.find((placement) => definition.primaryPattern.test(placement.path));
|
||||
if (!primary) throw new Error(`${definition.slug}: primary arena WMO placement was not found.`);
|
||||
const primaryBase = placementBase(primary.position);
|
||||
const groups = [];
|
||||
const sources = [];
|
||||
for (const [index, placement] of placements.entries()) {
|
||||
const loaded = await loadPlacementGroups(placement, index, primaryBase);
|
||||
groups.push(...loaded.groups);
|
||||
sources.push(path.relative(projectRoot, loaded.rootFile).replace(/\\/g, "/"));
|
||||
}
|
||||
const transform = rebaseWmoGroups(groups);
|
||||
for (const group of groups) {
|
||||
for (let offset = 0; offset < group.positions.length; offset += 3) {
|
||||
group.positions[offset] += definition.alignmentOffset[0];
|
||||
group.positions[offset + 1] += definition.alignmentOffset[1];
|
||||
group.positions[offset + 2] += definition.alignmentOffset[2];
|
||||
}
|
||||
}
|
||||
const alignedBounds = geometryBounds(groups);
|
||||
const outputDirectory = path.join(outputRoot, definition.slug);
|
||||
await mkdir(outputDirectory, { recursive: true });
|
||||
const visualFile = path.join(outputDirectory, "visual.glb");
|
||||
await writeWmoGeometry(visualFile, groups, true);
|
||||
const collisionChunks = splitCollisionGroups(groups);
|
||||
const collisionFiles = [];
|
||||
for (const [index, chunk] of collisionChunks.entries()) {
|
||||
const file = path.join(outputDirectory, index === 0 ? "collision.glb" : `collision-${String(index).padStart(3, "0")}.glb`);
|
||||
await writeWmoGeometry(file, chunk, false);
|
||||
collisionFiles.push(file);
|
||||
}
|
||||
const navigationFile = path.join(outputDirectory, "navigation.glb");
|
||||
const rawNavigationFile = path.join(outputDirectory, "navigation-raw.glb");
|
||||
const legacyCollisionFile = path.join(projectRoot, ...definition.legacyCollision.split("/"));
|
||||
const navigationCollisionFile = path.join(outputDirectory, "navigation-collision.glb");
|
||||
const navigationGroup = await croppedNavigationGroup(legacyCollisionFile, groups, definition.gameplayBounds);
|
||||
await writeWmoGeometry(navigationCollisionFile, [navigationGroup], false);
|
||||
const navigation = await bakeNavigationFromCollisionAssets({
|
||||
slug: definition.slug,
|
||||
collisionAssets: [{ id: "rated-gameplay-collision", role: "collision", path: path.relative(projectRoot, navigationCollisionFile).replace(/\\/g, "/") }],
|
||||
settings: { cellSize: 0.2, cellHeight: 0.1, agentHeight: 1.8, agentRadius: 0.36, agentMaxClimb: 0.5, agentMaxSlope: 50 },
|
||||
output: rawNavigationFile,
|
||||
reportFile: path.join(outputDirectory, "recast-report.json"),
|
||||
source: { kind: "adt-placed-wmo-repair", adtFiles, placedWmos: sources, legacyCollision: definition.legacyCollision, gameplayBounds: definition.gameplayBounds },
|
||||
});
|
||||
const connectedNavigation = await extractNavigationComponent({
|
||||
source: rawNavigationFile,
|
||||
output: navigationFile,
|
||||
teamSpawns: definition.teamSpawns,
|
||||
});
|
||||
await Promise.all([unlink(rawNavigationFile), unlink(navigationCollisionFile)]);
|
||||
const files = [visualFile, ...collisionFiles, navigationFile];
|
||||
const report = {
|
||||
schemaVersion: 1,
|
||||
id: definition.slug,
|
||||
title: definition.title,
|
||||
status: "generated-review-required",
|
||||
source: { mapDirectory: definition.mapDirectory, adtFiles, placementCount: placements.length, placedWmos: sources },
|
||||
coordinateSystem: {
|
||||
conversion: "three(x,y,z)=(-wow.x,wow.z,wow.y)",
|
||||
rebasedOrigin: transform.origin,
|
||||
alignmentOffset: definition.alignmentOffset,
|
||||
alignment: "primary WMO matched to the existing HealerMan stage coordinate frame",
|
||||
},
|
||||
bounds: alignedBounds,
|
||||
geometry: {
|
||||
groups: groups.length,
|
||||
triangles: groups.reduce((sum, group) => sum + group.indices.length / 3, 0),
|
||||
collisionTriangles: groups.reduce((sum, group) => sum + group.collisionIndices.length / 3, 0),
|
||||
collisionChunks: collisionFiles.length,
|
||||
},
|
||||
navigation: {
|
||||
triangles: connectedNavigation.triangles,
|
||||
vertices: connectedNavigation.vertices,
|
||||
sourceComponents: connectedNavigation.sourceComponents,
|
||||
spawnDistances: connectedNavigation.spawnDistances,
|
||||
rawTriangles: navigation.geometry.triangles,
|
||||
report: "recast-report.json",
|
||||
},
|
||||
assets: await Promise.all(files.map(async (file) => ({ file: path.basename(file), bytes: (await readFile(file)).length, sha256: await hash(file) }))),
|
||||
};
|
||||
await writeFile(path.join(outputDirectory, "stage-pack.json"), `${JSON.stringify(report, null, 2)}\n`);
|
||||
console.log(`${definition.slug}: ${placements.length} placed WMOs, ${report.geometry.triangles} triangles, ${report.navigation.triangles} nav triangles`);
|
||||
}
|
||||
|
||||
if (process.argv[1] && path.resolve(process.argv[1]) === path.resolve(import.meta.filename)) {
|
||||
const requested = new Set(process.argv.slice(2));
|
||||
for (const definition of DEFINITIONS.filter((entry) => !requested.size || requested.has(entry.slug))) await build(definition);
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
import { NodeIO } from "@gltf-transform/core";
|
||||
import { ALL_EXTENSIONS } from "@gltf-transform/extensions";
|
||||
import { MeshoptDecoder } from "meshoptimizer";
|
||||
import { Matrix4, Vector3 } from "three";
|
||||
import { writeFileSync, readdirSync } from "node:fs";
|
||||
import catalog from "../../shared/arena-stages.json" with { type: "json" };
|
||||
|
||||
const io = new NodeIO().registerExtensions(ALL_EXTENSIONS).registerDependencies({ "meshopt.decoder": MeshoptDecoder });
|
||||
const stages = {};
|
||||
for (const stage of catalog.stages) {
|
||||
stages[stage.id] = {};
|
||||
for (const kind of ["navigation", "collision"]) {
|
||||
const triangles = [];
|
||||
const files = kind === "collision" ? readdirSync(`public${stage.assetBaseUrl}`).filter((name) => /^collision(?:-\d+)?\.glb$/.test(name)) : ["navigation.glb"];
|
||||
for (const file of files) {
|
||||
const document = await io.read(`public${stage.assetBaseUrl}/${file}`);
|
||||
for (const node of document.getRoot().listNodes()) {
|
||||
const mesh = node.getMesh();
|
||||
if (!mesh) continue;
|
||||
const matrix = new Matrix4().fromArray(node.getWorldMatrix());
|
||||
for (const primitive of mesh.listPrimitives()) {
|
||||
const positions = primitive.getAttribute("POSITION");
|
||||
if (!positions) continue;
|
||||
const indices = primitive.getIndices()?.getArray() ?? Array.from({ length: positions.getCount() }, (_, index) => index);
|
||||
for (let offset = 0; offset < indices.length; offset += 3) {
|
||||
const triangle = Array.from({ length: 3 }, (_, corner) => new Vector3().fromArray(positions.getElement(indices[offset + corner], [])).applyMatrix4(matrix).toArray());
|
||||
if ([0, 2].some((axis) => triangle.every((point) => point[axis] < stage.bounds.min[axis] - 3) || triangle.every((point) => point[axis] > stage.bounds.max[axis] + 3))) continue;
|
||||
triangles.push(...triangle.flat().map((value) => Math.round(value * 1000) / 1000));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
stages[stage.id][kind] = triangles;
|
||||
}
|
||||
console.log(`${stage.id}: ${stages[stage.id].navigation.length / 9} navigation, ${stages[stage.id].collision.length / 9} collision triangles`);
|
||||
}
|
||||
writeFileSync("server/generated/arena-geometry.json", `${JSON.stringify(stages)}\n`);
|
||||
writeFileSync("server/generated/arena-navigation.json", `${JSON.stringify(Object.fromEntries(Object.entries(stages).map(([id, stage]) => [id, stage.navigation])))}\n`);
|
||||
@@ -0,0 +1,249 @@
|
||||
import { createHash } from "node:crypto";
|
||||
import { mkdir, readFile, unlink, writeFile } from "node:fs/promises";
|
||||
import path from "node:path";
|
||||
import { Document, NodeIO } from "@gltf-transform/core";
|
||||
import { bakeNavigationFromCollisionAssets } from "../dungeon-pipeline/recast-bake.mjs";
|
||||
import { extractNavigationComponent } from "./extract-navigation-component.mjs";
|
||||
|
||||
const projectRoot = path.resolve(import.meta.dirname, "../..");
|
||||
const sourceRoot = path.resolve(projectRoot, "../LadiksMPQEditor/common-2.mpq");
|
||||
const outputRoot = path.join(projectRoot, "public/assets/game/arenas");
|
||||
|
||||
const ARENAS = Object.freeze([
|
||||
{ slug: "nagrand-arena", title: "Nagrand Arena", root: "World/wmo/Dungeon/OL_OgreHuts/PVP_Ogre_Arena01.wmo", teamSpawns: [[-43.41, 13.4, -42.04], [42.03, 14.5, -44.44]] },
|
||||
{ slug: "blades-edge-arena", title: "Blade's Edge Arena", root: "World/wmo/PvP/Buildings/AncientOrcArena/ancorc_PVPstadium.wmo", teamSpawns: [[29.2, 50.7, -51.49], [31.13, 54.4, 49.51]] },
|
||||
{ slug: "ruins-of-lordaeron", title: "Ruins of Lordaeron", root: "World/wmo/PvP/Buildings/Lordaeron/PVP_Lordaeron_Arena.wmo", teamSpawns: [[-8.68, 30.1, -73.96], [-5.08, 27.6, 57.28]] },
|
||||
{ slug: "dalaran-sewers", title: "Dalaran Sewers", root: "World/wmo/PvP/Buildings/Dalaran/dalaran_sewer_arena.wmo", teamSpawns: [[-12.41, 20.1, -63.05], [21.79, 20.2, 25.15]] },
|
||||
{ slug: "ring-of-valor", title: "Ring of Valor", root: "World/wmo/PvP/Buildings/Orgrimmar/OrgrimmarArena.wmo", teamSpawns: [[0, 27, 25], [0, 27, -25]] },
|
||||
]);
|
||||
|
||||
function tag(buffer, offset) {
|
||||
return buffer.toString("ascii", offset, offset + 4).split("").reverse().join("");
|
||||
}
|
||||
|
||||
export function wmoChunks(buffer, start = 0, end = buffer.length) {
|
||||
const result = new Map();
|
||||
let offset = start;
|
||||
while (offset + 8 <= end) {
|
||||
const id = tag(buffer, offset);
|
||||
const size = buffer.readUInt32LE(offset + 4);
|
||||
const payloadStart = offset + 8;
|
||||
let payloadEnd = payloadStart + size;
|
||||
// Some Legion-era custom group files report the original uncompressed MOGP
|
||||
// container length even though trailing optional chunks were stripped.
|
||||
// MOGP is the terminal top-level container, so the physical EOF is safe.
|
||||
if (id === "MOGP" && payloadEnd > end) payloadEnd = end;
|
||||
if (payloadEnd > end) throw new Error(`Invalid ${id} chunk at ${offset}: ${size} bytes exceeds the WMO boundary.`);
|
||||
result.set(id, buffer.subarray(payloadStart, payloadEnd));
|
||||
offset = payloadEnd;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
export function parseRootGroupCount(buffer) {
|
||||
const root = wmoChunks(buffer);
|
||||
const header = root.get("MOHD");
|
||||
if (!header || header.length < 8) throw new Error("WMO root is missing MOHD.");
|
||||
return header.readUInt32LE(4);
|
||||
}
|
||||
|
||||
export function parseWmoGroup(buffer, name) {
|
||||
const top = wmoChunks(buffer);
|
||||
const group = top.get("MOGP");
|
||||
if (!group || group.length <= 68) throw new Error(`${name}: missing MOGP geometry.`);
|
||||
const nested = wmoChunks(group, 68, group.length);
|
||||
const vertexBytes = nested.get("MOVT");
|
||||
const normalBytes = nested.get("MONR");
|
||||
const indexBytes = nested.get("MOVI");
|
||||
const materialBytes = nested.get("MOPY");
|
||||
if (!vertexBytes || !indexBytes) throw new Error(`${name}: missing MOVT or MOVI.`);
|
||||
const positions = new Float32Array(vertexBytes.length / 4);
|
||||
for (let offset = 0; offset < vertexBytes.length; offset += 4) positions[offset / 4] = vertexBytes.readFloatLE(offset);
|
||||
const sourceNormals = normalBytes ? new Float32Array(normalBytes.length / 4) : null;
|
||||
if (normalBytes) for (let offset = 0; offset < normalBytes.length; offset += 4) sourceNormals[offset / 4] = normalBytes.readFloatLE(offset);
|
||||
const indices = new Uint32Array(indexBytes.length / 2);
|
||||
for (let offset = 0; offset < indexBytes.length; offset += 2) indices[offset / 2] = indexBytes.readUInt16LE(offset);
|
||||
const transformed = new Float32Array(positions.length);
|
||||
const normals = sourceNormals?.length === positions.length ? new Float32Array(positions.length) : null;
|
||||
for (let index = 0; index < positions.length; index += 3) {
|
||||
transformed[index] = -positions[index];
|
||||
transformed[index + 1] = positions[index + 2];
|
||||
transformed[index + 2] = positions[index + 1];
|
||||
if (normals) {
|
||||
normals[index] = -sourceNormals[index];
|
||||
normals[index + 1] = sourceNormals[index + 2];
|
||||
normals[index + 2] = sourceNormals[index + 1];
|
||||
}
|
||||
}
|
||||
const flagCounts = {};
|
||||
const collisionIndexValues = [];
|
||||
if (materialBytes) {
|
||||
for (let offset = 0; offset < materialBytes.length; offset += 2) {
|
||||
const flag = materialBytes[offset];
|
||||
flagCounts[flag] = (flagCounts[flag] ?? 0) + 1;
|
||||
if (flag & 0x04) {
|
||||
const triangleOffset = (offset / 2) * 3;
|
||||
collisionIndexValues.push(indices[triangleOffset], indices[triangleOffset + 1], indices[triangleOffset + 2]);
|
||||
}
|
||||
}
|
||||
}
|
||||
return {
|
||||
name, positions: transformed, normals, indices, flagCounts,
|
||||
// Retain every structural WMO triangle for authoritative collision. MOPY
|
||||
// bit meanings vary by client generation and several arena floors use flag
|
||||
// combinations that would otherwise be omitted; Recast filters slopes.
|
||||
collisionIndices: indices,
|
||||
flaggedCollisionIndices: materialBytes ? new Uint32Array(collisionIndexValues) : indices,
|
||||
};
|
||||
}
|
||||
|
||||
export function geometryBounds(groups) {
|
||||
const min = [Infinity, Infinity, Infinity];
|
||||
const max = [-Infinity, -Infinity, -Infinity];
|
||||
for (const group of groups) {
|
||||
for (let offset = 0; offset < group.positions.length; offset += 3) {
|
||||
for (let axis = 0; axis < 3; axis += 1) {
|
||||
min[axis] = Math.min(min[axis], group.positions[offset + axis]);
|
||||
max[axis] = Math.max(max[axis], group.positions[offset + axis]);
|
||||
}
|
||||
}
|
||||
}
|
||||
return { min, max };
|
||||
}
|
||||
|
||||
export function rebaseWmoGroups(groups) {
|
||||
const sourceBounds = geometryBounds(groups);
|
||||
const center = [
|
||||
(sourceBounds.min[0] + sourceBounds.max[0]) / 2,
|
||||
sourceBounds.min[1],
|
||||
(sourceBounds.min[2] + sourceBounds.max[2]) / 2,
|
||||
];
|
||||
for (const group of groups) {
|
||||
for (let offset = 0; offset < group.positions.length; offset += 3) {
|
||||
group.positions[offset] -= center[0];
|
||||
group.positions[offset + 1] -= center[1];
|
||||
group.positions[offset + 2] -= center[2];
|
||||
}
|
||||
}
|
||||
return { sourceBounds, origin: center, bounds: geometryBounds(groups) };
|
||||
}
|
||||
|
||||
export async function writeWmoGeometry(file, groups, visual) {
|
||||
const document = new Document();
|
||||
const buffer = document.createBuffer("arena-buffer");
|
||||
const scene = document.createScene("arena");
|
||||
const colors = [
|
||||
[0.37, 0.32, 0.22, 1], [0.29, 0.34, 0.3, 1], [0.42, 0.4, 0.34, 1],
|
||||
[0.31, 0.27, 0.24, 1], [0.34, 0.37, 0.42, 1],
|
||||
];
|
||||
for (const [index, group] of groups.entries()) {
|
||||
const groupIndices = visual ? group.indices : group.collisionIndices;
|
||||
if (!groupIndices.length) continue;
|
||||
const position = document.createAccessor(`${group.name}-position`, buffer).setType("VEC3").setArray(group.positions);
|
||||
const indices = document.createAccessor(`${group.name}-indices`, buffer).setType("SCALAR").setArray(groupIndices);
|
||||
const primitive = document.createPrimitive().setAttribute("POSITION", position).setIndices(indices);
|
||||
if (visual && group.normals) {
|
||||
primitive.setAttribute("NORMAL", document.createAccessor(`${group.name}-normal`, buffer).setType("VEC3").setArray(group.normals));
|
||||
}
|
||||
if (visual) {
|
||||
primitive.setMaterial(document.createMaterial(`${group.name}-stone`)
|
||||
.setBaseColorFactor(colors[index % colors.length])
|
||||
.setRoughnessFactor(0.84)
|
||||
.setMetallicFactor(0.02)
|
||||
.setDoubleSided(true));
|
||||
}
|
||||
const mesh = document.createMesh(group.name).addPrimitive(primitive);
|
||||
scene.addChild(document.createNode(group.name).setMesh(mesh));
|
||||
}
|
||||
await new NodeIO().write(file, document);
|
||||
}
|
||||
|
||||
async function sha256(file) {
|
||||
const buffer = await readFile(file);
|
||||
return createHash("sha256").update(buffer).digest("hex");
|
||||
}
|
||||
|
||||
async function buildArena(definition) {
|
||||
const rootFile = path.join(sourceRoot, ...definition.root.split("/"));
|
||||
const root = await readFile(rootFile);
|
||||
const groupCount = parseRootGroupCount(root);
|
||||
const extension = path.extname(rootFile);
|
||||
const base = rootFile.slice(0, -extension.length);
|
||||
const groups = [];
|
||||
const sourceFiles = [rootFile];
|
||||
for (let index = 0; index < groupCount; index += 1) {
|
||||
const groupFile = `${base}_${String(index).padStart(3, "0")}${extension}`;
|
||||
const data = await readFile(groupFile);
|
||||
sourceFiles.push(groupFile);
|
||||
groups.push(parseWmoGroup(data, `group-${String(index).padStart(3, "0")}`));
|
||||
}
|
||||
const transform = rebaseWmoGroups(groups);
|
||||
const outputDirectory = path.join(outputRoot, definition.slug);
|
||||
await mkdir(outputDirectory, { recursive: true });
|
||||
const visualFile = path.join(outputDirectory, "visual.glb");
|
||||
const collisionFile = path.join(outputDirectory, "collision.glb");
|
||||
const navigationFile = path.join(outputDirectory, "navigation.glb");
|
||||
const rawNavigationFile = path.join(outputDirectory, "navigation-raw.glb");
|
||||
const recastReport = path.join(outputDirectory, "recast-report.json");
|
||||
await writeWmoGeometry(visualFile, groups, true);
|
||||
await writeWmoGeometry(collisionFile, groups, false);
|
||||
const triangles = groups.reduce((sum, group) => sum + group.indices.length / 3, 0);
|
||||
const collisionTriangles = groups.reduce((sum, group) => sum + group.collisionIndices.length / 3, 0);
|
||||
if (collisionTriangles > 100000) throw new Error(`${definition.slug}: ${collisionTriangles} collision triangles exceed the rated limit.`);
|
||||
const relativeCollision = path.relative(projectRoot, collisionFile).replace(/\\/g, "/");
|
||||
const navigation = await bakeNavigationFromCollisionAssets({
|
||||
slug: definition.slug,
|
||||
collisionAssets: [{ id: "collision", role: "collision", path: relativeCollision }],
|
||||
settings: { cellSize: 0.2, cellHeight: 0.1, agentHeight: 1.8, agentRadius: 0.36, agentMaxClimb: 0.5, agentMaxSlope: 50 },
|
||||
output: rawNavigationFile,
|
||||
reportFile: recastReport,
|
||||
source: { kind: "direct-wmo-parser", files: sourceFiles.map((file) => path.relative(projectRoot, file).replace(/\\/g, "/")) },
|
||||
});
|
||||
const connectedNavigation = await extractNavigationComponent({
|
||||
source: rawNavigationFile,
|
||||
output: navigationFile,
|
||||
teamSpawns: definition.teamSpawns,
|
||||
});
|
||||
await unlink(rawNavigationFile);
|
||||
const assets = await Promise.all([
|
||||
["visual", visualFile], ["collision", collisionFile], ["navigation", navigationFile],
|
||||
].map(async ([role, file]) => ({ role, file: path.basename(file), bytes: (await readFile(file)).length, sha256: await sha256(file) })));
|
||||
const report = {
|
||||
schemaVersion: 1,
|
||||
id: definition.slug,
|
||||
title: definition.title,
|
||||
status: "generated-review-required",
|
||||
source: { root: path.relative(projectRoot, rootFile).replace(/\\/g, "/"), groupCount },
|
||||
coordinateSystem: { conversion: "three(x,y,z)=(-wow.x,wow.z,wow.y)", rebasedOrigin: transform.origin },
|
||||
sourceBounds: transform.sourceBounds,
|
||||
bounds: transform.bounds,
|
||||
geometry: {
|
||||
groups: groups.length,
|
||||
vertices: groups.reduce((sum, group) => sum + group.positions.length / 3, 0),
|
||||
triangles,
|
||||
collisionTriangles,
|
||||
triangleFlags: groups.map((group) => ({ group: group.name, counts: group.flagCounts })),
|
||||
},
|
||||
navigation: {
|
||||
triangles: connectedNavigation.triangles,
|
||||
vertices: connectedNavigation.vertices,
|
||||
sourceComponents: connectedNavigation.sourceComponents,
|
||||
spawnDistances: connectedNavigation.spawnDistances,
|
||||
rawTriangles: navigation.geometry.triangles,
|
||||
report: "recast-report.json",
|
||||
},
|
||||
assets,
|
||||
};
|
||||
await writeFile(path.join(outputDirectory, "stage-pack.json"), `${JSON.stringify(report, null, 2)}\n`);
|
||||
return report;
|
||||
}
|
||||
|
||||
if (process.argv[1] && path.resolve(process.argv[1]) === path.resolve(import.meta.filename)) {
|
||||
const requested = new Set(process.argv.slice(2));
|
||||
const selected = requested.size ? ARENAS.filter((arena) => requested.has(arena.slug)) : ARENAS;
|
||||
if (!selected.length) throw new Error(`No matching arena. Choose: ${ARENAS.map((arena) => arena.slug).join(", ")}`);
|
||||
for (const arena of selected) {
|
||||
const report = await buildArena(arena);
|
||||
console.log(`${arena.slug}: ${report.geometry.triangles} triangles, ${report.navigation.triangles} navigation triangles`);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,281 @@
|
||||
import { useCombatStore, PLAYER_AURA_ENTITY_ID, characterCombatDefender, abilityDamageSchool, type CombatState, type CharacterCombatSeed } from "../../src/game/combatStore";
|
||||
import { usePartyStore } from "../../src/game/partyStore";
|
||||
import { installCombatClock } from "../../src/game/combatClock";
|
||||
import { registerCombatSpatialProvider } from "../../src/game/combatSpatial";
|
||||
import { clearMobRuntimeRegistry, registerMobRuntime, getMobPosition } from "../../src/game/mobRuntimeRegistry";
|
||||
import { clearPartyRuntimeRegistry, registerPartyRuntimePosition, getPartyRuntimePosition } from "../../src/game/partyRuntimeRegistry";
|
||||
import { targetingRulesForAbility } from "../../src/game/abilityRules";
|
||||
import { resourceProfileForClass, abilityAtLevel, isAbilityUnlocked } from "../../src/game/abilityCatalog";
|
||||
import { deriveCharacterStats } from "../../src/game/wotlkStats";
|
||||
import { subscribeCombatPresentation } from "../../src/game/combatPresentation";
|
||||
import { arenaDampening } from "../../server/arena-rules.mjs";
|
||||
import { createDefaultAppearance } from "../../src/app/characterCatalog";
|
||||
import { equipmentItemsForOwner, PLAYER_EQUIPMENT_OWNER_ID } from "../../src/game/equipment";
|
||||
|
||||
const PLAYER = PLAYER_AURA_ENTITY_ID;
|
||||
const combatDefaults = useCombatStore.getState();
|
||||
const partyDefaults = usePartyStore.getState();
|
||||
let presentation: any[] = [];
|
||||
subscribeCombatPresentation((message) => { if (message.kind === "event") presentation.push(message.event); });
|
||||
|
||||
const remap = (id: string | null | undefined, from: string, to: string) => id === from ? to : id;
|
||||
const mapAura = (aura: any, from: string, to: string) => ({ ...aura, sourceId: remap(aura.sourceId, from, to), targetId: remap(aura.targetId, from, to) });
|
||||
const mapEffect = (effect: any, from: string, to: string) => ({ ...effect, sourceActorId: remap(effect.sourceActorId, from, to), targetId: remap(effect.targetId, from, to) });
|
||||
|
||||
export function initializeArenaCharacter(actor: any, now: number) {
|
||||
if (actor.combat) return;
|
||||
const kit = actor.characterKit;
|
||||
const seed: CharacterCombatSeed = kit?.seed ?? { classId: kit?.classId ?? (actor.role === "healer" ? "priest" : "warrior"), level: kit?.level ?? 80, actionBindings: kit?.actionBindings };
|
||||
const restore = installCombatClock(() => now);
|
||||
try {
|
||||
usePartyStore.setState({ ...partyDefaults, members: [], playerRole: actor.role === "healer" ? "healer" : "damage" }, true);
|
||||
useCombatStore.setState(combatDefaults, true);
|
||||
useCombatStore.getState().initializeCharacter(seed);
|
||||
actor.combat = useCombatStore.getState();
|
||||
const state = actor.combat;
|
||||
actor.avatar = { classId: state.classId, raceId: seed.raceId ?? (actor.team === 1 ? "orc" : "human"),
|
||||
gender: (seed as any).gender ?? "male", appearance: (seed as any).appearance ?? createDefaultAppearance() };
|
||||
actor.visualEquipment = equipmentItemsForOwner(state.equipment, state.inventory, PLAYER_EQUIPMENT_OWNER_ID);
|
||||
const abilities = state.abilities.filter((ability: any) => !ability.passive && isAbilityUnlocked(ability, state.level)
|
||||
&& (ability.talentEntryId === undefined || (state.talentRanks[`coa-entry-${ability.talentEntryId}`] ?? 0) > 0))
|
||||
.map((ability: any) => { const resolved = abilityAtLevel(ability, state.level, ability.talentEntryId === undefined ? undefined : state.talentRanks[`coa-entry-${ability.talentEntryId}`]); return { ...resolved, targeting: targetingRulesForAbility(resolved) }; });
|
||||
actor.characterKit = { ...kit, seed, classId: state.classId, level: state.level,
|
||||
resource: { ...resourceProfileForClass(state.classId), maximum: state.maxResource, initial: state.resource },
|
||||
abilities: Object.fromEntries(abilities.map((ability: any) => [ability.id, ability])), actionBindings: state.actionBindings };
|
||||
actor.health = state.health;
|
||||
actor.maxHealth = state.maxHealth;
|
||||
actor.resource = state.resource;
|
||||
actor.maxResource = state.maxResource;
|
||||
actor.auras = state.auras.map((aura: any) => mapAura(aura, PLAYER, actor.id));
|
||||
actor.statuses = [];
|
||||
} finally { restore(); }
|
||||
}
|
||||
|
||||
export function arenaKitFromSeed(seed: CharacterCombatSeed) {
|
||||
const actor: any = { id: "kit", role: seed.role ?? "damage", characterKit: { seed } };
|
||||
initializeArenaCharacter(actor, 0);
|
||||
return { ...actor.characterKit, stats: { ...deriveCharacterStats(actor.combat.classId, actor.combat.level, actor.combat.gearStats, actor.combat.raceId, {}, actor.combat.secondaryClassId), health: actor.maxHealth } };
|
||||
}
|
||||
|
||||
function partyMember(actor: any) {
|
||||
const state = actor.combat;
|
||||
return { id: actor.id, name: actor.name, classId: state.classId, raceId: state.raceId, gender: "male", appearance: {},
|
||||
specialization: "", specializationId: state.specializationId, talentTreeId: "", talentRanks: state.talentRanks,
|
||||
role: actor.role === "healer" ? "healer" : "damage", level: state.level, health: actor.health, maxHealth: actor.maxHealth,
|
||||
resourceType: actor.characterKit.resource.type, resourceName: state.resourceName, resource: actor.resource, maxResource: actor.maxResource,
|
||||
resourcePools: state.resourcePools, lastResourceSpentAt: state.lastResourceSpentAt, cooldowns: state.cooldowns,
|
||||
globalCooldownEndsAt: state.globalCooldownEndsAt, activeCast: state.activeCast, activeCastTargetId: actor.targetActorId,
|
||||
schoolLockedUntil: state.schoolLockedUntil, runes: state.deathKnightRunes, gearStats: state.gearStats,
|
||||
status: actor.alive ? "ready" : "down", nextActionAt: 0, tauntReadyAt: 0,
|
||||
controlledUntil: state.controlledUntil, controlMechanic: state.controlMechanic };
|
||||
}
|
||||
|
||||
function enter(simulation: any, actor: any, now: number, ticking: boolean) {
|
||||
clearMobRuntimeRegistry();
|
||||
clearPartyRuntimeRegistry();
|
||||
presentation = [];
|
||||
const allies = [...simulation.actors.values()].filter((other: any) => other !== actor && other.team === actor.team);
|
||||
const friendlyPets = allies.flatMap((owner: any) => owner.combat.summons.map((summon: any) => ({ owner, summon })));
|
||||
const members = [...allies.map(partyMember), ...friendlyPets.map(({ owner, summon }: any) => ({ ...partyMember(owner),
|
||||
id: summon.id, name: summon.name, health: summon.health, maxHealth: summon.maxHealth,
|
||||
resource: 0, maxResource: 0, activeCast: null, status: summon.health > 0 ? "ready" : "down" }))];
|
||||
usePartyStore.setState({ ...partyDefaults, members, playerRole: actor.role === "healer" ? "healer" : "damage",
|
||||
selectedMemberId: allies.some((other: any) => other.id === actor.targetActorId) ? actor.targetActorId : null,
|
||||
selfSelected: actor.targetActorId === actor.id }, true);
|
||||
const effects = simulation.combatEffects ?? [];
|
||||
const auras = [...simulation.actors.values()].flatMap((other: any) => other.auras).concat(simulation.summonAuras ?? []).map((aura: any) => mapAura(aura, actor.id, PLAYER));
|
||||
useCombatStore.setState({ ...actor.combat, health: actor.health, maxHealth: actor.maxHealth,
|
||||
resource: actor.resource, maxResource: actor.maxResource, playerPosition: [...actor.position],
|
||||
selectedTargetId: simulation.targetActor(actor.targetActorId)?.team !== actor.team ? actor.targetActorId : null,
|
||||
selectedFriendlyActorId: actor.targetActorId === actor.id ? PLAYER : simulation.targetActor(actor.targetActorId)?.team === actor.team ? actor.targetActorId : null,
|
||||
auras, effects: effects.filter((effect: any) => !ticking || effect.sourceActorId === actor.id).map((effect: any) => mapEffect(effect, actor.id, PLAYER)),
|
||||
mobs: {}, actors: {}, combatEvents: [], settings: { ...actor.combat.settings, autoTargetNearest: false } }, true);
|
||||
for (const other of simulation.actors.values()) {
|
||||
if (other === actor) continue;
|
||||
if (other.team === actor.team) { registerPartyRuntimePosition(other.id, other.position); continue; }
|
||||
registerMobRuntime(other.id, other.position, other.facing);
|
||||
useCombatStore.getState().registerMob(other.id, { name: other.name, level: other.combat.level, maxHealth: other.maxHealth, xpReward: 0 });
|
||||
const stats = deriveCharacterStats(other.combat.classId, other.combat.level, other.combat.gearStats, other.combat.raceId, {}, other.combat.secondaryClassId);
|
||||
useCombatStore.setState((state) => ({ mobs: { ...state.mobs, [other.id]: { ...state.mobs[other.id],
|
||||
health: other.health, maxHealth: other.maxHealth, dead: !other.alive, armor: stats.armor, maxMana: other.maxResource,
|
||||
characterDefender: characterCombatDefender({ ...other.combat, auras: other.auras.map((aura: any) => mapAura(aura, other.id, PLAYER)) }),
|
||||
characterShield: other.combat.shield, characterResources: other.combat.resourcePools,
|
||||
statuses: other.statuses ?? [], controlDiminishingReturns: other.controlDiminishingReturns ?? {},
|
||||
mechanicImmunities: other.auras.flatMap((aura: any) => aura.definition.controlImmunities ?? []),
|
||||
activeCast: other.combat.activeCast ? { ...other.combat.activeCast, attackId: other.combat.activeCast.abilityId, interruptible: true } : null,
|
||||
schoolLockedUntil: other.combat.schoolLockedUntil, engaged: true, experienceGranted: true,
|
||||
resistances: { arcane: stats.arcaneResistance, fire: stats.fireResistance, frost: stats.frostResistance, nature: stats.natureResistance, shadow: stats.shadowResistance, holy: 0 },
|
||||
} } }));
|
||||
}
|
||||
for (const owner of simulation.actors.values()) for (const summon of owner.combat.summons) {
|
||||
if (owner.team === actor.team) {
|
||||
if (owner !== actor) registerPartyRuntimePosition(summon.id, summon.position);
|
||||
continue;
|
||||
}
|
||||
registerMobRuntime(summon.id, summon.position, owner.facing);
|
||||
useCombatStore.getState().registerMob(summon.id, { name: summon.name, level: owner.combat.level, maxHealth: summon.maxHealth, xpReward: 0 });
|
||||
useCombatStore.setState((state) => ({ mobs: { ...state.mobs, [summon.id]: { ...state.mobs[summon.id], health: summon.health, dead: summon.health <= 0, experienceGranted: true } } }));
|
||||
}
|
||||
useCombatStore.getState().synchronizeActors();
|
||||
const restoreClock = installCombatClock(() => now);
|
||||
const restoreSpatial = registerCombatSpatialProvider({
|
||||
actor: (id) => { const target = id === PLAYER ? actor : simulation.targetActor(id); return target ? { id, position: target.position, yaw: target.facing } : null; },
|
||||
hasLineOfSight: (from, to) => simulation.hasLineOfSight({ position: from }, { position: to }),
|
||||
projectGroundPoint: (requested, range, origin = actor.position) => simulation.projectGroundPoint(origin, requested, range),
|
||||
});
|
||||
return () => { restoreSpatial(); restoreClock(); };
|
||||
}
|
||||
|
||||
function commit(simulation: any, actor: any, now: number, ticking: boolean) {
|
||||
const state = useCombatStore.getState();
|
||||
const dampening = simulation.activeStartedAt == null ? 0 : arenaDampening(now - simulation.activeStartedAt);
|
||||
const healed = new Map<string, number>();
|
||||
const damaged = new Map<string, number>();
|
||||
const previous = new Map<string, { health: number; maxHealth: number }>([...simulation.actors.values()].map((other: any) => [other.id, { health: other.health, maxHealth: other.maxHealth }]));
|
||||
for (const event of state.combatEvents) if (event.kind === "healing") {
|
||||
const id = remap(event.targetActorId, PLAYER, actor.id)!;
|
||||
healed.set(id, (healed.get(id) ?? 0) + event.effectiveAmount);
|
||||
}
|
||||
for (const event of state.combatEvents) if (event.kind === "damage") {
|
||||
const id = remap(event.targetActorId, PLAYER, actor.id)!;
|
||||
damaged.set(id, (damaged.get(id) ?? 0) + event.effectiveAmount);
|
||||
}
|
||||
const healthAfterHealing = (id: string, health: number, maxHealth = previous.get(id)?.maxHealth ?? health) => {
|
||||
const before = previous.get(id);
|
||||
const inferred = before ? Math.max(0, health - before.health + (damaged.get(id) ?? 0) - Math.max(0, maxHealth - before.maxHealth)) : 0;
|
||||
return Math.max(0, health - Math.round(Math.max(healed.get(id) ?? 0, inferred) * dampening));
|
||||
};
|
||||
actor.combat = { ...state, mobs: {}, actors: {}, effects: [], auras: [], health: actor.health <= 0 ? 0 : healthAfterHealing(actor.id, state.health, state.maxHealth) };
|
||||
actor.health = actor.combat.health;
|
||||
actor.maxHealth = state.maxHealth;
|
||||
actor.resource = state.resource;
|
||||
actor.maxResource = state.maxResource;
|
||||
actor.position = state.playerPosition.some((value, axis) => value !== actor.position[axis])
|
||||
? simulation.resolvePosition(actor, state.playerPosition, true) : [...actor.position];
|
||||
actor.cooldowns = new Map(Object.entries(state.cooldowns));
|
||||
actor.gcdUntil = state.globalCooldownEndsAt;
|
||||
actor.casting = state.activeCast ? { ...state.activeCast, targetActorId: remap(state.activeCast.targetId, PLAYER, actor.id) } : null;
|
||||
actor.statuses = (actor.statuses ?? []).filter((status: any) => status.endsAt > now && !(state.controlledUntil === 0 && ["stun", "fear", "sleep", "freeze", "knockdown"].includes(status.kind)));
|
||||
for (const member of usePartyStore.getState().members) {
|
||||
const other = simulation.actor(member.id);
|
||||
if (!other) {
|
||||
for (const owner of simulation.actors.values()) if (owner !== actor && owner.combat.summons.some((summon: any) => summon.id === member.id)) {
|
||||
owner.combat = { ...owner.combat, summons: owner.combat.summons.map((summon: any) => summon.id === member.id ? { ...summon, health: healthAfterHealing(member.id, member.health) } : summon) };
|
||||
}
|
||||
continue;
|
||||
}
|
||||
other.health = healthAfterHealing(other.id, member.health, member.maxHealth);
|
||||
other.maxHealth = member.maxHealth;
|
||||
other.resource = member.resource;
|
||||
const moved = getPartyRuntimePosition(member.id);
|
||||
if (moved && moved.some((value, axis) => value !== other.position[axis])) other.position = simulation.resolvePosition(other, moved, true);
|
||||
other.combat = { ...other.combat, resourcePools: member.resourcePools, schoolLockedUntil: member.schoolLockedUntil,
|
||||
controlledUntil: member.controlledUntil, controlMechanic: member.controlMechanic, deathKnightRunes: member.runes };
|
||||
}
|
||||
for (const mob of Object.values(state.mobs)) {
|
||||
const other = simulation.actor(mob.id);
|
||||
if (!other) {
|
||||
for (const owner of simulation.actors.values()) if (owner !== actor && owner.combat.summons.some((summon: any) => summon.id === mob.id)) {
|
||||
owner.combat = { ...owner.combat, summons: owner.combat.summons.map((summon: any) => summon.id === mob.id ? { ...summon, health: mob.health } : summon).filter((summon: any) => summon.health > 0) };
|
||||
}
|
||||
continue;
|
||||
}
|
||||
other.health = mob.health;
|
||||
other.statuses = mob.statuses;
|
||||
other.controlDiminishingReturns = mob.controlDiminishingReturns;
|
||||
const moved = getMobPosition(mob.id);
|
||||
if (moved && moved.some((value, axis) => value !== other.position[axis])) other.position = simulation.resolvePosition(other, moved, true);
|
||||
const control = mob.statuses.filter((status) => ["stun", "fear", "confuse", "blind", "charm", "freeze", "knockdown", "sleep"].includes(status.kind)).sort((a, b) => b.endsAt - a.endsAt)[0];
|
||||
other.combat = { ...other.combat, controlledUntil: control?.endsAt ?? 0, controlMechanic: control?.kind ?? null,
|
||||
shield: mob.characterShield ?? other.combat.shield, resourcePools: mob.characterResources ?? other.combat.resourcePools,
|
||||
schoolLockedUntil: mob.schoolLockedUntil, activeCast: mob.activeCast ? { ...other.combat.activeCast, ...mob.activeCast } : null };
|
||||
other.resource = other.combat.resourcePools[other.characterKit.resource.type] ?? other.resource;
|
||||
other.casting = other.combat.activeCast;
|
||||
}
|
||||
const worldAuras = state.auras.map((aura) => mapAura(aura, PLAYER, actor.id));
|
||||
simulation.summonAuras = worldAuras.filter((aura) => !simulation.actors.has(aura.targetId));
|
||||
for (const other of simulation.actors.values()) {
|
||||
other.auras = worldAuras.filter((aura) => aura.targetId === other.id);
|
||||
other.statuses = (other.statuses ?? []).filter((status: any) => status.endsAt > now
|
||||
&& (!status.sourceAbilityId.startsWith("aura:") || other.auras.some((aura: any) => `aura:${aura.definition.id}` === status.sourceAbilityId))
|
||||
&& !other.auras.some((aura: any) => aura.definition.controlImmunities?.includes(status.kind)));
|
||||
const control = other.statuses.filter((status: any) => ["stun", "fear", "confuse", "blind", "charm", "freeze", "knockdown", "sleep"].includes(status.kind)).sort((a: any, b: any) => b.endsAt - a.endsAt)[0];
|
||||
other.combat = { ...other.combat, controlledUntil: control?.endsAt ?? 0, controlMechanic: control?.kind ?? null };
|
||||
other.alive = other.health > 0;
|
||||
if (!other.alive) { other.movement = [0, 0]; other.casting = null; other.combat = { ...other.combat, activeCast: null }; }
|
||||
}
|
||||
simulation.combatEffects = [
|
||||
...(ticking ? (simulation.combatEffects ?? []).filter((effect: any) => effect.sourceActorId !== actor.id) : []),
|
||||
...state.effects.map((effect) => mapEffect(effect, PLAYER, actor.id)),
|
||||
];
|
||||
simulation.combatPresentation = [...(simulation.combatPresentation ?? []), ...presentation.map((event) => ({ ...event,
|
||||
sourceActorId: remap(event.sourceActorId, PLAYER, actor.id), targetActorId: remap(event.targetActorId, PLAYER, actor.id) }))].slice(-80);
|
||||
simulation.combatEvents = [...(simulation.combatEvents ?? []), ...state.combatEvents.map((event) => ({ ...event,
|
||||
sourceActorId: remap(event.sourceActorId, PLAYER, actor.id), targetActorId: remap(event.targetActorId, PLAYER, actor.id) }))].slice(-100);
|
||||
}
|
||||
|
||||
export function useArenaCharacterAbility(simulation: any, actor: any, abilityId: string, targetActorId: string | null, now: number, groundPosition?: readonly number[]) {
|
||||
const ability = actor.characterKit.abilities[abilityId];
|
||||
if (ability && (actor.statuses ?? []).some((status: any) => status.kind === "silence" && status.endsAt > now)
|
||||
&& (ability.castRules?.school ?? abilityDamageSchool(actor.combat.classId, ability)) !== "physical") return { accepted: false, reason: "controlled", message: "You are silenced." };
|
||||
const restore = enter(simulation, actor, now, false);
|
||||
try {
|
||||
const requestedTarget = targetActorId ?? actor.targetActorId;
|
||||
if (requestedTarget === actor.id) {
|
||||
useCombatStore.setState({ selectedFriendlyActorId: PLAYER, selectedTargetId: null });
|
||||
usePartyStore.setState({ selfSelected: true, selectedMemberId: null });
|
||||
}
|
||||
const result = useCombatStore.getState().castAbility(abilityId, { now, origin: actor.position,
|
||||
targetActorId: requestedTarget === actor.id ? null : requestedTarget, groundPosition: groundPosition as any });
|
||||
const message = useCombatStore.getState().feedback?.message;
|
||||
commit(simulation, actor, now, false);
|
||||
if (result.ok) { actor.lastAbilityId = abilityId; actor.abilityRevision += 1; }
|
||||
return { accepted: result.ok, reason: result.reason, message, casting: Boolean(actor.casting) };
|
||||
} finally { restore(); }
|
||||
}
|
||||
|
||||
export function tickArenaCharacter(simulation: any, actor: any, now: number, delta: number) {
|
||||
const restore = enter(simulation, actor, now, true);
|
||||
try {
|
||||
if (actor.casting && !actor.casting.canCastWhileMoving && Math.hypot(...actor.movement) > .01) useCombatStore.getState().cancelCast("movement");
|
||||
useCombatStore.getState().tick(delta, now);
|
||||
commit(simulation, actor, now, true);
|
||||
} finally { restore(); }
|
||||
}
|
||||
|
||||
export function arenaCharacterSnapshot(actor: any, now: number) {
|
||||
const state: CombatState = actor.combat;
|
||||
return { resourcePools: state.resourcePools, maxResourcePools: state.maxResourcePools, runes: state.deathKnightRunes,
|
||||
talentRanks: state.talentRanks, gearStats: state.gearStats, specializationId: state.specializationId,
|
||||
comboPoints: state.comboPoints, comboTargetId: state.comboTargetId, shield: state.shield,
|
||||
activeCast: state.activeCast, playerAnimationEvent: state.playerAnimationEvent, summons: state.summons.map((summon) => ({ ...summon, ownerActorId: actor.id })),
|
||||
areaEffects: state.areaEffects.map((area) => ({ ...area, sourceActorId: actor.id })),
|
||||
controlledUntil: state.controlledUntil, schoolLockedUntil: state.schoolLockedUntil, now };
|
||||
}
|
||||
|
||||
export function damageArenaCharacter(simulation: any, actor: any, amount: number, school: any, now: number) {
|
||||
const restore = enter(simulation, actor, now, false);
|
||||
try {
|
||||
useCombatStore.getState().damagePlayer(amount, school);
|
||||
commit(simulation, actor, now, false);
|
||||
} finally { restore(); }
|
||||
}
|
||||
|
||||
export function commandArenaCharacter(simulation: any, actor: any, command: string, now: number) {
|
||||
if (command === "cancel-cast") {
|
||||
const restore = enter(simulation, actor, now, false);
|
||||
try { useCombatStore.getState().cancelCast(); commit(simulation, actor, now, false); } finally { restore(); }
|
||||
}
|
||||
if (command === "attack" || command === "defend" || command === "stop" || command === "recall") {
|
||||
const targetId = command === "attack" ? actor.targetActorId : null;
|
||||
actor.combat = { ...actor.combat, autoAttackTargetId: targetId, summons: actor.combat.summons.map((summon: any) => ({ ...summon,
|
||||
targetId, ...(command === "recall" ? { position: [...actor.position] } : {}), nextActionAt: command === "stop" ? Number.MAX_SAFE_INTEGER : now })) };
|
||||
}
|
||||
}
|
||||
|
||||
export function bindArenaCharacter(actor: any, bindings: Record<string, string | null>) {
|
||||
const next = Object.fromEntries(Object.keys(actor.characterKit.actionBindings).map((id) => [id,
|
||||
bindings[id] && actor.characterKit.abilities[bindings[id]!] ? bindings[id] : null]));
|
||||
actor.characterKit = { ...actor.characterKit, actionBindings: next };
|
||||
actor.combat = { ...actor.combat, actionBindings: next };
|
||||
}
|
||||
@@ -0,0 +1,101 @@
|
||||
import { readFile } from "node:fs/promises";
|
||||
import { MeshoptDecoder } from "meshoptimizer";
|
||||
import { Vector3 } from "three";
|
||||
import { GLTFLoader } from "three/examples/jsm/loaders/GLTFLoader.js";
|
||||
import { writeWmoGeometry } from "./build-wmo-arenas.mjs";
|
||||
|
||||
globalThis.self = globalThis;
|
||||
globalThis.ProgressEvent ??= class ProgressEvent {
|
||||
constructor(type, values = {}) { this.type = type; Object.assign(this, values); }
|
||||
};
|
||||
|
||||
class UnionFind {
|
||||
constructor(size) { this.parent = Array.from({ length: size }, (_, index) => index); }
|
||||
find(value) {
|
||||
if (this.parent[value] !== value) this.parent[value] = this.find(this.parent[value]);
|
||||
return this.parent[value];
|
||||
}
|
||||
union(left, right) {
|
||||
const a = this.find(left);
|
||||
const b = this.find(right);
|
||||
if (a !== b) this.parent[b] = a;
|
||||
}
|
||||
}
|
||||
|
||||
function key(point) {
|
||||
return point.map((value) => Math.round(value * 1000)).join(":");
|
||||
}
|
||||
|
||||
async function loadTriangles(file) {
|
||||
await MeshoptDecoder.ready;
|
||||
const bytes = await readFile(file);
|
||||
const buffer = bytes.buffer.slice(bytes.byteOffset, bytes.byteOffset + bytes.byteLength);
|
||||
const scene = await new Promise((resolve, reject) => new GLTFLoader()
|
||||
.setMeshoptDecoder(MeshoptDecoder)
|
||||
.parse(buffer, "", (gltf) => resolve(gltf.scene), reject));
|
||||
scene.updateMatrixWorld(true);
|
||||
const triangles = [];
|
||||
const points = [new Vector3(), new Vector3(), new Vector3()];
|
||||
scene.traverse((object) => {
|
||||
if (!object.isMesh || !object.geometry?.getAttribute("position")) return;
|
||||
const positions = object.geometry.getAttribute("position");
|
||||
const indices = object.geometry.getIndex();
|
||||
const count = indices?.count ?? positions.count;
|
||||
const vertexIndex = (element) => indices ? indices.getX(element) : element;
|
||||
for (let element = 0; element < count; element += 3) {
|
||||
triangles.push(points.map((point, corner) => [
|
||||
...point.fromBufferAttribute(positions, vertexIndex(element + corner)).applyMatrix4(object.matrixWorld).toArray(),
|
||||
]));
|
||||
}
|
||||
});
|
||||
return triangles;
|
||||
}
|
||||
|
||||
function distanceSquared(point, target) {
|
||||
return (point[0] - target[0]) ** 2 + (point[1] - target[1]) ** 2 + (point[2] - target[2]) ** 2;
|
||||
}
|
||||
|
||||
export async function extractNavigationComponent({ source, output, teamSpawns }) {
|
||||
const triangles = await loadTriangles(source);
|
||||
const union = new UnionFind(triangles.length);
|
||||
const ownerByVertex = new Map();
|
||||
for (const [triangleIndex, triangle] of triangles.entries()) {
|
||||
for (const point of triangle) {
|
||||
const positionKey = key(point);
|
||||
const owner = ownerByVertex.get(positionKey);
|
||||
if (owner == null) ownerByVertex.set(positionKey, triangleIndex);
|
||||
else union.union(owner, triangleIndex);
|
||||
}
|
||||
}
|
||||
const components = new Map();
|
||||
for (let index = 0; index < triangles.length; index += 1) {
|
||||
const root = union.find(index);
|
||||
const component = components.get(root) ?? [];
|
||||
component.push(triangles[index]);
|
||||
components.set(root, component);
|
||||
}
|
||||
const scored = [...components.values()].map((component) => {
|
||||
const vertices = component.flat();
|
||||
const spawnDistances = teamSpawns.map((spawn) => Math.sqrt(Math.min(...vertices.map((point) => distanceSquared(point, spawn)))));
|
||||
return { component, spawnDistances, score: Math.max(...spawnDistances) };
|
||||
}).sort((left, right) => left.score - right.score || right.component.length - left.component.length);
|
||||
const selected = scored[0];
|
||||
if (!selected?.component.length) throw new Error(`${source}: no navigation component could be selected.`);
|
||||
const values = selected.component.flat(2);
|
||||
const positions = new Float32Array(values);
|
||||
const indices = Uint32Array.from({ length: positions.length / 3 }, (_, index) => index);
|
||||
await writeWmoGeometry(output, [{
|
||||
name: "rated-connected-navigation",
|
||||
positions,
|
||||
normals: null,
|
||||
indices,
|
||||
collisionIndices: indices,
|
||||
flagCounts: {},
|
||||
}], false);
|
||||
return {
|
||||
sourceComponents: components.size,
|
||||
triangles: selected.component.length,
|
||||
vertices: positions.length / 3,
|
||||
spawnDistances: selected.spawnDistances,
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
import { readFile } from "node:fs/promises";
|
||||
import path from "node:path";
|
||||
import { NodeIO } from "@gltf-transform/core";
|
||||
|
||||
const projectRoot = path.resolve(import.meta.dirname, "../..");
|
||||
const catalog = JSON.parse(await readFile(path.join(projectRoot, "shared/arena-stages.json"), "utf8"));
|
||||
const io = new NodeIO();
|
||||
const requested = new Set(process.argv.slice(2).filter((value) => !value.startsWith("--")));
|
||||
const detail = process.argv.includes("--all");
|
||||
|
||||
class UnionFind {
|
||||
constructor(size) { this.parent = Array.from({ length: size }, (_, index) => index); }
|
||||
find(value) { if (this.parent[value] !== value) this.parent[value] = this.find(this.parent[value]); return this.parent[value]; }
|
||||
union(left, right) { const a = this.find(left); const b = this.find(right); if (a !== b) this.parent[b] = a; }
|
||||
}
|
||||
|
||||
function round(values) { return values.map((value) => Math.round(value * 100) / 100); }
|
||||
|
||||
for (const stage of catalog.stages) {
|
||||
if (requested.size && !requested.has(stage.id)) continue;
|
||||
const base = path.join(projectRoot, "public", ...stage.assetBaseUrl.split("/").filter(Boolean));
|
||||
let document;
|
||||
try { document = await io.read(path.join(base, "navigation.glb")); } catch { continue; }
|
||||
const vertices = [];
|
||||
const triangles = [];
|
||||
const byPosition = new Map();
|
||||
for (const mesh of document.getRoot().listMeshes()) {
|
||||
for (const primitive of mesh.listPrimitives()) {
|
||||
const positions = primitive.getAttribute("POSITION")?.getArray();
|
||||
if (!positions) continue;
|
||||
const indices = primitive.getIndices()?.getArray() ?? Uint32Array.from({ length: positions.length / 3 }, (_, index) => index);
|
||||
for (let offset = 0; offset < indices.length; offset += 3) {
|
||||
const triangle = [];
|
||||
for (let corner = 0; corner < 3; corner += 1) {
|
||||
const index = indices[offset + corner];
|
||||
const vertex = [positions[index * 3], positions[index * 3 + 1], positions[index * 3 + 2]];
|
||||
const key = vertex.map((value) => Math.round(value * 1000)).join(":");
|
||||
if (!byPosition.has(key)) {
|
||||
byPosition.set(key, vertices.length);
|
||||
vertices.push(vertex);
|
||||
}
|
||||
triangle.push(byPosition.get(key));
|
||||
}
|
||||
triangles.push(triangle);
|
||||
}
|
||||
}
|
||||
}
|
||||
const union = new UnionFind(vertices.length);
|
||||
for (const triangle of triangles) {
|
||||
union.union(triangle[0], triangle[1]);
|
||||
union.union(triangle[0], triangle[2]);
|
||||
}
|
||||
const grouped = new Map();
|
||||
for (let index = 0; index < vertices.length; index += 1) {
|
||||
const root = union.find(index);
|
||||
const component = grouped.get(root) ?? [];
|
||||
component.push(vertices[index]);
|
||||
grouped.set(root, component);
|
||||
}
|
||||
const components = [...grouped.values()];
|
||||
components.sort((left, right) => right.length - left.length);
|
||||
const main = components[0] ?? [];
|
||||
const min = [0, 1, 2].map((axis) => Math.min(...main.map((vertex) => vertex[axis])));
|
||||
const max = [0, 1, 2].map((axis) => Math.max(...main.map((vertex) => vertex[axis])));
|
||||
const center = min.map((value, axis) => (value + max[axis]) / 2);
|
||||
const axis = max[0] - min[0] >= max[2] - min[2] ? 0 : 2;
|
||||
const sorted = [...main].sort((left, right) => left[axis] - right[axis]);
|
||||
const inset = Math.max(1, Math.floor(sorted.length * 0.08));
|
||||
const teamSpawns = [sorted[inset] ?? sorted[0], sorted[sorted.length - inset - 1] ?? sorted.at(-1)];
|
||||
console.log(JSON.stringify({
|
||||
id: stage.id,
|
||||
componentCount: components.length,
|
||||
mainVertices: main.length,
|
||||
nextVertices: components[1]?.length ?? 0,
|
||||
mainBounds: { min: round(min), max: round(max) },
|
||||
center: round(center),
|
||||
suggestedTeamSpawns: teamSpawns.map(round),
|
||||
topComponents: components.slice(0, detail ? components.length : 8).map((component) => ({
|
||||
vertices: component.length,
|
||||
min: round([0, 1, 2].map((componentAxis) => Math.min(...component.map((vertex) => vertex[componentAxis])))),
|
||||
max: round([0, 1, 2].map((componentAxis) => Math.max(...component.map((vertex) => vertex[componentAxis])))),
|
||||
})),
|
||||
}));
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
import { createHash } from "node:crypto";
|
||||
import { readFile, stat, writeFile } from "node:fs/promises";
|
||||
import path from "node:path";
|
||||
import { NodeIO } from "@gltf-transform/core";
|
||||
import { ALL_EXTENSIONS } from "@gltf-transform/extensions";
|
||||
import { MeshoptDecoder } from "meshoptimizer";
|
||||
import { extractNavigationComponent } from "./extract-navigation-component.mjs";
|
||||
|
||||
const projectRoot = path.resolve(import.meta.dirname, "../..");
|
||||
const directory = path.join(projectRoot, "public/assets/game/arenas/warnorken-arena");
|
||||
const source = path.join(directory, "navigation-source.glb");
|
||||
const output = path.join(directory, "navigation.glb");
|
||||
const teamSpawns = [[-42.7, -21.75, 14.12], [41.3, -21.65, -6.58]];
|
||||
const connected = await extractNavigationComponent({ source, output, teamSpawns });
|
||||
const io = new NodeIO().registerExtensions(ALL_EXTENSIONS).registerDependencies({ "meshopt.decoder": MeshoptDecoder });
|
||||
const assets = [];
|
||||
for (const name of ["visual", "collision", "navigation"]) {
|
||||
const file = path.join(directory, `${name}.glb`);
|
||||
const bytes = await readFile(file);
|
||||
const document = await io.read(file);
|
||||
const triangles = document.getRoot().listMeshes().reduce((sum, mesh) => sum + mesh.listPrimitives().reduce((primitiveSum, primitive) => primitiveSum + (primitive.getIndices()?.getCount() ?? primitive.getAttribute("POSITION")?.getCount() ?? 0) / 3, 0), 0);
|
||||
assets.push({ file: `${name}.glb`, bytes: (await stat(file)).size, triangles: Math.round(triangles), sha256: createHash("sha256").update(bytes).digest("hex") });
|
||||
}
|
||||
await writeFile(path.join(directory, "stage-pack.json"), `${JSON.stringify({
|
||||
schemaVersion: 1,
|
||||
id: "warnorken-arena",
|
||||
title: "Warnorken Arena",
|
||||
status: "validated",
|
||||
source: { kind: "validated-runewaker-package", navigationSource: "navigation-source.glb" },
|
||||
navigation: connected,
|
||||
assets,
|
||||
}, null, 2)}\n`);
|
||||
console.log(`warnorken-arena: ${connected.triangles} connected navigation triangles`);
|
||||
@@ -0,0 +1,18 @@
|
||||
// Same vanilla store contract used by Zustand, without a React dependency on
|
||||
// the dedicated server. Each arena operation restores its own saved state.
|
||||
export function create<T>(initialize: (set: any, get: () => T, api: any) => T) {
|
||||
let state: T;
|
||||
const listeners = new Set<(state: T, previous: T) => void>();
|
||||
const api = {
|
||||
getState: () => state,
|
||||
setState(update: any, replace = false) {
|
||||
const previous = state;
|
||||
const patch = typeof update === "function" ? update(state) : update;
|
||||
state = replace ? patch : Object.assign({}, state, patch);
|
||||
if (state !== previous) for (const listener of listeners) listener(state, previous);
|
||||
},
|
||||
subscribe(listener: (state: T, previous: T) => void) { listeners.add(listener); return () => listeners.delete(listener); },
|
||||
};
|
||||
state = initialize(api.setState, api.getState, api);
|
||||
return api;
|
||||
}
|
||||
@@ -0,0 +1,118 @@
|
||||
import { access, readFile, stat } from "node:fs/promises";
|
||||
import path from "node:path";
|
||||
import { NodeIO } from "@gltf-transform/core";
|
||||
import { ALL_EXTENSIONS } from "@gltf-transform/extensions";
|
||||
import { MeshoptDecoder } from "meshoptimizer";
|
||||
|
||||
const projectRoot = path.resolve(import.meta.dirname, "../..");
|
||||
const catalog = JSON.parse(await readFile(path.join(projectRoot, "shared/arena-stages.json"), "utf8"));
|
||||
const failures = [];
|
||||
const reports = [];
|
||||
const io = new NodeIO().registerExtensions(ALL_EXTENSIONS).registerDependencies({ "meshopt.decoder": MeshoptDecoder });
|
||||
|
||||
class UnionFind {
|
||||
constructor(size) { this.parent = Array.from({ length: size }, (_, index) => index); }
|
||||
find(value) {
|
||||
if (this.parent[value] !== value) this.parent[value] = this.find(this.parent[value]);
|
||||
return this.parent[value];
|
||||
}
|
||||
union(left, right) {
|
||||
const a = this.find(left);
|
||||
const b = this.find(right);
|
||||
if (a !== b) this.parent[b] = a;
|
||||
}
|
||||
}
|
||||
|
||||
function inspectConnectedNavigation(document, spawns) {
|
||||
const vertices = [];
|
||||
const triangles = [];
|
||||
const byPosition = new Map();
|
||||
for (const mesh of document.getRoot().listMeshes()) {
|
||||
for (const primitive of mesh.listPrimitives()) {
|
||||
const positions = primitive.getAttribute("POSITION")?.getArray();
|
||||
if (!positions) continue;
|
||||
const indices = primitive.getIndices()?.getArray() ?? Uint32Array.from({ length: positions.length / 3 }, (_, index) => index);
|
||||
for (let offset = 0; offset < indices.length; offset += 3) {
|
||||
const triangle = [];
|
||||
for (let corner = 0; corner < 3; corner += 1) {
|
||||
const index = indices[offset + corner];
|
||||
const point = [positions[index * 3], positions[index * 3 + 1], positions[index * 3 + 2]];
|
||||
const key = point.map((value) => Math.round(value * 1000)).join(":");
|
||||
if (!byPosition.has(key)) {
|
||||
byPosition.set(key, vertices.length);
|
||||
vertices.push(point);
|
||||
}
|
||||
triangle.push(byPosition.get(key));
|
||||
}
|
||||
triangles.push(triangle);
|
||||
}
|
||||
}
|
||||
}
|
||||
const union = new UnionFind(vertices.length);
|
||||
for (const triangle of triangles) {
|
||||
union.union(triangle[0], triangle[1]);
|
||||
union.union(triangle[0], triangle[2]);
|
||||
}
|
||||
const components = new Set(vertices.map((_, index) => union.find(index)));
|
||||
const spawnDistances = spawns.map((spawn) => Math.sqrt(Math.min(...vertices.map((point) => (
|
||||
(point[0] - spawn[0]) ** 2 + (point[1] - spawn[1]) ** 2 + (point[2] - spawn[2]) ** 2
|
||||
)))));
|
||||
return { components: components.size, vertices: vertices.length, triangles: triangles.length, spawnDistances };
|
||||
}
|
||||
|
||||
function validateVec3(value, label, stage) {
|
||||
if (!Array.isArray(value) || value.length !== 3 || value.some((entry) => !Number.isFinite(entry))) failures.push(`${stage.id}: invalid ${label}.`);
|
||||
}
|
||||
|
||||
for (const stage of catalog.stages) {
|
||||
validateVec3(stage.bounds?.min, "minimum bounds", stage);
|
||||
validateVec3(stage.bounds?.max, "maximum bounds", stage);
|
||||
for (const [index, spawn] of (stage.teamSpawns ?? []).entries()) validateVec3(spawn, `team spawn ${index}`, stage);
|
||||
if (stage.teamSpawns?.length !== 2) failures.push(`${stage.id}: two team spawns are required.`);
|
||||
if (stage.shadowSight?.length !== 2) failures.push(`${stage.id}: two Shadow Sight locations are required.`);
|
||||
for (const [index, spawn] of (stage.teamSpawns ?? []).entries()) {
|
||||
if (spawn.some((value, axis) => value < stage.bounds.min[axis] || value > stage.bounds.max[axis])) failures.push(`${stage.id}: team spawn ${index} is outside the sealed gameplay bounds.`);
|
||||
}
|
||||
for (const object of stage.lineOfSight ?? []) {
|
||||
validateVec3(object.position, `${object.id} LOS position`, stage);
|
||||
validateVec3(object.size, `${object.id} LOS size`, stage);
|
||||
if (object.position[0] < stage.bounds.min[0] || object.position[0] > stage.bounds.max[0]
|
||||
|| object.position[2] < stage.bounds.min[2] || object.position[2] > stage.bounds.max[2]) failures.push(`${stage.id}: ${object.id} LOS geometry is outside the gameplay bounds.`);
|
||||
}
|
||||
const dynamicIds = new Set((stage.dynamicObjects ?? []).map((object) => object.id));
|
||||
for (const object of stage.lineOfSight ?? []) {
|
||||
if (object.dynamicObjectId && !dynamicIds.has(object.dynamicObjectId)) failures.push(`${stage.id}: ${object.id} references a missing dynamic object.`);
|
||||
}
|
||||
const base = path.join(projectRoot, "public", ...stage.assetBaseUrl.split("/").filter(Boolean));
|
||||
const assets = {};
|
||||
for (const name of ["visual", "collision", "navigation"]) {
|
||||
const file = path.join(base, `${name}.glb`);
|
||||
try {
|
||||
await access(file);
|
||||
const info = await stat(file);
|
||||
const document = await io.read(file);
|
||||
const triangles = document.getRoot().listMeshes().reduce((sum, mesh) => sum + mesh.listPrimitives().reduce((primitiveSum, primitive) => primitiveSum + (primitive.getIndices()?.getCount() ?? primitive.getAttribute("POSITION")?.getCount() ?? 0) / 3, 0), 0);
|
||||
assets[name] = { bytes: info.size, triangles: Math.round(triangles) };
|
||||
if (name === "navigation") {
|
||||
const navigation = inspectConnectedNavigation(document, stage.teamSpawns);
|
||||
assets[name].components = navigation.components;
|
||||
assets[name].spawnDistances = navigation.spawnDistances.map((distance) => Math.round(distance * 1000) / 1000);
|
||||
if (navigation.components !== 1) failures.push(`${stage.id}: rated navigation must contain one connected gameplay component.`);
|
||||
for (const [index, distance] of navigation.spawnDistances.entries()) {
|
||||
if (distance > 3) failures.push(`${stage.id}: team spawn ${index} is ${distance.toFixed(2)}m from the navigation surface.`);
|
||||
}
|
||||
}
|
||||
if (!triangles) failures.push(`${stage.id}: ${name}.glb has no triangles.`);
|
||||
} catch {
|
||||
if (stage.validation.status === "validated") failures.push(`${stage.id}: required ${name}.glb is missing or unreadable.`);
|
||||
}
|
||||
}
|
||||
if (assets.visual?.bytes > 25 * 1024 * 1024) failures.push(`${stage.id}: visual asset exceeds 25 MiB.`);
|
||||
if (stage.validation.status === "validated" && ["traversal", "collision", "spawnSafety", "lineOfSight", "performance"].some((key) => stage.validation[key] !== true)) {
|
||||
failures.push(`${stage.id}: validated stages must carry every validation flag.`);
|
||||
}
|
||||
reports.push({ id: stage.id, validation: stage.validation, assets });
|
||||
}
|
||||
|
||||
console.log(JSON.stringify({ schemaVersion: 1, arenaCount: reports.length, failures, stages: reports }, null, 2));
|
||||
if (failures.length) process.exitCode = 1;
|
||||
@@ -0,0 +1,62 @@
|
||||
import { createHash } from "node:crypto";
|
||||
import { mkdir, readFile, writeFile } from "node:fs/promises";
|
||||
import path from "node:path";
|
||||
import { promisify } from "node:util";
|
||||
import { gzip, gunzip } from "node:zlib";
|
||||
|
||||
const compress = promisify(gzip);
|
||||
const decompress = promisify(gunzip);
|
||||
const digest = (bytes) => createHash("sha256").update(bytes).digest("hex");
|
||||
|
||||
/** Original hashes remain the runtime contract; gzip is only a storage representation. */
|
||||
export async function prepareContentObjects(files, { directory, baseUrl, keepOriginal = false }) {
|
||||
await mkdir(directory, { recursive: true });
|
||||
const unique = new Map();
|
||||
for (const file of files) unique.set(`${file.sha256}${file.extension}`, file);
|
||||
const objects = [...unique.entries()];
|
||||
const prepared = new Map();
|
||||
let next = 0;
|
||||
let writtenObjects = 0;
|
||||
const writeVerified = async (name, bytes) => {
|
||||
const destination = path.join(directory, name);
|
||||
try {
|
||||
const existing = await readFile(destination);
|
||||
if (!existing.equals(bytes)) throw new Error(`Published object differs from its hash: ${destination}`);
|
||||
} catch (error) {
|
||||
if (error.code !== "ENOENT") throw error;
|
||||
await writeFile(destination, bytes, { flag: "wx" });
|
||||
writtenObjects++;
|
||||
}
|
||||
};
|
||||
await Promise.all(Array.from({ length: 4 }, async () => {
|
||||
while (next < objects.length) {
|
||||
const [name, file] = objects[next++];
|
||||
const original = await readFile(file.sourcePath);
|
||||
if (original.length !== file.bytes || digest(original) !== file.sha256) {
|
||||
throw new Error(`Asset changed during packaging: ${file.logicalPath}`);
|
||||
}
|
||||
const compressed = await compress(original, { level: 6 });
|
||||
const useful = compressed.length + 64 < original.length;
|
||||
let download;
|
||||
if (useful) {
|
||||
if (!(await decompress(compressed)).equals(original)) throw new Error(`Gzip round trip failed: ${file.logicalPath}`);
|
||||
const compressedHash = digest(compressed);
|
||||
// AAPT expands and renames .gz assets even with noCompress. Keep gzip
|
||||
// bytes under a neutral suffix so APK and browser catalogs stay identical.
|
||||
const compressedName = `${compressedHash}${file.extension}.gzip`;
|
||||
await writeVerified(compressedName, compressed);
|
||||
download = { url: `${baseUrl}/${compressedName}`, encoding: "gzip", sha256: compressedHash, bytes: compressed.length };
|
||||
}
|
||||
if (keepOriginal || !useful) await writeVerified(name, original);
|
||||
prepared.set(name, { objectUrl: `${baseUrl}/${name}`, ...(download ? { download } : {}), storedBytes: useful ? compressed.length : original.length });
|
||||
}
|
||||
}));
|
||||
return {
|
||||
files: files.map((file) => ({ ...file, ...prepared.get(`${file.sha256}${file.extension}`) })),
|
||||
writtenObjects,
|
||||
uniqueObjects: objects.length,
|
||||
logicalBytes: files.reduce((sum, file) => sum + file.bytes, 0),
|
||||
uniqueBytes: objects.reduce((sum, [, file]) => sum + file.bytes, 0),
|
||||
storedBytes: [...prepared.values()].reduce((sum, object) => sum + object.storedBytes, 0),
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
import assert from "node:assert/strict";
|
||||
import { createHash } from "node:crypto";
|
||||
import { mkdtemp, mkdir, readFile, readdir, rm, writeFile } from "node:fs/promises";
|
||||
import os from "node:os";
|
||||
import path from "node:path";
|
||||
import test from "node:test";
|
||||
import { gunzipSync } from "node:zlib";
|
||||
import { prepareContentObjects } from "./content-objects.mjs";
|
||||
import { selectBootstrapContent } from "./prepare-bootstrap.mjs";
|
||||
import { createContentManifest } from "./publish-content.mjs";
|
||||
|
||||
test("ships one lossless object for identical assets and verifies original bytes", async () => {
|
||||
const directory = await mkdtemp(path.join(os.tmpdir(), "healer-content-compression-"));
|
||||
try {
|
||||
const sourcePath = path.join(directory, "original.glb");
|
||||
const original = Buffer.from("original geometry, textures, and animation\n".repeat(4096));
|
||||
await writeFile(sourcePath, original);
|
||||
const common = { sourcePath, bytes: original.length, sha256: createHash("sha256").update(original).digest("hex"), extension: ".glb" };
|
||||
const files = ["first", "second"].map((id) => ({ ...common, logicalPath: `assets/creatures/${id}/model.glb`, packId: `dungeon:${id}` }));
|
||||
const result = await prepareContentObjects(files, { directory: path.join(directory, "objects"), baseUrl: "/content/bundled" });
|
||||
assert.equal(result.uniqueObjects, 1);
|
||||
assert.equal(result.uniqueBytes, original.length);
|
||||
assert.equal(result.logicalBytes, original.length * 2);
|
||||
assert.ok(result.storedBytes < original.length / 10);
|
||||
assert.equal((await readdir(path.join(directory, "objects"))).length, 1);
|
||||
assert.deepEqual(result.files[0].download, result.files[1].download);
|
||||
assert.ok(result.files[0].download.url.endsWith(".gzip"), "avoid Android's automatic .gz expansion");
|
||||
const stored = await readFile(path.join(directory, "objects", path.basename(result.files[0].download.url)));
|
||||
assert.deepEqual(gunzipSync(stored), original);
|
||||
assert.deepEqual(await readFile(sourcePath), original);
|
||||
const again = await prepareContentObjects(files, { directory: path.join(directory, "objects"), baseUrl: "/content/bundled" });
|
||||
assert.equal(again.writtenObjects, 0);
|
||||
assert.equal(createContentManifest(result.files).version, createContentManifest(again.files).version);
|
||||
await writeFile(sourcePath, "changed");
|
||||
await assert.rejects(prepareContentObjects(files, { directory: path.join(directory, "objects"), baseUrl: "/content/bundled" }), /changed during packaging/);
|
||||
} finally { await rm(directory, { recursive: true, force: true }); }
|
||||
});
|
||||
|
||||
test("bundles regular dungeons and exact map dependencies without installing Manastorm", () => {
|
||||
const ids = ["core:ui", "dungeon:first", "dungeon:second", "shared:creatures", "manastorm:shared-map", "manastorm:optional-map", "characters:extra"];
|
||||
const files = ids.map((packId, index) => ({ logicalPath: `assets/${index}.glb`, packId, sha256: String(index).repeat(64), bytes: 100, extension: ".glb" }));
|
||||
const result = selectBootstrapContent(files, [
|
||||
{ id: "dungeon:first", dependencies: ["manastorm:shared-map", "shared:creatures"] },
|
||||
{ id: "dungeon:second", dependencies: [] },
|
||||
]);
|
||||
assert.deepEqual(result.files.map((file) => file.packId), ids.slice(0, 5));
|
||||
const packs = new Map(result.packDefinitions.map((pack) => [pack.id, pack]));
|
||||
assert.equal(packs.get("dungeon:first").bundledOnAndroid, true);
|
||||
assert.equal(packs.get("dungeon:second").bundledOnAndroid, true);
|
||||
assert.equal(packs.get("manastorm:shared-map").bundledOnAndroid, false);
|
||||
assert.equal(packs.has("manastorm:optional-map"), false);
|
||||
});
|
||||
Loaded 100 of 640 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user