269 Commits
Author SHA1 Message Date
dingo 0c9c2de0ab Working on the world. 2026-02-18 07:08:49 -05:00
dingo 7b5b2b91f0 Working on the world 2026-02-18 06:48:34 -05:00
dingo 14d74fa9ce World changes 2026-02-17 11:18:55 -05:00
dingo cae32f6157 World Editor fixes 2026-02-16 16:41:23 -05:00
dingo 7e6d494e44 World revamp 2026-02-16 08:56:15 -05:00
dingo c7ac5ea0a0 Chunk load most ikely causing latency 2026-02-16 08:25:47 -05:00
dingo 023fd1ce30 World tsing 2026-02-15 21:38:09 -05:00
dingo b61bd49106 World 2026-02-15 14:31:09 -05:00
dingo 7ad4f614cf Enable world input debug logging by default with env override 2026-02-15 13:17:05 -05:00
dingo 87650dbe47 Working on world movement 2026-02-15 13:00:06 -05:00
dingo 6008c17a0b Working on world coords 2026-02-15 12:03:51 -05:00
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 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 8f7098af81 Add collision teleport portals and ledge-safe movement in VNext dungeons 2026-02-14 15:05:10 -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 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 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
dingo 1faa296626 Implement explicit 2-step wall placement flow
- Step 1: place cardinal wall tiles based on floor-touch cardinal directions

- Step 2: revisit two-cardinal elbow cells and override with corner tiles using exact 8-neighbor mask (including diagonal)

- Use upsert placement so pass2 cleanly replaces pass1 walls at corner cells
2026-02-10 10:39:26 -05:00
dingo ea478e094f Switch wall autotiling to strict floor-touch pattern classification
- Replace broad cardinal HashSet matching with deterministic mask-based bucket candidates

- Prevent corner buckets on straight one-side walls

- Route adjacent-two elbow masks only through corner bucket families

- Keep complex/opposite masks on full/8-dir bucket families to avoid impossible placements
2026-02-10 09:11:39 -05:00
dingo c6f778a6db Remap elbow corner bucket orientation and add robust candidates
- Invert elbow-to-corner orientation mapping to match floor-touch geometry

- Try multiple corner bucket candidates (diagonal + inner-corner families) per elbow mask

- Preserve existing cardinal and 8-direction fallback behavior
2026-02-10 08:58:55 -05:00
dingo 191f919206 Fix elbow wall corner precedence and fallback flow
- Apply elbow->corner bucket mapping before cardinal bucket selection

- Add 8-direction fallback in pass1 when cardinal candidate exists but has no definition

- Keep pass2 unresolved resolution unchanged
2026-02-10 07:59:51 -05:00
dingo a2e206daf1 Handle elbow wall masks with corner-bucket preference
- Map 2-neighbor elbow cardinal masks to diagonal corner buckets before broad WallTop/WallSide fallback

- Preserve existing two-pass resolver while improving bend transitions
2026-02-09 21:51:43 -05:00