Turtle Script: Placement Turtle

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

iMontouch

New Member
Jul 29, 2019
147
0
0
This turtle script is used to place turtles for the script by Nyan. Since you should only use it with this script and because of laziness, I take over his Thread design. Okay. Mainly because of laziness. Also make sure that you are a little bit familiar with his script.


This script is making huge "damage" to your world. Its an army of mining turtles. So be sure that none of your neighbors is in the way of the march.

Preamble
I started using his script with 2 turtles. After they were finished (100 Blocks long) I recognized how easy it is to get much ressources with a small amount of time and materials. So I started to place more of them. After a week we had 2-3 chunks (48 turtles) running. This gave us a huge intake for the midgame. The problem was, that I had to place, fill and program every turtle. Again and again. I used diskdrives with a startup command, but that wasnt that much faster. And our need of ressources growed fast. I decided to write a script which places the turtles for me and starts them. In the beginning I was just laying 64 turtles and 128 enderchests (64 coal, 64 dump) + the diskdrive and the disk with the startup in the turtle. But that wasnt good enough for me. I started using enderchests to pull the things needed directly. Using this I was able to place about 700 turtles in just 2-3 hours.


Needed
  • 1x Chunkloader (Mining) turtle
  • 1x Diskdrive
  • 1x Disk
  • 3x 2 Enderchests of one color (used for the materials)
  • 1x Enderchest with coal in it (suggest: use the same as the coal Chest in Nyans Script)
  • (1x PC [+ Diskdrive] for writing the startup command on the disk.)
The materials here are *not* the materials for the turtles placed. Its only for the "main"-turtle.

Usage
Place the turtle at a really high place where you can make sure that there wont be anything in its way, because atm the turtle wont dig its way (maybe I will add this later). Make sure that there is absolutely nothing under or in front of the turtle.
Now the turtle needs to be filled up like that:
1619062051e57d8ce23e3.png

The first 3 Enderchests (meaning: NOT the coal Chest) are for the materials. So you should know which is which.
The first Chest has to be filled with ChunkLoaderMiningTurtles.
The second Chest has to be filled with dump EnderChests.
The third Chest has to be filled with coal EnderChests.
To load the startupscript on your disk, you simply download the startup script on a computer of your choice with an attached diskdrive (containing the disk) and then run the command:
Code:
copy /startup_script/ /disk/startup/
Now all you have to do is label the turtle (label set customName) and run the script. The turtle will start taking things out of the enderchest and places them.
The turtle will place them in a straight line and places the turtles to the left. I could add an option to place them on the right instead of the left, if requested.

Features
  • Session persistence (still needs some testing)
  • If one of the material chests are empty, it will wait until it is filled again
  • fuels itself from an enderchest
Download
Pastebin: pastebin get xhgrjUZJ placer (has to be called placer)
TurtleScripts: market get gjdhkm placer y

Startup Scripts
The Startup Script gives the placed turtles their initial information. This initial information is:
Code:
label set mturtle
pastebin get c5Q0Pien dig
turtle.turnRight()
turtle.turnRight()
sleep(7)
dig 60 50000 return
This is not the code inside of the startup script, its the code the startup script "sends" to the turtle. If you want to build your own, try modifying mine.
The Script(s):
Pastebin: pastebin get isAEK6UV startup_script
TurtleScripts: market get gjdhkn startup_script y
Every turtle will dig its way from bedrock to 60. 50000 blocks long.

Notice
Since the startup script is hardcoded and I dont know another method than this, you have to decide if you want to use my startup command (eg.: dig 60 50000 r) or write your own (I will publish the commented code). If you dont want to go into coding I can write one for you.
I will try to relase some usual startup commands + the ones requested

Additionally
I think that this all might sound difficult and hard to understand. If you like to, I will release a YT video or add additional information. Just ask.

Asked Questions
Since its not frequently, its just asked. To keep an eye over it.

You also have to build tons of ender chests correct? Doesnt it require 2 ender chests per turtle?
Yes, you only need 2 per turtle you want to place.

