Commit Graph
392 Commits
Author SHA1 Message Date
dingo b99d5fce7f Prioritize corner buckets over broad cardinal wall matches
- Defer cardinal-pass placement when an 8-direction corner/diagonal bucket match exists in the active palette

- Prevent corner cells from being flattened into top/side walls during first pass

- Keep two-pass flow intact: cardinal fallback first, unresolved cells resolved by 8-direction masks
2026-02-09 15:52:23 -05:00
dingo 41ae9e011a Implement VNext palette-scoped tile placement with two-pass wall bucket resolution
- Replace placeholder VNext tile output with palette-driven floor/wall TileDefinition placement

- Enforce wall placement flow: cardinal mask buckets first, then unresolved cells via 8-direction mask buckets

- Restrict wall/floor picks to buckets available to the selected palette

- Enforce wall definition selection from a single canonical wall bucket and fallback safely when unresolved

- Populate TileMapSheets from actually used tile sheets in generated layouts
2026-02-09 15:39:12 -05:00
dingo 1f5c56ec4f Refine builder plan with strict wall bucket placement flow
- Document cardinal-first then unfilled-cell directional wall placement

- Require each wall tile to map to exactly one wall bucket

- Restrict tile selection to buckets available in active palette
2026-02-09 15:33:48 -05:00
dingo e0e3ccc63c Fix tile mask compass grid alignment
- Correct 3x3 helper layout so N/NE/E/SE/S/SW/W/NW positions match their actual compass locations

- Keep existing clockwise bit order logic unchanged (N, NE, E, SE, S, SW, W, NW) now that UI layout is aligned
2026-02-09 15:02:37 -05:00
dingo d447e8eea6 Add tile mask helper UI for bucket mapping and update tile save flow
- Add 3x3 neighbor grid on /admin/tilemaps/tiles/edit to build clockwise mask codes

- Compute 8-bit and 4-bit mask values and auto-select matching wall bucket by HashSet-style bucket names

- Show live code/bucket hint output for faster tile authoring

- Change tile save redirect to return to /admin/tilemaps/edit for next-tile workflow

- Add BuilderExecutionPlan_Draft.md for VNext execution planning and review
2026-02-09 14:26:36 -05:00
dingo ab8afd4ec1 Normalize mob visual state before join/state payloads and clarify client animation handling
- Add server-side payload-time normalization to prevent alive mobs from being sent with dead/hurt animations

- Enforce dead state/death animation payload consistency for non-alive mobs

- Apply normalization in both dungeon enter flows and recurring dungeon state sends

- Update pending-clientChanges.md: client must treat currentAnimation as authoritative and gate loot prompt by hasLoot
2026-02-09 10:29:47 -05:00
dingo 8256b01fa4 Normalize mob visual state on tick and document remaining client loot prompt gating
- Add server-side state sanity checks so alive mobs cannot remain in dead/death animation state

- Enforce dead state/death animation for dead mobs every tick

- Remove Damaged-state assignment on hit to avoid hurt-loop visual lock-in

- Update pending-clientChanges.md: client should gate loot prompt by isAlive=false && hasLoot=true
2026-02-09 10:11:54 -05:00
dingo 5d3de08037 Keep mob corpses persistent and enforce death animation state
- Stop automatic corpse removal after loot is emptied; corpses now remain in world

- On all mob death paths, set dead state plus death animation (death_[dir]) and clear combat/cast targeting

- Include dead mobs in spatial state feed so corpses do not disappear from clients

- Add mob currentAnimation/hasLoot in payload and reject loot interaction when corpse has no loot
2026-02-09 09:24:14 -05:00
dingo d8e4e7430b Standardize mob payloads and refresh pending client requirements
- Include isAlive in dungeon state and join mob payloads for consistent render lifecycle

- Add mobCatalog to dungeon enter responses so clients can bootstrap mob art deterministically

- Filter DUNGEON_STATE visible mobs to alive mobs to avoid stale/dead entity feed

- Rewrite pending-clientChanges.md to reflect no mandatory remaining client work
2026-02-09 09:14:08 -05:00
dingo 0422027989 Fix dungeon respawn portal/state regressions after empty-dungeon reset
- Keep exit portals active when dungeons respawn mobs after being empty

- Normalize living mob runtime state on respawn reset (idle state, clear target/cast, reset animation)

