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

blank screens when right click turtle (Server on Raspberry Pi)

Started by yapposai, 01 February 2013 - 08:07 PM
yapposai #1
Posted 01 February 2013 - 09:07 PM
Hello,

I can craft and place turtles/computers but
right-clicking them just shows a blank screen.
no "Turtle OS" or the console.

server info and server logs are below:

SERVER: Minecraft 1.4.7
FORGE: minecraftforge-universal-1.4.7-6.6.0.497.zip
CC: ComputerCraft1.481.zip
JAVA: Java™ SE Runtime Environment (build 1.8.0-ea-b36e) [oracle]
HW: Raspberry Pi revB 512Mb
COMMAND: java -Xms128M -Xmx256M -jar /home/pi/minecraft/minecraft_server.jar nogui
I know that the Pi has very limited speed and resources but I was expecting it
to run, although very slowly. I disabled mobs, animals.

Any help/advice would be greatly appreciated. Thanks

2013-02-01 16:45:14 [WARNING] [Minecraft] Can't keep up! Did the system time chnge, or is the server overloaded?
2013-02-01 16:45:33 [INFO] [STDERR] Exception in thread "Thread-12" java.lang.NClassDefFoundError: org/luaj/vm2/LuaThread$State
2013-02-01 16:45:33 [INFO] [STDERR]	 at org.luaj.vm2.LuaThread.<init>(Unknow Source)
2013-02-01 16:45:33 [INFO] [STDERR]	 at org.luaj.vm2.LuaThread.<clinit>(Unknwn Source)
2013-02-01 16:45:33 [INFO] [STDERR]	 at org.luaj.vm2.lib.jse.JsePlatform.stadardGlobals(Unknown Source)
2013-02-01 16:45:33 [INFO] [STDERR]	 at org.luaj.vm2.lib.jse.JsePlatform.debgGlobals(Unknown Source)
2013-02-01 16:45:33 [INFO] [STDERR]	 at dan200.computer.core.LuaJLuaMachine.init>(LuaJLuaMachine.java:27)
2013-02-01 16:45:33 [INFO] [STDERR]	 at dan200.computer.core.Computer.initLu(Computer.java:798)
2013-02-01 16:45:33 [INFO] [STDERR]	 at dan200.computer.core.Computer.access1300(Computer.java:26)
2013-02-01 16:45:33 [INFO] [STDERR]	 at dan200.computer.core.Computer$1.execte(Computer.java:917)
2013-02-01 16:45:33 [INFO] [STDERR]	 at dan200.computer.core.ComputerThread$$1.run(ComputerThread.java:67)
2013-02-01 16:45:33 [INFO] [STDERR]	 at java.lang.Thread.run(Thread.java:722
2013-02-01 16:45:33 [INFO] [STDERR] Caused by: java.lang.ClassNotFoundException org.luaj.vm2.LuaThread$State
2013-02-01 16:45:33 [INFO] [STDERR]	 at cpw.mods.fml.relauncher.RelaunchClasLoader.findClass(RelaunchClassLoader.java:185)
2013-02-01 16:45:33 [INFO] [STDERR]	 at java.lang.ClassLoader.loadClass(ClasLoader.java:423)
2013-02-01 16:45:33 [INFO] [STDERR]	 at java.lang.ClassLoader.loadClass(ClasLoader.java:356)
2013-02-01 16:45:33 [INFO] [STDERR]	 ... 10 more
2013-02-01 16:45:33 [INFO] [STDERR] Caused by: java.lang.ThreadDeath
2013-02-01 16:45:33 [INFO] [STDERR]	 at java.lang.Thread.stop(Thread.java:81)
2013-02-01 16:45:34 [INFO] [STDERR]	 at dan200.computer.core.ComputerThread$.run(ComputerThread.java:103)
2013-02-01 16:45:34 [INFO] [STDERR]	 ... 1 more
2013-02-01 16:45:34 [INFO] [STDERR] Exception in thread "Thread-13" java.lang.NClassDefFoundError: Could not initialize class org.luaj.vm2.LuaThread
2013-02-01 16:45:34 [INFO] [STDERR]	 at org.luaj.vm2.lib.jse.JsePlatform.stadardGlobals(Unknown Source)
2013-02-01 16:45:34 [INFO] [STDERR]	 at org.luaj.vm2.lib.jse.JsePlatform.debgGlobals(Unknown Source)
2013-02-01 16:45:34 [INFO] [STDERR]	 at dan200.computer.core.LuaJLuaMachine.init>(LuaJLuaMachine.java:27)
2013-02-01 16:45:34 [INFO] [STDERR]	 at dan200.computer.core.Computer.initLu(Computer.java:798)
2013-02-01 16:45:34 [INFO] [STDERR]	 at dan200.computer.core.Computer.access1300(Computer.java:26)
2013-02-01 16:45:34 [INFO] [STDERR]	 at dan200.computer.core.Computer$1.execte(Computer.java:917)
2013-02-01 16:45:34 [INFO] [STDERR]	 at dan200.computer.core.ComputerThread$$1.run(ComputerThread.java:67)
2013-02-01 16:45:34 [INFO] [STDERR]	 at java.lang.Thread.run(Thread.java:722
Doyle3694 #2
Posted 01 February 2013 - 10:04 PM
Have you unpacked CC? Are you using the right version of forge?
ChunLing #3
Posted 02 February 2013 - 12:15 PM
Well, first off, you're able to run MineCraft/Forge without CC installed, right?
yapposai #4
Posted 02 February 2013 - 03:08 PM
Thank you for replying.
I'm using the latest forge. I simply copied all the files from the forge zip to minecraft_server.jar

I then ran the server to check if it works. After checking that the server works fine, I copied the
the computercraft zip in the mods folder. Then i restarted the server and tested again.

crafting, placing turtles work fine. looking at the logs i pasted above it seems it has something to do with jLua and/or threading.


I'll try using a OpenJDK or embedded java instead of the SE one from Oracle and see if it helps.
oldmanbill #5
Posted 02 May 2013 - 05:53 PM
Were you able to get the turtles working ? I am now having the same problem