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

Bug Crashes All Computers

Started by elfin8er, 22 March 2013 - 06:39 AM
elfin8er #1
Posted 22 March 2013 - 07:39 AM
So I was trying to create a program that would copy a large amount of disks. I had a chest full of blank disks, that got pumped into a disk drive. Then a computer copied a file from the computer to the disk when a disk was detected. When I tried it out, I opened the disk drive before the floppy got into it, and noticed the disks weren't even appearing in the drive. I closed the drive to see if the floppies were coming out of the chest. They were, so I tried going into the drive to see if the disks were in, and the drive wouldn't open. I tried to get into the computer to terminate the program, but it wouldn't let me. I tried several other computers, and none of them would let me open them. I figured quitting and coming back into my world would fix the problem since the computers reboot after quitting. When I tried, the screen just said "Saving internal server", and is now stuck there.

Here's the code I tried using (Probably wouldn't work anyways).


while true do
os.queueEvent("randomEvent")
os.pullEvent()
if disk.isPresent("bottom") then
fs.copy("disk2/startup", "disk/startup")
end
end
Cloudy #2
Posted 22 March 2013 - 08:15 AM
I doubt this would cause the issue you're describing - even if it is horribad code. I will however look into it.