From 7dbb34febaf75572f99fee459a77cf917de05d8f Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sat, 10 Aug 2024 20:57:06 +0200 Subject: Change protocol and server to allow multiple players per connection (untested) --- protocol.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocol.md') diff --git a/protocol.md b/protocol.md index 956663ba..b5201abd 100644 --- a/protocol.md +++ b/protocol.md @@ -23,7 +23,7 @@ The protocol schema is defined in [`protocol.ts`](./test-client/protocol.ts) 1. Connect to the server via WebSocket (on port 27032 for plain HTTP or 443 with SSL) and send/receive json in WebSocket "Text" messages. The binary protocol uses "Binary" messages and is optional for servers and clients. -2. Wait for `init` packet and check version compatibiliy (see below). +2. Wait for `version` packet and check version compatibiliy (see below). 3. Send the join packet with your username. 4. The server will send the current game state: - `data` once for setting important look-up tables -- cgit v1.2.3-70-g09d2