Jump to content




Advanced Mining Turtle - Ore Quarry

turtle

  • You cannot reply to this topic
582 replies to this topic

#121 AustinKK

  • Members
  • 124 posts
  • LocationLeeds, UK

Posted 10 January 2013 - 03:54 AM

View PostDeor, on 10 January 2013 - 01:15 AM, said:

Have noticed my turtle seems to sometimes discard the chest, but not always. Cant put my finger on it I'm afraid.
I've been having a few issues with my turtle anyway as I've had some server stability problems with the latest FTB Mindcrack update, seems to have settled now tho. Doesn't help when you are trying to run a 50x50 quarry so will go back to my normal 15x15 setup and let you know how it runs over the next few days.

BTW, my mechanical friend has retrieved 47 diamonds for me since you released the new version! Do drop me a line if you want to hop on to my UK based server for any testing.

Oh and I think it would be great if you could do a tree farm program :)

Let's just put it down to sever stability issues then! :unsure:

I'll create a version with more debugging in and if you guys can use that whilst your having a problem and send me the output when it goes wrong (I'll write it to a file on the turtle) that would really help get to the bottom of this.

#122 AustinKK

  • Members
  • 124 posts
  • LocationLeeds, UK

Posted 10 January 2013 - 06:03 AM

Would one of you guys that are having problems with the chest being deposited in the chest try a version of the OreQuarry that has some debugging around the inventory emptying function.

It is on pastebin (id = TRtdTB19)

It writes to an output file called "log.txt". Can you post the file after a run where it incorrectly drops off the chest?

Thanks!

#123 wizaerd

  • Members
  • 3 posts

Posted 10 January 2013 - 07:51 AM

Has this program undergone any changes recently? last night I tried to use it, and the turtle did not filter out the items I placed in the first three inventory slots. I put Stone, Cobblestone, and Dirt in the first 3 inventory slots of the turtle, and in the chest the turtle would dump into included Stone, Cobblestone, and Dirt.

#124 Ulthean

  • Members
  • 171 posts

Posted 10 January 2013 - 08:05 AM

The turtle will still need to dig the paths, so some dirt and cobblestone will always be mined, as long as he didn't quarry out the entire area (like a buildcraft quarry) I am sure it is working as intended.

#125 Mcfeegle

  • New Members
  • 1 posts

Posted 10 January 2013 - 09:20 AM

View PostAustinKK, on 10 January 2013 - 06:03 AM, said:

Would one of you guys that are having problems with the chest being deposited in the chest try a version of the OreQuarry that has some debugging around the inventory emptying function.

It is on pastebin (id = TRtdTB19)

It writes to an output file called "log.txt". Can you post the file after a run where it incorrectly drops off the chest?

Thanks!

Didn't get a chance to run a full cycle however I did get this much....

bios:338: [string "log.txt"]:2:unexpected symbol

#126 evilguard

  • Members
  • 30 posts

Posted 10 January 2013 - 01:55 PM

Did try a lot of software and really this one is one of the best so far! It use less energy and it work like a charm for now. What i would love to see add? A resume fonction would be cool and there is something i would love to know.

Is that programs could be applied in a branch mining underground? It would branch mining like a boss and could be nice for more specific use like finding diamond or Tin/copper since they spawn in various layer. Saying that little buddy mining 5 high and 32 wide channel and 32 dept branch mine!

Its sound like a great idea?

#127 MrFuggernaut

  • New Members
  • 3 posts

Posted 10 January 2013 - 02:47 PM

This program is fantastic and I have completely replaced my BC quarries with this!! Major props to austinkk and I love the vid! In response to some of you guys that wanted a branch mining program, you can use this one in combination with the MLG circular mining to really roll in the diamonds :D

#128 Kadura

  • New Members
  • 8 posts

Posted 10 January 2013 - 02:52 PM

I have started running the debug version of 0.5, and have a couple of log files for you - you can find them on pastebin at XNPkKcXF and XeqCLQw6.
I think the files ended up truncating because the server seized up and had to be rebooted (not certain of the cause of that, either, the only thing going on was my turtles running 0.5 - nobody else was logged on)

#129 bruteman

  • New Members
  • 8 posts

Posted 11 January 2013 - 03:58 AM

View PostAustinKK, on 10 January 2013 - 06:03 AM, said:

Would one of you guys that are having problems with the chest being deposited in the chest try a version of the OreQuarry that has some debugging around the inventory emptying function.

It is on pastebin (id = TRtdTB19)

It writes to an output file called "log.txt". Can you post the file after a run where it incorrectly drops off the chest?

Thanks!

also video recording the start of the turtle and the setup i have in it and then with a chest open the dropping off after the chest is deposited into the storage system i'll try and open the turtle on a return to show you the missing chest on video. stay tuned :)


Here is the video.... the text log to follow shortly :