Is there any posibility to run your script together with a other mining script then Nyans?
If the logic is the same (turtle next to turtle) its not a big problem. If its different I could try to code something special for that script and release it here.

After the mining turtles finished their work, you will have to spend an other 2-3 hours to set all of them again, don´t you?
Since I send them all 50k blocks away, never to be seen again, I dont worry about this part. But technically you are right. If you dont want to sent them that far, you have to collect/start them again. But I think its easier to build new ones. You will have enough to do so :D
Criticism
If you think something should be changed, simply say so. I am open for constructive criticism.

Known Bugs
- Sometimes the pTurtle loads ALL its enderchests into a turtle.
-> Trying to fix this atm.

Changelog
1.0 initial release (xhgrjUZJ)
 
  • Like
Reactions: Nyan and Geometry

zorn

New Member
Jul 29, 2019
627
0
0
A video would be nice, is there some way to make mining turtles without diamonds? Becuase 700 turtles would cost 2100 diamonds.
 

iMontouch

New Member
Jul 29, 2019
147
0
0
I will make one for sure! :) I just dont like scripts were the ONLY description is a video :D

You could use rubys for the turtles, but this way they wont bring you obsidian.
+ A turtle costs you 3 Dias for the PickAxe + 2 for the Chunkloader/world anchor. So you need 3,5k dias for 700 turtles. But you dont need to have them at once. Lets say you have 200 dias to spend. That would give you 40 turtles. You supply them and then you wait until tomorrow. Now you have new diamonds. New diamonds = new turtles --> and so on.

You could also use a Miniumstone combined with gold from a T5 Pigman spawner.
 

zorn

New Member
Jul 29, 2019
627
0
0
Ahh, very true I wasnt thinking very well. This script is ... epic. :)

One other question... how do you get t5 shards so fast? Having a t5 wither spawner doesn't seem like an early game option for most people. Im using MFR's tree farms or charcoal, but I saw your wither shard on your stream, and im pretty sure one MFR tree farm can produce charcoal that fast. and its fairly cheap to setup, and uses charcoal or energy so it needds nothing once you get it going.

You also have to build tons of ender chests correct? Doesnt it require 2 ender chests per turtle?

Well that was more than one question sorry lol.
 

Dentvar

New Member
Jul 29, 2019
678
0
0
1. I know this is still not fnished and thats why there is no code yet, but is there any posibility to run your script together with a other mining script then Nyans?

2. If i got you, you build up a lot of turtles with a other turtle. So after the mining turtles finished their work, you will have to spend an other 2-3 hours to set all of them again, don´t you?

Anyway, nice idea so far. Will be a lot more compftable to set them up and start into mid game.
 

Hoff

Tech Support
Oct 30, 2012
2,901
1,502
218
Lastly... what ftb do you play? I dont think ultimate has chunkloader turtles, if not it appears i couldnt use this. which is a shame, it looks crazily fun, at least to marvel at how much you mess up the landscape and stock up on resources.

Ultimate and the beta packs have chuckloading turtles. You craft any chunkloader(Spot loaders are cheapest) with a wireless modem(8 stone around a redstone torch). Then craft that with a the turtle.
 

iMontouch

New Member
Jul 29, 2019
147
0
0
Ahh, very true I wasnt thinking very well. This script is ... epic. :)

One other question... how do you get t5 shards so fast? Having a t5 wither spawner doesn't seem like an early game option for most people. Im using MFR's tree farms or charcoal, but I saw your wither shard on your stream, and im pretty sure one MFR tree farm can produce charcoal that fast. and its fairly cheap to setup, and uses charcoal or energy so it needds nothing once you get it going.

You also have to build tons of ender chests correct? Doesnt it require 2 ender chests per turtle?

Well that was more than one question sorry lol.
thank you! :)

We found the simple way of combining them. For a T5 spawner of ANY kind (besides the ones you CANT get like wither) you only need 1 of the type needed with 1 kill and 9 random ones. Just fill your hotbar with 7 cobbles, 1 weapon and a stack of soul shards and start slaying the pigmen. When a pigmen is slayed the soul will go into one shard, which will go into your inventory. So you dont have to move the shards and you go really fast. We made that directly after the first mining turtle. So its early game.

