Jump to content




Please help with computercraft mob spawner (mfr)


  • You cannot reply to this topic
4 replies to this topic

#1 lordofttude

  • Members
  • 19 posts

Posted 22 November 2014 - 08:23 AM

Hello, due to my inexperience with computercraft I an unable to get this program demonstrated in this video:https://www.youtube.com/watch?v=cPGYSG19Y2U to work.

I keep getting the error on line 19 "attempt to index ? (a nil value)"
Any help would be much appreciated, thanks.

pastebin code for the turtle:bBBxyeV5
pastebin code for the main computer:eqVEnu2H

Edited by lordofttude, 22 November 2014 - 10:12 AM.


#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 22 November 2014 - 09:03 AM

Do you have a chest immediately behind the computer? What version of CC are you using? What version of OpenPeripherals are you using?

#3 lordofttude

  • Members
  • 19 posts

Posted 22 November 2014 - 10:10 AM

View PostLyqyd, on 22 November 2014 - 09:03 AM, said:

Do you have a chest immediately behind the computer? What version of CC are you using? What version of OpenPeripherals are you using?
I have the chest immediately behind the turtle with the correct orrientation of east/west. The computercraft version I am using is 1.65, and OpenPeripheralCore version 0.5.0 and OpenPeripheralAddons 0.2.0.

#4 lordofttude

  • Members
  • 19 posts

Posted 22 November 2014 - 10:49 AM

View Postlordofttude, on 22 November 2014 - 10:10 AM, said:

View PostLyqyd, on 22 November 2014 - 09:03 AM, said:

Do you have a chest immediately behind the computer? What version of CC are you using? What version of OpenPeripherals are you using?
I have the chest immediately behind the turtle with the correct orrientation of east/west. The computercraft version I am using is 1.65, and OpenPeripheralCore version 0.5.0 and OpenPeripheralAddons 0.2.0.
Thanks very much for responding but I acually figured it out now, here is the updated pastebin if you are interested:B1ZHTthj

#5 Bomb Bloke

    Hobbyist Coder

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

Posted 22 November 2014 - 12:34 PM

If you run this on the turtle, what output do you get? Type it in directly, don't use the Lua prompt:

openp/docs back






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users