Could you help me out?
I've got a single monitor attached to my adv. computer. The goal is to show just one button which can be pressed to open some piston door I made.
The reason I want to use a computer is to be able to keep it open for a longer period of time without having to build a big rs construction.
The code I used can be found here:
http://pastebin.com/1tszfhZ8
comment: I deleted the "right" button
I tried two options:
t:add("left", nil, 2, 4, 2 , 4, colors.red, colors.lime)
leading to error: touchpoint:13:vm error:Java.lang.NegativeArraySizeException
and
t:add("left", pulse(), 2, 4, 2 , 4, colors.red, colors.lime)
leading to error: "Touchpoint:104: attempt to index ? (a nil value)
I've got no clue why this code, which is so similar to your example generates errors in the API itself
thanks in advance.
Edited by Crucidal, 08 November 2013 - 09:13 AM.