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

[Deleted]

Started by Morganamilo, 05 September 2016 - 11:08 PM
Morganamilo #1
Posted 06 September 2016 - 01:08 AM
[Deleted]
Edited on 02 February 2017 - 06:22 PM
Cross_Sans #2
Posted 11 September 2016 - 11:13 AM
multishell.lua:1: index expected, got nil.
And this is STABLE version… :huh:/>
TheRockettek #3
Posted 11 September 2016 - 02:35 PM
multishell.lua:1: index expected, got nil.
And this is STABLE version… :huh:/>/>

You dont have multishell. Your either not using an advanced computer as the multishell table (which should of been already made with an advanced computer, doesnt exist)
Bomb Bloke #4
Posted 12 September 2016 - 12:58 AM
That doesn't sound right; ComputerCraft doesn't include "multishell.lua", and even if this script expected it and it were missing, you're not going to generate an error inside a file that isn't there…

So I'd hence be looking at this file - its first line indeed attempts to index into an existing "multishell" table, but assuming the file has been loaded as an API, it indeed won't have access to that table (nor will it be able to see the "shell" table) - nothing loaded as an API can.
TheRockettek #5
Posted 12 September 2016 - 07:48 AM
That doesn't sound right; ComputerCraft doesn't include "multishell.lua", and even if this script expected it and it were missing, you're not going to generate an error inside a file that isn't there…

So I'd hence be looking at this file - its first line indeed attempts to index into an existing "multishell" table, but assuming the file has been loaded as an API, it indeed won't have access to that table (nor will it be able to see the "shell" table) - nothing loaded as an API can.

The program has multishell.lua which just adds more stuff to the multishell api

Oh wait, ypur loading it as an api?

I just realised, why did you put the origional multishell api in your os, its unnecessary…
Edited on 12 September 2016 - 07:39 AM
Bomb Bloke #6
Posted 12 September 2016 - 09:41 AM
I just realised, why did you put the origional multishell api in your os, its unnecessary…

Rather, it appears the goal is to override some of the original's functionality - which is fine, so long as you don't attempt to load the override code via os.loadAPI().
Cross_Sans #7
Posted 13 September 2016 - 07:04 PM
multishell.lua:1: index expected, got nil.
And this is STABLE version… :huh:/>/>

You dont have multishell. Your either not using an advanced computer as the multishell table (which should of been already made with an advanced computer, doesnt exist)
But i was using a Advanced Computer…
TheRockettek #8
Posted 14 September 2016 - 07:09 AM
well it can all be fixed but just dking

if not multishsll then multishell = {} end
Bomb Bloke #9
Posted 14 September 2016 - 07:32 AM
No. Better to let Morganamilo handle it.
Twijn #10
Posted 17 September 2016 - 04:22 AM
It appears as though this "stable" version is not so stable after all.
I had similar issues with the error right after downloading everything. "multishell.lua:1: index expected, got nil"
After fixing this issue (by, as suggested above, adding if not multishell then multishell = {} end) it passed that. But got stuck on loading fs.lua. Restarted again and, yay, got to the logon screen. Besides the flashing it seemed to be working decently. I attempted to log in but the flashing just got worse and the cursor only moved. Nothing else happened.
I was never able to get past the login screen.

But I of course was using CCEmuRedux, which may have caused issues, but I've never had a problem before.

In fact this appeared to be more of a "virus" than an OS. The flashing became quite annoying and in my case was required to go into my saves files to delete the "startup" file since the fs.lua file appeared to be preventing me from deleting the files (when I was actually able to get to CraftOS). This was only in my case though, and this may not be intended.
Edited on 17 September 2016 - 02:26 AM