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

Cant stack "Wirless turtles" on top of each other

Started by RiceFarm, 26 November 2012 - 01:23 PM
RiceFarm #1
Posted 26 November 2012 - 02:23 PM
They have the same ID and everything, but after running a short cycle of mining I cant stack them together.

Is there something that I can do in order to stack turtles back together?


Thanks

RiceFarm
Lyqyd #2
Posted 26 November 2012 - 02:38 PM
You should probably avoid having them all have the same ID. If they're not labeled, the only thing keeping them from stacking is their fuel level, so write a small script to move them to burn off excess fuel until they're empty. They should then stack again.
ChunLing #3
Posted 26 November 2012 - 06:30 PM
Even if the labels and the fuel levels are the same, won't the actual computerID's still be different? That data has to be saved on the block item, and changing the label doesn't change that.
Lyqyd #4
Posted 26 November 2012 - 06:44 PM
Nope, if they're unlabeled and fuel-free, the turtles should re-stack just fine, unless they've started making unlabeled computers keep their files. This is because unlabeled computers don't remember their computerID and simply get a new one each time they're placed and activated.
ChunLing #5
Posted 26 November 2012 - 06:52 PM
Oh, in that case it's the very act of giving them all identical labels that is making them not stack. Still, I hate the idea of losing a computerID by breaking an unlabeled turtle/computer, so count me out.
RiceFarm #6
Posted 26 November 2012 - 10:29 PM
Thanks for many good answear. I ran it empty of fuel and it stacks fine. Think that is a bit wierd still though. Should be a fix for that :D/>
ChunLing #7
Posted 26 November 2012 - 11:48 PM
No, the block items need to store any data that is going to be needed on placing the turtle back down. The "fix" would be to regress the behavior back to an earlier version when breaking a turtle lost all the unique data for that turtle, like fuel, label, and ID. For those of us that actually have programs on our turtles (or use them in ID based rednetworking), that would be a disastrous "fix".

Just for programs, I guess we could carry about a floppy and drive, and use those to reprogram the turtle each time it was placed. Using two inventory slots and adding an extra level of mucking about to get a turtle working again does not strike me as a very effective way to save an inventory slot, though. For the ID, if we have a secure network…there is no fix that doesn't break security.

You can restack the turtles if you remove all the unique data. And we can keep the unique data on the turtle block item so it's still there when we put the turtle back down.
Lyqyd #8
Posted 27 November 2012 - 04:22 AM
As far back as I can remember, if it had a label, it kept its ID and label when broken, so I'm not sure when you're thinking of.
ChunLing #9
Posted 29 November 2012 - 08:15 AM
Huh. I was sure that keeping ID when labeled was a new feature at some point. Could be wrong. Point being, it's a seriously good feature for those of us that like to store programs and stuff on computers.
Cloudy #10
Posted 29 November 2012 - 11:40 PM
They'll only store their fuel if they're labeled.