Jump to content




Bios:367 Error


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

#1 CrazyWolfTimo

  • Members
  • 4 posts

Posted 19 July 2015 - 10:14 AM

Hello! I am a complete noob at CC... I got someone's script and modified it to meet my needs. When I run the program, I get the error 'bios:367: [string "rfmon":16: '}' expected (to close '{' at line 15)
Here is the pastebin code: yScGqCTH
I don't know what the problem is so any help is appreciated...

#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 19 July 2015 - 07:16 PM

Line 16 should have a comma at the end instead of a period.

#3 CrazyWolfTimo

  • Members
  • 4 posts

Posted 20 July 2015 - 07:05 PM

View PostLyqyd, on 19 July 2015 - 07:16 PM, said:

Line 16 should have a comma at the end instead of a period.
Thanks for your help, I'm such a noob!

New problem, after fixing it it says:
rfmon:32: attempt to index ? (a nil value)

Fixed...

Edited by Cranium, 20 July 2015 - 08:18 PM.


#4 flaghacker

  • Members
  • 655 posts

Posted 20 July 2015 - 08:38 PM

That error means that your trying to use nil (or a variable equal to nil) as a table. On line 32 there are 2 variables used as a table: 'net' and 'storageUnit'. 'storageUnit' can't be nil, as it cimes from a hardcoded table, so net is nil, witch means the peripheral.wrap at line 4 failed. Are you sure there is a valid peripheral at the back of the computer? Try typing this in the interactive lua command line:
peripheral.getType ("back")






2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users