@flayerlabs/gamemode-cli 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -58,4 +58,4 @@ Check replay, reconnect, hidden-data leaks, late actions, duplicate actions, ove
|
|
|
58
58
|
|
|
59
59
|
## Ship
|
|
60
60
|
|
|
61
|
-
Build with `@flayerlabs/gamemode-client` 0.
|
|
61
|
+
Build with `@flayerlabs/gamemode-client` 0.7.0 or later, deploy the scaffolded gate (`src/gate.ts`), and upload the zip at the developer dashboard, `https://flaunch.gg/game-mode/dashboard`: one gate per chain (Base Sepolia 84532 required for testing; Base 8453 and Robinhood 4663 production), tick "supports practice mode" when the build runs on `createMockRoom`, mark it mobile-friendly if it is, and run the Base Sepolia test launch. Bundling rules and the full ship checklist are steps 7–8 of `$port-game-mode`; a game with its own multiplayer server follows `$run-a-game-server`.
|
|
@@ -56,6 +56,8 @@ const app = createGameServerGate({
|
|
|
56
56
|
chainId: 84532,
|
|
57
57
|
contracts: {
|
|
58
58
|
positionManager: '0x4E7cB1e6800a7B297B38BddcecAF9Ca5b6616FDC',
|
|
59
|
+
// The legacy stack's version 1 calculator. The paired stack's v2 calculator (0.7.0) is
|
|
60
|
+
// 0x8a36826253882c8b505D6D78a71B780Ac9c98eA9 on Base Sepolia.
|
|
59
61
|
spendGatedCalculator: '0x8cbbE6b4cFA5Ccf68399Dbf1429d91A21097ebA5',
|
|
60
62
|
},
|
|
61
63
|
signer: SIGNER_ADDRESS, // the address of your gate's signing key
|
|
@@ -174,7 +176,7 @@ Upload the zip in the developer dashboard at `https://flaunch.gg/game-mode/dashb
|
|
|
174
176
|
your gate origin as a network — one gate per chain: Base Sepolia (84532) is required for testing,
|
|
175
177
|
Base (8453) and Robinhood (4663) are production — and fill in the game server addresses. The
|
|
176
178
|
dashboard live-probes `/health` at submission, so deploy the gate first; it refuses builds below
|
|
177
|
-
`@flayerlabs/gamemode-client` 0.
|
|
179
|
+
`@flayerlabs/gamemode-client` 0.7.0 and gates whose `/config` `gateVersion` is below 0.7.0. Mark
|
|
178
180
|
the game mobile-friendly if it is, and run the Base Sepolia test launch from the dashboard. Localhost
|
|
179
181
|
cannot rehearse the deployed CSP: after hosting, open the deployed game and confirm every declared
|
|
180
182
|
origin connects and an undeclared one is blocked. Then launch a fresh test coin through the room
|