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

Turbo turtle mode

Started by kazagistar, 17 November 2012 - 02:00 PM
kazagistar #1
Posted 17 November 2012 - 03:00 PM
Problem
Testing large turtle programs can be a pain, because it takes so long to see if it works.

Solution
Make a way to change the delay between turtle actions, preferably to 0.

The idea is to have a flag in the config that can be used to speed up the turtles so that giant quarries/towers/factories/whatever can run really fast in creative mode, so you can see quickly if your code works as expected. It could also be helpful for video creators to showing off what their programs can do without having to record for a long time and then speed it up.
Tiin57 #2
Posted 18 November 2012 - 12:17 AM
I second this.
immibis #3
Posted 23 November 2012 - 12:00 AM
Light speed's too slow, we need to go to…


LUDICROUS SPEED!
Sammich Lord #4
Posted 23 November 2012 - 12:32 AM
This would be pretty cool to see a turtle mine 5 blocks a second in a quarry ;)/>/> I third this…
BigSHinyToys #5
Posted 23 November 2012 - 04:02 AM

while TurtleNotCaught do
Run_After_Turtle_Like_Idiot_Unable_To_Catch_It()
end
The problem with fast turtles is you would never be able to Ctrl + T them
if that was solved then yes it could be helpful for testing turtle programs but you run a big risk of loosing turtles and having to chases them around.
Kingdaro #6
Posted 23 November 2012 - 07:52 AM
freakin' lightspeed turtles yo
Cloudy #7
Posted 23 November 2012 - 08:24 AM

while TurtleNotCaught do
Run_After_Turtle_Like_Idiot_Unable_To_Catch_It()
end
The problem with fast turtles is you would never be able to Ctrl + T them
if that was solved then yes it could be helpful for testing turtle programs but you run a big risk of loosing turtles and having to chases them around.

Then make sure you're in creative mode.
BigSHinyToys #8
Posted 23 November 2012 - 09:03 AM
Then make sure you're in creative mode.
yes that as well as build in a rednet Kill switch.

if mess == "boom" then
while turtle.detectUp() do
turtle.digUp()
end
turtle.placeUp()
rs.setOutput("top",true)
end
Tiin57 #9
Posted 23 November 2012 - 09:31 AM
Then make sure you're in creative mode.
yes that as well as build in a rednet Kill switch.

if mess == "boom" then
while turtle.detectUp() do
turtle.digUp()
end
turtle.placeUp()
rs.setOutput("top",true)
end
Slight overkill, no?
BigSHinyToys #10
Posted 23 November 2012 - 10:38 AM
Slight overkill, no?
well no … shiny like big BOOM
matejdro #11
Posted 23 November 2012 - 11:31 AM

while TurtleNotCaught do
Run_After_Turtle_Like_Idiot_Unable_To_Catch_It()
end
The problem with fast turtles is you would never be able to Ctrl + T them
if that was solved then yes it could be helpful for testing turtle programs but you run a big risk of loosing turtles and having to chases them around.

If you are in creative, then just spawn a new turtle and copy programs for old one.
BigSHinyToys #12
Posted 23 November 2012 - 12:15 PM
If you are in creative, then just spawn a new turtle and copy programs for old one.
I was kinda referring to testing code in creative mode and turtles randomly destroying stuff / leaving the test area a simple way to kill them comes in handy to reset the experiment. I was also kinda making joke I don't use explosives I just open a rednet back door allowing me full file and command assess then activates beacon and reverse GPS it location.
Tiin57 #13
Posted 23 November 2012 - 12:43 PM
Slight overkill, no?
well no … shiny like big BOOM
Heh, perfectly understandable.
JJRcop #14
Posted 23 November 2012 - 01:30 PM
I think you should use this in superflat creative so, if your code doesn't work as expected and you won't catch your turtle, the entire world is expendable.
immibis #15
Posted 24 November 2012 - 10:00 PM
freakin' lightspeed turtles yo
I already said, light speed's too slow! Lol



Even if this is just for testing, you can be sure someone will use this with their survival-mode turtles, get one lost, and complain. Although they could just reload the world, unless it uses a startup program.
Sammich Lord #16
Posted 24 November 2012 - 10:05 PM
freakin' lightspeed turtles yo
I already said, light speed's too slow! Lol



Even if this is just for testing, you can be sure someone will use this with their survival-mode turtles, get one lost, and complain. Although they could just reload the world, unless it uses a startup program.

But people complain anyway. So what is the use?
Sebra #17
Posted 25 November 2012 - 08:08 PM
If you want something for testing only, make it work in creative only.