Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Product Chat / run time error 118

Author
Message
Nazareth Entertainment
15
Years of Service
User Offline
Joined: 8th Dec 2010
Location: Under the desk
Posted: 26th Mar 2011 02:01
keep getting this error and its pissing me off, can any one please share their comments on how to erase this massive bug!

im running beta 10

my machine runs fpsc fine before you ask for my specs, seeing ive been using it for ages.

I reinstalled FPSC countless times and also reinstalled a model pack i thought was the cause of the problem, still no joy, so would apreciate your help, btw, it says something about arrays and a boarder line what ever that is, hahah

thanks

x

Deathkon 3000 is no longer in production..... and no their was no "curse" its just the fact i couldnt be botherd!
Pain
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 4th Apr 2007
Location: Lake Orion, MI - USA
Posted: 26th Mar 2011 03:40
Can you post a screen shot of the Error? in Jpeg format ofcourse.

Then also, how big is your level?

Small?

one room? ten rooms?

we need a little bit more information to assist you.

Pain

Me = noob

and i love The TGC : )
Nazareth Entertainment
15
Years of Service
User Offline
Joined: 8th Dec 2010
Location: Under the desk
Posted: 26th Mar 2011 16:10
The error has been coming up on every level i build, including 2 small rooms, so i dunno whats happening, it just freezes during game and then the error pops up and fpsc then encounters a problem and shuts down, heres a screen sh0ot of the error:



thanks

Deathkon 3000 is no longer in production..... and no their was no "curse" its just the fact i couldnt be botherd!
Pain
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 4th Apr 2007
Location: Lake Orion, MI - USA
Posted: 26th Mar 2011 16:26
what Graphics card do you have?

Me = noob

and i love The TGC : )
Nazareth Entertainment
15
Years of Service
User Offline
Joined: 8th Dec 2010
Location: Under the desk
Posted: 26th Mar 2011 16:35
an intergrated one, but that hasnt caused me problems before, (chipset)

251 vram
shader 3.0 compatable
and another thing thats at 3.0 but i dunno what it is/

Deathkon 3000 is no longer in production..... and no their was no "curse" its just the fact i couldnt be botherd!
Pain
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 4th Apr 2007
Location: Lake Orion, MI - USA
Posted: 26th Mar 2011 17:07
do you know the Exact model of the Intergrated chipset?

right click on the desktop, properties, settings

It should show the card/chip name

or look in the device manager

(I would try turning the new shadders off)

see if that makes a difference.

Me = noob

and i love The TGC : )
Nazareth Entertainment
15
Years of Service
User Offline
Joined: 8th Dec 2010
Location: Under the desk
Posted: 26th Mar 2011 20:48
Graphics
Monitor
Name Generic PnP Monitor on Mobile Intel 965 Express Chipset Family
Current Resolution 1280x800 pixels
Work Resolution 1280x772 pixels
State enabled, primary
Monitor Width 1280
Monitor Height 800
Monitor BPP 32 bits per pixel
Monitor Frequency 60 Hz
Device \\.\DISPLAY1\Monitor0
Mobile Intel(R) 965 Express Chipset Family
Memory 320 MB
Memory type 2
Driver version 7.14.10.1437
Mobile Intel(R) 965 Express Chipset Family
Memory type 2
Driver version 7.14.10.1437

I have had the shaders turned off at one point, but ill try turning them off again

Deathkon 3000 is no longer in production..... and no their was no "curse" its just the fact i couldnt be botherd!
Nazareth Entertainment
15
Years of Service
User Offline
Joined: 8th Dec 2010
Location: Under the desk
Posted: 26th Mar 2011 21:06
i just turned off all the shaders, still no diference, still got the error code and a huge diference in frames lol

Deathkon 3000 is no longer in production..... and no their was no "curse" its just the fact i couldnt be botherd!
Flatlander
FPSC Tool Maker
19
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 27th Mar 2011 10:52
This is an error that deals with programming code. It's not necessarily a bug though; but,it could be. Arrays are used a lot in programming and are very important. Arrays holds information that is important to the game.

An array would look like this:

A(1)=gun1
A(2)=gun2
A(3)=gun3

The A is a variable and the number is the index to that variable. Say we are looping through this array going from index 1 to index 4.

