master
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.
Languages
Java
74.5%
HTML
24.3%
JavaScript
1.2%