So I have this problem. When I load the map it gets an underflow error in an array. I have a custom library, and when I delete all my triggers it doesnt get it anymore. Ive narrowed the problem down to that, but Im really not in the mood to go trigger to trigger to find out what I messed up.
Perhaps sen has some knowledge of the problem already.
[attach=7427]
Attachments:
.riney on Discord.
Riney on Steam (
Steam)
@RineyCat on Twitter
Sure I didn't pop off on SCBW like I wanted to, but I won VRChat. Map maker for life.

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.
If I start the map, I don't get any error. What do I have to do to see the error?
But an underflow error means that the key value is below the accepted range of values (-> negative value).
Anyway, your attack speed buff array is to small (you set it to the length of 5, but you are still trying to access with [5]). Same with Heroes...
If I start the map, I don't get any error. What do I have to do to see the error?
But an underflow error means that the key value is below the accepted range of values (-> negative value).
Anyway, your attack speed buff array is to small (you set it to the length of 5, but you are still trying to access with [5]). Same with Heroes...
Basically, arrays start at [0], and not [1].
That's what you meant? ;o
None.

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.
Basically, arrays start at [0], and not [1].
That's what you meant? ;o
Uhm, I'm not sure what I ment but arrays definitely start with 0.
Ya... so, to ensure please respond whether I am right, array length of 4 got the index 0,1,2 and 3, above 3 = overflow?
Please report errors in the Staredit.Network forum.
That would probably trigger overflow yea, but this is UNDERflow. And the error is displayed when you start the map from the editor with the trigger debugger open.
"00:00:00.00 Script load failed: An error occurred starting StarCraft II. Please try again.e_arrayIndexUnderflow"
Edit: Im isolated the problem to the array Player Heroes in my map.
Post has been edited 2 time(s), last time on Aug 30 2010, 3:58 pm by Riney.
.riney on Discord.
Riney on Steam (
Steam)
@RineyCat on Twitter
Sure I didn't pop off on SCBW like I wanted to, but I won VRChat. Map maker for life.
This can be locked, I found the problem (GO FIGURE) on my own.
Post has been edited 1 time(s), last time on Aug 30 2010, 6:03 pm by Riney.
.riney on Discord.
Riney on Steam (
Steam)
@RineyCat on Twitter
Sure I didn't pop off on SCBW like I wanted to, but I won VRChat. Map maker for life.
It was searching an array at index -1
.riney on Discord.
Riney on Steam (
Steam)
@RineyCat on Twitter
Sure I didn't pop off on SCBW like I wanted to, but I won VRChat. Map maker for life.
I have an array that stored player heroes whereas 0 was player 1 and 5 was player 6.
I instead of using Trggering Player-1 I had a variable that counted from 0 to 5 in my trigger called The Loop. Well I ment to put The Loop, but instead of was The Loop - 1, thus resulting in -1
.riney on Discord.
Riney on Steam (
Steam)
@RineyCat on Twitter
Sure I didn't pop off on SCBW like I wanted to, but I won VRChat. Map maker for life.