Repository navigation
4net 0.4.1
A fix release: mesh / bridge networking, the panel, and the lobby server's room defaults. No API changes; adapters and gameplay mods written for 0.4.0 work as they are.
Networking / mesh
- In a bridged room where the host plays and nobody can relay, the host's player now forwards both players' packets to spectators (before, spectators got nothing once the match started).
- New-style rooms can join over the bridge every time; fixed the host replacing a joiner's current address with its other-family (IPv4 / IPv6) handshake address, which left only one side seeing the other.
- With "always bridge", a client whose bridge fails right away retries after 3 s instead of reconnecting every 6 ms.
- The automatic route test connection is no longer taken over by the join-by-bridge path.
- Duel rooms: state goes to everyone while nobody is called up; only the two players once the match starts.
Panel
- One click is no longer counted twice; host / join / spectate commands repeated within 1 s are sent once.
- Room list: unknown gameplay modes show as [other mode]; the spectate-only room picker joins as a spectator directly; the page bar has small play / spectate-only buttons.
- When the lobby helper isn't running, the panel shows the real reason.
- End / leave buttons are red; GUI rows can be centred (separators).
- Room members can be added to recent opponents (block) and the room code is shown; some labels renamed and descriptions shortened.
- Extensions page: enabled but not yet restarted shows "not loaded", with a "cancel enabling" button.
- Without the multiplayer mod, host / join fall back to the old 1v1.
- AI difficulty / loadout take effect on click; adapters can add config commands for the local AI.
Lobby server
--roomdefault rules come from the same single source as the client.
Host version 0.4.1. Offline suites: tests/run_all.py passes 9 of 10; test_ext still looks for an old button label (the test is out of date, not the feature).
Files
fornet-0.4.1.zip: what goes into<UE4SS>\Mods\<your mod>\:Scripts\(the host asmain.luaplus the network modules) andfornet_lobby.dll, built without any game code.fornet_lobby.dll: the same DLL on its own.fornet-0.4.1-server.zip: optional, the self-hosted lobby server (server/fornet-lobby-server.mjs, Node 18+, AGPL-3.0).
中文:0.4.1 是修复版,接口没变,0.4.0 的适配层和玩法 mod 直接能用。全互连 / 桥接:桥接房里房主上场时观众开打后也收得到包、多人房一直桥接入房、修只有一边看得到对方、桥接失败不再狂刷重连、换线测速不被抢;面板:一次点击不再算两次、房间列表 / 成员页 / 扩展页若干改进、联机程序没起来时显示真正原因;大厅服务器 --room 默认规则和客户端同一来源。另附可选的大厅服务器包。