diff options
author | metamuffin <metamuffin@disroot.org> | 2024-08-10 20:57:06 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-08-10 20:57:06 +0200 |
commit | 7dbb34febaf75572f99fee459a77cf917de05d8f (patch) | |
tree | 72ba067aa5003d110f2bb707fb3e9c429388505b /protocol.md | |
parent | 3d13c85ec2e3acbee249b4baf20797cc38a8a121 (diff) | |
download | hurrycurry-7dbb34febaf75572f99fee459a77cf917de05d8f.tar hurrycurry-7dbb34febaf75572f99fee459a77cf917de05d8f.tar.bz2 hurrycurry-7dbb34febaf75572f99fee459a77cf917de05d8f.tar.zst |
Change protocol and server to allow multiple players per connection (untested)
Diffstat (limited to 'protocol.md')
-rw-r--r-- | protocol.md | 2 |
1 files changed, 1 insertions, 1 deletions
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 |