Commit Graph

74 Commits

Author SHA1 Message Date
Lorenzune 99c4acea38 Expose room, user and furni metadata for wired tools
- parse extra room snapshot data such as hotel time, room item limit and group context

- expose richer furni metadata including flags, dimensions and teleport targets

- expose richer user metadata including room-entry fields and ids needed by inspection tools

- keep session and room engine models aligned with the new wired monitor/inspection flow
2026-03-27 09:37:14 +01:00
Lorenzune 296df767ba Improve wired movement rendering and follow sync 2026-03-25 03:26:27 +01:00
Lorenzune 9962ec8037 Adjust room walking after wired movements 2026-03-24 02:11:54 +01:00
Lorenzune 38a79d4f80 feat: support wired movement packets and room sync 2026-03-22 16:48:51 +01:00
Lorenzune 10b3d64ee0 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	packages/communication/src/NitroMessages.ts
2026-03-21 14:49:08 +01:00
Lorenzune fd61704375 fix(room): support wired click-user controls 2026-03-21 14:27:57 +01:00
DuckieTM ef42c6862d Merge pull request #7 from simoleo89/feature/floorplan-realtime-preview-v2
feat(floorplan): add real-time preview support to FloorplanEditor
2026-03-21 08:46:26 +01:00
duckietm 4e41e9db5c 🆙 Stage 2 reconnect 2026-03-20 17:10:56 +01:00
duckietm 958693fe2e 🆙 Stage 1 reconnect 2026-03-20 16:06:03 +01:00
simoleo89 d45381716f feat(floorplan): add real-time preview support to FloorplanEditor
- Add getMapData() method to expose current floor map state
- Enables real-time preview in the UI floor plan editor
2026-03-20 14:19:35 +01:00
duckietm 5aef7a3de2 🆕 Disconnection handler, when you got disconnected you automatic go back to the room 2026-03-19 15:04:47 +01:00
DuckieTM eee289e8f2 Merge pull request #5 from simoleo89/feature/floorplan-realtime-preview
Add real-time preview support to FloorplanEditor
2026-03-19 09:53:18 +01:00
simoleo89 31de6daac5 Add real-time preview support to FloorplanEditor
Add onTilemapChange callback that fires after every renderTiles() call,
enabling the UI layer to react to tilemap mutations in real-time.

Co-Authored-By: medievalshell <medievalshell@users.noreply.github.com>
2026-03-18 21:03:44 +01:00
Lorenzune 00743a3865 feat(room): add single-click user packet for wired trigger
- add ClickUserMessageComposer and outgoing header wiring\n- send the user click packet from RoomObjectEventHandler for avatar single clicks\n- support wf_trg_click_user in the linked Nitro UI/emulator flow
2026-03-18 17:38:56 +01:00
Lorenzune a0bece2d4a Merge branch 'duckietm:main' into main 2026-03-18 17:20:08 +01:00
duckietm 1162ff84cc 🆙 Camera Security fix / small fix for beds
- Validate data URL format (must start with data:image/png)
- Validate PNG magic bytes on binary data before sending
- Enforce 2MB size limit matching server
- Add try/catch around atob() to handle invalid base64 gracefully
- Fix XSS vulnerability in editor download: replace unsafe window.open()+document.write()
  with safe anchor-based download that also validates data URL scheme
