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...
Bios:367 Error
Started by CrazyWolfTimo, Jul 19 2015 10:14 AM
3 replies to this topic
#1
Posted 19 July 2015 - 10:14 AM
#2
Posted 19 July 2015 - 07:16 PM
Line 16 should have a comma at the end instead of a period.
#3
Posted 20 July 2015 - 07:05 PM
Lyqyd, on 19 July 2015 - 07:16 PM, said:
Line 16 should have a comma at the end instead of a period.
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
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











