This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
AKman1984's profile picture

Computer Craft and BuildCraft working toghter

Started by AKman1984, 05 August 2012 - 07:49 PM
AKman1984 #1
Posted 05 August 2012 - 09:49 PM
Hey every one come check out the awesome build I am doing with Computer Craft and BuildCraft

http://www.youtube.com/playlist?list=PLEDEAF7752E392D10&feature=view_all
Xenthera #2
Posted 06 August 2012 - 12:14 AM
Ok, First off, Check your spelling. There were so many mistakes. With that out of the way, How did you turn on the computers with the other computer? That was actually interesting…
Pharap #3
Posted 06 August 2012 - 05:51 AM
Ok, First off, Check your spelling. There were so many mistakes. With that out of the way, How did you turn on the computers with the other computer? That was actually interesting…

Computers turn on when you right click them, so my guess would be using a deployer with an item in it that doesn't alter blocks when you right click (eg a red flower) then set the startup script to whatever and boom, computer runs a program via redstone input.

At least that's the theory, I see no reason why it shouldn't work.
Xfel #4
Posted 06 August 2012 - 06:35 AM
It's far more easy than that. Computers are peripherals themselves, exposing methods like start(), shutdown() and reboot().
Pharap #5
Posted 06 August 2012 - 06:50 AM
It's far more easy than that. Computers are peripherals themselves, exposing methods like start(), shutdown() and reboot().
Computers don't have a start method.
Noodle #6
Posted 06 August 2012 - 11:05 AM
No, but you can just make a startup loop..
Xenthera #7
Posted 06 August 2012 - 07:02 PM
Ok, First off, Check your spelling. There were so many mistakes. With that out of the way, How did you turn on the computers with the other computer? That was actually interesting…

Computers turn on when you right click them, so my guess would be using a deployer with an item in it that doesn't alter blocks when you right click (eg a red flower) then set the startup script to whatever and boom, computer runs a program via redstone input.

At least that's the theory, I see no reason why it shouldn't work.

In His videos there were no deployers. Just redstone bundled cables hooked to the back and sides.
MysticT #8
Posted 06 August 2012 - 07:10 PM
It's far more easy than that. Computers are peripherals themselves, exposing methods like start(), shutdown() and reboot().
Computers don't have a start method.
No, but they have a turnOn method :P/>/>
Pharap #9
Posted 06 August 2012 - 09:19 PM
Ok, First off, Check your spelling. There were so many mistakes. With that out of the way, How did you turn on the computers with the other computer? That was actually interesting…
Computers turn on when you right click them, so my guess would be using a deployer with an item in it that doesn't alter blocks when you right click (eg a red flower) then set the startup script to whatever and boom, computer runs a program via redstone input. At least that's the theory, I see no reason why it shouldn't work.
In His videos there were no deployers. Just redstone bundled cables hooked to the back and sides.

everything was encapsulated, whatever was behind the main pcs, you couldn't see it.
Pharap #10
Posted 06 August 2012 - 09:21 PM
It's far more easy than that. Computers are peripherals themselves, exposing methods like start(), shutdown() and reboot().
Computers don't have a start method.
No, but they have a turnOn method :P/>/>
No they don't. There is shutdown() and there is reboot(), that's it for altering the on state. Right clicking isn't a method.
MysticT #11
Posted 06 August 2012 - 09:27 PM
It's far more easy than that. Computers are peripherals themselves, exposing methods like start(), shutdown() and reboot().
Computers don't have a start method.
No, but they have a turnOn method :P/>/>
No they don't. There is shutdown() and there is reboot(), that's it for altering the on state. Right clicking isn't a method.
Try wraping it as a peripheral from other computer. It exposes methods like turnOn and turnOff, that you can call from the other computer.
Example:

local computer = peripheral.wrap("left")
computer.turnOn()
That will turn on the computer on the left of the computer you're using. So, if you put that in the startup of every computer, starting the first one turns all of them on ;)/>/>
Pharap #12
Posted 06 August 2012 - 11:55 PM
It's far more easy than that. Computers are peripherals themselves, exposing methods like start(), shutdown() and reboot().
Computers don't have a start method.
No, but they have a turnOn method :P/>/>
No they don't. There is shutdown() and there is reboot(), that's it for altering the on state. Right clicking isn't a method.
Try wraping it as a peripheral from other computer. It exposes methods like turnOn and turnOff, that you can call from the other computer.
Example:

