Jump to content




Problem with paintutils/drawing an image


2 replies to this topic

#1 Sigma

  • New Members
  • 2 posts

Posted 26 May 2018 - 01:05 PM

So, I'm currently trying to draw an image on my computer, but it won't work, basically no matter what I've tried to do.

This is what my code looks like:
local image = paintutils.loadImage("lol.nfp")
paintutils.drawImage(image, 1, 1)

But, this is my error:
"paintutils.lua:38: attempt to call nil"

Anyone here able to help?

#2 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 26 May 2018 - 01:07 PM

That's a bug in the beta build of ComputerCraft you're using. More recent versions are available around the place:

http://www.computerc...ork-cc-tweaked/
https://cc.crzd.me/

#3 Sigma

  • New Members
  • 2 posts

Posted 26 May 2018 - 01:55 PM

View PostBomb Bloke, on 26 May 2018 - 01:07 PM, said:

That's a bug in the beta build of ComputerCraft you're using. More recent versions are available around the place:

http://www.computerc...ork-cc-tweaked/
https://cc.crzd.me/

Thanks alot, it works perfectly now!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users