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 / help! runtime 118 error

Author
Message
thiconZ
15
Years of Service
User Offline
Joined: 18th Apr 2011
Location: 127.0.0.1
Posted: 11th May 2011 00:14
hi im not sure if this should be here or bug section so im posting it here and if it doesn't go here a mod can move it ^^

So i made a 5 level game and every time at like 95% done loading the third level i get a runtime error that says "Runtime error 118 - array does not exist or array subscript out of bound at line 10804" and i have searched constantly to fix this on TGC forums and google and both have not given me a way to fix it. could anyone kindly help me fix/find a solution to this error? thanks in advance

(i can also give you a screenshot or w/e else if needed)
Anigma
15
Years of Service
User Offline
Joined: 25th Mar 2011
Location:
Posted: 11th May 2011 09:05
In snooping thru the source code, line 10804 appears to be related to checkpoints. I'd try removing all the checkpoints from that level and re-adding them - that might fix it.

It compiled! Ship it!
thiconZ
15
Years of Service
User Offline
Joined: 18th Apr 2011
Location: 127.0.0.1
Posted: 11th May 2011 22:10
okay thanks for the help, should i remove all form level 2 and level 3 or just level 3 do you think?
thiconZ
15
Years of Service
User Offline
Joined: 18th Apr 2011
Location: 127.0.0.1
Posted: 12th May 2011 02:37
never mind, i did what you said and just removed all the checkpoints in level 3 since thats the one it would crash on when loading, and i didn't put any back and it works perfect now thanks for the help

Login to post a reply

Server time is: 2026-06-27 17:12:31
Your offset time is: 2026-06-27 17:12:31