pastebin get HanjL7Mz logger
and type logger to start the program.If you want your Felling Turtle to restart itself in the event of a server restart or it's chunk unloads paste this code too!
pastebin get nDgxjQas startup
Andy Logger Felling Turtle! - By Andrakon
Version 1.72
1.72 Bug fix
Version 1.71 introduced a bug where the turtle would thing it's slots and output chest were full when they were not. It is now fixed
1.71 Bug workaround
Now works with CC 1.52! Found a work around for a bug in computer craft 1.52 where dropping items from an empty slot drops items from the wrong slot! Also the work around makes dropping off items faster. This is done by checking to see if the slot is empty before trying to drop from it.
1.5 IMPORTANT NEW FEATURE!
Andy Logger can now be made to restart on its own, and if it restarts in the field it will finish chopping its tree and find its way home!
You can do this by renaming the logger program to "startup" or by getting my andy logger startup program with "pastebin get nDgxjQas startup"
- All settings configurable with a GUI
- Custom farm sizes, gaps between trees, gaps between turtle and first row, offset first row to the left or right
- Will build the farm for you
- Can recover from restarts in the field if startup script is installed or if named startup
- Knows if fuel usage has been disabled or not automatically!
- Makes its own charcoal with a furnace (optional)
- Can be configured to use a Powered Furnace (optional)
- Picks up saplings from a nearby chest (optional)
- Drops off excess inventory to another nearby chest (optional)
- Slots are configurable
- Time between logging runs is configurable
- Saves settings to a file
- Automatically names your turtle, name can be changed within the menu
- Keeps track of how many saplings are planted, trees felled, and charcoal made
- Does not use a modem
- Cuts 1x1 trees only, works great with Forestry bred trees!
- Can handle farms up to 127 trees!
[media]http://www.youtube.com/watch?v=gFxDsF2Ao5o[/media]
See the code on Pastebin
Layout:
Todo: Rednet
Changelog:
Spoiler
1.1: You can now tell it to start the first row to the left or right of the turtle and you can specify how many blocks! You could even do one row 50 blocks to the left or right and it will still find its way home. It now leaves and re-enters from the same block so you could keep the turtle in a house with a 1x1 hole in the wall. And it is backwards compatible with the logger's old config files.1.2: Fixed a bug where if the user turned off the output chest option the logger program would crash.
1.3: Automatically checks to see if fuel is set to unlimited, does not crash if it is unlimited and the fuel option is not off.
1.4 MAJOR UPDATE!
No longer breaks any saplings when it checks them, no longer wasting saplings or resetting growth times.
This allows for nearly double farming speeds with Forestry trees compared to earlier versions!
NEW MENU ITEM: Powered Furnace! Allows you to replace the regular furnace with a powered one from any mod!
REMOVED MENU ITEM: Use Fuel! If you have fuel disabled for the server your turtle will automatically know!
Reduced times between logging runs by default, re-adjusted the automatic wait time calculation.
If you have an older version then just go into the "Farm Layout" Menu and then back to the main menu to recalculate the wait time
No longer tries to make fuel if the servers fuel setting is off and you didn't change the use furnace setting to off
Some misc. code clean up.
1.5 IMPORTANT NEW FEATURE!
Andy Logger can now be made to restart on its own, and if it restarts in the field it will finish chopping its tree and find its way home!
You can do this by renaming the logger program to "startup" or by getting my andy logger startup program with "pastebin get nDgxjQas startup"
1.6 Cleanup and Reliability Tweaks - UPGRADE HIGHLY RECOMMENDED for auto-restarting turtles!
Made automatic restarting of the turtle in the field vastly more reliable with dozens of minor tweaks. Turtle can usually detect if it ends up in the wrong position unexpectedly after a hard restart in the field and a failed return home. Code cleanup, organization, additional comments, and some optimization. Quit program menu option works properly with automatically restarting turtles now.
1.6.1 Minor update
Changed how the turtle checks for saplings. Tries to detect any block where the sapling is rather than trying to put a dirt block there. May speed things up.
1.6.2 Minor Update
Improved reliability with tree detection in some rare cases, minor upgrade to restart reliability, minor GUI tweak. If one or both of the first two logs of a tree are cut down by something other than the logger, or if the logger ever tried to cut down the first two logs of your trees only, the turtle can now detect if there are still parts of a tree there as long as the 3rd log is still intact. Short version: the logger shouldn't leave your trees hanging by mistake. Also logger checks for blocks in front of it and breaks them before it tries to move forward at all times now instead of just when it was expecting to find something, slightly increases restart reliability in cases where leaves are low hanging.
1.7 Capacity update and Bugfixes
Andy logger can now handle farm sizes of over 64 trees! The current max is 127. You will have to reload the turtle with dirt after the first run, and it will tell you how much it needs. Also it will need to have the same amount of saplings in it as the farms size + 1 after each logging run. Also fixed bugs where the turtle would break the furnace if it restarted while at the home position but facing the wrong direction, or if it was standing on top of the furnace. Commented out old logging code that was made redundant, will remove later. Fixed longstanding bug where the turtle would chop down only the first two logs of the tree, turns out that on some trees the leaves hang low, so on the first run the log slot filled with a sapling before the turtle reached the tree, messing up comparisons. Improved restart reliability again with low hanging leaves. Changed how a few things were done in sapling checking code to reduce unnecessary movements.
1.71 Bug workaround
Now works with CC 1.52! Found a work around for a bug in computer craft 1.52 where dropping items from an empty slot drops items from the wrong slot! Also the work around makes dropping off items faster. This is done by checking to see if the slot is empty before trying to drop from it.
1.72 Bug fix
Version 1.71 introduced a bug where the turtle would thing it's slots and output chest were full when they were not. It is now fixed