This is a read-only snapshot of the ComputerCraft forums,
taken in April 2020.
Free Program Making
Started by xjordencyrx, 17 November 2012 - 04:40 PMPosted 17 November 2012 - 05:40 PM
Hello! I recently went to 1.4.4 and re-downloaded this mod. I was expeirimenting and learned some things about programming. From login on computers to advanced turtle houses. Ask me! Ill make a program. Just request it! :)/>/>
Posted 17 November 2012 - 10:29 PM
Moved to general.
Posted 17 November 2012 - 10:43 PM
Make a scripting language that has all functions of Lua but with better syntax. The scripting language needs to be made inside CC.
Posted 18 November 2012 - 06:19 AM
Well, since you asked, how about a turtle program that will kill the ender dragon for me? Wait, let me clarify that. It should actually work too (i.e. successfully kills the dragon).
Posted 18 November 2012 - 08:13 AM
Well, since you asked, how about a turtle program that will kill the ender dragon for me? Wait, let me clarify that. It should actually work too (i.e. successfully kills the dragon).
function attackAll()
turtle.attack()
turtle.attackUp()
turtle.attackDown()
end
while true do
attackAll()
turtle.turnRight()
end
Since you asked for it :)/>/>Posted 18 November 2012 - 08:17 AM
That's more like a modern dance x'D. Doesn't need fuel though. :D/>/>Well, since you asked, how about a turtle program that will kill the ender dragon for me? Wait, let me clarify that. It should actually work too (i.e. successfully kills the dragon).Since you asked for it :)/>/>function attackAll() turtle.attack() turtle.attackUp() turtle.attackDown() end while true do attackAll() turtle.turnRight() end
Posted 18 November 2012 - 08:27 AM
It was me being a smartass. But it would work if… the dragon didn't move :D/>/>That's more like a modern dance x'D. Doesn't need fuel though. :D/>/>Well, since you asked, how about a turtle program that will kill the ender dragon for me? Wait, let me clarify that. It should actually work too (i.e. successfully kills the dragon).Since you asked for it :)/>/>function attackAll() turtle.attack() turtle.attackUp() turtle.attackDown() end while true do attackAll() turtle.turnRight() end
Posted 18 November 2012 - 05:17 PM
Na, wouldn't work because the dragon would keep healing itself since you didn't deal with the ender crystals or whatever they are. ;p
Posted 18 November 2012 - 08:15 PM
That is way you make a machine to mass re-produce the turtle with this script. Once you have 1,000 of these, the Ender Dragon doesn't stand a chance!Na, wouldn't work because the dragon would keep healing itself since you didn't deal with the ender crystals or whatever they are. ;p
Posted 19 November 2012 - 10:27 AM
Hi, can you make me a program on a turtle where if you press "w" it moves forward, pressing "s" moves backward and "a" turns left and "d" turns right then "SPACE" mines in front thanks
Posted 21 November 2012 - 02:45 AM
Make a program where w moves backwards, s turns left, d turns left twice then attacks repeatedly, a digs the block in front and space goes up as far as possible, digging if necessary.
Posted 21 November 2012 - 03:51 AM
Mining program with suicide function? :(/>/> I can see the use in that. :(/>/>Make a program where w moves backwards, s turns left, d turns left twice then attacks repeatedly, a digs the block in front and space goes up as far as possible, digging if necessary.
Posted 21 November 2012 - 08:52 PM
I already have made a suicide both in a server I play on.Mining program with suicide function? :(/>/> I can see the use in that. :(/>/>Make a program where w moves backwards, s turns left, d turns left twice then attacks repeatedly, a digs the block in front and space goes up as far as possible, digging if necessary.
Posted 22 November 2012 - 09:01 PM
Make a program that compiles/translates C++ code to Lua code. Every last bit of functionality must be included.
Posted 22 November 2012 - 10:29 PM
Make a program which compiles Brainfuck and Assembly into Lua. Maybe include binary too.
Posted 22 November 2012 - 10:55 PM
Make a program that fixes Windows Update. Scratch that, make a program that replaces Windows with Linux.
Or complete any of my current projects:
-path finding algorithm optimized with binary heaps and jump point search, in 3D and taking in account turns cost;
-porting Sierra Lua scheduler to ComputerCraft;
-dynamic networking for rednet based on Cisco systems;
Or complete any of my current projects:
-path finding algorithm optimized with binary heaps and jump point search, in 3D and taking in account turns cost;
-porting Sierra Lua scheduler to ComputerCraft;
-dynamic networking for rednet based on Cisco systems;