- Expand quick-join enter mob payload to include rotation/state/isAlive to prevent stale dead-animation rendering
2026-02-09 09:06:01 -05:00
dingo f8f8b45ecb Fix dungeon state visibility regression and document client follow-ups
- Add safe sprite-config deserialization to prevent DUNGEON_STATE tick failures when mob sprite JSON is invalid

- Include definitionId consistently in mob payloads and preserve one-time mob catalog flow for client art preload

- Send active portals on every state update to avoid portal disappearance under spatial throttling

- Add root pending-clientChanges.md documenting required client handling for spatially filtered mobs, mobCatalog, and portal state
2026-02-09 08:44:47 -05:00
dingo 40a000be92 Spatial config 2026-02-09 08:32:09 -05:00
dingo c75d4011a3 Spatial mapping 2026-02-09 08:15:34 -05:00
dingo 5005206631 ForceVNext 2026-02-09 07:57:00 -05:00
dingo fb17d1c16b Dungeon fixes 2026-02-09 07:46:13 -05:00
dingo 469f1976bd dungeon changes 2026-02-08 22:21:03 -05:00
dingo b5738e0db3 boss handles 2026-02-08 22:08:58 -05:00
dingo 7b03b4139a new builder 2026-02-08 22:01:19 -05:00
dingo 6e3be67f64 Ability fixes and cleanup 2026-02-08 18:57:04 -05:00
dingo ec48fce15a fix abilities 2026-02-08 16:11:13 -05:00
dingo dd2bbc23b8 Summoning debug.. 2026-02-01 12:44:28 -05:00
dingo 65f3fa91d3 Summoning debug. 2026-02-01 12:11:31 -05:00
dingo 9f30f9a5af Summoning debug 2026-02-01 10:55:22 -05:00
dingo 7223c04399 Working on summoning 2026-02-01 10:16:36 -05:00
dingo 95c165ac07 Summoning 2026-02-01 10:00:38 -05:00
dingo 0e8a8c8061 Fix summoning 2026-02-01 09:19:02 -05:00
dingo 33361b6cf5 builder p4 2026-01-31 20:55:26 -05:00
dingo e941ddc421 dungeon builder p3 2026-01-31 19:43:19 -05:00
dingo f0587254c5 Dungeon Builder Phase 2 2026-01-31 19:12:15 -05:00
dingo 739c624b71 Dungeon Builder Change 2026-01-31 18:51:45 -05:00
dingo f7e60cf947 Dungeon Admin management-ooops 2026-01-31 11:21:54 -05:00
dingo 0b89cd06aa Dungeon Admin management 2026-01-31 11:19:38 -05:00
dingo 4108d20555 Ability to remove archive Dungeons 2026-01-31 10:47:32 -05:00
dingo fd7a55e149 Dungeon Fixes 2026-01-31 10:36:35 -05:00
dingo dd0969a9f0 web client getting bouned 2026-01-30 23:54:11 -05:00
dingo 490a307f92 finally fixing something else. 2026-01-30 23:43:33 -05:00
dingo c34d4efeed fucking versioning. cleaned up debugs 2026-01-30 23:23:45 -05:00
dingo 6297329fda Tsing still. 2026-01-30 23:08:55 -05:00
dingo 6979d53f11 Tsing still.. 2026-01-30 22:53:02 -05:00
dingo 14bf839699 Tsing still.... 2026-01-30 22:29:59 -05:00
dingo 463fa33669 Tsing still...... 2026-01-30 22:00:45 -05:00
dingo 975cf2b03d Tsing still....... 2026-01-30 21:54:49 -05:00
dingo bf78527821 God I hate Security sometimes. 2026-01-30 19:17:21 -05:00
dingo ecd18c7359 Tsing still....... 2026-01-30 19:11:20 -05:00
dingo 374a763195 Tsing still..No Session Cookie 2026-01-30 19:01:55 -05:00
dingo aa6758c45a Tsing still.. 2026-01-30 18:48:59 -05:00
dingo 6159bd81a2 Tsing still. 2026-01-30 18:41:39 -05:00
dingo 0fb26c1e45 Tsing still 2026-01-30 18:29:53 -05:00
dingo baa832074c FFS 2026-01-30 15:53:30 -05:00
dingo 2c539bd9ea f logging.v2 2026-01-30 15:27:39 -05:00