Thanks NE
That provides us luddites with a starting point at least. Points us in the right direction.
Presumably, if the error message said
Quote: "Array does not exist or array subscript out of bounds at line 8748"
you would have found a reference to your non-existing or incorrect script and saved yourself hours of work.
Anyone like to point us in the right direction so that we can find the line error? What line of what file would an error message like this point us to?
----------------------
Edit on 2 April 2011: Nobody has answered the above point, so I've added this additional info on troubleshooting runtime error 118.
I had three levels that all ran OK individually, but when I ran an .exe file level 2 didn't load. It went straight to "Runtime error 118. Array does not exist or array subscript out of bounds line 10748"
I deleted level 2, created an .exe straight from, level 1 to level 3. That worked OK.
I reduced level 2 a bit. Added it back in. It crashed again.
By trial and error I re-created the game, saving to different files and different .exe in between builds.
I started by reinstalling FPSC and running the cleaner and in total I rebuilt my game 18 times. 17th time worked. 18th time with an extra level on did not!
I even had the bazzare example of an .exe file working once, but playing the same .exe a second time it failed with the same error (Don't ask me how the same file can work once, but not work the second time. It shouldn't happen but it did)
End result. I can build a two level game, but can't build a three level game (and yes, I have changed the memory level on the setup file).
I have what I regard as a pretty modest game of three levels, all of which play independently. Any two of which can be created into perfectly running .exe files. However, I can't get all three levels to run together on an .exe.
For something that's sold on its drag and drop simplicity I'm extremely dissapointed. Simple to build, but impossible to run!
It is the same error that always comes up, and the same line number, line 10748, so presumably I should be able to find line 10748 of the code involved and see just what the error is.
I have searched through all the common files, but most of them are nowhere near this long. Searching for longer files, there are files such as universe.dbo that are that long and perhaps if I could read a .dbo (which is presumably a dark basic file) then I'd be able to see what the problem was.
I've previously written that there are over 40 posts about error 118, none of which have a solution.
I was really excited at buying FPSC to while away my retirement, but I leave extremely frustrated!