Commit Graph
448 Commits
Author SHA1 Message Date
dingo 4e30cc8740 World cords stil 2026-02-15 11:53:55 -05:00
dingo b419e6e037 World coor issues 2026-02-15 11:02:23 -05:00
dingo c6beed0a1f Fixing world movement2 2026-02-15 10:31:11 -05:00
dingo da271af0d7 Fixing world movement 2026-02-15 10:20:03 -05:00
dingo 054e618e16 OpCode Changes 2026-02-15 10:11:35 -05:00
dingo 33ad8e1b8e Allow top-level x/y as directional WORLD_INPUT only when in -1..1 range 2026-02-15 09:45:46 -05:00
dingo 1b2d4262e8 Fix WORLD movement regression from x/y aliasing and recover invalid 0,0 world spawns 2026-02-15 09:33:33 -05:00
dingo ab09bc0f87 catchup 2026-02-15 09:25:47 -05:00
dingo 117e3fd37a Harden WORLD_INPUT parsing to accept client field variants and nested input payloads 2026-02-15 09:25:00 -05:00
dingo 69e457d943 Add world portal editing/runtime handling and include tileSheets in WORLD_SPAWN 2026-02-15 09:00:53 -05:00
dingo d6b691e534 Persist player overworld location and add world mob spawn editing/runtime payloads 2026-02-15 08:47:09 -05:00
dingo 3c03bc40fa Accept legacy WORLD_INPUT payload fields and ignore malformed input packets 2026-02-14 21:18:26 -05:00
dingo c221604ff2 Wire overworld runtime handler and implement WORLD spawn/input/state flow 2026-02-14 20:53:56 -05:00
dingo 0ba4d02767 Document overworld runtime client navigation contract and remaining client requirements 2026-02-14 17:42:26 -05:00
dingo 43c4ce7478 Add world editor region creation and document overworld client/runtime gaps 2026-02-14 17:08:07 -05:00
dingo 13d29f8112 Add world editor chunk clear/delete, zoom, sprite tile rendering, and tile-definition-driven paint 2026-02-14 16:57:49 -05:00
dingo 01a357563b Fix world editor tile picker to use configured CDN downloads base URL 2026-02-14 16:21:24 -05:00
dingo 6c0d518ca0 Add clickable tile sheet picker to world editor tile tool 2026-02-14 15:37:26 -05:00
dingo 8f7098af81 Add collision teleport portals and ledge-safe movement in VNext dungeons 2026-02-14 15:05:10 -05:00
dingo 147e7d625d Add live chunk delta streaming for world editor and versioned apply flow 2026-02-14 14:31:18 -05:00
dingo 18d6fe683b Add overworld region-zone-chunk data model and admin live world editor 2026-02-14 13:52:36 -05:00
dingo 189e5fcff4 Define overworld chunk/zone/region plan and live editor client contract 2026-02-14 11:27:35 -05:00
dingo 715c78b616 Add NPC shop admin pages with slot-based inventory editing 2026-02-14 10:41:32 -05:00
dingo 40d8570550 Switch NPC editor to mob-style animation assignment selection 2026-02-14 02:06:51 -05:00
dingo 4ba5a1040b Upgrade NPC admin editor selectors and add dialog tree admin UI 2026-02-14 01:31:05 -05:00
dingo 0e71d64baa Add admin NPC management pages and sidebar navigation 2026-02-14 01:08:51 -05:00
dingo b110dbe5dc Sync EF snapshot for NPC and loot gold migration 2026-02-14 00:44:26 -05:00
dingo b4affac203 Add NPC system scaffold, loot-table gold drops, and remove stash VIP gate 2026-02-14 00:37:56 -05:00
dingo d4f467656d Add HazardZone tile tint config and state payload 2026-02-11 15:00:04 -05:00
dingo 0dfbfa75af Builder changes 2 2026-02-11 10:21:19 -05:00
dingo 5da9cbedac Builder changes 2026-02-11 10:06:58 -05:00
dingo e5ee966451 Add anti-repeat mob ability selection when multiple options are valid
- Track last used ability key and consecutive-use count on MobInstance

- In ProcessMobAbility, avoid repeating the same ability more than 3 times in a row if alternatives are currently usable

- Keep existing priority-based selection as primary behavior
2026-02-11 09:19:32 -05:00
dingo 7e8d195aec Implement Teleport ability and update ability/effects TODO docs
- Add Teleport handling in DungeonSimulation ability switch and implemented-type list

- Teleport mob toward target using displacement distance with walkable-position fallback search

- Add Teleport success/failure diagnostics

- Update AbilitySystemWalkthrough status and add effect animation builder TODOs
2026-02-11 09:15:39 -05:00
dingo 5aebc9afe2 Add projectile AoE distance probe logging for multi-player diagnosis
- Log each alive player's server position and distance to AoE center

- Keep existing AoeImpact hit-count log for quick validation
2026-02-11 08:45:42 -05:00
dingo 8d6fe596ac Center projectile AoE on collided player for consistent multi-target hits
- Use collided player coordinates as AoE explosion center instead of current projectile position

