Skip to content
This repository has been archived by the owner on Jul 1, 2018. It is now read-only.

Crash when mining monitor #95

Closed
JomerDev opened this issue Mar 13, 2016 · 12 comments
Closed

Crash when mining monitor #95

JomerDev opened this issue Mar 13, 2016 · 12 comments
Labels

Comments

@JomerDev
Copy link

JomerDev commented Mar 13, 2016

I crashed when I tried to mine a CC advanced monitor.

I also disconnected every time I right clicked on the monitor, which I'm guessing also has something to do with it.

java.lang.RuntimeException: You are not attached to this Computer
    at dan200.computercraft.core.apis.PeripheralAPI$PeripheralWrapper.queueEvent(PeripheralAPI.java:221)
    at org.squiddev.cctweaks.core.network.modem.PeripheralAccess.queueEvent(PeripheralAccess.java:110)
    at dan200.computercraft.shared.peripheral.monitor.TileMonitor.func_145845_h(TileMonitor.java:250)
    at net.minecraft.world.World.func_72939_s(World.java:1939)
    at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:489)
    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:636)
    at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:334)
    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)
    at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)

Tell me if you need the complete log. The mods should be the same as the ones in the last Issue I created

@SquidDev SquidDev added the bug label Mar 14, 2016
@SquidDev
Copy link
Member

Sorry for taking an age to get to this. However, I can't seem to reproduce. Do you think you could send me a screenshot of your setup and maybe of the network too? I'm guessing something is disconnecting even though it shouldn't be. Possibly related to the network issues you mentioned in #92.

@JomerDev
Copy link
Author

The setup doesn't exist anymore, but it looked something like this:
M: Monitor
C: Computer

MMMM
MMMM
MMMM
C

with normal blocks all around.

I've had multiple problems with Tile Entities being wierd or broken on the server, so it could be caused by that.

@MJRLegends
Copy link

@SquidDev I getting the same crash on my server and the report is he mined the computer with a program running http://pastebin.com/gDhMrcgW

@MJRLegends
Copy link

@SquidDev any thought on this?

@SquidDev
Copy link
Member

SquidDev commented Jul 20, 2016

@MJRLegends Sorry, I'm currently away and can't look at this right now. I'll have a look in a couple of weeks. Do you have what code was running at the time?

@MJRLegends
Copy link

@SquidDev no problem and nope i dont sorry as i run a few big servers and it would be hard to find the one that crashed it

@MJRLegends
Copy link

I can try and find it since i have some coords to can go off in the crash report

@SquidDev
Copy link
Member

I'm still being able to reproduce this which is a real pain. Any other information: screenshots, which monitor on the array was being mined, etc.. would be great. Sorry 😦

@SquidDev SquidDev mentioned this issue Aug 20, 2016
SquidDev added a commit that referenced this issue Aug 20, 2016
@SquidDev
Copy link
Member

@Nathan1852 @MJRLegends I've fixed this on the 1.8.9 branch: do either of you want the fix backported to 1.7.10? If not I'll just mark this issue as resolved. Sorry for not fixing this sooner.

@MJRLegends
Copy link

Yeah i would like the 1.7.10 back port for it

SquidDev added a commit that referenced this issue Sep 20, 2016
SquidDev added a commit that referenced this issue Sep 20, 2016
When the modem is detached (broken) the associated peripheral accesses
were not detached, leaving phantom IComputerAccess instances.

See #95
@SquidDev
Copy link
Member

Fixed! There are a couple of things that I need to add to CCTweaks-Lua then I'll release this. This should all happen in the next few days.

@SquidDev
Copy link
Member

SquidDev commented Sep 22, 2016

This has been released in 1.7.10-1.1.0. It should appear on CurseForge soon.

Post something here if it doesn't actually fix it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants