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

TouchControl error

Started by Tejprulle, 12 July 2013 - 01:39 PM
Tejprulle #1
Posted 12 July 2013 - 03:39 PM
Hi, I used DireWolf20's button API to create a touch screen monitor. It worked at first but then i moved the computer and the screen, put it down again. Loaded the API from pastebin and loaded my program from a diskdrive. I tried to find a solution to the problem for half an hour but couldn't find any. I even tried to rewrite the whole program but it still didn't work.

The errors I get are:
API button is already being loaded
touch:6: attempt to index ? (a nil value)

My code is available at:
http://pastebin.com/v8pma0pb

Direwolf20's buttonAPI:
http://pastebin.com/1iwuzsh8

Thanks for the help in advance! :)/>/>
Lyqyd #2
Posted 14 July 2013 - 08:36 PM
Split into new topic.