- Avoid near-miss drift caused by projectile step size and collision threshold
2026-02-11 08:33:04 -05:00
dingo 87eefa04b8 Add AoE impact diagnostics for projectile and ground AoE abilities
- Include aoeRadius in [AbilityUse] logs

- Log [AoeImpact] with source, position, radius, and hit count for both direct AoE and projectile impact AoE
2026-02-11 08:29:50 -05:00
dingo aa81f93de5 Add explicit ability-use server logging
- Log mob ability key/type/targeting/target/range/mana when an ability is executed

- Keeps current projectile AOE behavior (single projectile with AoE impact) for easier verification
2026-02-11 08:09:14 -05:00
dingo ca88eef600 Fix HealSelf magnitude handling for negative base damage
- Use absolute BaseDamage for HealSelf so test abilities using negative damage values heal correctly

- Preserve minimum heal of 1 and max-health cap
2026-02-11 07:49:47 -05:00
dingo b6e3227f29 Enable HealSelf and widen AI engagement to ability range
- Implement HealSelf execution in DungeonSimulation and mark it as implemented

- Add healing log output for ability verification

- Use mob engagement range derived from offensive ability ranges in Aggressive/Defensive/Tank behaviors

- Allow ranged/projectile abilities to trigger before point-blank melee distance
2026-02-10 21:31:24 -05:00
dingo d9189be156 Make mob projectiles visible for at least one tick and improve hit logs
- Add SpawnTick on projectiles and skip mob->player collision on spawn tick

- Prevent spawn-and-hit same-tick consumption that can hide projectiles from state feed

- Add explicit [ProjectileHit] server log with ability key and damage for troubleshooting
2026-02-10 18:56:10 -05:00
dingo 90821277eb Add projectile state feed and diagnostics counters
- Include active projectiles in DUNGEON_STATE payload, spatially filtered

- Track per-ability projectile diagnostics (spawn/hit/expiry) in simulation

- Log periodic projectile diagnostics for ability troubleshooting

- Update pending-clientChanges.md with required projectile rendering update
2026-02-10 18:39:12 -05:00
dingo 8f90f23fd0 Add end-to-end dungeon ability system walkthrough document
- Document data model, cache load, simulation init, AI/tick flow, and event emission

- Enumerate implemented vs missing ability types and targeting support gaps

- Include class/method index for refactor planning
2026-02-10 15:21:35 -05:00
dingo 2df33f4a62 Fix ability selection deadlock and improve temp ability test usability
- Always add a basic melee fallback when mobs have no melee ability

- Select only currently usable/implemented abilities (phase, cooldown, mana, range) before execution

- Add test note in abilityTemp.md to set TEMP_TEST abilities ManaCost=0 for low-mana mobs
2026-02-10 14:53:21 -05:00
dingo 1f68928c83 Document pending U-shape wall tile gap and add temp ability test seed script
- Add builder plan note that U-shape directional tiles are still pending art

- Add abilityTemp.md SQL to seed one ability per MobAbilityType and one per MobAbilityTargeting for live validation
2026-02-10 14:03:27 -05:00
dingo 93e8c8457d Align runtime bucket matching with helper normalization
- Normalize tile bucket keys by stripping non-alphanumerics and lowercasing

- Use normalized alias lookup when resolving canonical directional wall buckets

- Prevent runtime misses when bucket names differ by underscores/spaces/casing
2026-02-10 12:50:39 -05:00
dingo c339842749 Add safe fallback bucket resolution for rare unmapped wall masks
- Keep exact 8-direction bucket matching as primary selection

- For unmatched masks, derive deterministic fallback candidates from cardinal/diagonal bits

- Prevent isolated untiled wall cells in complex junction edge cases
2026-02-10 12:47:33 -05:00
dingo 046d665c57 Fix directional bucket helper mapping and fill diagonal-only wall cells
- Update tile edit Neighbor Mask Helper to suggest new directional bucket names and masks

- Include 8-neighbor adjacency when collecting wall candidate cells so single-diagonal corner masks are placed

- Keep strict exact mask bucket matching in VNext wall resolver
2026-02-10 12:41:32 -05:00
dingo ec7f432f09 Switch VNext wall placement to exact directional mask buckets
- Replace cardinal/corner two-pass resolver with single-pass exact 8-direction mask matching

- Implement curated directional mask set (N/S/E/W + large/single corner buckets)

- Require wall tiles to map to exactly one directional bucket while still allowing extra non-directional buckets

- Add alias support for new bucket naming conventions (Wall_N style and corner names)
2026-02-10 12:15:48 -05:00
dingo 04db7b71d2 Add deterministic elbow-corner fallback for missed corner caps
- In wall pass2, when exact 8-bit corner mapping misses, derive corner bucket from elbow cardinals + elbow diagonal bit

- Preserve strict behavior: no broad corner fallback; only exact or deterministic elbow mapping

- Covers cases where valid corner cells were left as cardinal walls
2026-02-10 11:27:18 -05:00
dingo ceea824bb9 Enforce exact corner mask matching in wall pass2
- Remove corner fallback candidate selection for elbow upgrades

- Upgrade elbow cells only when exact 8-bit bucket resolves to a corner bucket

- Prevent corner tiles from being placed when any 0-bit side touches floor
2026-02-10 10:59:41 -05:00