Yes, you only need 2 per turtle you want to place :) Could you tell me the point where this wasnt that clear? I will change that :)

np. ask as much as you want! :D

1. I know this is still not fnished and thats why there is no code yet, but is there any posibility to run your script together with a other mining script then Nyans?

2. If i got you, you build up a lot of turtles with a other turtle. So after the mining turtles finished their work, you will have to spend an other 2-3 hours to set all of them again, don´t you?

Anyway, nice idea so far. Will be a lot more compftable to set them up and start into mid game.
1. you could for sure. Atm my script places one turtle after the other. So your script should be using the same logic. Understood? :)
--> If you want to, I can write a script to use for your wished script.
2. Since I send them all 50k blocks away, never to be seen again, I dont worry about this part. But technically you are right. If you dont want to sent them that far, you have to collect/start them again. But I think its easier to build new ones. You will have enough to do so :D
 

Dentvar

New Member
Jul 29, 2019
678
0
0
thank you! :)

We found the simple way of combining them. For a T5 spawner of ANY kind (besides the ones you CANT get like wither) you only need 1 of the type needed with 1 kill and 9 random ones. Just fill your hotbar with 7 cobbles, 1 weapon and a stack of soul shards and start slaying the pigmen. When a pigmen is slayed the soul will go into one shard, which will go into your inventory. So you dont have to move the shards and you go really fast. We made that directly after the first mining turtle. So its early game.

Yes, you only need 2 per turtle you want to place :) Could you tell me the point where this wasnt that clear? I will change that :)

np. ask as much as you want! :D


1. you could for sure. Atm my script places one turtle after the other. So your script should be using the same logic. Understood? :)
--> If you want to, I can write a script to use for your wished script.
2. Since I send them all 50k blocks away, never to be seen again, I dont worry about this part. But technically you are right. If you dont want to sent them that far, you have to collect/start them again. But I think its easier to build new ones. You will have enough to do so :D


Got it :) I always used AustinKK´s script so I have to change the position of every turtle and the 2 nessesary chests every now and then.
Acctualy there is no need to use Austins script because I have no hurry to get all the stuff in case I have unlimited Fuel and just want to maintain my warehouse in late game. ( not using a lot of stuff)
Yours in comination with Nyans should do this.

But if you want to make this the most effective possible you may take a look into his script and just add some code at the end.
I´m not very advanced in coding so I´m not sure if it would be compatible with his script.
But once the turtle finished his job (cleaning a area of x * y) all the extra code has to do is tell him to pick the 2 chests, move x+2 ahead and place the chests again were they go. Then begin again to pick.
A second turtle can be setup next to it without any problem.
You maybe have to adapt the original script and put some fix X and Y values in so the turtle don´t ask you to enter them before it starts.

I don´t know, its just an Idea. Not sure if its that easy as it sounds xD
 

iMontouch

New Member
Jul 29, 2019
147
0
0
I know his script, I use it atm. But I think you dont need it if you can use Nyans.

Extending my script for placing chests and starting turtles for his is not a problem.
The problem would be to make sure that the turtles start another quarry after the first one is ready. At this point the coding is inside his script. Maybe I find a way. Or he will do it. :)
 

Dentvar

New Member
Jul 29, 2019
678
0
0
It wo
I know his script, I use it atm. But I think you dont need it if you can use Nyans.

Extending my script for placing chests and starting turtles for his is not a problem.
The problem would be to make sure that the turtles start another quarry after the first one is ready. At this point the coding is inside his script. Maybe I find a way. Or he will do it. :)

Hmmmm, call me pighead, but I do not like the fact that the turtles are getting lost. Also I didn´t go to much into Nyans script because I´m not at home so I can´t test it. But if its stripe mining it would just mine 1 line of an ore cluster. And the next turtle would mine the next line of it. So this is not as effective as a quadrant pattern mining script.

But maybe it’s just me being to charmed by Austin´s Mojo :p


