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

[1.4/1.5] TURTLES should be able to READ SIGNS

Started by SilentPro, 10 August 2012 - 03:27 PM
SilentPro #1
Posted 10 August 2012 - 05:27 PM
With v1.41 turtles can place signs with text, but it would be even more uselful (at least for me),
if turtles could read placed signs as well.
It could be incorporated into the "turtle.dig…()" functions, which return the text of the sign after picking it up.

Advantages:
You could leave some messages for turtles in the field for them to find,
instead of building a rednet communication network or complex user interfaces.

For instance, you could:
  • mark trees to be chopped
  • mark dig outs (holes, tunnels) to be made with stated location and dimensions
  • mark a path to follow the user with infos on changed direction
  • mark intersections in "abandoned mineshafts" and let the turtle dig out the complex structure with your help
  • give information on chest contents
  • use them as blueprints for simple builds
  • …much more!
Sebra #2
Posted 11 August 2012 - 02:57 PM
If Turtle can write, why cannot it read signs?
Support it.
Pharap #3
Posted 12 August 2012 - 08:03 AM
mark trees to be chopped
-can be done with a co-ordinates system
mark dig outs (holes, tunnels) to be made with stated location and dimensions
-can be done with a co-ordinates system
mark a path to follow the user with infos on changed direction
-nearly impossible, and highly improbable, it's not a dog
mark intersections in "abandoned mineshafts" and let the turtle dig out the complex structure with your help
-again, with a co-ordinates system, this is possible.
give information on chest contents
-if you organise your chests, this can be done with co-ordinates
use them as blueprints for simple builds
-this can be done with the organised chests and telling the turtle what order to pick stuff up in

Pretty much all of that can be done with enough programming. Admittedly the gps system isn't very useful, but you can get a turtle to track it's co-ordinates by counting when it moves, depending on the direction it moves. As for getting a turtle to respond for signs, you can make it test for signs, so if you make it test for 5 different objects that it's not expecting to find in the tunnels (eg sandstone, wood, torches, signs, gates, fencing) you can get it to change direction accordingly.

As for why a turtle can't read signs. Do you know of any computers that read signs?
To put it a better way, do you know of any computers that can scan signs, then convert the text on the image into a text file?
Logically, it wouldn't make sense that turtles could read signs. Printing is one thing, text recognition is another, after all, they are only machines, they aren't humans.
BigSHinyToys #4
Posted 12 August 2012 - 08:16 AM
mark trees to be chopped
-can be done with a co-ordinates system
mark dig outs (holes, tunnels) to be made with stated location and dimensions
-can be done with a co-ordinates system
mark a path to follow the user with infos on changed direction
-nearly impossible, and highly improbable, it's not a dog
mark intersections in "abandoned mineshafts" and let the turtle dig out the complex structure with your help
-again, with a co-ordinates system, this is possible.
give information on chest contents
-if you organise your chests, this can be done with co-ordinates
use them as blueprints for simple builds
-this can be done with the organised chests and telling the turtle what order to pick stuff up in

Pretty much all of that can be done with enough programming. Admittedly the gps system isn't very useful, but you can get a turtle to track it's co-ordinates by counting when it moves, depending on the direction it moves. As for getting a turtle to respond for signs, you can make it test for signs, so if you make it test for 5 different objects that it's not expecting to find in the tunnels (eg sandstone, wood, torches, signs, gates, fencing) you can get it to change direction accordingly.

As for why a turtle can't read signs. Do you know of any computers that read signs?
To put it a better way, do you know of any computers that can scan signs, then convert the text on the image into a text file?
Logically, it wouldn't make sense that turtles could read signs. Printing is one thing, text recognition is another, after all, they are only machines, they aren't humans.
Here is me getting nit picky. The signs text is not hand writing it is a series of Black and Not back dots arranged in an order to look like letters. a turtle could compare this arrangement of dots to other examples of Letters like the ones it copied to paint / laser burn / ect into the sign. this pattern could be converted into a string and then used for what ever prosperous you had in mind. Yes coordinate based navigation systems could be used for all the thinks you mentioned. But coordinates cant tell you the name of the house owner (there is no public Coordinate / owner list) . You assume that all signs would be placed by the player as such the player could have equally just uploaded coordinates to a data base instead But this is not true turtles and other players make signs and the prosperous / reasons for them cant be determined based on coordinates.

