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.

DarkBASIC Professional Discussion / Runtime Error 118 - Array... ... at line 0

Author
Message
noobnerd
15
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 13th Dec 2012 16:40 Edited at: 13th Dec 2012 16:42
Hi there,

im having this excruciatingly hard to find bug that only gives the error message "Runtime Error 118- Array doesnt exist or subscript out of bounds at line 0"
usually this error say "at line 147" or something like that which makes finding it easy but line 0 is kinda hard to find

i know waht causes the error but cant pinpoint the section of my code as nearly every line uses arrays and there are only 2 different arrays in the game both of which might be the cause.

any help?

loads of to the one who has some advice


code might be incomprehensible, requires advanced 2d (a2d) plugin and maybe also Matr1x utils
Cybermind
Valued Member
23
Years of Service
User Offline
Joined: 28th Nov 2002
Location: Denmark
Posted: 13th Dec 2012 16:54
It runs fine when I compile and send pieces after each other

The byte chrunchers are coming...
DIVIDING BY ZERO/BECAUSE WE SUCK...
noobnerd
15
Years of Service
User Offline
Joined: 30th Nov 2010
Location:
Posted: 13th Dec 2012 17:20 Edited at: 13th Dec 2012 17:20
yeah it works but i get the error if a red solid circle piece (left mouse to place) gets to the other side

Login to post a reply

Server time is: 2026-07-07 03:22:55
Your offset time is: 2026-07-07 03:22:55