local computer = peripheral.wrap("left")
computer.turnOn()
That will turn on the computer on the left of the computer you're using. So, if you put that in the startup of every computer, starting the first one turns all of them on ;)/>/>

I knew about the wrapping. I did not know about computer acting as an api since it's not listed in help or the wiki. This needs to be ammended. Does it count as an api or something else? I'll add a wiki page. Or if not me, someone else who knows more about it.
Noodle #13
Posted 07 August 2012 - 05:06 PM
http://computercraft.info/wiki/index.php?title=Peripheral_(API)
That's link, scroll to bottom to see computer peripheral.
Pharap #14
Posted 08 August 2012 - 04:00 AM
http://computercraft...eripheral_(API)
That's link, scroll to bottom to see computer peripheral.
Explains it since I didn't go past events, since nearly every other API has nothing past events, I had gotten used to that as a rule of thumb.
AKman1984 #15
Posted 10 August 2012 - 01:58 PM
Wow sorry I missed this convo. Well first thing is fist I know there is spelling missakes ;)/>/> they will be fixed. Secound how I turn on the computers is really simple and stupid but workes. :(/>/>

shell.setDir("disk")
while true do
term.clear()
repeat
coroutine.yield()
until rs.testBundledInput("right", colors.blue) == true

and you can changed this to a rednet message or anything.
Pharap #16
Posted 11 August 2012 - 02:30 AM
Wow sorry I missed this convo. Well first thing is fist I know there is spelling missakes ;)/>/> they will be fixed. Secound how I turn on the computers is really simple and stupid but workes. :(/>/>

shell.setDir("disk")
while true do
term.clear()
repeat
coroutine.yield()
until rs.testBundledInput("right", colors.blue) == true

and you can changed this to a rednet message or anything.

Ok, I've got to give you points for that one, I did not see that coming.
Technically the computer is always on, but still, that is incredibly intuitive.
AKman1984 #17
Posted 11 August 2012 - 05:58 PM
Wow sorry I missed this convo. Well first thing is fist I know there is spelling missakes ;)/>/> they will be fixed. Secound how I turn on the computers is really simple and stupid but workes. :(/>/>

shell.setDir("disk")
while true do
term.clear()
repeat
coroutine.yield()
until rs.testBundledInput("right", colors.blue) == true

and you can changed this to a rednet message or anything.

Ok, I've got to give you points for that one, I did not see that coming.
Technically the computer is always on, but still, that is incredibly intuitive.

Thanks and also my way if the computer is on but not displaying anything you can have it run other things. If you noticed in the videos on the top of the computers the the read lamps were on. So each of them where powering the lamps to indicate if it was off or on.
Xenthera #18
Posted 11 August 2012 - 07:15 PM
Wow sorry I missed this convo. Well first thing is fist I know there is spelling missakes ;)/>/> they will be fixed. Secound how I turn on the computers is really simple and stupid but workes. :(/>/>

shell.setDir("disk")
while true do
term.clear()
repeat
coroutine.yield()
until rs.testBundledInput("right", colors.blue) == true

and you can changed this to a rednet message or anything.
How the heck does that work? Could you do a mini tutorial or something? :(/>/>
AKman1984 #19
Posted 11 August 2012 - 09:59 PM
Wow sorry I missed this convo. Well first thing is fist I know there is spelling missakes :P/>/> they will be fixed. Secound how I turn on the computers is really simple and stupid but workes. :D/>/>

shell.setDir("disk")
while true do
term.clear()
repeat
coroutine.yield()
until rs.testBundledInput("right", colors.blue) == true

and you can changed this to a rednet message or anything.
How the heck does that work? Could you do a mini tutorial or something? :D/>/>

I covered it in part 6 of my tutorial series but its with a wire and there is no disk drive

http://youtu.be/hWU4jVgt4Eg

Xenthera #20
Posted 12 August 2012 - 06:24 AM
Wow sorry I missed this convo. Well first thing is fist I know there is spelling missakes :P/>/> they will be fixed. Secound how I turn on the computers is really simple and stupid but workes. :D/>/>

shell.setDir("disk")
while true do
term.clear()
repeat
coroutine.yield()
until rs.testBundledInput("right", colors.blue) == true

and you can changed this to a rednet message or anything.
How the heck does that work? Could you do a mini tutorial or something? :D/>/>

I covered it in part 6 of my tutorial series but its with a wire and there is no disk drive


Your spelling may be terrible, but you are one smart cookie! :D/>/>