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

SUPER noob here, a couple (probably super easy) questions

Started by LWSrocks, 03 August 2012 - 03:15 AM
LWSrocks #1
Posted 03 August 2012 - 05:15 AM
Alright so I'm not exactly an experienced programmer, and I've just recently installed Computercraft, and I do have a couple of questions. I know that there are tons of programs out there made by other people; programs I'm interested in, but I don't know how to put them in the game. They all link me to MediaFire, and there, I install a text file. How do I put the text file into ComputerCraft?

Second, I have RedPower 2 (Not very advanced with it yet) and I've used some of the computer-related components. Is there any way to expand the ComputerCraft computers using Redpower peripherals? (I.E., the Redpower IO Expanders and Ram Expanders)
Mmmmmmmm #2
Posted 03 August 2012 - 05:36 AM
For your first question, go to AppData -> Roaming (WIN+R -> %appdata%), then .minecraft. From there, mods -> ComputerCraft -> lua -> rom -> programs.

Hope that helps! I don't have any experience with RedPower, though, sadly.
LWSrocks #3
Posted 03 August 2012 - 05:42 AM
Thanks a ton! Another question is this: How do I save a program onto a Floppy Disk?
lieudusty #4
Posted 03 August 2012 - 06:22 AM
To save a file to a floppy: In the computer type cp [File] /disk
twormtwo #5
Posted 03 August 2012 - 07:32 AM
For your second question, you cannot use the redpower computer pieces with computercraft. You can, however, use the bundled cable as an alternative to using the rednet modems, but with bundled cable, your distance is limited by the amount of cables you can make. Also with bundled cables, you can have up to 16 different redstone outputs coming from the one side of the computer, so you can potentially have up to 96 redstone outputs coming out of one computer (and have it wired to another computer at the same time, because you can connect a computer to the same bundled cable that you have redstone outputs coming from)!
Hope to see you making some really cool stuff with this!
Luanub #6
Posted 03 August 2012 - 07:48 AM
but with bundled cable, your distance is limited by the amount of cables you can make

Not quite, if I remember right the bunbled cables will stop transmitting a signal after about 250 blocks, you then will have to build a repeater to get the signal to go further.

The modems are much better to use.
Cranium #7
Posted 03 August 2012 - 01:34 PM
but with bundled cable, your distance is limited by the amount of cables you can make
Not quite, if I remember right the bunbled cables will stop transmitting a signal after about 250 blocks, you then will have to build a repeater to get the signal to go further.
I had that same problem, and got help. I was given these four lines of code that would work perfectly as a repeater.

while true do
  os.pullEvent("redstone")
  redstone.setBundledOutput("out side", redstone.getBundledInput("in side")) --just replace the out side and in side with whatever side you need. in = input, and out = output.
end
twormtwo #8
Posted 05 August 2012 - 03:51 PM
but with bundled cable, your distance is limited by the amount of cables you can make

Not quite, if I remember right the bunbled cables will stop transmitting a signal after about 250 blocks, you then will have to build a repeater to get the signal to go further.

The modems are much better to use.

They may have taken that out (or added that in 1.4, I am on 1.3 with tekkit), because I tested and went well over 500 blocks and it still transmitted just fine.