65 posts
Posted 13 April 2013 - 04:42 AM
Basically, I am planning on having chunk loader turtles with pickaxes be in a "home bay" where when they come in, they will charge to a certain point, then sit in a home position until wirelessly called. Because they will have both pickaxe and chunkloader upgrades, there is no room for a wireless modem. If I have them sit on top of a computer or a disk drive, can I have wireless computers communicate with the server sending commands, then send data to the turtles?
When the time comes, I'd likely be sending coordinates for the turtles to move to, excavate, and then return, refuel, and sit back down. Any method for me to do this? I know spot loader upgrades don't work, I hope chunk loaders actually do? Are they buggy also?
And one more question: Since turtles are considered entities when moving, does that mean they can move through nether and twilight forest portals?
436 posts
Posted 13 April 2013 - 07:25 AM
They can't go through portals. It's like piston semi-blocks.
Also, if you are using Misc. Peripherals (and I'm assuming you are, since you appear to be using the DW20 pack), I think the chunk loader turtles actually have modems on them. Wrap the loader peripheral and see what it brings ups when you
for k, v in pairs(peripheral.wrap(side)) do
print(k)
end
Actually, I know that the Misc. Peripherals chunk loader peripheral DOES work as a modem. It says so in the thread.
65 posts
Posted 13 April 2013 - 12:31 PM
They can't go through portals. It's like piston semi-blocks.
Also, if you are using Misc. Peripherals (and I'm assuming you are, since you appear to be using the DW20 pack), I think the chunk loader turtles actually have modems on them. Wrap the loader peripheral and see what it brings ups when you
for k, v in pairs(peripheral.wrap(side)) do
print(k)
end
Actually, I know that the Misc. Peripherals chunk loader peripheral DOES work as a modem. It says so in the thread.
In terms of no portal support, that sucks. :/ And something tells me that turtle teleportation through dimensions would be one heck of a fuel drain. I am on the Mindcrack pack. But isn't there a difference between attaching a chunk loader to the turtle and a spot loader and a wireless modem crafted to make a chunk load module? The spot and wireless modem actually are VERY buggy and do not work half the time for the turtle. Hopefully, they are not one in the same.
148 posts
Posted 13 April 2013 - 01:16 PM
You could still use redpower bundled caes.
That's 8bit serial communication (if I recall correctly)
So you'd have to use string.byte to convert the string to a number.
169 posts
Posted 13 April 2013 - 01:41 PM
You could pair your turtles: have one with a modem and pickax and another with a modem and chunk loader. Then just program the one with the pickax to move one block ahead of the one with the chunk loader.
Alternatively, if you really want to use just one turtle, then I'm not sure what you could do. If turtles can detect redstone (can they?), then you could use RedPower bundled cables (like Joker said). But I suppose the easiest way would be to have a computer on top of a disk drive on top of the turtle. You could then use the computer to receive the rednet message, save the data to a floppy in the disk drive, then have the turtle process that data.
87 posts
Posted 14 April 2013 - 12:19 AM
You could pair your turtles: have one with a modem and pickax and another with a modem and chunk loader. Then just program the one with the pickax to move one block ahead of the one with the chunk loader.
Alternatively, if you really want to use just one turtle, then I'm not sure what you could do. If turtles can detect redstone (can they?), then you could use RedPower bundled cables (like Joker said). But I suppose the easiest way would be to have a computer on top of a disk drive on top of the turtle. You could then use the computer to receive the rednet message, save the data to a floppy in the disk drive, then have the turtle process that data.
They can detect redstone. I would vote on the pair'd thing though. As it could be alot better with the following code:
while i < <number of blocks it has to dig> do
turtle.dig()
turtle.forward()
rednet.send(<ID OF PAIRED TURTLE>, "forward")
i =(i+1)
end
And the chunk loader turtle having:
while true do
id, command = rednet.recieve()
shell.run(command)
end
And there will be a program for each command.
148 posts
Posted 14 April 2013 - 02:10 AM
You could pair your turtles: have one with a modem and pickax and another with a modem and chunk loader. Then just program the one with the pickax to move one block ahead of the one with the chunk loader.
Alternatively, if you really want to use just one turtle, then I'm not sure what you could do. If turtles can detect redstone (can they?), then you could use RedPower bundled cables (like Joker said). But I suppose the easiest way would be to have a computer on top of a disk drive on top of the turtle. You could then use the computer to receive the rednet message, save the data to a floppy in the disk drive, then have the turtle process that data.
They can detect redstone. I would vote on the pair'd thing though. As it could be alot better with the following code:
while i < <number of blocks it has to dig> do
turtle.dig()
turtle.forward()
rednet.send(<ID OF PAIRED TURTLE>, "forward")
i =(i+1)
end
And the chunk loader turtle having:
while true do
id, command = rednet.recieve()
shell.run(command)
end
And there will be a program for each command.
I don't think you understood his question.
87 posts
Posted 14 April 2013 - 08:01 AM
You could pair your turtles: have one with a modem and pickax and another with a modem and chunk loader. Then just program the one with the pickax to move one block ahead of the one with the chunk loader.
Alternatively, if you really want to use just one turtle, then I'm not sure what you could do. If turtles can detect redstone (can they?), then you could use RedPower bundled cables (like Joker said). But I suppose the easiest way would be to have a computer on top of a disk drive on top of the turtle. You could then use the computer to receive the rednet message, save the data to a floppy in the disk drive, then have the turtle process that data.
They can detect redstone. I would vote on the pair'd thing though. As it could be alot better with the following code:
while i < <number of blocks it has to dig> do
turtle.dig()
turtle.forward()
rednet.send(<ID OF PAIRED TURTLE>, "forward")
i =(i+1)
end
And the chunk loader turtle having:
while true do
id, command = rednet.recieve()
shell.run(command)
end
And there will be a program for each command.
I don't think you understood his question.
Maybe i didnt…..