From 3ad4d4da500a770e4f9cc7aa1bfe42588126a67c Mon Sep 17 00:00:00 2001 From: ubq323 Date: Mon, 6 Feb 2023 11:48:44 +0000 Subject: update net.txt --- net.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/net.txt b/net.txt index 70b8fb1..ced98ee 100644 --- a/net.txt +++ b/net.txt @@ -5,6 +5,9 @@ ppos {x,y} settile {q,r,tile} set tile at H(q,r) to tile (currently boolean) +reqchunk {u,v} + request chunk data for chunk at chunkpos u,v + s2c: playerinfopart:: {id,x,y,color:[r,g,b]} @@ -21,7 +24,7 @@ move {id,x,y} player with id id has moved to (x,y) chunk {tiles=[array of 128*128 booleans],u,v} - chunk has data d. one day changes will exist and also multiple chunks will exist and also more than 2 tile types will exist + chunk at chunkpos u,v has tile data tiles settile {q,r,tile} tile at H(q,r) was set to tile (currently boolean) -- cgit v1.2.3