2026-03-18 09:21:36 +01:00
Lorenzune 6399be14b0 feat(room): add single-click user packet for wired trigger
- add ClickUserMessageComposer and outgoing header wiring\n- send the user click packet from RoomObjectEventHandler for avatar single clicks\n- support wf_trg_click_user in the linked Nitro UI/emulator flow
2026-03-17 01:34:51 +01:00
DuckieTM 19857075c0 🆙 Lets make the beds even greater 2026-03-15 15:31:20 +01:00
duckietm 4fac511a09 🆕 Rollers can now go up and down the mountains ! 🗻 2026-03-13 20:52:55 +01:00
duckietm 37bdcf7ef8 🆙 Fix floorplanner 2026-03-11 13:38:50 +01:00
duckietm ec0aef3c41 🆙 Update for the wf_slc_users_neighborhood 2026-03-10 15:40:24 +01:00
duckietm 9d519a8446 🆙 small fix 2026-03-09 10:54:18 +01:00
duckietm 427c646aff 🆙 small fix wall items 2026-03-09 08:26:38 +01:00
DuckieTM 5eb76c4843 🚶 Height Fix (made an typo in the ROOM_DEPTH_OFFSET) 2026-03-08 15:27:30 +01:00
duckietm bc4605f45f 🆕 Added support for wf_slc_users_area and some avatar fixes 2026-03-06 11:26:40 +01:00
duckietm f157b49f3b 🆙 Fix isometric rendering 2026-03-04 08:57:50 +01:00
duckietm b456def1de 🆙 Fix Sleep & Blinking eye's 2026-03-02 16:52:08 +01:00
duckietm 959bace1b7 🆕 Updated Chooser & Furni command - now glowing ! 2026-02-24 08:17:04 +01:00
duckietm a5373142f5 🆙 small fix delay in walking in front of the window 2026-02-19 11:18:23 +01:00
duckietm 2fd00c24ba 🆙 Small fix
This fix is to only activate the filter when the background is actually non-black, matching the same guard used in shouldSuppressBackgroundMatteLayer
2026-02-18 17:16:17 +01:00
duckietm a6f1d1c45e 🆙 Added Black to Aplha Filter, to get the real deal for blending furni 2026-02-18 14:44:18 +01:00
duckietm 7d71ac2d59 🆙 Fixed Floorplan 2026-02-18 11:17:14 +01:00
duckietm 3364530621 🆙 New floorplan 2026-02-17 17:30:26 +01:00
duckietm 764dd680c8 🆙 Updated Mirroring in the windows, now showing face when infront 2026-02-17 15:20:07 +01:00
duckietm ac0226e09a 🆙 Fixed the WallItems with color background 2026-02-17 10:19:23 +01:00
DuckieTM 8f5a9f7188 🆙 Patch GlTextureSystem & Fix effects like BBRed
- Monkey-patch the renderer's GlTextureSystem to prevent crashes from destroyed textures
2026-02-07 19:08:39 +01:00
DuckieTM 9c43cb240e 🆙 Fix Effects (enable) 2026-02-07 11:25:38 +01:00
duckietm 4225dbdd90 🆙 Removed the generic.asset.url
We have removed the generic.asset.url and all is now in the renderer, so easy to edit and no more wrongly loaded assets
2026-02-06 13:00:22 +01:00
duckietm 501f918d0d 🆙 Windows 100% done!
- Background color added
- Fixed one missing window
- Better cloud animation
- (NEW) real miror view in windows
2026-02-05 16:57:32 +01:00
duckietm bed34615c1 🆙 cleanup and small fix to the json 2026-02-05 13:42:27 +01:00
duckietm 17ae1bd644 🆙 added Room background colors,so windows and landscapes are now 100% 2026-02-05 13:04:44 +01:00
duckietm 91c20c49e7 🆙 Clouds work 100% now 2026-02-05 11:06:59 +01:00
duckietm 120a502a7d 🆙 Update
- Animation canvas uses full landscape height for proper vertical positioning
- Animation assets always loaded from room collection
- Fallback to default plane when specific plane not found
2026-02-05 08:32:02 +01:00
duckietm e056013d5d 🆙 refectorimng room.nitro to be loaded by the renderer 2026-02-04 11:05:18 +01:00
duckietm 6a8dfc6c14 🆙 Lets change the way generic asset is loading WiP 2026-02-02 16:42:11 +01:00
duckietm 7b59a31b0f 🆙 Working landscapes as in V1 2026-02-02 10:15:14 +01:00
DuckieTM c197de7ea2 ☁️ Fase 1 done, adding animated landscapes 2026-02-01 16:42:27 +01:00
DuckieTM bd059d739d 🆙 foto's 100% in renderer as in habbo 2026-02-01 15:13:30 +01:00
DuckieTM 1fe48bcda7 🆙 Update Furniture Badge
- Better performance - PixiJS handles animation
- GPU acceleration - Textures are uploaded to GPU instead of CPU canvas operations
2026-01-31 20:54:42 +01:00
DuckieTM 4f2c2f904c 🆙 Updates
* Fix PixiJS v8 deprecation warning (PixiJS v8 only allows Container objects to have children)

* Changed from whitelist to blocklist approach in LegacyExternalInterface:
- Allows legitimate callbacks like 'openroom', 'opennavigator', etc.
- Blocks only dangerous globals (eval, Function, window, document, etc.)
- Blocks prototype pollution vectors (__proto__, constructor, etc.)
- Blocks network/storage APIs from being overwritten.
2026-01-31 16:18:03 +01:00