OpenComputers icon indicating copy to clipboard operation
OpenComputers copied to clipboard

Crash with RFTools Dimensions

Open Alaisx opened this issue 8 years ago • 4 comments

When using component.tunnel.send(msg) between the an RFTools Dimension and the overworld, if the computer in the RFTools Dimension is not chunk loaded, the server will crash. This does not seem to happen between vanilla dimensions such as the nether. Here is a crash log: http://pastebin.com/WPtLScps

Minecraft 1.10.2 RFTools Dimensions 4.45 OpenComputers 1.6.0.4

Alaisx avatar Dec 10 '16 23:12 Alaisx

Does the dimension have power? Or are you sending to an unpowered dimension? A linked card should not even try to send messages to unloaded computers...

Vexatos avatar Dec 12 '16 05:12 Vexatos

~~It's a powered dimension, just not chunk loaded. When I put a robot with a chunkloader upgrade next to the computer in the dimension, problem goes away.~~

Alaisx avatar Dec 12 '16 06:12 Alaisx

Ok, so I just tried simplifying the situation to try to nail down what's causing this. The most basic case I can get to cause the crash is to start a new world, build an RFTools dimension, travel there, then spawn a computer using /oc_sc. Then simply teleporting back and forth from the Overworld causes a crash. Unfortunately it's not an immediate crash, and it's not always, so I'm still not certain what the root cause is. I did try not spawning the computer but couldn't reproduce the crash.

So, at the very least, this isn't actually a linked card issue. Not sure if chunkloading is relevant (harder to rule out).

Alaisx avatar Dec 12 '16 06:12 Alaisx

Add fix with test chunkloading.

Zaxar163 avatar Jun 19 '18 07:06 Zaxar163