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

[MC 1.8.9/ CC 1.78][SMP] Turtles unable to access wireless modems on chunk reload

Started by iliketanks1998, 21 June 2016 - 01:56 AM
iliketanks1998 #1
Posted 21 June 2016 - 03:56 AM
Whenever I log into my world, one of my turtles has a startup program that calls rednet.open("right"), and also has a modem on that side, but when the chunks are loaded the turtle acts as if the modem is not there, and returns a 'no modem' error. The modem is visible to the player, but not to the turtle. I tried peripheral.getNames() and got nothing, so it's not just the rednet api bugging out. Breaking and re-placing the turtle allows the turtle to function normally, and it to access the modem again.

This applies to turtles with a modem on the left or right side.

Reproduction

The steps to reproduce this are simple, just place a wireless turtle, log out for a couple seconds so everything gets unloaded, then log back in. The turtles won't be able to see their modems.

I would attach screenshots, but they're too large to attach and they don't show much. I can find a way to add them if anyone thinks they're important.
Bomb Bloke #2
Posted 21 June 2016 - 05:46 AM
What happens under 1.79?
iliketanks1998 #3
Posted 21 June 2016 - 04:05 PM
In previous versions I didn't have this problems on servers, although that was on older versions of minecraft.

This is with CC 1.78, I didn't realize there had been an update, I'm going to update now and see what happens.

–update–

When I use the new version (1.79) the modems work as expected. This is still a little puzzling though as this problem didn't exist on earlier versions of CC either.

– update 2 –

Even with the new version, the bug persists, except it only seems to happen once the chunk is loaded, then unloaded then loaded again (When you log into the server, everything works as normal, then when you log out, and back in, and any times afterward the bug is experienced.)
Edited on 21 June 2016 - 07:01 PM
DarkEyeDragon #4
Posted 23 June 2016 - 06:40 PM
Have you tried this bug on a different server? Or a local made server?

It might just be an issue with the chunk unloading/loading of that server. Forcefully unloading chunks from plugins like Clearlagg can cause issues with certain mods.
iliketanks1998 #5
Posted 23 June 2016 - 09:02 PM
It's my personal server, and it's only running forge and CC, no chunk loading/unloading mods present.
I can provide any files/code/logs, if needed.
Edited on 23 June 2016 - 07:03 PM
Dragon53535 #6
Posted 27 June 2016 - 06:26 AM
This bug has happened at least back in 1.75. Easy fix is to unequip and reequip on that side. I never could figure out what caused it myself.
Wojbie #7
Posted 27 June 2016 - 10:38 PM
I can confirm this happend to me on few servers and on few computercraft versions.

It's my personal server, and it's only running forge and CC, no chunk loading/unloading mods present.
I can provide any files/code/logs, if needed.
Could you gather it all and post it at: https://github.com/dan200/ComputerCraft/issues
iliketanks1998 #8
Posted 06 July 2016 - 04:42 AM
I'll gather them, which files are needed?

(Sorry for the inactivity, I've been busy lately)

I can put the files up whenever, I just need to know what you're looking for in particular.
Edited on 13 July 2016 - 04:09 AM
iliketanks1998 #9
Posted 11 September 2016 - 04:57 AM
I'm still available to post those files, I just need to know which ones you need from me.
Bomb Bloke #10
Posted 11 September 2016 - 05:46 AM
There's no need to pick and choose; simply gather all log files from the session along with your code and provide the lot.
iliketanks1998 #11
Posted 11 September 2016 - 04:24 PM
https://www.dropbox.com/s/rv3yejkdpgo6a2y/Debug%20Files.zip?dl=0

Here you are