Jump to content




Advanced Programs: Orefinder, Tunnel.

turtle

253 replies to this topic

#241 tiwuno

  • Members
  • 8 posts

Posted 04 August 2013 - 11:04 PM

This program used to run fine other than the turtle not accepting negative values, now I can't even get it to ask for coordinates. It seems that the more ComputerCraft gets updated, the more this program breaks, and the author hasn't been active in months. Shame too, I like this program a lot more than horizontally-mining turtles.

#242 mrpoopy345

  • Members
  • 148 posts
  • LocationMy Computer

Posted 23 August 2013 - 03:56 PM

I use this all the time to get recources! THANK YOU!

#243 peanutinky

  • Members
  • 4 posts

Posted 01 September 2013 - 02:41 PM

having the same problem as clueless can't it to let me input coordinates. it tunneler part works great its just the orefinder will not work at all

#244 Lying_Cak3

  • Members
  • 3 posts

Posted 09 October 2013 - 01:18 PM

Love the tunnel digger program has made making rail ways a lot easier :D

Thank you gor the great work.

#245 databrain

  • Members
  • 8 posts
  • LocationThe place beyond the mountain where dragonflies sing.

Posted 09 October 2013 - 05:41 PM

Man, this is cool.

#246 Croft3r

  • Members
  • 9 posts
  • LocationUnited States

Posted 20 October 2013 - 08:48 PM

I have been using this for a while but i have been getting an error with it. The turtle will sometimes loose its position and start again. I have only had this happen to me about 3 or 4 times in the past month. I think it may have something to do with my chunk loader (chicken chunks) not working right. Has anyone else been experiencing this issue?

#247 Henness

  • Members
  • 189 posts

Posted 17 January 2014 - 05:29 PM

NEW UPDATE v3.1!
Hey everyone It's been almost a year but I fixed all know bugs with my OreFinder program except for one.

Just make sure if you exit the program that you should reboot the computer before continuing any excavations.

Known Bug:
When the turtle program is exited, opened back up, and resumed from the save file at hand. The Whole excavation area is moved one to four blocks too the left or right depending on what row its on, It also is still able to return to the chest and and empty its inventory even though its excavating the wrong area. But if the computer is rebooted instead then the excavation continues normally.

#248 Zaflis

  • Members
  • 15 posts

Posted 18 January 2014 - 09:18 AM

I noticed that you have "enderchest dropoff" still in planned features. I could let you copy some code or look hints from my orequarry program.

Basically you'll need 2 enderchests, slot 15 chest full of charcoal, and chest in slot 16 will take all the loot to your sorting system. I keep stone in slot 1 for ore comparison (non stone == "ore"), so it empties slots 2..14. You can call doEmpty() anywhere within the quarry loop and it will do everything for you. Well.. 1 thing it won't do, is an extremely rare case that you would have a dungeon chest above your turtle. Then it will just report error and try empty again after your turtle has moved a bit. I detect last 2 slots instead of 1 because there are ores that can give 2 kinds of things at the time, such as quartz, or of course dungeon chests that your program should suck in.
http://pastebin.com/JaJQcv4q
function empty()
  print("Emptying inventory...")
  while turtle.detectUp() do
    if not turtle.digUp() then
	  break
    end
  end
  turtle.select(16) -- Select ender chest for placing
  if not turtle.placeUp() then
    print("Error placing ender chest")
    return
  end 
  for i=2,14 do
    turtle.select(i)
    turtle.dropUp()
  end
  turtle.select(16)
  turtle.digUp()
  print("Emptying finished")
end
function doEmpty()
  if (turtle.getItemCount(13) > 0) or (turtle.getItemCount(14) > 0) then
    empty()
  end
end


#249 Henness

  • Members
  • 189 posts

Posted 18 January 2014 - 11:40 AM

View PostZaflis, on 18 January 2014 - 09:18 AM, said:

-snip-

Yea It would be fairly simple but I need to modify my gui program to ask them if they want to use ender chests. Its a little more work but i'll see if I can get to work on it :P

Edited by Henness, 18 January 2014 - 11:43 AM.


#250 stuffedparrot

  • Members
  • 3 posts

Posted 20 January 2014 - 06:12 PM

Nice to see you back! Excellent program, I use it all the time.

Now that you've updated your orefinder, any thoughts to updating/improving your tunnel program?

Right now, say you're mining 12h x 9w x 9d tunnel. it digs up a line, digs forward one, then starts it's left-to-right progression of the actual user-designated tunnel. Once it's hit the bottom right, it goes all the way back to the left, then all the way to the top to start the next row of left-to-right digging.

Have you considered setting it so that it won't waste fuel after it's first full "row" by returning to the top left, it either just goes up to top right, or starting the next row from bottom right?

I'm probably explaining it poorly!

#251 Henness

  • Members
  • 189 posts

Posted 21 January 2014 - 05:14 AM

View Poststuffedparrot, on 20 January 2014 - 06:12 PM, said:

-snip-

I have considered updating my Tunnel program. But I personally think I need to start over with it, or at least replace a lot of the code.

But that's a lot of work, I'll add it to my list of things to do. I don't know when I'll get to it.

#252 Xenic

  • New Members
  • 2 posts

Posted 25 January 2014 - 06:46 PM

Any chance you are planning to update your Advanced Tunnel program?

#253 MrSpencerRecor

  • New Members
  • 2 posts

Posted 10 February 2014 - 10:00 PM

Problem with saving program : Orefinder one when i save for example Big Mine: it keeps asking me for cords, i put in cords, than it turns and asks me if im sure i want to excavate , then asks me for cords again, so it's like a never ending process when it asks me for cords.

#254 Aylin94

  • Members
  • 3 posts
  • LocationNetherlands

Posted 21 October 2015 - 12:40 PM

View PostHenness, on 21 January 2014 - 05:14 AM, said:

View Poststuffedparrot, on 20 January 2014 - 06:12 PM, said:

-snip-

I have considered updating my Tunnel program. But I personally think I need to start over with it, or at least replace a lot of the code.

But that's a lot of work, I'll add it to my list of things to do. I don't know when I'll get to it.

Are you still planning to work on the tunnel? Mainly the item drop off.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users