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

Touchscreen Monitor Button Help

Started by DeluxeMirror19, 02 April 2013 - 09:14 AM
DeluxeMirror19 #1
Posted 02 April 2013 - 11:14 AM
I'm a bit of a n00b when it comes to coding and programming and was wondering if someone here could write me a program that uses Touchscreen Monitors and bundled redpower cables. I'm trying to setup a mob farm using redpower cables and computercraft and don't know how, So if someone could help me that would be great.
SuicidalSTDz #2
Posted 02 April 2013 - 11:18 AM
Ah, a wild Engineer appears! *SuicidalSTDz allows Engineer explain the art of button making*

On topic: We generally don't like to 'hand' out an entire program/script/etc. If someone is willing to, well, then that's all fine. Most members will say yes, however, few won't. But those few WILL help you along the way ^_^/>

Do you have a picture of your setup so we can get an understanding of how it should be setup in the code?
DeluxeMirror19 #3
Posted 02 April 2013 - 11:19 AM
Ok. Could someone link me a post with a program that could help me with this then?
SuicidalSTDz #4
Posted 02 April 2013 - 11:23 AM
This is a very nice program. If you don't want to use it and would rather make your own, then I suggest looking at the code. You will have to add in redstone outputs and such since he has not yet implemented it.

If you have any questions about the code or want to do it yourself, come back here and we will be glad to help ^_^/>
DeluxeMirror19 #5
Posted 02 April 2013 - 11:56 AM
Thanks. This helped a lot!
SuicidalSTDz #6
Posted 02 April 2013 - 12:09 PM
No probs ^_^/>
EntwinedBirch #7
Posted 01 May 2013 - 02:43 AM
I'm having an issue with this code. The display appears on my monitor, but instead of working, it tells me at the bottom that lua expected a number at line 213. Please help.
jag #8
Posted 01 May 2013 - 05:21 AM
Please post your code (or just line 212 - 214) so that we can spot the error for you. It's very hard to tell what's wrong from a small error message.
EntwinedBirch #9
Posted 01 May 2013 - 01:46 PM
Ah, I apologize for wasting time, but it seems my error was just a matter of using colors.lightGrey, which doesn't work.
jag #10
Posted 02 May 2013 - 12:02 PM
If I don't understand this incorrectly then colors.lightGrey is a misspelling, it's spelled colors.lightGray (with an A instead of E at the end).