Well, we have only 3 array indices. What happens when it tries to access index #4? It will crash and pop up the window you have shown us - error number 118.

May I ask when does this error usually happen. What is going on or what are you doing at the moment it crashes? Are you using any mods? Are you using any sound files? It could also have to do with a missing part of a custom entity.


Terry
Nazareth Entertainment
15
Years of Service
User Offline
Joined: 8th Dec 2010
Location: Under the desk
Posted: 27th Mar 2011 17:27
usualy it always happens when im about to shoot the two enemies ive set up, they shoot me fine, and every thing works fine, but after about 5 seconds of me gunning, the error usualy pops up, i thought it was my gun causing it, but it wasnt, happens with all the guns....

Deathkon 3000 is no longer in production..... and no their was no "curse" its just the fact i couldnt be botherd!
Nazareth Entertainment
15
Years of Service
User Offline
Joined: 8th Dec 2010
Location: Under the desk
Posted: 29th Mar 2011 00:01
fixed the problem thanks to FLATLANDER

was something to do with the script i was using for the enemy, its now sorted thanks every one

Deathkon 3000 is no longer in production..... and no their was no "curse" its just the fact i couldnt be botherd!
techno
15
Years of Service
User Offline
Joined: 28th Feb 2011
Location:
Posted: 30th Mar 2011 21:31
If you do a search of the forums for 'runtime error 118' there are 43 entries!

I've been through all 33 of these that actually have replies, but this appears to be the only one that has an answer.

Quote: "fixed the problem thanks to FLATLANDER was something to do with the script i was using for the enemy."


Please! Any chance of an explanation as to what this something to do with the script actually is?

In particular, if the error gives a line number as in (for example)

Quote: "Array does not exist or array subscript out of bounds at line 8748"


Where do I find the code referred to in the above statement? If I can find the code I could find the line, and see exactly what's missing or wrong. But which code and where is it? The error message doesn't give any clues.

Loads of people seem to be having this error (presumably because at the end of one level the programme is looking for something that doesn't exist before or at the start of the following level) but there does not appear to be any step by step help in how to find the cause of the fault, never mind fix it.

Anyone fancy having a go at this? There's loads of posts. Loads of comments. But no answer.

Secondly, if someone does supply an answer, any chance of it being highlighted or otherwise made easier to find, rather than being lost in the 43 (to date) similar posts?
Nazareth Entertainment
15
Years of Service
User Offline
Joined: 8th Dec 2010
Location: Under the desk
Posted: 30th Mar 2011 23:30
i found out what was wrong by testing the game in question for 7 hours streight, changing guns, no effect, so i looked at every entity and removed each one untill i was left with my characters, it was one of my men who had an old dark ai script that was incorrect, i changed the script and low and behold, a success, im using phenoix AI instead, and pace 10, much better now.

what im saying is, look at it as a game developer, if you find a bug, squash it by testing every single aspect of it, every game and map is diferent, so try and find it for your self, it will probably be a dynamic entity that is making it go lala, so just replace the script with something as equal or near as possible while sorting out your original script.

hope that helped

Deathkon 3000 is no longer in production..... and no their was no "curse" its just the fact i couldnt be botherd!
Teacher
20
Years of Service
User Offline
Joined: 29th Dec 2005
Location:
Posted: 31st Mar 2011 01:40
Just out of interest; which old dark AI script caused all the problems?



techno
15
Years of Service
User Offline
Joined: 28th Feb 2011
Location:
Posted: 31st Mar 2011 10:20 Edited at: 2nd Apr 2011 16:24
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!
techno
15
Years of Service
User Offline
Joined: 28th Feb 2011
Location:
Posted: 2nd Apr 2011 17:37
Thought I'd try one last time to create a working .exe file containing three levels. Went back to an old .exe that was working yesterday with 2 levels.

Played it first just to check it was OK and got an error 118!

FPSC is a fantastic concept. Sorry, but this time I've had enough and I'm gone!
veer
16
Years of Service
User Offline
Joined: 3rd Mar 2010
Location:
Posted: 4th Apr 2011 00:26
Nazareth Entertainment

can you please provide detail of script that you change

Login to post a reply

Server time is: 2026-06-28 07:34:13
Your offset time is: 2026-06-28 07:34:13