Survival Toolkit

Started by Inksaver, Dec 17, 2020, 11:18 am

Previous topic - Next topic

Inksaver

I have written a toolkit for use in survival mode, once you have your first Crafty Mining Turtle. The code began in 2014 when I solved the self-replicating challenge on the old forums, and has now been adapted to run on ccTweaked with MC 1.16.3, but this time with player supervision



It is designed to allow you to use just one program to farm crops and trees, mine diamonds and ancient debris, create dungeon mob spawner farms, build canals across land and water. (Canal on water? - parallel lines of cobble 2 blocks apart over the ocean), bridges and pathways in overworld and End, land shaping, ocean monument draining and much more.

I have uploaded 10 videos to youtube so far, with more to follow: Playlist for Toolkit


The toolkit consists of a main file and 2 library files:
main file: https://pastebin.com/UFvjc1bw which will automatically download the library files into a folder called 'lib'

You can get this and a bunch of other utilities by using the command: pastebin run 8qbeZevX

This is still in active development, and I am happy to answer any questions and deal with bugs and improvements
Sent from a computer using a keyboard and mouse.

QuickMuffin8782

Dec 24, 2020, 04:32 am #1 Last Edit: Dec 24, 2020, 04:33 am by QuickMuffin8782
One question, does the turtle itself use the direct pathfinding?
GOTTA GO FAST!!!!
Gitlab - iGP OS - XenusSoft - Hangout

Inksaver

Not sure what direct pathfinding is...
There is nothing that uses any coordinates, with the exception of asking the player for the current Y value on a couple of the utilities.
Sent from a computer using a keyboard and mouse.

QuickMuffin8782

Well direct pathfinding is actually finding a path with any ability to tackle any obstacles that may be in the way.
GOTTA GO FAST!!!!
Gitlab - iGP OS - XenusSoft - Hangout

Earther



I just get this error when trying to use pastebin run on it, I'm using 1.16.4(/1.95), but I would think that this would be the same?

Inksaver

@QuickMuffin8782
As this toolkit is designed to be under direct player control, there is no need for direct pathfinding.
The self-replicating scripts had this ability, as they were designed to be started and left to their own devices:
2014 original https://pastebin.com/JVD1RPfg
2018 update using .inspect() and .getItemDetail() https://pastebin.com/2Zf5an8H


@Earther
I uploaded a script after debugging and missed the ]] used to end a multi-line comment. There is a new version added just now with this corrected, or you can delete the ]] on line 2018 and save. The current version is 20210107.1047.

The getTools.lua script has been modified so it will check versions of all the files and update as required. pastebin run 8qbeZevX or view at https://pastebin.com/8qbeZevX
Sent from a computer using a keyboard and mouse.