In the end it’s a fantastic peace of work you are giving us here so I don´t want to force you doing it different.
Just thought that now that you are putting a thread for it is maybe the time to make you wanting it to be perfect ;)
 

iMontouch

New Member
Jul 29, 2019
147
0
0
Hmmmm, call me pighead, but I do not like the fact that the turtles are getting lost. Also I didn´t go to much into Nyans script because I´m not at home so I can´t test it. But if its stripe mining it would just mine 1 line of an ore cluster. And the next turtle would mine the next line of it. So this is not as effective as a quadrant pattern mining script.

But maybe it’s just me being to charmed by Austin´s Mojo :p


In the end it’s a fantastic peace of work you are giving us here so I don´t want to force you doing it different.
Just thought that now that you are putting a thread for it is maybe the time to make you wanting it to be perfect ;)
they dont really get lost. They just work for 50k blocks. Thats 50k x 50, making 2,5 million blocks, per turtle. IF you play that long :p

Could you explain the part with the 1 line ore cluster? Because I think that is exactly what Nyan script does.. :)

Any criticism is appreciated, so dont mind to write it.
 

Dentvar

New Member
Jul 29, 2019
678
0
0
they dont really get lost. They just work for 50k blocks. Thats 50k x 50, making 2,5 million blocks, per turtle. IF you play that long :p

Could you explain the part with the 1 line ore cluster? Because I think that is exactly what Nyan script does.. :)

Any criticism is appreciated, so dont mind to write it.


Hm, ok when I´m at home I will go and see how this works. Sorry for talking without having any idea of what this was about .... Dentvar.Facepalm(self)
 

Dentvar

New Member
Jul 29, 2019
678
0
0
Hm you tricked me! Or I didn´t explained well.

Not sure if I´m right but ores are distributed per chunck(press F9 and you can see them)
So if you just mine a straight line for 50k blocks and an other second line just next to it you will pick in 781 different chuncks but just 2 lines in each.
with 2 turtles and Austin´s way, you can set it to 64x64 and mine the two hole chunck. and have a higher posibility to get that diamond(or what ever ore) created in this chuncks.

So Nyans way will get = effective in terms of ore chance in the moment you ahve 64 turtles mining at once.
[Did this without deeper calculation... but feels right ]

But finaly you are right. Since turtles are cheep and you probably get the 64 turtles very fast, and you give us a OP script to place them all with one singel turtle.

All I can say, hurry I want this before 20:00 PM[GMT+1] when I have to reposition my quarrys. LOL!

Great work!
 

iMontouch

New Member
Jul 29, 2019
147
0
0
Ah now i understood :D

yes you are right, austin's way is much more efficient, since just need 2 turtles and dont use them ores.

But thats not what I want :D I want them ores fast. For that, I accept the cost + I think in the end, it all doesnt matter. (that lp.)

i will release it until then ;)

ty^^
 

PhilHibbs

Forum Addict
Trusted User
Jan 15, 2013
3,174
1,128
183
Birmingham, United Kingdom
One other question... how do you get t5 shards so fast? Having a t5 wither spawner doesn't seem like an early game option for most people.
Use a Gravity Gun to take a vanilla skeleton spawner into the nether and build a drop trap with it. Most of the skellies spawned will be Wither Skeletons. Whack them with a Soul Stealing V sword and you'll get that T5 shard fast and without cheating.
 

iMontouch

New Member
Jul 29, 2019
147
0
0
1.0 version released.
video will come the next days. I am placing it for myself today in my stream (german) so I will post the part as a temporary solution here. A couple of days later I will release an english tutorial.

Also: You know, its a really young script, so if you see any bugs, just report them please! :)

I already found a bug for myself. At some point the turtle is putting too much enderchests into the placed turtle. After some more testing I will be able to fix this bug.
 

Nyan

New Member
Jul 29, 2019
18
0
0
Nice script) And yeah, I know that mining in a straight line is not efficient, but I just hate relocating turtles or quarries when they are done and this approach was my solution - set up one and forget about it for quite a while. Besides, it was intended to use with many turtles anyway.