Dark98 ef7eca97e3 fix(web): support minimap bezel overlay, HTTPS /ws/ proxy routing, dynamic WS buffer, and VirtualFile cache fallback
Updates the TeaVM web client to render the 249x156 minimap bezel overlay cleanly, route WebSockets through same-origin /ws/<port> on HTTPS, dynamically grow WebSocket receive buffers, and fall back to preloaded VirtualFile cache data.

### Core / System Architecture
- `DesktopHooks.java`:
  - Added `setModernMinimapOverlay(int[])` reference-cached pixel conversion for the 249x156 minimap bezel overlay and `hasCachedMainDat(String)` checking `Signlink.cache_dat.length() > 0`.
- `Signlink.java`:
  - Routed `opensocket(int)` on `https://` origins through `wss://<window.location.host>/ws/<wsPort>` while keeping `ws://<host>:<wsPort>/` on `http://`.
- `WebLauncher.java`, `index.html`:
  - Removed the hardcoded `192.168.1.88` server override so the client defaults cleanly to `ClientSettings.SERVER_IP` (`server.2006scape.org`).

### Bug Fixes & Edge Cases
- `WebSocketAdapter.java`:
  - Replaced the fixed `262144`-byte ring buffer with a dynamically growing ring buffer (up to 32 MB) synchronized on `rxLock` to prevent truncation on large transfers.
2026-12-05 02:33:57 +00:00
S
Description
No description provided
5.7 MiB
0 Stars 1 Watchers 0 Forks
Languages
Java 74.5%
HTML 24.3%
JavaScript 1.2%