Not that I think it would add much in terms of game play.
Pharap #5
Posted 12 August 2012 - 08:48 AM
Here is me getting nit picky. The signs text is not hand writing it is a series of Black and Not back dots arranged in an order to look like letters. a turtle could compare this arrangement of dots to other examples of Letters like the ones it copied to paint / laser burn / ect into the sign. this pattern could be converted into a string and then used for what ever prosperous you had in mind. Yes coordinate based navigation systems could be used for all the thinks you mentioned. But coordinates cant tell you the name of the house owner (there is no public Coordinate / owner list) . You assume that all signs would be placed by the player as such the player could have equally just uploaded coordinates to a data base instead But this is not true turtles and other players make signs and the prosperous / reasons for them cant be determined based on coordinates.

Not that I think it would add much in terms of game play.

While that is true, you have to assume that a turtle wrote the sign in the first place. Technically speaking if this were a real life situation, any player written sign would have different handwriting to printed signs and signs written by other players. Things would start getting complicated quickly. For one thing a turtle would have to log samples of a player's handwriting for every letter of the alphabet, as well as having to know who the sign was written by (which could induce an infinite recursion).

As for the co-ordinates thing, turtles can be taught to recognise houses providing the house has a door or is made of some non naturally occurring substance, like wooden planks or cobblestone. You could program a turtle to send it's location back to base once it detects a door. It's the same concept as turtle map building software.

And in short, the people in charge of the mod are highly unlikely to implement it anyway.
BigSHinyToys #6
Posted 12 August 2012 - 09:00 AM
all signs are written by Steve or a turtle Impersonating Steve using Steve hand writing (this ant real life). So it is as simple as reading them as a QR code.
with out a list of property bounders A turtle would not be able to tell hows houes it is. or hows bed this is or how 's chest this is. And how is going to create a data base for all that info signs are quicker.
Sebra #7
Posted 12 August 2012 - 09:06 AM
You can place sign "Glass" above chest with Glass. If Turtle detect a sign, it can read it(dig and replace) and know where to suck() Glass from.
Pharap #8
Posted 12 August 2012 - 09:11 AM
all signs are written by Steve or a turtle Impersonating Steve using Steve hand writing (this ant real life). So it is as simple as reading them as a QR code.
with out a list of property bounders A turtle would not be able to tell hows houes it is. or hows bed this is or how 's chest this is. And how is going to create a data base for all that info signs are quicker.

If the turtle detects a certain block, it can relay the block type and co-ordinates to the player, who can then and investigate who's house it is.
Besides which, no players I know actually put a sign at the front of their house saying 'derpy lives here, don't come in'.
The turtle doesn't need to log all the data, it can relay it back to base, thus it prints to screen. Besides, you'd be surprised how much data a table can contain. All the key constants are stored in a table, and there are 200 of those.

And 'steve' is just the basic avatar, not every player is steve, every player is an individual player, with different items and thus different handwriting. A turtle could be 'trained' (programmed) to imitate peoples handwriting, but ultimately if it encounters new handwriting, it's going to have to sample it.
Pharap #9
Posted 12 August 2012 - 09:18 AM
You can place sign "Glass" above chest with Glass. If Turtle detect a sign, it can read it(dig and replace) and know where to suck() Glass from.

Or alternatively you can tell it 'the chest for glass is at these co-ordinates' and the turtle can make itself go to those co-ordinates when it needs glass. It's still reading data, just data it stores internally. Besides, if someone swaps the signs for glass and wood, your house is going to look more like an ugly greenhouse. On top of which, you have to be able to tell the turtle where the sign is in the first place. I'm guessing you'd suggest using another sign, but then the turtle has to know where that sign is, and the sign that tells it to go to that sign, and so on in an infinite recursion of logic.

