@Sangar maybe possible to create your own form of Glasses Bridge?
Personally, I hate that Glasses Bridge eats up the head slot -- plenty of real life helmets have HUDs built in -- but I love having the graphical HUD connected to the computer.
I've used it in the past to give me a continual status of my reactors -- temp, fuel levels, component statuses, etc. -- so that I could react to problems quickly. But I can also see it being useful for manufacturing statuses and etc. if the player built the right code for it
You can still use the router to link both ComputerCraft and OpenComputers together, but if you use for things such ICBM remote missile configuration, you can use the server with one remote terminal.
I need some help with the latest OpenPeripheral sensor. I need one example of program to show x,y,z of one mob or player. I tried to serialize the tables a lot of times, but everything just got messed...
Why am I posting that on this topic? Simple, CC site, forums and wiki are currently down ( at least for me, in Brazil ).
1 last request, before I shut up on the topic, Heat production by parts.
All parts produce a amount of heat, if the heat goes above a limit the computer or parts either,
Be destroyed
Be damaged but can be repaired at a cost
Heat can be dispelled by a heat sink, a heat sink and fan or water cool it
Heat damage can also be configurable in the config
I won't personally make something like glasses for OC, if someone else wants to, though, I'm willing to offer help on how to interface with OC on IRC or here
Block textures are flipped horizontally on the north and east sides. This is a bug in Minecraft.
I won't touch this before Forge gets to 1.7.4 where the mirror-bug apparently has been fixed on the MC side. I'll have a look if it's still an issue then, but I doubt it will be.
Hi, we are just try to replace CC with your super mod ), but one of ours server crashed with error:
Any help? Second server run without any errors.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x705232ca, pid=2972, tid=3032
#
# JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build 1.7.0_51-b13)
# Java VM: Java HotSpot(TM) Client VM (24.51-b03 mixed mode windows-x86 )
# Problematic frame:
# C [OpenComputersMod-native.32.dll+0x32ca]
#
# Core dump written. Default location: C:\games\minecraft server\server test\hs_err_pid2972.mdmp
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
--------------- T H R E A D ---------------
Current thread (0x6d80d400): JavaThread "Server thread" [_thread_in_native, id=3032, stack(0x6e1f0000,0x6e240000)]
EAX=0x00000000 is an unknown value
EBX=0x6e23ef38 is pointing into the stack for thread: 0x6d80d400
ECX=0x00000000 is an unknown value
EDX=0x00000000 is an unknown value
ESP=0x6e23eed4 is pointing into the stack for thread: 0x6d80d400
EBP=0x6e23ef1c is pointing into the stack for thread: 0x6d80d400
ESI=0x64e10e00 is an oop
{method}
- klass: {other class}
EDI=0x6d80d400 is a thread
Stack: [0x6e1f0000,0x6e240000], sp=0x6e23eed4, free space=315k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [OpenComputersMod-native.32.dll+0x32ca]
j com.naef.jnlua.LuaState.<init>(JI)V+49
j com.naef.jnlua.LuaState.<init>(I)V+6
j li.cil.oc.util.LuaStateFactory$.createState()Lscala/Option;+13
j li.cil.oc.util.LuaStateFactory$.<init>()V+37
j li.cil.oc.util.LuaStateFactory$.<clinit>()V+3
v ~StubRoutines::call_stub
V [jvm.dll+0x13f35a]
V [jvm.dll+0x202c6e]
V [jvm.dll+0x13f3dd]
V [jvm.dll+0xa6436]
V [jvm.dll+0xa6e3e]
V [jvm.dll+0xa7294]
V [jvm.dll+0xa75a8]
V [jvm.dll+0x6fc3c]
V [jvm.dll+0x70ee2]
V [jvm.dll+0x6d069]
j li.cil.oc.common.ConnectionHandler$.playerLoggedIn(Lcpw/mods/fml/common/network/Player;Lnet/minecraft/network/packet/NetHandler;Lnet/minecraft/network/INetworkManager;)V+25
j cpw.mods.fml.common.network.NetworkRegistry.playerLoggedIn(Lnet/minecraft/entity/player/EntityPlayerMP;Lnet/minecraft/network/NetServerHandler;Lnet/minecraft/network/INetworkManager;)V+48
j cpw.mods.fml.common.network.FMLNetworkHandler.handlePlayerLogin(Lnet/minecraft/entity/player/EntityPlayerMP;Lnet/minecraft/network/NetServerHandler;Lnet/minecraft/network/INetworkManager;)V+6
j net.minecraft.server.management.ServerConfigurationManager.func_72355_a(Lnet/minecraft/network/INetworkManager;Lnet/minecraft/entity/player/EntityPlayerMP;)V+562
j net.minecraft.network.NetLoginHandler.completeConnection(Ljava/lang/String;)V+43
j cpw.mods.fml.common.network.FMLNetworkHandler.handleClientConnection(Lnet/minecraft/network/NetLoginHandler;Lnet/minecraft/server/MinecraftServer;Ljava/net/SocketAddress;Ljava/lang/String;)V+209
j cpw.mods.fml.common.network.FMLNetworkHandler.onConnectionReceivedFromClient(Lnet/minecraft/network/NetLoginHandler;Lnet/minecraft/server/MinecraftServer;Ljava/net/SocketAddress;Ljava/lang/String;)V+7
j net.minecraft.network.NetLoginHandler.func_72529_d()V+16
j net.minecraft.network.NetLoginHandler.func_72532_c()V+8
j net.minecraft.server.ServerListenThread.func_71766_a()V+44
j net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747_b()V+4
J net.minecraft.server.MinecraftServer.func_71190_q()V
j net.minecraft.server.MinecraftServer.func_71217_p()V+73
j net.minecraft.server.MinecraftServer.run()V+157
j net.minecraft.server.ThreadMinecraftServer.run()V+4
v ~StubRoutines::call_stub
V [jvm.dll+0x13f35a]
V [jvm.dll+0x202c6e]
V [jvm.dll+0x13f525]
V [jvm.dll+0x13f587]
V [jvm.dll+0xeb81f]
V [jvm.dll+0x16059c]
V [jvm.dll+0x160fd7]
V [jvm.dll+0x1a4b79]
C [msvcr100.dll+0x5c556]
C [msvcr100.dll+0x5c600]
C [kernel32.dll+0x2481f]
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 471872K, used 445413K [0x02be0000, 0x22be0000, 0x22be0000)
eden space 419456K, 93% used [0x02be0000, 0x1aba95f0, 0x1c580000)
from space 52416K, 100% used [0x1f8b0000, 0x22be0000, 0x22be0000)
to space 52416K, 0% used [0x1c580000, 0x1c580000, 0x1f8b0000)
tenured generation total 1048576K, used 201508K [0x22be0000, 0x62be0000, 0x62be0000)
the space 1048576K, 19% used [0x22be0000, 0x2f0a9180, 0x2f0a9200, 0x62be0000)
compacting perm gen total 131072K, used 35048K [0x62be0000, 0x6abe0000, 0x6abe0000)
the space 131072K, 26% used [0x62be0000, 0x64e1a228, 0x64e1a400, 0x6abe0000)
No shared spaces configured.
GC Heap History (10 events):
Event: 26.087 GC heap before
{Heap before GC invocations=8 (full 0):
def new generation total 471872K, used 454925K [0x02be0000, 0x22be0000, 0x22be0000)
eden space 419456K, 100% used [0x02be0000, 0x1c580000, 0x1c580000)
from space 52416K, 67% used [0x1c580000, 0x1e8234b8, 0x1f8b0000)
to space 52416K, 0% used [0x1f8b0000, 0x1f8b0000, 0x22be0000)
tenured generation total 1048576K, used 62621K [0x22be0000, 0x62be0000, 0x62be0000)
the space 1048576K, 5% used [0x22be0000, 0x269074a8, 0x26907600, 0x62be0000)
compacting perm gen total 131072K, used 26935K [0x62be0000, 0x6abe0000, 0x6abe0000)
the space 131072K, 20% used [0x62be0000, 0x6462dee8, 0x6462e000, 0x6abe0000)
No shared spaces configured.
Event: 26.141 GC heap after
Heap after GC invocations=9 (full 0):
def new generation total 471872K, used 32632K [0x02be0000, 0x22be0000, 0x22be0000)
eden space 419456K, 0% used [0x02be0000, 0x02be0000, 0x1c580000)
from space 52416K, 62% used [0x1f8b0000, 0x2188e150, 0x22be0000)
to space 52416K, 0% used [0x1c580000, 0x1c580000, 0x1f8b0000)
tenured generation total 1048576K, used 72784K [0x22be0000, 0x62be0000, 0x62be0000)
the space 1048576K, 6% used [0x22be0000, 0x272f4328, 0x272f4400, 0x62be0000)
compacting perm gen total 131072K, used 26935K [0x62be0000, 0x6abe0000, 0x6abe0000)
the space 131072K, 20% used [0x62be0000, 0x6462dee8, 0x6462e000, 0x6abe0000)
No shared spaces configured.
}
Event: 27.344 GC heap before
{Heap before GC invocations=9 (full 0):
def new generation total 471872K, used 452088K [0x02be0000, 0x22be0000, 0x22be0000)
eden space 419456K, 100% used [0x02be0000, 0x1c580000, 0x1c580000)
from space 52416K, 62% used [0x1f8b0000, 0x2188e150, 0x22be0000)
to space 52416K, 0% used [0x1c580000, 0x1c580000, 0x1f8b0000)
tenured generation total 1048576K, used 72784K [0x22be0000, 0x62be0000, 0x62be0000)
the space 1048576K, 6% used [0x22be0000, 0x272f4328, 0x272f4400, 0x62be0000)
compacting perm gen total 131072K, used 29249K [0x62be0000, 0x6abe0000, 0x6abe0000)
the space 131072K, 22% used [0x62be0000, 0x648707e0, 0x64870800, 0x6abe0000)
No shared spaces configured.
Event: 27.421 GC heap after
Heap after GC invocations=10 (full 0):
def new generation total 471872K, used 43565K [0x02be0000, 0x22be0000, 0x22be0000)
eden space 419456K, 0% used [0x02be0000, 0x02be0000, 0x1c580000)
from space 52416K, 83% used [0x1c580000, 0x1f00b430, 0x1f8b0000)
to space 52416K, 0% used [0x1f8b0000, 0x1f8b0000, 0x22be0000)
tenured generation total 1048576K, used 81585K [0x22be0000, 0x62be0000, 0x62be0000)
the space 1048576K, 7% used [0x22be0000, 0x27b8c498, 0x27b8c600, 0x62be0000)
compacting perm gen total 131072K, used 29249K [0x62be0000, 0x6abe0000, 0x6abe0000)
the space 131072K, 22% used [0x62be0000, 0x648707e0, 0x64870800, 0x6abe0000)
No shared spaces configured.
}
Event: 29.058 GC heap before
{Heap before GC invocations=10 (full 0):
def new generation total 471872K, used 463021K [0x02be0000, 0x22be0000, 0x22be0000)
eden space 419456K, 100% used [0x02be0000, 0x1c580000, 0x1c580000)
from space 52416K, 83% used [0x1c580000, 0x1f00b430, 0x1f8b0000)
to space 52416K, 0% used [0x1f8b0000, 0x1f8b0000, 0x22be0000)
tenured generation total 1048576K, used 81585K [0x22be0000, 0x62be0000, 0x62be0000)
the space 1048576K, 7% used [0x22be0000, 0x27b8c498, 0x27b8c600, 0x62be0000)
compacting perm gen total 131072K, used 31843K [0x62be0000, 0x6abe0000, 0x6abe0000)
the space 131072K, 24% used [0x62be0000, 0x64af8de8, 0x64af8e00, 0x6abe0000)
No shared spaces configured.
Event: 29.115 GC heap after
Heap after GC invocations=11 (full 0):
def new generation total 471872K, used 17517K [0x02be0000, 0x22be0000, 0x22be0000)
eden space 419456K, 0% used [0x02be0000, 0x02be0000, 0x1c580000)
from space 52416K, 33% used [0x1f8b0000, 0x209cb590, 0x22be0000)
to space 52416K, 0% used [0x1c580000, 0x1c580000, 0x1f8b0000)
tenured generation total 1048576K, used 99857K [0x22be0000, 0x62be0000, 0x62be0000)
the space 1048576K, 9% used [0x22be0000, 0x28d644b0, 0x28d64600, 0x62be0000)
compacting perm gen total 131072K, used 31843K [0x62be0000, 0x6abe0000, 0x6abe0000)
the space 131072K, 24% used [0x62be0000, 0x64af8de8, 0x64af8e00, 0x6abe0000)
No shared spaces configured.
}
Event: 32.355 GC heap before
{Heap before GC invocations=11 (full 0):
def new generation total 471872K, used 436973K [0x02be0000, 0x22be0000, 0x22be0000)
eden space 419456K, 100% used [0x02be0000, 0x1c580000, 0x1c580000)
from space 52416K, 33% used [0x1f8b0000, 0x209cb590, 0x22be0000)
to space 52416K, 0% used [0x1c580000, 0x1c580000, 0x1f8b0000)
tenured generation total 1048576K, used 99857K [0x22be0000, 0x62be0000, 0x62be0000)
the space 1048576K, 9% used [0x22be0000, 0x28d644b0, 0x28d64600, 0x62be0000)
compacting perm gen total 131072K, used 33628K [0x62be0000, 0x6abe0000, 0x6abe0000)
the space 131072K, 25% used [0x62be0000, 0x64cb7388, 0x64cb7400, 0x6abe0000)
No shared spaces configured.
Event: 32.404 GC heap after
Heap after GC invocations=12 (full 0):
def new generation total 471872K, used 35202K [0x02be0000, 0x22be0000, 0x22be0000)
eden space 419456K, 0% used [0x02be0000, 0x02be0000, 0x1c580000)
from space 52416K, 67% used [0x1c580000, 0x1e7e0af0, 0x1f8b0000)
to space 52416K, 0% used [0x1f8b0000, 0x1f8b0000, 0x22be0000)
tenured generation total 1048576K, used 99857K [0x22be0000, 0x62be0000, 0x62be0000)
the space 1048576K, 9% used [0x22be0000, 0x28d644b0, 0x28d64600, 0x62be0000)
compacting perm gen total 131072K, used 33628K [0x62be0000, 0x6abe0000, 0x6abe0000)
the space 131072K, 25% used [0x62be0000, 0x64cb7388, 0x64cb7400, 0x6abe0000)
No shared spaces configured.
}
Event: 54.277 GC heap before
{Heap before GC invocations=12 (full 0):
def new generation total 471872K, used 454658K [0x02be0000, 0x22be0000, 0x22be0000)
eden space 419456K, 100% used [0x02be0000, 0x1c580000, 0x1c580000)
from space 52416K, 67% used [0x1c580000, 0x1e7e0af0, 0x1f8b0000)
to space 52416K, 0% used [0x1f8b0000, 0x1f8b0000, 0x22be0000)
tenured generation total 1048576K, used 99857K [0x22be0000, 0x62be0000, 0x62be0000)
the space 1048576K, 9% used [0x22be0000, 0x28d644b0, 0x28d64600, 0x62be0000)
compacting perm gen total 131072K, used 33960K [0x62be0000, 0x6abe0000, 0x6abe0000)
the space 131072K, 25% used [0x62be0000, 0x64d0a328, 0x64d0a400, 0x6abe0000)
No shared spaces configured.
Event: 54.449 GC heap after
Heap after GC invocations=13 (full 0):
def new generation total 471872K, used 52416K [0x02be0000, 0x22be0000, 0x22be0000)
eden space 419456K, 0% used [0x02be0000, 0x02be0000, 0x1c580000)
from space 52416K, 100% used [0x1f8b0000, 0x22be0000, 0x22be0000)
to space 52416K, 0% used [0x1c580000, 0x1c580000, 0x1f8b0000)
tenured generation total 1048576K, used 201508K [0x22be0000, 0x62be0000, 0x62be0000)
the space 1048576K, 19% used [0x22be0000, 0x2f0a9180, 0x2f0a9200, 0x62be0000)
compacting perm gen total 131072K, used 33960K [0x62be0000, 0x6abe0000, 0x6abe0000)
the space 131072K, 25% used [0x62be0000, 0x64d0a328, 0x64d0a400, 0x6abe0000)
No shared spaces configured.
}
Deoptimization events (0 events):
No events
Internal exceptions (10 events):
Event: 80.055 Thread 0x6f544400 Threw 0x10ab8928 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:2965
Event: 80.092 Thread 0x6f544400 Threw 0x10ab8a88 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:2965
Event: 80.180 Thread 0x6f544400 Threw 0x10abd4c8 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:2917
Event: 80.195 Thread 0x6f544400 Threw 0x10abdcd8 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:2917
Event: 80.234 Thread 0x6f544400 Threw 0x10abde38 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:2965
Event: 80.298 Thread 0x6f544400 Threw 0x10abdf98 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:2965
Event: 80.406 Thread 0x6f544400 Threw 0x10abe8d8 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:2965
Event: 80.635 Thread 0x6d80d400 Threw 0x191a22f0 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:1244
Event: 80.635 Thread 0x6d80d400 Threw 0x191a2bd8 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:1244
Event: 80.635 Thread 0x6d80d400 Threw 0x191a2d40 at C:\re\jdk7u51\527\hotspot\src\share\vm\classfile\systemDictionary.cpp:174
Events (10 events):
Event: 80.760 loading class 0x6f5150c0
Event: 80.760 loading class 0x6f5150c0 done
Event: 80.762 loading class 0x6f51b6c0
Event: 80.762 loading class 0x6f51b6c0 done
Event: 80.763 loading class 0x6f51b5a0
Event: 80.763 loading class 0x6f51b5a0 done
Event: 80.764 loading class 0x6f51b868
Event: 80.764 loading class 0x6f51b868 done
Event: 80.766 loading class 0x6f515040
Event: 80.766 loading class 0x6f515040 done
vm_info: Java HotSpot(TM) Client VM (24.51-b03) for windows-x86 JRE (1.7.0_51-b13), built on Dec 18 2013 19:09:58 by "java_re" with unknown MS VC++:1600
time: Tue Feb 11 17:35:39 2014
elapsed time: 116 seconds
Wow. This mod looks awesome! Soon as we decide to upgrade the server I manage out of 1.5.2, gonna have to try this.
Kinda put off by robots having a built mining program that good though IMHO. One thing I liked about CC Turtles is the built in mining program was a functional example, but really wasn't a very good long term solution. It promoted people to want to learn and try new things, so they can automate their mining. Your robot program however, looks good enough that people that don't know a thing about lua will be using the robots as Quarry alternatives and never needing nor wanting to improve it without a prior honest interest in programming. Buzzkill. :/
Hi, we are just try to replace CC with your super mod ), but one of ours server crashed with error:
Any help? Second server run without any errors.
Thanks. Windows Server 2003, huh? I fear that'll fall into the 'too old' category, like WinXP does - and that it's the same issue as it is with WinXP, which is actually an issue in JNLua. I'll set up a VM and see if I can reproduce it, though, and handle it so as not to crash, at least. Edit: MSDNAA won't give me Server 2003. So I'll just add a check for that and make it go into fallback mode when it's running on Server 2003. Sorry.
Wow. This mod looks awesome! Soon as we decide to upgrade the server I manage out of 1.5.2, gonna have to try this.
Kinda put off by robots having a built mining program that good though IMHO. One thing I liked about CC Turtles is the built in mining program was a functional example, but really wasn't a very good long term solution. It promoted people to want to learn and try new things, so they can automate their mining. Your robot program however, looks good enough that people that don't know a thing about lua will be using the robots as Quarry alternatives and never needing nor wanting to improve it without a prior honest interest in programming. Buzzkill. :/
Thanks. Well, while I appreciate the compliment, it's not really that good. It doesn't check whether it runs out of energy. It doesn't check whether the tool runs out of durability. I'd be interested in someone benchmarking a new (level 0) robot against a turtle, though. If it wins hands down I'll consider dumbing the default program down and making the current one findable in the world or something.
Thanks. Well, while I appreciate the compliment, it's not really that good. It doesn't check whether it runs out of energy. It doesn't check whether the tool runs out of durability. I'd be interested in someone benchmarking a new (level 0) robot against a turtle, though. If it wins hands down I'll consider dumbing the default program down and making the current one findable in the world or something.
True, the program doesn't cover everything. My assumptions were based on my reaction to the Robot video. The more I think about it, the more I see your point though. Durability costs play a huge factor. This was my train of thought.
A robot should be able to mine a 5x5 area with a single unmodified diamond pick without it breaking. 1562 - (5*5*57) = 137 uses left, unless digging through certain materials uses up more durability. If a robot can use enchanted tools, a diamond pick with Unbreaking III should on average handle 3 rounds of this. This is assuming a robot can store enough energy to run the program once for a 5x5. I haven't found any information specifics yet on fuel cost per action and such. Anyway, in Vanilla this would be really expensive, 1-3 diamonds every 5x5 + fuel + more expensive crafting to get the robot + enchantments. The Turtle would obviously win just due to costs and maintenance involved.
It's mod usage that got me curious, depending on if Robots can use mod tools. Really high durability picks, such as the ones from Tinker's Construct, might help offset the maintenance cost, potentially to the point that energy costs become the limiting factor in how big of an area you select. If Robots can use TC Hammers, a robot would mine out most of a 7x7 area at less than 5x5 fuel costs due to not needing to swing as often. An IC2 battery upgrade on a TC Pick/Hammer might also bypass the repair cost, replacing it with a much cheaper/easier energy cost.
Another huge bonus is Robots being able to mine ores with toughness above obsidian, which Turtles with the default mining program cannot do. Our server has a lot of ores like this.
But yeah, all in all I think you're right. I really didn't consider just how much durability plays a factor on this scale. Plus I don't know much on the fuel costs and fuel tank size yet. My bad.
You might be talking about the ore berries? Those are equivalent to nuggets. He put them in there to indicate that the recipes support oredict variants, but in hindsight that might be more confusing than helpful.
Version 1.2.0 final is now available for Mincraft 1.6.4 and as version 2.0.0 for Minecraft 1.7.2! Note that these are feature identical, the leading version number is just used to differentiate the MC1.6 from the MC1.7 version.
There have been mostly bugfixes since the last prerelease, with one main addition for modders, the SimpleComponent interface, which should make it a lot easier to expose methods on your tile entities to computers.
Important: upgrading a world from MC1.6 to MC1.7 isn't fully supported, due to limitations in how FML upgrades blocks at this point in time. This can hopefully be addressed in a future release.
Since the list of changes from 1.1 is pretty daunting, here is a quick recap. For more details, I strongly recommend reading the posts for the individual prereleases, they will answer many questions before you can even ask them: pre1 (this is the important one!), pre2 and pre3.
Server racks, servers and remote terminals, allowing you to remote control servers.
Tiered item components, maximum tier supported by a slot is indicated by a roman numeral in the slot.
Component limit for computers. CPU in computer now determines how many components can be directly connected to it at a time.
Sticking closer to vanilla Lua in that non-standard modules have to be loaded using `require` in scripts.
LuaJ fallback if native libraries are not available.
New 'Internet Card' for HTTP and TCP functionality.
Pipes and redirects in the default shell, as well as 'virtual' symlinks.
Ingame help system.
Russian localization (thanks to YuRaNnNzZZ).
UE3 Core is now required, all power types are still supported when it is present.
Moved block drivers for command block, note block and Redstone in Motion Carriage Controller to the OpenComponents addon.
Lord Joda and DaKaTotal have also gone through the trouble of creating a little 1.2 update video:
Crash with latest version when destroying a freshly-placed robot in creative mode:
java.lang.IllegalAccessError
at li.cil.oc.server.component.robot.Player.<init>(Player.scala:33)
at li.cil.oc.common.tileentity.Robot.player_$lzycompute(Robot.scala:101)
at li.cil.oc.common.tileentity.Robot.player_(Robot.scala:101)
at li.cil.oc.common.tileentity.Robot.player(Robot.scala:137)
at li.cil.oc.common.tileentity.Robot.player(Robot.scala:39)
at li.cil.oc.common.block.RobotProxy.removedByEntity(RobotProxy.scala:150)
at li.cil.oc.common.block.Delegator.removeBlockByPlayer(Delegator.scala:273)
at net.minecraft.client.multiplayer.PlayerControllerMP.func_78751_a(PlayerControllerMP.java:159)
at net.minecraft.client.multiplayer.PlayerControllerMP.func_78744_a(PlayerControllerMP.java:82)
at net.minecraft.client.multiplayer.PlayerControllerMP.func_78743_b(PlayerControllerMP.java:198)
at net.minecraft.client.Minecraft.func_71402_c(Minecraft.java:1383)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1863)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:910)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:838)
at net.minecraft.client.main.Main.main(SourceFile:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
Crash with latest version when destroying a freshly-placed robot in creative mode:
java.lang.IllegalAccessError
at li.cil.oc.server.component.robot.Player.<init>(Player.scala:33)
at li.cil.oc.common.tileentity.Robot.player_$lzycompute(Robot.scala:101)
at li.cil.oc.common.tileentity.Robot.player_(Robot.scala:101)
at li.cil.oc.common.tileentity.Robot.player(Robot.scala:137)
at li.cil.oc.common.tileentity.Robot.player(Robot.scala:39)
at li.cil.oc.common.block.RobotProxy.removedByEntity(RobotProxy.scala:150)
at li.cil.oc.common.block.Delegator.removeBlockByPlayer(Delegator.scala:273)
at net.minecraft.client.multiplayer.PlayerControllerMP.func_78751_a(PlayerControllerMP.java:159)
at net.minecraft.client.multiplayer.PlayerControllerMP.func_78744_a(PlayerControllerMP.java:82)
at net.minecraft.client.multiplayer.PlayerControllerMP.func_78743_b(PlayerControllerMP.java:198)
at net.minecraft.client.Minecraft.func_71402_c(Minecraft.java:1383)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1863)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:910)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:838)
at net.minecraft.client.main.Main.main(SourceFile:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
1.6.4 version.
Hmm, can't reproduce in plain Forge, neither client nor dedicated server, nor MCPC+. May be some other mod's access transformer is messing things up? Could you try with just OC?
Hmm, can't reproduce in plain Forge, neither client nor dedicated server, nor MCPC+. May be some other mod's access transformer is messing things up? Could you try with just OC?
I just had to remove the one mod I suspected of causing a conflict - Mine & Blade Battlegear - and it worked fine again. Not sure what exactly the problem is. I've not seen a conflict like this before. It'd be nice if it could be resolved.
Thanks for narrowing it down. I'm pretty sure it's because of this line, where they mark the inventory field as final. The black magic is strong in their transformer, so I couldn't figure out why that is necessary from the quick glance I had over the code. The robots' fake player depends on the custom inventory implementation, but I won't just undo what their transformer does without knowing why it does it - that could lead to much more subtle and annoying bugs. I'm sorry I don't have the time to look into this further right now, but feel free to remind me again in the future.
Also, there's a list of the recipes in graphical form here. The oreberries were used to indicate the oredict compatibility, just think of them as normal nuggets.
Edit: I can craft the CPU in 1.7, no idea why it wouldn't show up.
I would really like to use this mod with the dw20 pack, but it seems that it does not like it, it appears that it uses the latest ue3 core. When you connect a power converter to any source of power the game crashes, I think this might be because of an api change.
You can still use the router to link both ComputerCraft and OpenComputers together, but if you use for things such ICBM remote missile configuration, you can use the server with one remote terminal.
I am a prehistoric histories and manga / anime fan.
Why am I posting that on this topic? Simple, CC site, forums and wiki are currently down ( at least for me, in Brazil ).
I will also post this on OpenBlocks topic.
I am a prehistoric histories and manga / anime fan.
All parts produce a amount of heat, if the heat goes above a limit the computer or parts either,
Be destroyed
Be damaged but can be repaired at a cost
Heat can be dispelled by a heat sink, a heat sink and fan or water cool it
Heat damage can also be configurable in the config
It's an interesting idea, and we may have a look into something like this in the future.
Well, this sucks. But:
I won't touch this before Forge gets to 1.7.4 where the mirror-bug apparently has been fixed on the MC side. I'll have a look if it's still an issue then, but I doubt it will be.
Creator of OpenComputers. My Twitter. My Patreon.
Any help? Second server run without any errors.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x705232ca, pid=2972, tid=3032
#
# JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build 1.7.0_51-b13)
# Java VM: Java HotSpot(TM) Client VM (24.51-b03 mixed mode windows-x86 )
# Problematic frame:
# C [OpenComputersMod-native.32.dll+0x32ca]
#
# Core dump written. Default location: C:\games\minecraft server\server test\hs_err_pid2972.mdmp
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
--------------- T H R E A D ---------------
Current thread (0x6d80d400): JavaThread "Server thread" [_thread_in_native, id=3032, stack(0x6e1f0000,0x6e240000)]
siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
Registers:
EAX=0x00000000, EBX=0x6e23ef38, ECX=0x00000000, EDX=0x00000000
ESP=0x6e23eed4, EBP=0x6e23ef1c, ESI=0x64e10e00, EDI=0x6d80d400
EIP=0x705232ca, EFLAGS=0x00010246
Top of Stack: (sp=0x6e23eed4)
0x6e23eed4: 6e23ef1c 64e10e00 00a6a9dd 6d80d530
0x6e23eee4: 6e23ef38 00000003 00000000 00000000
0x6e23eef4: 6d80dcc4 6d80dcc4 6e23eefc 64e10e00
0x6e23ef04: 6e23ef38 64e15b80 00000000 64e10e00
0x6e23ef14: 00000000 6e23ef2c 6e23ef5c 00a63207
0x6e23ef24: 00000000 00a688c9 00000000 00000000
0x6e23ef34: 00000003 1a5c1a28 6e23ef3c 64e0ad91
0x6e23ef44: 6e23ef78 64e15b80 00000000 64e0ae58
Instructions: (pc=0x705232ca)
0x705232aa: 00 00 00 83 7c 24 0c 03 0f 85 c3 00 00 00 64 a1
0x705232ba: 2c 00 00 00 8b 0d cc f5 58 70 53 8b 5c 24 0c 55
0x705232ca: 8b 2c 88 8b 44 24 0c 56 57 8b 7c 24 20 89 85 04
0x705232da: 00 00 00 8b c7 0b 44 24 24 89 9d 08 00 00 00 75
Register to memory mapping:
EAX=0x00000000 is an unknown value
EBX=0x6e23ef38 is pointing into the stack for thread: 0x6d80d400
ECX=0x00000000 is an unknown value
EDX=0x00000000 is an unknown value
ESP=0x6e23eed4 is pointing into the stack for thread: 0x6d80d400
EBP=0x6e23ef1c is pointing into the stack for thread: 0x6d80d400
ESI=0x64e10e00 is an oop
{method}
- klass: {other class}
EDI=0x6d80d400 is a thread
Stack: [0x6e1f0000,0x6e240000], sp=0x6e23eed4, free space=315k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [OpenComputersMod-native.32.dll+0x32ca]
j com.naef.jnlua.LuaState.<init>(JI)V+49
j com.naef.jnlua.LuaState.<init>(I)V+6
j li.cil.oc.util.LuaStateFactory$.createState()Lscala/Option;+13
j li.cil.oc.util.LuaStateFactory$.<init>()V+37
j li.cil.oc.util.LuaStateFactory$.<clinit>()V+3
v ~StubRoutines::call_stub
V [jvm.dll+0x13f35a]
V [jvm.dll+0x202c6e]
V [jvm.dll+0x13f3dd]
V [jvm.dll+0xa6436]
V [jvm.dll+0xa6e3e]
V [jvm.dll+0xa7294]
V [jvm.dll+0xa75a8]
V [jvm.dll+0x6fc3c]
V [jvm.dll+0x70ee2]
V [jvm.dll+0x6d069]
j li.cil.oc.common.ConnectionHandler$.playerLoggedIn(Lcpw/mods/fml/common/network/Player;Lnet/minecraft/network/packet/NetHandler;Lnet/minecraft/network/INetworkManager;)V+25
j cpw.mods.fml.common.network.NetworkRegistry.playerLoggedIn(Lnet/minecraft/entity/player/EntityPlayerMP;Lnet/minecraft/network/NetServerHandler;Lnet/minecraft/network/INetworkManager;)V+48
j cpw.mods.fml.common.network.FMLNetworkHandler.handlePlayerLogin(Lnet/minecraft/entity/player/EntityPlayerMP;Lnet/minecraft/network/NetServerHandler;Lnet/minecraft/network/INetworkManager;)V+6
j net.minecraft.server.management.ServerConfigurationManager.func_72355_a(Lnet/minecraft/network/INetworkManager;Lnet/minecraft/entity/player/EntityPlayerMP;)V+562
j net.minecraft.network.NetLoginHandler.completeConnection(Ljava/lang/String;)V+43
j cpw.mods.fml.common.network.FMLNetworkHandler.handleClientConnection(Lnet/minecraft/network/NetLoginHandler;Lnet/minecraft/server/MinecraftServer;Ljava/net/SocketAddress;Ljava/lang/String;)V+209
j cpw.mods.fml.common.network.FMLNetworkHandler.onConnectionReceivedFromClient(Lnet/minecraft/network/NetLoginHandler;Lnet/minecraft/server/MinecraftServer;Ljava/net/SocketAddress;Ljava/lang/String;)V+7
j net.minecraft.network.NetLoginHandler.func_72529_d()V+16
j net.minecraft.network.NetLoginHandler.func_72532_c()V+8
j net.minecraft.server.ServerListenThread.func_71766_a()V+44
j net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747_b()V+4
J net.minecraft.server.MinecraftServer.func_71190_q()V
j net.minecraft.server.MinecraftServer.func_71217_p()V+73
j net.minecraft.server.MinecraftServer.run()V+157
j net.minecraft.server.ThreadMinecraftServer.run()V+4
v ~StubRoutines::call_stub
V [jvm.dll+0x13f35a]
V [jvm.dll+0x202c6e]
V [jvm.dll+0x13f525]
V [jvm.dll+0x13f587]
V [jvm.dll+0xeb81f]
V [jvm.dll+0x16059c]
V [jvm.dll+0x160fd7]
V [jvm.dll+0x1a4b79]
C [msvcr100.dll+0x5c556]
C [msvcr100.dll+0x5c600]
C [kernel32.dll+0x2481f]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.naef.jnlua.LuaState.lua_newstate(IJ)V+0
j com.naef.jnlua.LuaState.<init>(JI)V+49
j com.naef.jnlua.LuaState.<init>(I)V+6
j li.cil.oc.util.LuaStateFactory$.createState()Lscala/Option;+13
j li.cil.oc.util.LuaStateFactory$.<init>()V+37
j li.cil.oc.util.LuaStateFactory$.<clinit>()V+3
v ~StubRoutines::call_stub
j li.cil.oc.common.ConnectionHandler$.playerLoggedIn(Lcpw/mods/fml/common/network/Player;Lnet/minecraft/network/packet/NetHandler;Lnet/minecraft/network/INetworkManager;)V+25
j cpw.mods.fml.common.network.NetworkRegistry.playerLoggedIn(Lnet/minecraft/entity/player/EntityPlayerMP;Lnet/minecraft/network/NetServerHandler;Lnet/minecraft/network/INetworkManager;)V+48
j cpw.mods.fml.common.network.FMLNetworkHandler.handlePlayerLogin(Lnet/minecraft/entity/player/EntityPlayerMP;Lnet/minecraft/network/NetServerHandler;Lnet/minecraft/network/INetworkManager;)V+6
j net.minecraft.server.management.ServerConfigurationManager.func_72355_a(Lnet/minecraft/network/INetworkManager;Lnet/minecraft/entity/player/EntityPlayerMP;)V+562
j net.minecraft.network.NetLoginHandler.completeConnection(Ljava/lang/String;)V+43
j cpw.mods.fml.common.network.FMLNetworkHandler.handleClientConnection(Lnet/minecraft/network/NetLoginHandler;Lnet/minecraft/server/MinecraftServer;Ljava/net/SocketAddress;Ljava/lang/String;)V+209
j cpw.mods.fml.common.network.FMLNetworkHandler.onConnectionReceivedFromClient(Lnet/minecraft/network/NetLoginHandler;Lnet/minecraft/server/MinecraftServer;Ljava/net/SocketAddress;Ljava/lang/String;)V+7
j net.minecraft.network.NetLoginHandler.func_72529_d()V+16
j net.minecraft.network.NetLoginHandler.func_72532_c()V+8
j net.minecraft.server.ServerListenThread.func_71766_a()V+44
j net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747_b()V+4
J net.minecraft.server.MinecraftServer.func_71190_q()V
j net.minecraft.server.dedicated.DedicatedServer.func_71190_q()V+1
j net.minecraft.server.MinecraftServer.func_71217_p()V+73
j net.minecraft.server.MinecraftServer.run()V+157
j net.minecraft.server.ThreadMinecraftServer.run()V+4
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x6ee04000 JavaThread "Thread-20" [_thread_blocked, id=3224, stack(0x70390000,0x703e0000)]
0x6f557800 JavaThread "File IO Thread" [_thread_blocked, id=3148, stack(0x6e4e0000,0x6e530000)]
0x6efc6400 JavaThread "VoiceServer Listen Thread" daemon [_thread_in_native, id=3144, stack(0x6e290000,0x6e2e0000)]
0x6f43a400 JavaThread "PR TableUpdateThread #3" daemon [_thread_blocked, id=3116, stack(0x70340000,0x70390000)]
0x6f41bc00 JavaThread "PR TableUpdateThread #2" daemon [_thread_blocked, id=3112, stack(0x702f0000,0x70340000)]
0x6f41a800 JavaThread "PR TableUpdateThread #1" daemon [_thread_blocked, id=3108, stack(0x6e6d0000,0x6e720000)]
0x6f41a400 JavaThread "PR TableUpdateThread #0" daemon [_thread_blocked, id=3104, stack(0x6e530000,0x6e580000)]
0x6f313800 JavaThread "Listen thread" [_thread_blocked, id=3084, stack(0x6e460000,0x6e4b0000)]
0x6f058400 JavaThread "Thread-8" [_thread_blocked, id=3068, stack(0x6e330000,0x6e380000)]
0x6efddc00 JavaThread "Thread-7" [_thread_blocked, id=3064, stack(0x6e2e0000,0x6e330000)]
0x6d80f000 JavaThread "Thread-5" daemon [_thread_in_native, id=3036, stack(0x6e240000,0x6e290000)]
0x003b9400 JavaThread "DestroyJavaVM" [_thread_blocked, id=2980, stack(0x00a00000,0x00a50000)]
=>0x6d80d400 JavaThread "Server thread" [_thread_in_native, id=3032, stack(0x6e1f0000,0x6e240000)]
0x6d80c400 JavaThread "Thread-3" daemon [_thread_blocked, id=3028, stack(0x6e1a0000,0x6e1f0000)]
0x6d696800 JavaThread "Snooper Timer" daemon [_thread_blocked, id=3024, stack(0x6e150000,0x6e1a0000)]
0x6d227400 JavaThread "Thread-1" daemon [_thread_blocked, id=3016, stack(0x6d410000,0x6d460000)]
0x6d088000 JavaThread "Service Thread" daemon [_thread_blocked, id=3008, stack(0x6d370000,0x6d3c0000)]
0x6d086000 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=3004, stack(0x6d320000,0x6d370000)]
0x6d084800 JavaThread "Attach Listener" daemon [_thread_blocked, id=3000, stack(0x6d2d0000,0x6d320000)]
0x6d083400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2996, stack(0x6d280000,0x6d2d0000)]
0x02bd3000 JavaThread "Finalizer" daemon [_thread_blocked, id=2992, stack(0x6d030000,0x6d080000)]
0x02bce000 JavaThread "Reference Handler" daemon [_thread_blocked, id=2988, stack(0x6cfe0000,0x6d030000)]
Other Threads:
0x02bcc400 VMThread [stack: 0x6cf90000,0x6cfe0000] [id=2984]
0x6d0a8000 WatcherThread [stack: 0x6d3c0000,0x6d410000] [id=3012]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 471872K, used 445413K [0x02be0000, 0x22be0000, 0x22be0000)
eden space 419456K, 93% used [0x02be0000, 0x1aba95f0, 0x1c580000)
from space 52416K, 100% used [0x1f8b0000, 0x22be0000, 0x22be0000)
to space 52416K, 0% used [0x1c580000, 0x1c580000, 0x1f8b0000)
tenured generation total 1048576K, used 201508K [0x22be0000, 0x62be0000, 0x62be0000)
the space 1048576K, 19% used [0x22be0000, 0x2f0a9180, 0x2f0a9200, 0x62be0000)
compacting perm gen total 131072K, used 35048K [0x62be0000, 0x6abe0000, 0x6abe0000)
the space 131072K, 26% used [0x62be0000, 0x64e1a228, 0x64e1a400, 0x6abe0000)
No shared spaces configured.
Card table byte_map: [0x6c9e0000,0x6cd30000] byte_map_base: 0x6c9ca100
Polling page: 0x003d0000
Code Cache [0x00a60000, 0x011d8000, 0x02a60000)
total_blobs=4573 nmethods=4282 adapters=224 free_code_cache=25151Kb largest_free_block=25750976
Compilation events (10 events):
Event: 80.341 Thread 0x6d086000 4347 net.minecraft.pathfinding.PathFinder::func_75853_a (81 bytes)
Event: 80.342 Thread 0x6d086000 nmethod 4347 0x011ce9c8 code [0x011ceae0, 0x011ced70]
Event: 80.345 Thread 0x6d086000 4348 org.bouncycastle.crypto.modes.CFBBlockCipher::decryptBlock (157 bytes)
Event: 80.345 Thread 0x6d086000 nmethod 4348 0x011cef88 code [0x011cf0e0, 0x011cf47c]
Event: 80.365 Thread 0x6d086000 4349 s java.util.zip.GZIPOutputStream::write (18 bytes)
Event: 80.365 Thread 0x6d086000 nmethod 4349 0x011cf7c8 code [0x011cf8e0, 0x011cfb08]
Event: 80.365 Thread 0x6d086000 4350 net.minecraft.nbt.NBTTagString::func_74732_a (3 bytes)
Event: 80.365 Thread 0x6d086000 nmethod 4350 0x011cfc08 code [0x011cfd00, 0x011cfd80]
Event: 80.365 Thread 0x6d086000 4351 net.minecraft.nbt.NBTTagString::func_74734_a (11 bytes)
Event: 80.365 Thread 0x6d086000 nmethod 4351 0x011cfdc8 code [0x011cfed0, 0x011cff6c]
GC Heap History (10 events):
Event: 26.087 GC heap before
{Heap before GC invocations=8 (full 0):
def new generation total 471872K, used 454925K [0x02be0000, 0x22be0000, 0x22be0000)
eden space 419456K, 100% used [0x02be0000, 0x1c580000, 0x1c580000)
from space 52416K, 67% used [0x1c580000, 0x1e8234b8, 0x1f8b0000)
to space 52416K, 0% used [0x1f8b0000, 0x1f8b0000, 0x22be0000)
tenured generation total 1048576K, used 62621K [0x22be0000, 0x62be0000, 0x62be0000)
the space 1048576K, 5% used [0x22be0000, 0x269074a8, 0x26907600, 0x62be0000)
compacting perm gen total 131072K, used 26935K [0x62be0000, 0x6abe0000, 0x6abe0000)
the space 131072K, 20% used [0x62be0000, 0x6462dee8, 0x6462e000, 0x6abe0000)
No shared spaces configured.
Event: 26.141 GC heap after
Heap after GC invocations=9 (full 0):
def new generation total 471872K, used 32632K [0x02be0000, 0x22be0000, 0x22be0000)
eden space 419456K, 0% used [0x02be0000, 0x02be0000, 0x1c580000)
from space 52416K, 62% used [0x1f8b0000, 0x2188e150, 0x22be0000)
to space 52416K, 0% used [0x1c580000, 0x1c580000, 0x1f8b0000)
tenured generation total 1048576K, used 72784K [0x22be0000, 0x62be0000, 0x62be0000)
the space 1048576K, 6% used [0x22be0000, 0x272f4328, 0x272f4400, 0x62be0000)
compacting perm gen total 131072K, used 26935K [0x62be0000, 0x6abe0000, 0x6abe0000)
the space 131072K, 20% used [0x62be0000, 0x6462dee8, 0x6462e000, 0x6abe0000)
No shared spaces configured.
}
Event: 27.344 GC heap before
{Heap before GC invocations=9 (full 0):
def new generation total 471872K, used 452088K [0x02be0000, 0x22be0000, 0x22be0000)
eden space 419456K, 100% used [0x02be0000, 0x1c580000, 0x1c580000)
from space 52416K, 62% used [0x1f8b0000, 0x2188e150, 0x22be0000)
to space 52416K, 0% used [0x1c580000, 0x1c580000, 0x1f8b0000)
tenured generation total 1048576K, used 72784K [0x22be0000, 0x62be0000, 0x62be0000)
the space 1048576K, 6% used [0x22be0000, 0x272f4328, 0x272f4400, 0x62be0000)
compacting perm gen total 131072K, used 29249K [0x62be0000, 0x6abe0000, 0x6abe0000)
the space 131072K, 22% used [0x62be0000, 0x648707e0, 0x64870800, 0x6abe0000)
No shared spaces configured.
Event: 27.421 GC heap after
Heap after GC invocations=10 (full 0):
def new generation total 471872K, used 43565K [0x02be0000, 0x22be0000, 0x22be0000)
eden space 419456K, 0% used [0x02be0000, 0x02be0000, 0x1c580000)
from space 52416K, 83% used [0x1c580000, 0x1f00b430, 0x1f8b0000)
to space 52416K, 0% used [0x1f8b0000, 0x1f8b0000, 0x22be0000)
tenured generation total 1048576K, used 81585K [0x22be0000, 0x62be0000, 0x62be0000)
the space 1048576K, 7% used [0x22be0000, 0x27b8c498, 0x27b8c600, 0x62be0000)
compacting perm gen total 131072K, used 29249K [0x62be0000, 0x6abe0000, 0x6abe0000)
the space 131072K, 22% used [0x62be0000, 0x648707e0, 0x64870800, 0x6abe0000)
No shared spaces configured.
}
Event: 29.058 GC heap before
{Heap before GC invocations=10 (full 0):
def new generation total 471872K, used 463021K [0x02be0000, 0x22be0000, 0x22be0000)
eden space 419456K, 100% used [0x02be0000, 0x1c580000, 0x1c580000)
from space 52416K, 83% used [0x1c580000, 0x1f00b430, 0x1f8b0000)
to space 52416K, 0% used [0x1f8b0000, 0x1f8b0000, 0x22be0000)
tenured generation total 1048576K, used 81585K [0x22be0000, 0x62be0000, 0x62be0000)
the space 1048576K, 7% used [0x22be0000, 0x27b8c498, 0x27b8c600, 0x62be0000)
compacting perm gen total 131072K, used 31843K [0x62be0000, 0x6abe0000, 0x6abe0000)
the space 131072K, 24% used [0x62be0000, 0x64af8de8, 0x64af8e00, 0x6abe0000)
No shared spaces configured.
Event: 29.115 GC heap after
Heap after GC invocations=11 (full 0):
def new generation total 471872K, used 17517K [0x02be0000, 0x22be0000, 0x22be0000)
eden space 419456K, 0% used [0x02be0000, 0x02be0000, 0x1c580000)
from space 52416K, 33% used [0x1f8b0000, 0x209cb590, 0x22be0000)
to space 52416K, 0% used [0x1c580000, 0x1c580000, 0x1f8b0000)
tenured generation total 1048576K, used 99857K [0x22be0000, 0x62be0000, 0x62be0000)
the space 1048576K, 9% used [0x22be0000, 0x28d644b0, 0x28d64600, 0x62be0000)
compacting perm gen total 131072K, used 31843K [0x62be0000, 0x6abe0000, 0x6abe0000)
the space 131072K, 24% used [0x62be0000, 0x64af8de8, 0x64af8e00, 0x6abe0000)
No shared spaces configured.
}
Event: 32.355 GC heap before
{Heap before GC invocations=11 (full 0):
def new generation total 471872K, used 436973K [0x02be0000, 0x22be0000, 0x22be0000)
eden space 419456K, 100% used [0x02be0000, 0x1c580000, 0x1c580000)
from space 52416K, 33% used [0x1f8b0000, 0x209cb590, 0x22be0000)
to space 52416K, 0% used [0x1c580000, 0x1c580000, 0x1f8b0000)
tenured generation total 1048576K, used 99857K [0x22be0000, 0x62be0000, 0x62be0000)
the space 1048576K, 9% used [0x22be0000, 0x28d644b0, 0x28d64600, 0x62be0000)
compacting perm gen total 131072K, used 33628K [0x62be0000, 0x6abe0000, 0x6abe0000)
the space 131072K, 25% used [0x62be0000, 0x64cb7388, 0x64cb7400, 0x6abe0000)
No shared spaces configured.
Event: 32.404 GC heap after
Heap after GC invocations=12 (full 0):
def new generation total 471872K, used 35202K [0x02be0000, 0x22be0000, 0x22be0000)
eden space 419456K, 0% used [0x02be0000, 0x02be0000, 0x1c580000)
from space 52416K, 67% used [0x1c580000, 0x1e7e0af0, 0x1f8b0000)
to space 52416K, 0% used [0x1f8b0000, 0x1f8b0000, 0x22be0000)
tenured generation total 1048576K, used 99857K [0x22be0000, 0x62be0000, 0x62be0000)
the space 1048576K, 9% used [0x22be0000, 0x28d644b0, 0x28d64600, 0x62be0000)
compacting perm gen total 131072K, used 33628K [0x62be0000, 0x6abe0000, 0x6abe0000)
the space 131072K, 25% used [0x62be0000, 0x64cb7388, 0x64cb7400, 0x6abe0000)
No shared spaces configured.
}
Event: 54.277 GC heap before
{Heap before GC invocations=12 (full 0):
def new generation total 471872K, used 454658K [0x02be0000, 0x22be0000, 0x22be0000)
eden space 419456K, 100% used [0x02be0000, 0x1c580000, 0x1c580000)
from space 52416K, 67% used [0x1c580000, 0x1e7e0af0, 0x1f8b0000)
to space 52416K, 0% used [0x1f8b0000, 0x1f8b0000, 0x22be0000)
tenured generation total 1048576K, used 99857K [0x22be0000, 0x62be0000, 0x62be0000)
the space 1048576K, 9% used [0x22be0000, 0x28d644b0, 0x28d64600, 0x62be0000)
compacting perm gen total 131072K, used 33960K [0x62be0000, 0x6abe0000, 0x6abe0000)
the space 131072K, 25% used [0x62be0000, 0x64d0a328, 0x64d0a400, 0x6abe0000)
No shared spaces configured.
Event: 54.449 GC heap after
Heap after GC invocations=13 (full 0):
def new generation total 471872K, used 52416K [0x02be0000, 0x22be0000, 0x22be0000)
eden space 419456K, 0% used [0x02be0000, 0x02be0000, 0x1c580000)
from space 52416K, 100% used [0x1f8b0000, 0x22be0000, 0x22be0000)
to space 52416K, 0% used [0x1c580000, 0x1c580000, 0x1f8b0000)
tenured generation total 1048576K, used 201508K [0x22be0000, 0x62be0000, 0x62be0000)
the space 1048576K, 19% used [0x22be0000, 0x2f0a9180, 0x2f0a9200, 0x62be0000)
compacting perm gen total 131072K, used 33960K [0x62be0000, 0x6abe0000, 0x6abe0000)
the space 131072K, 25% used [0x62be0000, 0x64d0a328, 0x64d0a400, 0x6abe0000)
No shared spaces configured.
}
Deoptimization events (0 events):
No events
Internal exceptions (10 events):
Event: 80.055 Thread 0x6f544400 Threw 0x10ab8928 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:2965
Event: 80.092 Thread 0x6f544400 Threw 0x10ab8a88 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:2965
Event: 80.180 Thread 0x6f544400 Threw 0x10abd4c8 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:2917
Event: 80.195 Thread 0x6f544400 Threw 0x10abdcd8 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:2917
Event: 80.234 Thread 0x6f544400 Threw 0x10abde38 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:2965
Event: 80.298 Thread 0x6f544400 Threw 0x10abdf98 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:2965
Event: 80.406 Thread 0x6f544400 Threw 0x10abe8d8 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:2965
Event: 80.635 Thread 0x6d80d400 Threw 0x191a22f0 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:1244
Event: 80.635 Thread 0x6d80d400 Threw 0x191a2bd8 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:1244
Event: 80.635 Thread 0x6d80d400 Threw 0x191a2d40 at C:\re\jdk7u51\527\hotspot\src\share\vm\classfile\systemDictionary.cpp:174
Events (10 events):
Event: 80.760 loading class 0x6f5150c0
Event: 80.760 loading class 0x6f5150c0 done
Event: 80.762 loading class 0x6f51b6c0
Event: 80.762 loading class 0x6f51b6c0 done
Event: 80.763 loading class 0x6f51b5a0
Event: 80.763 loading class 0x6f51b5a0 done
Event: 80.764 loading class 0x6f51b868
Event: 80.764 loading class 0x6f51b868 done
Event: 80.766 loading class 0x6f515040
Event: 80.766 loading class 0x6f515040 done
Dynamic libraries:
0x00400000 - 0x0042f000 C:\WINDOWS\system32\java.exe
0x7c910000 - 0x7c9d4000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c903000 C:\WINDOWS\system32\kernel32.dll
0x78000000 - 0x780af000 C:\WINDOWS\system32\ADVAPI32.dll
0x77c40000 - 0x77ce1000 C:\WINDOWS\system32\RPCRT4.dll
0x76e70000 - 0x76e83000 C:\WINDOWS\system32\Secur32.dll
0x77f40000 - 0x77fd1000 C:\WINDOWS\system32\USER32.dll
0x77bf0000 - 0x77c39000 C:\WINDOWS\system32\GDI32.dll
0x77360000 - 0x77463000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.5190_x-ww_319264BE\COMCTL32.dll
0x77b90000 - 0x77bea000 C:\WINDOWS\system32\msvcrt.dll
0x77ee0000 - 0x77f32000 C:\WINDOWS\system32\SHLWAPI.dll
0x761b0000 - 0x761cd000 C:\WINDOWS\system32\IMM32.DLL
0x78aa0000 - 0x78b5f000 C:\Program Files\Java\jre7\bin\msvcr100.dll
0x6e770000 - 0x6eaf0000 C:\Program Files\Java\jre7\bin\client\jvm.dll
0x71a40000 - 0x71a4a000 C:\WINDOWS\system32\WSOCK32.dll
0x71a90000 - 0x71aa7000 C:\WINDOWS\system32\WS2_32.dll
0x71a80000 - 0x71a88000 C:\WINDOWS\system32\WS2HELP.dll
0x769c0000 - 0x769ee000 C:\WINDOWS\system32\WINMM.dll
0x76a90000 - 0x76a9b000 C:\WINDOWS\system32\PSAPI.DLL
0x6e6c0000 - 0x6e6cc000 C:\Program Files\Java\jre7\bin\verify.dll
0x6d480000 - 0x6d4a0000 C:\Program Files\Java\jre7\bin\java.dll
0x6e750000 - 0x6e763000 C:\Program Files\Java\jre7\bin\zip.dll
0x6e4b0000 - 0x6e4c4000 C:\Program Files\Java\jre7\bin\net.dll
0x6e4d0000 - 0x6e4df000 C:\Program Files\Java\jre7\bin\nio.dll
0x6e6a0000 - 0x6e6b1000 C:\Program Files\Java\jre7\bin\unpack.dll
0x6e410000 - 0x6e41a000 C:\Program Files\Java\jre7\bin\management.dll
0x6e0b0000 - 0x6e0e5000 C:\WINDOWS\system32\rsaenh.dll
0x76840000 - 0x76902000 C:\WINDOWS\system32\USERENV.dll
0x71ad0000 - 0x71b27000 C:\WINDOWS\system32\netapi32.dll
0x719b0000 - 0x719f2000 C:\WINDOWS\System32\mswsock.dll
0x76df0000 - 0x76e1b000 C:\WINDOWS\system32\DNSAPI.dll
0x76e90000 - 0x76e97000 C:\WINDOWS\System32\winrnr.dll
0x76e30000 - 0x76e5f000 C:\WINDOWS\system32\WLDAP32.dll
0x76ea0000 - 0x76ea5000 C:\WINDOWS\system32\rasadhlp.dll
0x6e640000 - 0x6e660000 C:\Program Files\Java\jre7\bin\sunec.dll
0x6e660000 - 0x6e669000 C:\Program Files\Java\jre7\bin\sunmscapi.dll
0x760d0000 - 0x76166000 C:\WINDOWS\system32\CRYPT32.dll
0x760b0000 - 0x760c2000 C:\WINDOWS\system32\MSASN1.dll
0x6e380000 - 0x6e3da000 C:\WINDOWS\system32\hnetcfg.dll
0x71970000 - 0x71978000 C:\WINDOWS\System32\wshtcpip.dll
0x70520000 - 0x70597000 C:\Documents and Settings\Администратор\Local Settings\Temp\OpenComputersMod-native.32.dll
0x705a0000 - 0x70648000 C:\WINDOWS\system32\DBGHELP.DLL
0x77b80000 - 0x77b88000 C:\WINDOWS\system32\VERSION.dll
VM Arguments:
jvm_args: -Xms1536m -Xmx1536m -XX:PermSize=128m
java_command: minecraftforge-1.6.4-9.11.1.965.jar nogui
Launcher Type: SUN_STANDARD
Environment Variables:
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
USERNAME=Администратор
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 42 Stepping 7, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows Server 2003 family Build 3790 Service Pack 2
CPU:total 2 (1 cores per cpu, 1 threads per core) family 6 model 42 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, aes, tsc
Memory: 4k page, physical 3931624k(1075796k free), swap 5869144k(3837280k free)
vm_info: Java HotSpot(TM) Client VM (24.51-b03) for windows-x86 JRE (1.7.0_51-b13), built on Dec 18 2013 19:09:58 by "java_re" with unknown MS VC++:1600
time: Tue Feb 11 17:35:39 2014
elapsed time: 116 seconds
I have a rookie question though:
When I do the following with the Lua interpreter it works as intended - showing details for the modem component.
But the one-liner
in a Lua scripts results in an error message:
"attempt to index global 'component' (a nil value)"
Variations with the same result:
When I run the following in Lua it results in nil.
The above happened on a Remote Terminal connected to a Server.
I am running OpenComputers V1.2.0-pre3 on a server with MCPC+ R2.1-forge965-B198. There was nothing in the ForgeModLoader-server-0.log
Any help is appreciated!
Kinda put off by robots having a built mining program that good though IMHO. One thing I liked about CC Turtles is the built in mining program was a functional example, but really wasn't a very good long term solution. It promoted people to want to learn and try new things, so they can automate their mining. Your robot program however, looks good enough that people that don't know a thing about lua will be using the robots as Quarry alternatives and never needing nor wanting to improve it without a prior honest interest in programming. Buzzkill. :/
Thanks. Windows Server 2003, huh? I fear that'll fall into the 'too old' category, like WinXP does - and that it's the same issue as it is with WinXP, which is actually an issue in JNLua.
I'll set up a VM and see if I can reproduce it, though,and handle it so as not to crash, at least. Edit: MSDNAA won't give me Server 2003. So I'll just add a check for that and make it go into fallback mode when it's running on Server 2003. Sorry.Thanks. Well, while I appreciate the compliment, it's not really that good. It doesn't check whether it runs out of energy. It doesn't check whether the tool runs out of durability. I'd be interested in someone benchmarking a new (level 0) robot against a turtle, though. If it wins hands down I'll consider dumbing the default program down and making the current one findable in the world or something.
Creator of OpenComputers. My Twitter. My Patreon.
True, the program doesn't cover everything. My assumptions were based on my reaction to the Robot video. The more I think about it, the more I see your point though. Durability costs play a huge factor. This was my train of thought.
A robot should be able to mine a 5x5 area with a single unmodified diamond pick without it breaking. 1562 - (5*5*57) = 137 uses left, unless digging through certain materials uses up more durability. If a robot can use enchanted tools, a diamond pick with Unbreaking III should on average handle 3 rounds of this. This is assuming a robot can store enough energy to run the program once for a 5x5. I haven't found any information specifics yet on fuel cost per action and such. Anyway, in Vanilla this would be really expensive, 1-3 diamonds every 5x5 + fuel + more expensive crafting to get the robot + enchantments. The Turtle would obviously win just due to costs and maintenance involved.
It's mod usage that got me curious, depending on if Robots can use mod tools. Really high durability picks, such as the ones from Tinker's Construct, might help offset the maintenance cost, potentially to the point that energy costs become the limiting factor in how big of an area you select. If Robots can use TC Hammers, a robot would mine out most of a 7x7 area at less than 5x5 fuel costs due to not needing to swing as often. An IC2 battery upgrade on a TC Pick/Hammer might also bypass the repair cost, replacing it with a much cheaper/easier energy cost.
Another huge bonus is Robots being able to mine ores with toughness above obsidian, which Turtles with the default mining program cannot do. Our server has a lot of ores like this.
But yeah, all in all I think you're right. I really didn't consider just how much durability plays a factor on this scale. Plus I don't know much on the fuel costs and fuel tank size yet. My bad.
Aaahh - thank's very much! I feel stupid now
Okay, but anyway, mod is super ))) I will try to upgrade our system in future
Creator of OpenComputers. My Twitter. My Patreon.
There have been mostly bugfixes since the last prerelease, with one main addition for modders, the SimpleComponent interface, which should make it a lot easier to expose methods on your tile entities to computers.
Important: upgrading a world from MC1.6 to MC1.7 isn't fully supported, due to limitations in how FML upgrades blocks at this point in time. This can hopefully be addressed in a future release.
Since the list of changes from 1.1 is pretty daunting, here is a quick recap. For more details, I strongly recommend reading the posts for the individual prereleases, they will answer many questions before you can even ask them: pre1 (this is the important one!), pre2 and pre3.
Lord Joda and DaKaTotal have also gone through the trouble of creating a little 1.2 update video:
Creator of OpenComputers. My Twitter. My Patreon.
java.lang.IllegalAccessError
at li.cil.oc.server.component.robot.Player.<init>(Player.scala:33)
at li.cil.oc.common.tileentity.Robot.player_$lzycompute(Robot.scala:101)
at li.cil.oc.common.tileentity.Robot.player_(Robot.scala:101)
at li.cil.oc.common.tileentity.Robot.player(Robot.scala:137)
at li.cil.oc.common.tileentity.Robot.player(Robot.scala:39)
at li.cil.oc.common.block.RobotProxy.removedByEntity(RobotProxy.scala:150)
at li.cil.oc.common.block.Delegator.removeBlockByPlayer(Delegator.scala:273)
at net.minecraft.client.multiplayer.PlayerControllerMP.func_78751_a(PlayerControllerMP.java:159)
at net.minecraft.client.multiplayer.PlayerControllerMP.func_78744_a(PlayerControllerMP.java:82)
at net.minecraft.client.multiplayer.PlayerControllerMP.func_78743_b(PlayerControllerMP.java:198)
at net.minecraft.client.Minecraft.func_71402_c(Minecraft.java:1383)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1863)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:910)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:838)
at net.minecraft.client.main.Main.main(SourceFile:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
Hmm, can't reproduce in plain Forge, neither client nor dedicated server, nor MCPC+. May be some other mod's access transformer is messing things up? Could you try with just OC?
Creator of OpenComputers. My Twitter. My Patreon.
I just had to remove the one mod I suspected of causing a conflict - Mine & Blade Battlegear - and it worked fine again. Not sure what exactly the problem is. I've not seen a conflict like this before. It'd be nice if it could be resolved.
Creator of OpenComputers. My Twitter. My Patreon.
Edit: I can craft the CPU in 1.7, no idea why it wouldn't show up.
Creator of OpenComputers. My Twitter. My Patreon.
Crash: