5
votes
2answers
2k 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 ...
4
votes
1answer
305 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 = ...
6
votes
1answer
677 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 ...