Compare to co-ordinates system: Turtle, you are at 5, 16, 23, you need to go to 10, 42, 20 and bring me the item that matches the item in your 4th slot. Turtle goes, comes back, no problem, simple computer logic. It makes more sense than signs.
wilcomega #10
Posted 12 August 2012 - 09:18 AM
totaly! support :P/>/>
Sebra #11
Posted 12 August 2012 - 09:33 AM
Pharap, as you say yourself, it is alternative. And as alternative it has good use and bad use.
Coordinate system has it's own little problems.
Imagine a Turtle goes from mine, searches for a chest for some resource, place new chest for new resource, add a sign above it for a player.
I would not ask for reading if writing was not provided.
Pharap #12
Posted 12 August 2012 - 10:50 AM
Pharap, as you say yourself, it is alternative. And as alternative it has good use and bad use.
Coordinate system has it's own little problems.
Imagine a Turtle goes from mine, searches for a chest for some resource, place new chest for new resource, add a sign above it for a player.
I would not ask for reading if writing was not provided.

You mean aside from signs being very easy to destroy?
What problems does a co-ordinate system have?
Does your computer at home read text? And yet it can still print it, funny how that works. And before you ask if my computer can mine around and dig, the answer is no, but it would be easier for most robotics experts to make a remote control robot that digs than it would be for them to make a scanner that could read printed text.
Sebra #13
Posted 12 August 2012 - 11:07 AM
To read printed scanned text is surprisingly easier than to make such Turtle engine.
But we are in Minecraft theme so reality should be in association, not in demand.
You can give coords to one Turtle, to several, make them share that knowledge… But you need to calculate all those coords yourself, distribute them, correct them on any change. If you do not want such alternative, it do not means it bad.
Pharap #14
Posted 12 August 2012 - 11:20 AM
To read printed scanned text is surprisingly easier than to make such Turtle engine.
But we are in Minecraft theme so reality should be in association, not in demand.
You can give coords to one Turtle, to several, make them share that knowledge… But you need to calculate all those coords yourself, distribute them, correct them on any change. If you do not want such alternative, it do not means it bad.

They sell kits to make a robot that moves via remote control, they do not sell kits to build your own text scanner, if it was that simple they would sell them.
Tell that to the people in charge of the mod, they tend to disagree.
It's easy, first, line them all up, designate them all the correct co-ordinates, then edit their code so that when they move, they adjust their co-ordinates accordingly. Calculating the co-ordinates is as simple as counting the number of turtles there are in a line. As long as the turtles are monitoring their own movements, you don't have to worry about a thing, just bring a turtle with you and you will always be able to know where you are. And if you set up a computer to track the other turtles via rednet using their co-ordinates, everything will be just fine.
On top of which, it's easier to remember one set of co-ordinates for where your home is than to have to post a load of signs pointing your way home.
D3matt #15
Posted 12 August 2012 - 03:37 PM
You can download open-source software that can read text and more out of an image. I'm pretty sure my computer at home can't tell me if the material its sitting on matches the material in its inventory. What's your point?
xuma202 #16
Posted 12 August 2012 - 03:55 PM
Look what I made!!

http://www.computercraft.info/forums2/index.php?/topic/3363-smp-mc-125-141-turtle-sign-reader-v-10-turtles-reading-signs/
Pharap #17
Posted 12 August 2012 - 04:45 PM
You can download open-source software that can read text and more out of an image. I'm pretty sure my computer at home can't tell me if the material its sitting on matches the material in its inventory. What's your point?

And yet Capcha and ReCapcha remain one of the main methods of telling bots apart from humans.
I'm pretty sure your computer doesn't have an inventory.
My point is, the creators won't implement it, and so far, most of the suggested ideas can already be achieved through other means.
Sebra #18
Posted 12 August 2012 - 07:21 PM
Look what I made!!
Cool, but why ARP incompatible?
Xfel #19
Posted 12 August 2012 - 07:56 PM
I'm looking into it.
xuma202 #20
Posted 12 August 2012 - 08:18 PM
Look what I made!!
Cool, but why ARP incompatible?

