Computercraft is a mod for Minecraft. It adds computers, monitors, networking and more to the world of Minecraft. Use in combination with [minecraft].

learn more… | top users | synonyms

0
votes
0answers
21 views

ComputerCraft 1.75 MC 1.7.10: creating program {$command} [on hold]

So I have not tried anything yet, but I know those code scripts wont work.. So my though was creating a program wich had some functions ex. rm, delete, mkdir and edit. So all of these programs have ...
1
vote
1answer
50 views

Can't run any program in

Probably very dumb problem here. I am trying to run a basic program on my turtle, like a turtle.forward() then end. I then save and exit, but when I type the name of the program I want to run, I get ...
6
votes
1answer
522 views

How to make a turtle run a program over the Modem API in computercraft

I have an advanced computer with a wireless modem in my world as well as several Wireless turtles. Now I want to sent a program from that computer to the turtle and run it. I looked up the modem API ...
2
votes
1answer
124 views

How can you insert/extract items in/from a specific inventory slot?

I know it is possible, but I have no idea whether it is an add-on or just some undocumented vanilla method (the turtle api can't be used for that, apparently).
1
vote
1answer
174 views

RR# ComputerCraft Startup Script?

I am on a Resonant Rise 3 server version 3.2.7.1-RC. I'm trying to run a script on an advanced computer from ComputerCraft to control my Big Reactor and I want it to run on the computers start up so ...
0
votes
2answers
423 views

Im getting a error message in my computercraft computer

I'm using this code from How do I detect if MFSU has half below energy, from an answer about half way down the page: mfe = peripheral.wrap("left") while true do euPercent = mfe.getEUStored() / ...
1
vote
1answer
604 views

Is it possible to save a picture to a floppy disk in Computercraft?

I am trying to save a picture I created in paint on to a Floppy Disk, but I don't know how. Could someone please tell how to do it, or if it's possible?
5
votes
2answers
3k views

Where am I going wrong with this code?

FTB Direwolf20 v 1.0.21 CC 1.57 I have a turtle mining script that I am getting an error 'attempt to call nil' on line 18: if turtle.getFuelLevel() >= turtle.getFuelLimit() - 500 then and ...
0
votes
1answer
462 views

Tekkit ComputerCraft LUA Error

Hi, I am using Tekkit 1.2.8b and I keep receiving this error. Does anyone know a way to fix this error? I checked this website but their method did not work. This might Help here is an error log: ...
1
vote
0answers
331 views

How does the 'set' command work for a Mekanism teleporter?

I've got the methods from open peripheral for a Mekanism teleporter in a computercraft computer, and I noticed a "set" command. I think that is for setting the address of the teleporter but I don't ...
2
votes
1answer
427 views

Is there an online storage option that can connect with Computercraft?

I want an online storage that can connect with Computercraft in minecraft which uses lua. Is there some sort of online database, like mysql, that I can use in lua without installing external ...
4
votes
1answer
580 views

Computercraft trading machine script

I was trying to program a computercraft trading machine which would let the player select an item after he paid a fixed price. This is my current setup: This is my current program code: sort = ...
1
vote
2answers
3k views

How can I get my turtle to pull liquid from a tank?

I've tried turtle.place() with a bucket selected, which I assume would emulate a right-click, but it didn't work. What can I do?
6
votes
3answers
1k views

Checking amount of items in a barrel using computercraft

How can I use computers or turtles to check how many items and stacks are there in a barrel? (Is there any way even?) Im using MindCrack Feed the beast pack.
6
votes
1answer
2k views

Is it possible to use ComputerCraft to show the TPS of a server?

Sometimes a Minecraft server is running a bit slow. How slow? Well, that's what we want to know. With this program, we should be able to see what the currently Ticks Per Second (TPS) is on a nearby ...
17
votes
2answers
9k views

Help I'm trapped in an infinite loop and I can't get out

Like a complete genius, I put this in the startup program: while true do shell.run("power") end Which seemed fine at the time, except now I need to edit something. Here's the fun part: when I try ...
9
votes
4answers
14k views

If I destroy a computer, will it lose its programs?

If I destroy my computer, will the programs on it remain if I replace it somewhere else?
1
vote
1answer
639 views

Can I monitor a quarry with CraftOS?

I'd like to use a craftOS monitor to display whether my quarries have finished or not. How, at a basic level, would I go about doing this?