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

(Mining) Turtle and Computer having black screen.

Started by Draginy, 28 February 2013 - 03:18 AM
Draginy #1
Posted 28 February 2013 - 04:18 AM
I play FTB Direwolf20 pack with 1.4.7. My Turtles are showing black screens since a few days ago. Before that time, I could access my turtles and use them. I have 2 Turtles running and suddenly one started to show black screens. The other was doing fine. When I wanted to replace and begin a new tunnel, both became unusable. I haven't done anything and changed nothing to any files at all. I already looked for people with the same problem on this forum and on the FTB forums. I tried their solutions and they were to reinstall CC. I re-installed Direwolf20's pack. I manually installed ComputerCraft. None of those options worked for me.

Here is a part of the log:

2013-02-27 16:21:48 [INFO] [STDOUT] ComputerCraft: Error running task.
2013-02-27 16:21:48 [INFO] [STDERR] java.lang.NumberFormatException: null
2013-02-27 16:21:48 [INFO] [STDERR] at java.lang.Integer.parseInt(Unknown Source)
2013-02-27 16:21:48 [INFO] [STDERR] at java.lang.Integer.parseInt(Unknown Source)
2013-02-27 16:21:48 [INFO] [STDERR] at dan200.computer.core.Computer.getUserDir(Computer.java:644)
2013-02-27 16:21:48 [INFO] [STDERR] at dan200.computer.core.Computer.initFileSystem(Computer.java:670)
2013-02-27 16:21:48 [INFO] [STDERR] at dan200.computer.core.Computer.access$1100(Computer.java:31)
2013-02-27 16:21:48 [INFO] [STDERR] at dan200.computer.core.Computer$1.execute(Computer.java:911)
2013-02-27 16:21:48 [INFO] [STDERR] at dan200.computer.core.ComputerThread$1$1.run(ComputerThread.java:72)
2013-02-27 16:21:48 [INFO] [STDERR] at java.lang.Thread.run(Unknown Source)

I would be very thankful if you could give me solutions.
Lyqyd #2
Posted 28 February 2013 - 08:50 AM
Split into new topic.
Doyle3694 #3
Posted 01 March 2013 - 06:53 AM
–snip

nvm read your post wrong, thought new turtles where showing blackscreens
Draginy #4
Posted 01 March 2013 - 09:31 AM
The thing is…when I start a new world, everything works fine. But on my main world, I have a nice terrain generation and I have everything set up. It would be nice if somehow, the Computercraft blocks could be fixed, specific for that world.
ChunLing #5
Posted 01 March 2013 - 12:42 PM
So basically, the world save is corrupted in a way that makes all existing computers stop working, but you can place new computers/turtles and they work?

If that's the case, then first create a backup of the world save.

Break all the computers that aren't working. If that's all the computers in your world, then save the game and delete all the computer folders. Then replace the computers/turtles you broke, try to get them in the same order you originally placed them (if you broke all the computers and deleted their ID folders). Start and label them. Then go back and restore the files by copying them from the backup world save to the correct ID folders (you'll have to match them based on the new IDs of the computers you've replaced, this is easier if you replace them in order but probably some IDs will end up different no matter what you do).
Draginy #6
Posted 02 March 2013 - 02:13 AM
Thank you! Just deleting the computer folder and going back into the game fixed it. They are working fine right now. Can't thank you enough :)/>
ChunLing #7
Posted 02 March 2013 - 11:41 PM
Hmm…so the bad data was in the computer files, eh? Wonder how that happened. (I did not, of course, wonder how the block metadata for the computers might have become corrupted, because I'd honestly have no idea)
Cloudy #8
Posted 03 March 2013 - 04:19 AM
That happens when lastid.txt is corrupted. I've added a message in the next version when this happens.
KaoS #9
Posted 05 March 2013 - 01:44 AM
it can also be done by super spamming and lagging out the server. eventually CC just shuts down and 90% of computers turn off and the others run a line of code every 5 minutes. maybe one of your computers had bad code