Title:
No errors show in the log. The issue shows up in CraftOS of ComputerCraft
ComputerCraft Turtle Bug: "You are not attached to this Computer"
Launcher Version:1.4.11
Modpack:FTB Presents Direwolf20
Modpack Version:1.10.0
Log Link:No errors show in the log. The issue shows up in CraftOS of ComputerCraft
Details of the issue:I'm having an issue of a standard Turtle in my base, malfunctioning. It's designed to work with EnderIO(but I believe will also work with anything that uses Redstone) by sitting infront of a Capacitor Bank and monitor its power. If the power drops to 10%, it will switch on the Dynamos via a Redstone signal, then switch them off at 90% power where it enters a Sleep Mode.
Occasionally, this automated process gets messed up by the Turtle throwing a 'Java Exception Thrown: java.lang.RuntimeException: You are not attached to this Computer' crash. I assume this is a permission bug? I tried breaking the Turtle and replacing it, and that works for a bit... only for it to crash again.
Doing a reboot will do the same thing. Sometimes it crashes before it does anything. Other times (if power is low), it will still make the dynamos work (yet still crash), and keep the dynamos from turning off.
I will be upgrading my power system with a Big Reactor(one day) with a hopefully better code, but I need this issue fixed first before I can slowly migrate over to the new system.
The code (download here if you can help) is from a friend of mine. Worked flawless several months ago(I have very slightly modified it to change what it prints out when it switches on and off, but that was also several months ago). But now I'm having issues. I don't know if this is an issue with the code or ComputerCraft itself. I'm no coder(and I barely know how the mod works), so I don't know how to debug the issue.
I looked on Google for an answer, yet to no avail. I did see the issue had been fixed in a later version, but I'm unsure if the fix is in the version I'm using.
Please help me fix this bug, so I'll have one less thing to worry about. Thank you in advance.
Occasionally, this automated process gets messed up by the Turtle throwing a 'Java Exception Thrown: java.lang.RuntimeException: You are not attached to this Computer' crash. I assume this is a permission bug? I tried breaking the Turtle and replacing it, and that works for a bit... only for it to crash again.
Doing a reboot will do the same thing. Sometimes it crashes before it does anything. Other times (if power is low), it will still make the dynamos work (yet still crash), and keep the dynamos from turning off.
I will be upgrading my power system with a Big Reactor(one day) with a hopefully better code, but I need this issue fixed first before I can slowly migrate over to the new system.
The code (download here if you can help) is from a friend of mine. Worked flawless several months ago(I have very slightly modified it to change what it prints out when it switches on and off, but that was also several months ago). But now I'm having issues. I don't know if this is an issue with the code or ComputerCraft itself. I'm no coder(and I barely know how the mod works), so I don't know how to debug the issue.
I looked on Google for an answer, yet to no avail. I did see the issue had been fixed in a later version, but I'm unsure if the fix is in the version I'm using.
Please help me fix this bug, so I'll have one less thing to worry about. Thank you in advance.