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

Advanced monitor buttons help

Started by ShadowDisruptor, 06 April 2014 - 12:00 AM
ShadowDisruptor #1
Posted 06 April 2014 - 02:00 AM
Hello! I have been working on a monitoring system on tekkit. The thing I need help with is how to make buttons, program them, and position them. If you could point me to a helpful video, that would be best for I am a visual learner.

One thing that I need is for the buttons to be clickable white my system is running a while loop (Updating the info) For example, it keeps updating if the door is opened or closed while there's clickable buttons making it possible to open and close it. Thanks for the help!
guesswhat123212 #2
Posted 06 April 2014 - 06:13 AM
I have a button API that can handle the buttons part if you want to look at it to learn from it, however because it waits for a click it would not update anything. if your on CC1.6 you could run this in one shell and the update in another shell. otherwise the parallel API would be really useful for you.

link to my API post, http://www.computercraft.info/forums2/index.php?/topic/17857-auto-button-api/
parallel functions http://computercraft.info/wiki/Parallel_(API)
ShadowDisruptor #3
Posted 06 April 2014 - 04:48 PM
I have a button API that can handle the buttons part if you want to look at it to learn from it, however because it waits for a click it would not update anything. if your on CC1.6 you could run this in one shell and the update in another shell. otherwise the parallel API would be really useful for you.

link to my API post, http://www.computerc...uto-button-api/
parallel functions http://computercraft...i/Parallel_(API)

Hmm, the button API didn't seem to work for me. Even though I downloaded the API, I got menu:5: attempt to index ? (a nil value)
Thanks for the help though!
guesswhat123212 #4
Posted 07 April 2014 - 04:07 AM
Hmm, the button API didn't seem to work for me. Even though I downloaded the API, I got menu:5: attempt to index ? (a nil value)
Thanks for the help though!

that says menu line 5 is where it had the error at, that would be the program you typed, care to share it up here?