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

paintutils.drawBox attempt to call nil

Started by rasmorak, 05 February 2015 - 12:22 AM
rasmorak #1
Posted 05 February 2015 - 01:22 AM
HI, I keep getting the attempt to call nil error when trying to use paintutils.drawBox. No matter what context, where, how, or when I do it, it's a nil error.

I've even copy and pasted the code straight off the wiki with the same results.


paintutils.drawBox(2, 3, 10, 7, colors.lime)


lua:52: attempt to call nil. The other paintutils work just fine, with a single problem.
Lyqyd #2
Posted 05 February 2015 - 03:26 PM
What version of ComputerCraft are you using?
rasmorak #3
Posted 05 February 2015 - 03:50 PM
What version of ComputerCraft are you using?

Aaaaaaaaah t.5. I was under the impression that Tekkit had the latest version. Now I feel like an idiot :S Thanks for the help!