From 0ed81baa6e4337bb15bdde4a634462291550585b Mon Sep 17 00:00:00 2001 From: "navid.sassan" Date: Sat, 9 Jan 2021 03:49:39 +0100 Subject: [PATCH] adjusted the client hostname --- client | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client b/client index ca91b18..5d2b0ad 100644 --- a/client +++ b/client @@ -1,3 +1,5 @@ +local hostname = "turtle" .. os.getComputerID() + local sides = peripheral.getNames() for i = 1, #sides do if peripheral.getType(sides[i]) == "modem" then @@ -25,7 +27,7 @@ function dump(o) return tostring(o) end -rednet.host("rmm", "t0-turtle01") +rednet.host("rmm", hostname) local master = rednet.lookup("rmm", "master") while true do local event, id, data = os.pullEvent()