- ComputerCraft | Programmable Computers for Minecraft
- → Falco's Content
Falco's Content
There have been 33 items by Falco (Search limited from 10-February 22)
#64235 LUA HELP
Posted by
Falco
on 25 December 2012 - 08:30 PM
in
Ask a Pro
But so far i have this and even this dont work
function testprint
print("TesTING!...1...2...3...")
end
shell.run("monitor", "right", testprint)
#63557 Please help its annoying me!
Posted by
Falco
on 23 December 2012 - 09:29 PM
in
Ask a Pro
Mikk809h, on 23 December 2012 - 09:27 PM, said:
Just remember the parantheses in the end of all your turtle commands.
I can't belive i missed those... DERP delete this post if needed its a waste of time and thank you very much my good sir
#63555 Please help its annoying me!
Posted by
Falco
on 23 December 2012 - 09:10 PM
in
Ask a Pro
function digforward() turtle.dig turtle.forward turtle.digUp end
Now I'm new to ComputerCraft and I cant understand why this wouldn't work...?
Heres my full code thats in my file currently and im getting the error: '=' expected on line 6.
-- Written by Falco. -- ******* basic moving functions ******* -- function forward() turtle.forward end function turnleft() turtle.turnLeft end function turnright() turtle.turnRight end function digforward() turtle.dig turtle.forward turtle.digUp end -- ******* end of basic moving functions ******* -- digforward()
#62827 Moving Objects!
#62826 [MC 1.2.5 / CC 1.4.1] CCPortable - And not even overpowerd
Posted by
Falco
on 21 December 2012 - 10:07 PM
in
Peripherals and Turtle Upgrades
please reply fast it looks great but i dont want to install if im never going to use it...
#62787 Moving Objects!
Posted by
Falco
on 21 December 2012 - 07:38 PM
in
Ask a Pro
cmurtheepic, on 21 December 2012 - 07:35 PM, said:
Yeah I wanted to ride it.... lol....
So is there anyway I can make a ridable machine? I've seen ships and all that all over the internet...
#62782 Turtle Farm
Posted by
Falco
on 21 December 2012 - 07:20 PM
in
Ask a Pro
num = turtle.getItemCount(3)
while num ~= 32 do
turtle.place()
turtle.select(2)
turtle.place()
turtle.select(1)
turtle.dig()
else
print("Wheat has been collected!") -- or whatever you want it to say when its full.
end
or...
num = turtle.getItemCount(3)
while num ~= 32 do
turtle.place()
turtle.select(2)
turtle.place()
turtle.select(1)
turtle.dig()
else
if num ~= 32 then
print("Wheat has been collected!") -- or whatever you want it to say when its full.
end
end
Maybe someone could vouch this...?
#62778 UGSD! - New Program
Posted by
Falco
on 21 December 2012 - 06:58 PM
in
Turtle Programs
#62768 UGSD! - New Program
Posted by
Falco
on 21 December 2012 - 06:12 PM
in
Turtle Programs
#62748 UGSD! - New Program
Posted by
Falco
on 21 December 2012 - 05:11 PM
in
Turtle Programs
#62567 Optimized Mining Turtle (with ASTU)
Posted by
Falco
on 21 December 2012 - 10:33 AM
in
Turtle Programs
#62565 Tree Feller program
Posted by
Falco
on 21 December 2012 - 10:26 AM
in
Turtle Programs
#62553 UGSD! - New Program
Posted by
Falco
on 21 December 2012 - 09:54 AM
in
Turtle Programs
#62368 UGSD! - New Program
Posted by
Falco
on 21 December 2012 - 01:54 AM
in
Turtle Programs
#62363 UGSD! - New Program
Posted by
Falco
on 21 December 2012 - 01:44 AM
in
Turtle Programs
#62354 UGSD! - New Program
Posted by
Falco
on 21 December 2012 - 01:30 AM
in
Turtle Programs
A brief discription:
UGSD, is a powerful program which will help you achive the best
underground tunnels with little work, this is great for joining one base to another without
having to leave either buliding, or connecting your underground lair to an outpost, or simply
just creating a connection of underground tunnels for transporting goods or people.
Features:
- Two preloaded tunnel sizes (2x2, 2x3, 3x3).
- Custom length of tunnel, in meters.
Planned features:
- Torch placement system.
Main Menu:

Download!
-- Writen by Falco.
-- My CC Profile: http://www.computerc...ser/7198-falco/
-- Offical Download: http://www.computerc...sd-new-program/
version = "0.2"
function clear() -- This function acts as a shell.run("clear"), without having to type your program header againg and again.
shell.run("clear")
print(" UGSD! You are running version " .. version)
print(" --------------------------------------")
print("")
end
function tunnel2x2() -- Digs out a 2x2 tunnel.
clear() -- This calls our "clear" function.
write("Please choose the length of the tunnel, in meters> ")
length = read() -- this listens to our input.
for i = 1, tonumber(length) do
turtle.refuel()
turtle.dig()
turtle.forward()
turtle.digUp()
turtle.up()
turtle.turnLeft()
turtle.dig()
turtle.down()
turtle.dig()
turtle.turnRight()
end
startup() -- This calls our start menu.
end
function tunnel2x3()
clear()
write("Please choose the length of the tunnel, in meters> ")
length = read()
for i = 1, tonumber(length) do
turtle.refuel()
turtle.dig()
turtle.forward()
turtle.digUp()
turtle.turnLeft()
turtle.dig()
turtle.up()
turtle.dig()
turtle.turnRight()
turtle.turnRight()
turtle.dig()
turtle.down()
turtle.dig()
turtle.turnLeft()
end
startup()
end
function tunnel3x3()
clear()
print("Please choose the length of the tunnel, in meters> ")
length = read()
for i = 1, tonumber(length) do
turtle.refuel()
turtle.dig()
turtle.forward()
turtle.digUp()
turtle.turnLeft()
turtle.dig()
turtle.up()
turtle.dig()
turtle.digUp()
turtle.up()
turtle.dig()
turtle.turnRight()
turtle.turnRight()
turtle.dig()
turtle.down()
turtle.dig()
turtle.down()
turtle.dig()
turtle.turnLeft()
end
end
-- Main Menu --
function startup()
clear()
print("Please choose a tunnel size from the menu: ")
print("")
print("[1] 2x2, Must be placed on the left!")
print("[2] 2x3, Must be placed in the center!")
print("[3] 3x3, Must be placed in the center!")
print("[4] Exit")
startupc = io.read()
if startupc == "1" then
tunnel2x2()
elseif startupc == "2" then
tunnel2x3()
elseif startupc == "3" then
tunnel3x3()
elseif startupc == "4" then
print("")
shell.run("reboot", 2)
end
end
startup() -- This is line makes the program start and show the main menu.
Change Log! READ IT!:
Version 0.2
Changes:
- Readded 3x3 tunnel.
Version 0.1:
Features:
- Two preloaded tunnel sizes (2x2, 2x3).
- Custom length of tunnel, in meters.
Download!
-- Writen by Falco.
-- My CC Profile: http://www.computercraft.info/forums2/index.php?/user/7198-falco/
-- function tunnel3x3 is currently disabled due to a bug.
version = " 0.1"
function clear()
shell.run("clear")
print("UGSD (Underground Shaft Digger)." .. version)
print("--------------------------------------")
print("")
end
function tunnel2x2()
clear()
write("Please choose the length of the tunnel, in meters> ")
length = read()
for i = 1, tonumber(length) do
turtle.refuel()
turtle.dig()
turtle.forward()
turtle.digUp()
turtle.up()
turtle.turnLeft()
turtle.dig()
turtle.down()
turtle.dig()
turtle.turnRight()
end
startup()
end
function tunnel2x3()
clear()
write("Please choose the length of the tunnel, in meters> ")
length = read()
for i = 1, tonumber(length) do
turtle.refuel()
turtle.dig()
turtle.forward()
turtle.digUp()
turtle.turnLeft()
turtle.dig()
turtle.up()
turtle.dig()
turtle.turnRight()
turtle.turnRight()
turtle.dig()
turtle.down()
turtle.dig()
turtle.turnLeft()
end
startup()
end
--function tunnel3x3()
-- clear()
-- print("Please choose the length of the tunnel, in meters> ")
-- length = read()
--for i = 1, tonumber(length) do
-- turtle.refuel()
-- turtle.digDown()
-- turtle.down()
-- turtle.digDown()
-- turtle.down()
-- turtle.digDown()
-- turtle.down()
-- turtle.dig()
-- turtle.forward()
-- turtle.digUp()
-- turtle.turnLeft()
-- turtle.dig()
-- turtle.up()
-- turtle.dig()
-- turtle.digUp()
-- turtle.up()
-- turtle.dig()
-- turtle.turnRight()
-- turtle.turnRight()
-- turtle.dig()
-- turtle.down()
-- turtle.dig()
-- turtle.down()
-- turtle.dig()
-- turtle.turnLeft()
--end
--end
function startup()
clear()
print("Please choose a tunnel size from the menu: ")
print("")
print("[1] 2x2, Must be placed on the left!")
print("[2] 2x3, Must be placed in the center!")
-- print("[3] 3x3, Must be placed in the center!")
print("[3] Exit")
startupc = io.read()
if startupc == "1" then
tunnel2x2()
elseif startupc == "2" then
tunnel2x3()
-- elseif startupc == "3" then
tunnel3x3()
elseif startupc == "3" then
print("")
shell.run("reboot", 2)
end
end
startup()
Please Note: This is the first program I've EVER made for release so be nice guys.
#62277 LUA HELP!
Posted by
Falco
on 20 December 2012 - 10:30 PM
in
Ask a Pro
function clear()
shell.run("clear")
print("UGSD (Underground Shaft Digger). Running version:" .. version)
print("--------------------------")
print("")
end
I'm getting an "=" expected on the first line but no matter how many "=" I put there it dosn't work.
#59656 Loop thats user defined
Posted by
Falco
on 15 December 2012 - 03:29 AM
in
Ask a Pro
TheOriginalBIT, on 15 December 2012 - 01:50 AM, said:
Falco, on 15 December 2012 - 01:41 AM, said:
TheOriginalBIT, on 14 December 2012 - 08:11 PM, said:
Falco, on 14 December 2012 - 08:07 PM, said:
No seriously thank you very much. Is there anyway I can give rep or anything on this forum?
Haha, no problems, anytime, seriously, just PM me (PM through profiles).
Yes there is a way to give rep. As to how, that is something I don't know how to do. I know that there is the "Vote this post up" green arrow. And I think there may be a "star rating" thingy on profiles (Click the persons photo).
Thanks, I'll will try my hardest to give you REP of some sort, you are a fine addition to this very helpful community.
Why thank you kind sir or madam
Sir
- ComputerCraft | Programmable Computers for Minecraft
- → Falco's Content



