This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
TheKevroar's profile picture

turtle.compare()

Started by TheKevroar, 07 December 2012 - 08:30 AM
TheKevroar #1
Posted 07 December 2012 - 09:30 AM
turtle.compare() makes a difference between a "normal" oak log and a sidewise placed oak log.
This is also tue for the other types of logs.

Unfortunately this makes it impossible to detect the branches of a tall tree, since some of the logs are placed sidewise.

Sorry for my bad english…. ;-)
PixelToast #2
Posted 07 December 2012 - 09:34 AM
known bug, metadata counts as a difference (in this case a sideways log)
TheKevroar #3
Posted 07 December 2012 - 09:39 AM
Sorry for reposting… is there a chance that dan200 wil fix this bug? or is it impossible?

Do you know a solution for my problem?
PixelToast #4
Posted 07 December 2012 - 09:48 AM
Sorry for reposting… is there a chance that dan200 wil fix this bug? or is it impossible?

Do you know a solution for my problem?
.-. im not sure
you can just store some leaves and compare to that instead
Cloudy #5
Posted 07 December 2012 - 10:24 AM
Planned to be fixed, when I get time.

Also it's not really a "bug", just how it works.
TheKevroar #6
Posted 07 December 2012 - 10:40 AM
Thanks to both of you!
Doyle3694 #7
Posted 07 December 2012 - 10:56 AM
didn't you say somewhere you had implemented pick block to compare in a non released version? Or have I got it all backwards? :P/>
Lyqyd #8
Posted 07 December 2012 - 04:24 PM
Last I recall, the superior method of compare() relied on changes in other people's code. That may well have changed, or not.