I missed checking if the id I'm using for the Turtle upgrade is already in use. I've already reserved the id I will use and I'll put up a fixed version tomorrow or later this day. I'm very sorry for this.
Pharap #21
Posted 12 August 2012 - 09:55 PM
Look what I made!!
Cool, but why ARP incompatible?

Isn't the fact he made it more than enough?
xuma202 #22
Posted 12 August 2012 - 09:58 PM
Look what I made!!
Cool, but why ARP incompatible?

Isn't the fact he made it more than enough?
No it will be compatible very soon I only have to upload the fix. Please stay patient.
Pharap #23
Posted 12 August 2012 - 11:50 PM
Look what I made!!
Cool, but why ARP incompatible?

Isn't the fact he made it more than enough?
No it will be compatible very soon I only have to upload the fix. Please stay patient.
Why are you quoting me for that, I was implying that people should be thankful it exists and not start begging for more features or questioning it.
xuma202 #24
Posted 13 August 2012 - 01:40 PM

Why are you quoting me for that, I was implying that people should be thankful it exists and not start begging for more features or questioning it.

Well I've been quoting you because they all were right it was my mistake that the mod was incompatible with ARP. It's ok when they say it's not good that it's incompatible. You don't have tell them to be thankful because they don't have to because of this bug.

However I've fixed the error now v 1.1 should work with ARP. Thread
Pharap #25
Posted 13 August 2012 - 10:39 PM

Why are you quoting me for that, I was implying that people should be thankful it exists and not start begging for more features or questioning it.

Well I've been quoting you because they all were right it was my mistake that the mod was incompatible with ARP. It's ok when they say it's not good that it's incompatible. You don't have tell them to be thankful because they don't have to because of this bug.

However I've fixed the error now v 1.1 should work with ARP. Thread

All right then, in future I wont tell people not to be ungrateful.
D3matt #26
Posted 15 August 2012 - 03:28 AM
You can download open-source software that can read text and more out of an image. I'm pretty sure my computer at home can't tell me if the material its sitting on matches the material in its inventory. What's your point?

And yet Capcha and ReCapcha remain one of the main methods of telling bots apart from humans.
I'm pretty sure your computer doesn't have an inventory.
My point is, the creators won't implement it, and so far, most of the suggested ideas can already be achieved through other means.
Why do you think CAPTCHA has to be so warped and scrambled? Because computers could easily read plain text. There are commercial products out there capable of reading books, etc. And built-in to windows is the ability to write on a touchpad and have it be converted into text.

Putting stuff into chests could be acomplished with buildcraft. Getting stuff out of turtles could as well. Transmitting messages could be accomplished before rednet. Mining turtles can dig just as well as digger turtles and chop wood just as well as feller turtles. So what's your point? Should those things have never been added either because they can be done other ways? Being able to read signs adds interesting possibilites for communicating between players and turtles, at the very least.
GopherAtl #27
Posted 19 August 2012 - 01:31 AM
Not to be argumentative, but a computer that I can point at signs and read them… I carry one in my pocket, it's called an iphone. Not perfectly reliable, of course. Reading isn't that hard, it's understanding that's hard, and obviously turtles would only understand signs they were programmed to understand.

I agree that using signs to communicate between turtles is a bit silly, but I could see applications for this as a way for players to leave notes to modify the way turtles will behave. I wouldn't call it a must-have feature or anything, but I just don't see anything overtly WRONG with the feature.
Pharap #28
Posted 19 August 2012 - 01:13 PM
You can download open-source software that can read text and more out of an image. I'm pretty sure my computer at home can't tell me if the material its sitting on matches the material in its inventory. What's your point?

And yet Capcha and ReCapcha remain one of the main methods of telling bots apart from humans.
I'm pretty sure your computer doesn't have an inventory.
My point is, the creators won't implement it, and so far, most of the suggested ideas can already be achieved through other means.
Why do you think CAPTCHA has to be so warped and scrambled? Because computers could easily read plain text. There are commercial products out there capable of reading books, etc. And built-in to windows is the ability to write on a touchpad and have it be converted into text.

