Posted 18 May 2017 - 08:38 PM
Sorry,i was looking to myself like <snip> this while writing the title =D
The problem is with turtle control server program.All it does it controls turtles via Rednet.When trying to execute server it halts my pc.(minecraft pc,for others who didn';t understand)
Code:
The problem is with turtle control server program.All it does it controls turtles via Rednet.When trying to execute server it halts my pc.(minecraft pc,for others who didn';t understand)
Code:
rednet.broadcast("1");
while true do
if (keys.w == true) then
rednet.broadcast("w") // forward
end
if(keys.a == true) then
rednet.broadcast("a") // left
end
if(keys.s == true) then
rednet.broadcast("s") // back
end
if(keys.d == true) then
rednet.broadcast("d") // right
end
if(keys.q == true) then
rednet.broadcast("q") // down
end
if(keys.e == true) then
rednet.broadcast("e") // up
end
end
I love the formatting of programming languages, it';s useful.I'm a code monkey.But,only in Lua.Does anyone know C# to Lua converter compatible with CC?Edited by