feat(net)!: client on server-run fights, websocket lobby, server economy (P1-5, P1-6, P1-7, P2-3, P2-4)
- net.js: REST + one WebSocket with reconnect; single-flight refresh shared across tabs; ?slot=N - lobby.js / netfight.js: server owns presence, challenges and the fight; client shows snapshots - game.js: every workshop change goes through RC.Eco via act() (server-checked online); results, rewards and achievements come from the server (match.end) - ranking/live/cloudsave on the new REST endpoints; online tournament removed until P2-6 BREAKING CHANGE: needs the new server (protocol v1); old online saves are not migrated.
This commit is contained in:
@@ -817,6 +817,8 @@
|
||||
<script src="ltourney.js"></script>
|
||||
<script src="tourney.js"></script>
|
||||
<script src="robot.js"></script>
|
||||
<script src="eco.js"></script>
|
||||
<script src="protocol.js"></script>
|
||||
<script src="combat.js"></script>
|
||||
<script src="ai.js"></script>
|
||||
<script src="profiles.js"></script>
|
||||
@@ -828,7 +830,6 @@
|
||||
<script src="looks.js"></script>
|
||||
<script src="render3d.js"></script>
|
||||
<script src="netfight.js"></script>
|
||||
<script src="netourney.js"></script>
|
||||
<script src="shop.js"></script>
|
||||
<script src="painter.js"></script>
|
||||
<script src="uicheck.js"></script>
|
||||
|
||||
Reference in New Issue
Block a user