Jump to content




Please delete?

turtle lua

75 replies to this topic

#1 Apfeldstrudel

  • Members
  • 161 posts

Posted 17 May 2013 - 01:18 PM

There used to be a script here
Now it's broken as hell
I've thought about it for more than a year and couldn't figure out what it was
People lost their turtles alot

Delete this thread?

Edited by Xyexs, 19 January 2015 - 07:45 PM.


#2 valithor

  • Members
  • 1,053 posts

Posted 20 May 2013 - 12:36 AM

The script mines amazingly and keeps its position accurately only problem i have had with it was i entered in the information into cords in the following order

8
4
1
1
0
0 (this is not in your format but i put it there since i was getting a error i guessed it was the direction it was facing)

it was working well until i noticed that it didn't stop after 4 blocks or 4 sets of the script running i stopped it after i realized it went about 29 blocks down i do not know if it is suppose to do that or that is a error

the first time i tried to script out i put in
4
2
1
1
0
0

on this one it would spin around 2 or 3 times and then go up a block turn around 180% and then the script would stop

while i was reading through the script i noticed


  • if turtle.getFuelLevel() < 200 then


  • print("Thank you!")


  • end

that was on line 46 - 48 this might not be a error but you might want to change it to > 200 or add a else saying not enough fuel was added currently it prints Thank you! whether or not it is greater then 200 and then it stops



#3 mymusicmanager

  • Members
  • 18 posts

Posted 21 May 2013 - 08:52 AM

This turtle program looks very good, and I can't wait to test it :)

#4 Apfeldstrudel

  • Members
  • 161 posts

Posted 21 May 2013 - 10:45 AM

Fixed it (the refuel thingy)- still got other problems.. *sadface*

Edit: most things are since long fixed

#5 Apfeldstrudel

  • Members
  • 161 posts

Posted 21 May 2013 - 02:50 PM

Umh.. seems to be working now, basically the program was on startup and it thought that it should mine again when its done- fixed by deleting startup on end of file

#6 mrbysco

  • Members
  • 7 posts

Posted 25 May 2013 - 11:30 AM

can you make it so if you terminate it it deletes the info of how far and how deep you want to mine? it now keeps it to the end i think

#7 Apfeldstrudel

  • Members
  • 161 posts

Posted 26 May 2013 - 03:15 AM

View Postmrbysco, on 25 May 2013 - 11:30 AM, said:

can you make it so if you terminate it it deletes the info of how far and how deep you want to mine? it now keeps it to the end i think
Sure, just finishing of a refuel chest first!

Edit: It's harder than i thought...

#8 mrbysco

  • Members
  • 7 posts

Posted 26 May 2013 - 11:36 AM

Btw mine runned long and then said Turtle:18: Too long without yielding. and i have to type the dig command again to let it go again...

And after restarting this error:

dig:26: bad argument #1: value expected

#9 Apfeldstrudel

  • Members
  • 161 posts

Posted 27 May 2013 - 12:00 PM

View Postmrbysco, on 26 May 2013 - 11:36 AM, said:

Btw mine runned long and then said Turtle:18: Too long without yielding. and i have to type the dig command again to let it go again...

And after restarting this error:

dig:26: bad argument #1: value expected


Fixed now, thanks for the feedback

#10 mrbysco

  • Members
  • 7 posts

Posted 29 May 2013 - 12:08 PM

Nice programm

#11 Apfeldstrudel

  • Members
  • 161 posts

Posted 29 May 2013 - 12:52 PM

Thanks !

#12 makeme

  • Members
  • 60 posts

Posted 03 June 2013 - 01:47 PM

found one thing it seems to turn around a very large amount of times apart from that its brilliant

#13 Apfeldstrudel

  • Members
  • 161 posts

Posted 03 June 2013 - 02:41 PM

View Postmakeme, on 03 June 2013 - 01:47 PM, said:

found one thing it seems to turn around a very large amount of times apart from that its brilliant
Thank you, il try minimizing all that turning

#14 makeme

  • Members
  • 60 posts

Posted 05 June 2013 - 02:04 PM

View PostXyexs, on 03 June 2013 - 02:41 PM, said:

View Postmakeme, on 03 June 2013 - 01:47 PM, said:

found one thing it seems to turn around a very large amount of times apart from that its brilliant
Thank you, il try minimizing all that turning

also is there any way to clear the turtles saved data as i keep moving the turtle?

#15 Apfeldstrudel

  • Members
  • 161 posts

Posted 05 June 2013 - 02:34 PM

View Postmakeme, on 05 June 2013 - 02:04 PM, said:

is there any way to clear the turtles saved data as i keep moving the turtle?
I'm not entirely sure what you mean?

#16 makeme

  • Members
  • 60 posts

Posted 05 June 2013 - 02:40 PM

View PostXyexs, on 05 June 2013 - 02:34 PM, said:

View Postmakeme, on 05 June 2013 - 02:04 PM, said:

is there any way to clear the turtles saved data as i keep moving the turtle?
I'm not entirely sure what you mean?

my turtle ran out of fuel and now when i place him down and use dig it just says out of fuel is there anyway to reset the program?

#17 Apfeldstrudel

  • Members
  • 161 posts

Posted 05 June 2013 - 02:43 PM

View Postmakeme, on 05 June 2013 - 02:40 PM, said:

View PostXyexs, on 05 June 2013 - 02:34 PM, said:

View Postmakeme, on 05 June 2013 - 02:04 PM, said:

is there any way to clear the turtles saved data as i keep moving the turtle?
I'm not entirely sure what you mean?

my turtle ran out of fuel and now when i place him down and use dig it just says out of fuel is there anyway to reset the program?

If this is what you meant- reset the program entirely? Make it mine again
Terminate the program using ctrl + t for a couple of seconds, then type "Delete startup" and "delete coords"
To restart the program run dig by typing dig in the window-

#18 makeme

  • Members
  • 60 posts

Posted 05 June 2013 - 02:44 PM

ok thanks

#19 Apfeldstrudel

  • Members
  • 161 posts

Posted 05 June 2013 - 02:45 PM

View Postmakeme, on 05 June 2013 - 02:44 PM, said:

ok thanks
:D

#20 Phlex

  • New Members
  • 1 posts

Posted 16 June 2013 - 08:43 AM

I get "turtle:18: Slot number 0 out of range.". This program used to work for me like 10 days ago, but i had to redownload it today becouse i lost a turtle that had it. And all of a sudden it doesnt work anymore.
Btw i get the error when turtle is dropping items into a chest. Help please....





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users