good guess, but wrong guess
hm I should have sent out the first version I wrote. This one is not good because I already tried to get that running like crazy.
and I also tried some more inconventional ways ....
okay, about the size:
everytime I've seen a new array with only 'null' inside the size check said '1' ... think because there was one field inside of the array which contained 'null'. so I checked that, too.
about the array:
I tried array alloc - but that command only allocates a 1d array. So I tried to fill this arrays' slots each with another array (of size 2) -> manually constructing a 2d array. didn't work.
then I tried to build a 2d array in any other way but they all finally weren't what I've been looking for -> Array = new Array[x][y];
about the first two while loops:
I'll try that as soon as that script gives out a correct value for gained.total!
The problems are:
1: that at the calculation label the stats.new array always contains the same data in every slot.
2: I'm trying to save the ship id and the ship's gained together in one slot of the stats.new array (think x3 has no problems with 2 different data types in one array). and as soon as I put that into the array the gained value goes up like crazy ( e.g. 788090020022 ) which is WAY too much for one trader - before putting the value into the stats.new array the gained value was correct.
but now .... *yaw* .... time to sleep. gute nacht!