Hi,
My nodejs server receive this array from C2 (via websocket) , I already have parsed the data with JSON.parse()
console.log(array)
[ [
[ -1 ], [ 0 ], [ 0 ], [ 0 ] ],
[
[ -1 ], [ 0 ], [ 0 ], [ 0 ] ],
[
[ -1 ], [ 0 ], [ 0 ], [ 0 ] ],
[
[ -1 ], [ 0 ], [ 0 ], [ 0 ] ],
[
[ -1 ], [ 0 ], [ 0 ], [ -1 ] ],
[
[ -1 ], [ 0 ], [ 0 ], [ -1 ] ] ]
But for now I didn't find a way to read all the values.
Apparently array[x][y] does not work. because array[0] returns undefined and array[0][0] makes an error.
Can anyone help ? thanks !