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

1.58 Chat Monitoring

Started by uNeekHG, 11 June 2016 - 11:48 PM
uNeekHG #1
Posted 12 June 2016 - 01:48 AM
http://pastebin.com/FU2sGQmf

I made this for my 1.6.4 Tekkit Server and it says that there are multiple errors with it, it says
"File not found"
"File not Found"
Fix:17: attempt to index ? (a nil value)

I know what a nil value means but I dont know how to fix any of the problems, any ideas
The CC version is 1.58
Bomb Bloke #2
Posted 12 June 2016 - 02:22 AM
The API files "eAPI" and "json" cannot be found. os.loadAPI() relies on absolute paths; if those files exist in subfolders relative to the root of the drive, you'll need to specify.

shell.resolve() can do this for you, if the API files exist in the same subfolder you're running the script from:

os.loadAPI(shell.resolve("eAPI"))
os.loadAPI(shell.resolve("json"))
uNeekHG #3
Posted 12 June 2016 - 03:13 AM
I realized that and have since created both of them but now I have a problem with eAPI http://sitenil.comli.com/CC/API/essentials.lua
its now saying line 3, I have a terminal placed on top of the computer
uNeekHG #4
Posted 12 June 2016 - 03:50 AM
Nvm, the command being used was for 1.7.10 while Im in 1.6.4, fixed it, thanks for the help