#130 AustinKK

  • Members
  • 124 posts
  • LocationLeeds, UK

Posted 11 January 2013 - 06:15 AM

Thanks those who downloaded the debug program (and thanks bruteman for the video).

I can see what it is doing, but not why.

I've refreshed the debug version of the code and uploaded it to pastebin. Would one of you that is having the problem try the new version (v0.51). It is at the same pastebin link as the previous debug version (TRtdTB19).

If you can post the log.txt file when it fails, that would really help. Thanks in advance.

#131 AustinKK

  • Members
  • 124 posts
  • LocationLeeds, UK

Posted 11 January 2013 - 06:24 AM

View PostMcfeegle, on 10 January 2013 - 09:20 AM, said:

View PostAustinKK, on 10 January 2013 - 06:03 AM, said:

Would one of you guys that are having problems with the chest being deposited in the chest try a version of the OreQuarry that has some debugging around the inventory emptying function.

It is on pastebin (id = TRtdTB19)

It writes to an output file called "log.txt". Can you post the file after a run where it incorrectly drops off the chest?

Thanks!

Didn't get a chance to run a full cycle however I did get this much....

bios:338: [string "log.txt"]:2:unexpected symbol

Errr, no idea why you are getting that.

I've refreshed the code with some more debugging (v0.51). Could you try again?

View PostKadura, on 10 January 2013 - 02:52 PM, said:

I have started running the debug version of 0.5, and have a couple of log files for you - you can find them on pastebin at XNPkKcXF and XeqCLQw6.
I think the files ended up truncating because the server seized up and had to be rebooted (not certain of the cause of that, either, the only thing going on was my turtles running 0.5 - nobody else was logged on)

Thanks for this - it identified what wasn't working (but still not sure why...).

#132 Deor

  • Members
  • 27 posts

Posted 11 January 2013 - 08:19 AM

Just setting up to run the debug version for you, will report back later.

#133 Deor

  • Members
  • 27 posts

Posted 11 January 2013 - 09:13 AM

Ok so pretty much on the first unload hes dumped the chest and replaced it with gravel. Will post the log once hes finished and i can copy it for you.

#134 AustinKK

  • Members
  • 124 posts
  • LocationLeeds, UK

Posted 11 January 2013 - 10:22 AM

View PostDeor, on 11 January 2013 - 09:13 AM, said:

Ok so pretty much on the first unload hes dumped the chest and replaced it with gravel. Will post the log once hes finished and i can copy it for you.

OK, thanks

#135 Deor

  • Members
  • 27 posts

Posted 11 January 2013 - 10:29 AM

Here we go, log on pastebin: http://pastebin.com/uS1e7TRg

#136 AustinKK

  • Members
  • 124 posts
  • LocationLeeds, UK

Posted 11 January 2013 - 11:10 AM

View PostDeor, on 11 January 2013 - 10:29 AM, said:

Here we go, log on pastebin: http://pastebin.com/uS1e7TRg

Thanks for that. Think I might know where the bug is.

Can I ask how big the Quarry is that you mining (width wise)?

#137 Kadura

  • New Members
  • 8 posts

Posted 11 January 2013 - 11:32 AM

My standard quarry is 15x15, starting at 18 (foot height), and so far I have run the 0.5 version twice (I run a pair of turtles, going in opposite direction), and each time the turtles have locked the server up somehow. Perhaps log file size? One turtle finishes, the other gets stuck on like row 13 column 13 on level 18 after working its way up from the bottom (both times), and both times both turtles have ejected their slot 15 chests at their first visit to the drop off chest. I will download 0.51 a bit later when I am home on the main computer and easily able to restart the server.

I must say that I find the alteration to bottom-up digging a bit disconcerting as I now find my turtles hovering over a hole directly to bedrock (or, in both instances I've run it, LAVA.) Not a fan of that, really.

#138 Deor

  • Members
  • 27 posts

Posted 11 January 2013 - 11:59 AM

Mine was 15 by 15, started at level 52.

#139 AustinKK

  • Members
  • 124 posts
  • LocationLeeds, UK

Posted 11 January 2013 - 10:08 PM

Hi Guys,

I've found the problem, and pretty sure I've fixed it.

I've updated the debug version with the fix (TRtdTB19) so that is now version 0.52. If one of you guys could give it one last test before I update the standard version with the bug fix I would appreciate it.

Thanks in particular to Deor, Kadura and bruteman for helping me get to the bottom of this...

Kadura, not sure why you're getting problems. If this fix works, I'll take the log file writing out of the version that I release. In terms of digging from the bottom up, I guess if the turtle was working, then would be no problem, but yes I see your point. I think I'm going to need to add the ability for the turtle to restart sooner rather than later...

#140 Deor

  • Members
  • 27 posts

Posted 12 January 2013 - 12:13 AM

No problem mate, any time!

Have set it off again and will report back, same size as before.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users