Putting stuff into chests could be acomplished with buildcraft. Getting stuff out of turtles could as well. Transmitting messages could be accomplished before rednet. Mining turtles can dig just as well as digger turtles and chop wood just as well as feller turtles. So what's your point? Should those things have never been added either because they can be done other ways? Being able to read signs adds interesting possibilites for communicating between players and turtles, at the very least.
If you know what ReCapcha's second purpose is, you'll know why it makes my argument stronger.
Some of the images used by ReCapcha are taken from hand written books. Computers can't read them because the hand writing is too joined up or only readable by humans. If you were to scroll something down quickly, it would be scruffy, but probably readable by other humans. It would however be pretty much illegible to computers.

Some people don't want/don't have build craft, Rednet sped up message transfer. I can't defend the making of felling turtles or digging turtles since aside from crafty turtles and attacking turtles, the other turtles do seem slightly pointless when the mining turtles can do those jobs.

And my point stands that the creators are still unlikely to permanently implement it, hence someone made a peripheral for it.


Not to be argumentative, but a computer that I can point at signs and read them… I carry one in my pocket, it's called an iphone. Not perfectly reliable, of course. Reading isn't that hard, it's understanding that's hard, and obviously turtles would only understand signs they were programmed to understand.

I agree that using signs to communicate between turtles is a bit silly, but I could see applications for this as a way for players to leave notes to modify the way turtles will behave. I wouldn't call it a must-have feature or anything, but I just don't see anything overtly WRONG with the feature.

If I wrote something in neat joined up handwriting, could your iphone accurately read that and convert it into a string variable?
Even with the most up to date software, there are some things only humans can read, and logically minecraft signs would be written with handwriting, thus some would be illegible to machines.

I'm not saying it's hideously wrong, just that it's illogical, unlikely to be installed as a permanent thing by the creators and generally most of the features given as examples of its usage can already be done without it.
immibis #29
Posted 20 August 2012 - 09:14 AM
If I wrote something in neat joined up handwriting, could your iphone accurately read that and convert it into a string variable?
CC computers are not iPhones, and Steve does not write in neat joined up handwriting.

logically, minecraft signs would be written with handwriting
No, they're written in pixely text that's the same every time and easy for a computer to decipher.
Logically, all Minecraft signs are blank, since Steve doesn't have a pen.
Pharap #30
Posted 20 August 2012 - 05:12 PM
If I wrote something in neat joined up handwriting, could your iphone accurately read that and convert it into a string variable?
CC computers are not iPhones, and Steve does not write in neat joined up handwriting.

logically, minecraft signs would be written with handwriting
No, they're written in pixely text that's the same every time and easy for a computer to decipher.
Logically, all Minecraft signs are blank, since Steve doesn't have a pen.
The player and steve are not one in the same. Have you never played as notch?

Well maybe he writes them in blood then, or carves them, both make more sense than pixels.
Cranium #31
Posted 20 August 2012 - 05:34 PM
The player and steve are not one in the same. Have you never played as notch?

Well maybe he writes them in blood then, or carves them, both make more sense than pixels.
Coal. There's loads of it.
Pharap #32
Posted 24 August 2012 - 03:27 PM
The player and steve are not one in the same. Have you never played as notch?

Well maybe he writes them in blood then, or carves them, both make more sense than pixels.
Coal. There's loads of it.
I'm still saying carving by hand is more likely. If I ever get chance to talk to Notch, I'll take him up on this and see what he has to say. No doubt when he realises he will have made you need charcoal to write on a sign, or there will be a pencil/ink pen item. Or he will just give the typical response of 'magic'. It's the fallback for pretty much all GameDev's awkward questions.
TehSomeLuigi #33
Posted 12 October 2012 - 06:47 PM
I totally agree with this. Imagine if you had a storage system for example, you want turtle to read what is in a chest WITHOUT NEEDING FLOPPIES EVERYWHERE