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).
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