AdvancedPeripherals icon indicating copy to clipboard operation
AdvancedPeripherals copied to clipboard

Chunks loaded by chunky turtles are not loaded upon reloading the world

Open UpsideDownFoxxo opened this issue 1 year ago • 2 comments

Describe

When a chunky turtle moves out of render distance and is the only thing loading itself, reloading the world will not re-load the turtle.

Steps to reproduce

  1. Place a chunky chatty turtle outside of the spawn-chunks.
  2. Insert into startup.lua:
local chatBox = peripheral.find("chatBox",peripheral.wrap)
while true do
chatBox.sendMessage("hi")
end
  1. Leave the chunks so the turtle is out of render distance
  2. Reload the world

The turtle will no longer spam the chat, and only reactivate when loaded by external means.

Multiplayer?

No

Version

1.18.2-0.7.31r (Latest 1.18.2)

Minecraft, Forge and maybe other related mods versions

Forge 40.2.8 Minecraft 1.18.2

Screenshots or Videos

No response

Crashlog/log

No response

UpsideDownFoxxo avatar Feb 11 '24 15:02 UpsideDownFoxxo

Greetings

The issue here is, that the chunky turtle does not tick when it's not loaded. And if it does not tick, it does not load chunks

A partial workaround is to place third party chunk loads on the way, but that's highly inefficient I will try to fix this somehow in AP by remembering the ID of the turtle and then after a server/world restart trying to load that chunk of the turtle. That should in theory start the peripheral of the turtle, which should start loading chunks

SirEndii avatar Feb 12 '24 07:02 SirEndii

Yea, the problem I'm experiencing is on unexpected restarts (like crashes). I can plan for saving my world and safely return my turtles, but when the system crashes I can't.

UpsideDownFoxxo avatar Feb 13 '24 14:02 UpsideDownFoxxo

/link #576

zyxkad avatar Apr 14 '24 04:04 zyxkad

Reopen for release @SirEndii

zyxkad avatar Apr 22 '24 15:04 zyxkad