Rudokhvist / ASF-STM

ASF bot list trade matcher
Apache License 2.0
24 stars 2 forks source link

Empty array console warning #26

Closed Bertaz closed 4 months ago

Bertaz commented 4 months ago

Get this warning while scanning, is it intended behavior? Caused by: https://github.com/Rudokhvist/ASF-STM/blob/215d03f04180763a4402108865a2d034b48f5df6/ASF-STM.user.js#L489

Console log ![consoleView](https://github.com/Rudokhvist/ASF-STM/assets/44445647/63fedb64-99b0-4a72-93b7-e87705590b3e) ```text userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:490 [] SaveParams @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:490 GetCards @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:1148 (anonymous) @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:1037 Rt @ VM883:9 t. @ VM883:66 Rt @ VM883:9 r @ VM883:24 (anonymous) @ VM883:25 (anonymous) @ VM883:76 m @ VM883:76 Lt @ VM881 content.js:8 m @ VM881 content.js:69 s @ VM881 content.js:70 setTimeout (async) setTimeout @ VM881 content.js:48 processMessage @ VM881 content.js:51 (anonymous) @ VM881 content.js:77 g @ VM881 content.js:70 Rt @ VM883:9 p @ VM883:76 u @ VM883:78 (anonymous) @ VM883:78 eo @ VM883:17 send @ VM883:78 No @ VM883:25 Ho @ VM883:25 Rt @ VM883:9 a @ VM883:66 value @ VM883:71 GetCards.xhr.onload @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:1034 load (async) GetCards @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:965 (anonymous) @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:1037 Rt @ VM883:9 t. @ VM883:66 Rt @ VM883:9 r @ VM883:24 (anonymous) @ VM883:25 (anonymous) @ VM883:76 m @ VM883:76 Lt @ VM881 content.js:8 m @ VM881 content.js:69 s @ VM881 content.js:70 setTimeout (async) setTimeout @ VM881 content.js:48 processMessage @ VM881 content.js:51 (anonymous) @ VM881 content.js:77 g @ VM881 content.js:70 Rt @ VM883:9 p @ VM883:76 u @ VM883:78 (anonymous) @ VM883:78 eo @ VM883:17 send @ VM883:78 No @ VM883:25 Ho @ VM883:25 Rt @ VM883:9 a @ VM883:66 value @ VM883:71 GetCards.xhr.onload @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:1034 load (async) GetCards @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:965 (anonymous) @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:1037 Rt @ VM883:9 t. @ VM883:66 Rt @ VM883:9 r @ VM883:24 (anonymous) @ VM883:25 (anonymous) @ VM883:76 m @ VM883:76 Lt @ VM881 content.js:8 m @ VM881 content.js:69 s @ VM881 content.js:70 setTimeout (async) setTimeout @ VM881 content.js:48 processMessage @ VM881 content.js:51 (anonymous) @ VM881 content.js:77 g @ VM881 content.js:70 Rt @ VM883:9 p @ VM883:76 u @ VM883:78 (anonymous) @ VM883:78 eo @ VM883:17 send @ VM883:78 No @ VM883:25 Ho @ VM883:25 Rt @ VM883:9 a @ VM883:66 value @ VM883:71 GetCards.xhr.onload @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:1034 load (async) GetCards @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:965 (anonymous) @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:1037 Rt @ VM883:9 t. @ VM883:66 Rt @ VM883:9 r @ VM883:24 (anonymous) @ VM883:25 (anonymous) @ VM883:76 m @ VM883:76 Lt @ VM881 content.js:8 m @ VM881 content.js:69 s @ VM881 content.js:70 setTimeout (async) setTimeout @ VM881 content.js:48 processMessage @ VM881 content.js:51 (anonymous) @ VM881 content.js:77 g @ VM881 content.js:70 Rt @ VM883:9 p @ VM883:76 u @ VM883:78 (anonymous) @ VM883:78 eo @ VM883:17 send @ VM883:78 No @ VM883:25 Ho @ VM883:25 Rt @ VM883:9 a @ VM883:66 value @ VM883:71 GetCards.xhr.onload @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:1034 load (async) GetCards @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:965 (anonymous) @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:1037 Rt @ VM883:9 t. @ VM883:66 Rt @ VM883:9 r @ VM883:24 (anonymous) @ VM883:25 (anonymous) @ VM883:76 m @ VM883:76 Lt @ VM881 content.js:8 m @ VM881 content.js:69 s @ VM881 content.js:70 setTimeout (async) setTimeout @ VM881 content.js:48 processMessage @ VM881 content.js:51 (anonymous) @ VM881 content.js:77 g @ VM881 content.js:70 Rt @ VM883:9 p @ VM883:76 u @ VM883:78 (anonymous) @ VM883:78 eo @ VM883:17 send @ VM883:78 No @ VM883:25 Ho @ VM883:25 Rt @ VM883:9 a @ VM883:66 value @ VM883:71 GetCards.xhr.onload @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:1034 load (async) GetCards @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:965 (anonymous) @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:1037 Rt @ VM883:9 t. @ VM883:66 Rt @ VM883:9 r @ VM883:24 (anonymous) @ VM883:25 (anonymous) @ VM883:76 m @ VM883:76 Lt @ VM881 content.js:8 m @ VM881 content.js:69 s @ VM881 content.js:70 setTimeout (async) setTimeout @ VM881 content.js:48 processMessage @ VM881 content.js:51 (anonymous) @ VM881 content.js:77 g @ VM881 content.js:70 Rt @ VM883:9 p @ VM883:76 u @ VM883:78 (anonymous) @ VM883:78 eo @ VM883:17 send @ VM883:78 No @ VM883:25 Ho @ VM883:25 Rt @ VM883:9 a @ VM883:66 value @ VM883:71 GetCards.xhr.onload @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:1034 load (async) GetCards @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:965 (anonymous) @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:1037 Rt @ VM883:9 t. @ VM883:66 Rt @ VM883:9 r @ VM883:24 (anonymous) @ VM883:25 (anonymous) @ VM883:76 m @ VM883:76 Lt @ VM881 content.js:8 m @ VM881 content.js:69 s @ VM881 content.js:70 setTimeout (async) setTimeout @ VM881 content.js:48 processMessage @ VM881 content.js:51 (anonymous) @ VM881 content.js:77 g @ VM881 content.js:70 Rt @ VM883:9 p @ VM883:76 u @ VM883:78 (anonymous) @ VM883:78 eo @ VM883:17 send @ VM883:78 No @ VM883:25 Ho @ VM883:25 Rt @ VM883:9 a @ VM883:66 value @ VM883:71 GetCards.xhr.onload @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:1034 load (async) GetCards @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:965 (anonymous) @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:1037 Rt @ VM883:9 t. @ VM883:66 Rt @ VM883:9 r @ VM883:24 (anonymous) @ VM883:25 (anonymous) @ VM883:76 m @ VM883:76 Lt @ VM881 content.js:8 m @ VM881 content.js:69 s @ VM881 content.js:70 setTimeout (async) setTimeout @ VM881 content.js:48 processMessage @ VM881 content.js:51 (anonymous) @ VM881 content.js:77 g @ VM881 content.js:70 Rt @ VM883:9 p @ VM883:76 u @ VM883:78 (anonymous) @ VM883:78 eo @ VM883:17 send @ VM883:78 No @ VM883:25 Ho @ VM883:25 Rt @ VM883:9 a @ VM883:66 value @ VM883:71 GetCards.xhr.onload @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:1034 load (async) GetCards @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:965 (anonymous) @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:1037 Rt @ VM883:9 t. @ VM883:66 Rt @ VM883:9 r @ VM883:24 (anonymous) @ VM883:25 (anonymous) @ VM883:76 m @ VM883:76 Lt @ VM881 content.js:8 m @ VM881 content.js:69 s @ VM881 content.js:70 setTimeout (async) setTimeout @ VM881 content.js:48 processMessage @ VM881 content.js:51 (anonymous) @ VM881 content.js:77 g @ VM881 content.js:70 Rt @ VM883:9 p @ VM883:76 u @ VM883:78 (anonymous) @ VM883:78 eo @ VM883:17 send @ VM883:78 No @ VM883:25 Ho @ VM883:25 Rt @ VM883:9 a @ VM883:66 value @ VM883:71 GetCards.xhr.onload @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:1034 load (async) GetCards @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:965 (anonymous) @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:1037 Rt @ VM883:9 t. @ VM883:66 Rt @ VM883:9 r @ VM883:24 (anonymous) @ VM883:25 (anonymous) @ VM883:76 m @ VM883:76 Lt @ VM881 content.js:8 m @ VM881 content.js:69 s @ VM881 content.js:70 setTimeout (async) setTimeout @ VM881 content.js:48 processMessage @ VM881 content.js:51 (anonymous) @ VM881 content.js:77 g @ VM881 content.js:70 Rt @ VM883:9 p @ VM883:76 u @ VM883:78 (anonymous) @ VM883:78 eo @ VM883:17 send @ VM883:78 No @ VM883:25 Ho @ VM883:25 Rt @ VM883:9 a @ VM883:66 value @ VM883:71 GetCards.xhr.onload @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:1034 load (async) GetCards @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:965 (anonymous) @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:1037 Rt @ VM883:9 t. @ VM883:66 Rt @ VM883:9 r @ VM883:24 (anonymous) @ VM883:25 (anonymous) @ VM883:76 m @ VM883:76 Lt @ VM881 content.js:8 m @ VM881 content.js:69 s @ VM881 content.js:70 setTimeout (async) setTimeout @ VM881 content.js:48 processMessage @ VM881 content.js:51 (anonymous) @ VM881 content.js:77 g @ VM881 content.js:70 Rt @ VM883:9 p @ VM883:76 u @ VM883:78 (anonymous) @ VM883:78 eo @ VM883:17 send @ VM883:78 No @ VM883:25 Ho @ VM883:25 Rt @ VM883:9 a @ VM883:66 value @ VM883:71 GetCards.xhr.onload @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:1034 load (async) GetCards @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:965 (anonymous) @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:1037 Rt @ VM883:9 t. @ VM883:66 Rt @ VM883:9 r @ VM883:24 (anonymous) @ VM883:25 (anonymous) @ VM883:76 m @ VM883:76 Lt @ VM881 content.js:8 m @ VM881 content.js:69 s @ VM881 content.js:70 setTimeout (async) setTimeout @ VM881 content.js:48 processMessage @ VM881 content.js:51 (anonymous) @ VM881 content.js:77 g @ VM881 content.js:70 Rt @ VM883:9 p @ VM883:76 u @ VM883:78 (anonymous) @ VM883:78 eo @ VM883:17 send @ VM883:78 No @ VM883:25 Ho @ VM883:25 Rt @ VM883:9 a @ VM883:66 value @ VM883:71 GetCards.xhr.onload @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:1034 load (async) GetCards @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:965 (anonymous) @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:1037 Rt @ VM883:9 t. @ VM883:66 Rt @ VM883:9 r @ VM883:24 (anonymous) @ VM883:25 (anonymous) @ VM883:76 m @ VM883:76 Lt @ VM881 content.js:8 m @ VM881 content.js:69 s @ VM881 content.js:70 setTimeout (async) setTimeout @ VM881 content.js:48 processMessage @ VM881 content.js:51 (anonymous) @ VM881 content.js:77 g @ VM881 content.js:70 Rt @ VM883:9 p @ VM883:76 u @ VM883:78 (anonymous) @ VM883:78 eo @ VM883:17 send @ VM883:78 No @ VM883:25 Ho @ VM883:25 Rt @ VM883:9 a @ VM883:66 value @ VM883:71 GetCards.xhr.onload @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:1034 load (async) GetCards @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:965 (anonymous) @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:1037 Rt @ VM883:9 t. @ VM883:66 Rt @ VM883:9 r @ VM883:24 (anonymous) @ VM883:25 (anonymous) @ VM883:76 m @ VM883:76 Lt @ VM881 content.js:8 m @ VM881 content.js:69 s @ VM881 content.js:70 setTimeout (async) setTimeout @ VM881 content.js:48 processMessage @ VM881 content.js:51 (anonymous) @ VM881 content.js:77 g @ VM881 content.js:70 Rt @ VM883:9 p @ VM883:76 u @ VM883:78 (anonymous) @ VM883:78 eo @ VM883:17 send @ VM883:78 No @ VM883:25 Ho @ VM883:25 Rt @ VM883:9 a @ VM883:66 value @ VM883:71 GetCards.xhr.onload @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:1034 load (async) GetCards @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:965 (anonymous) @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:1037 Rt @ VM883:9 t. @ VM883:66 Rt @ VM883:9 r @ VM883:24 (anonymous) @ VM883:25 (anonymous) @ VM883:76 m @ VM883:76 Lt @ VM881 content.js:8 m @ VM881 content.js:69 s @ VM881 content.js:70 setTimeout (async) setTimeout @ VM881 content.js:48 processMessage @ VM881 content.js:51 (anonymous) @ VM881 content.js:77 g @ VM881 content.js:70 Rt @ VM883:9 p @ VM883:76 u @ VM883:78 (anonymous) @ VM883:78 eo @ VM883:17 send @ VM883:78 No @ VM883:25 Ho @ VM883:25 Rt @ VM883:9 a @ VM883:66 value @ VM883:71 GetCards.xhr.onload @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:1034 load (async) GetCards @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:965 (anonymous) @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:1037 Rt @ VM883:9 t. @ VM883:66 Rt @ VM883:9 r @ VM883:24 (anonymous) @ VM883:25 (anonymous) @ VM883:76 m @ VM883:76 Lt @ VM881 content.js:8 m @ VM881 content.js:69 s @ VM881 content.js:70 setTimeout (async) setTimeout @ VM881 content.js:48 processMessage @ VM881 content.js:51 (anonymous) @ VM881 content.js:77 g @ VM881 content.js:70 Rt @ VM883:9 p @ VM883:76 u @ VM883:78 (anonymous) @ VM883:78 eo @ VM883:17 send @ VM883:78 No @ VM883:25 Ho @ VM883:25 Rt @ VM883:9 a @ VM883:66 value @ VM883:71 GetCards.xhr.onload @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:1034 load (async) GetCards @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:965 (anonymous) @ userscript.html?name=ASF-STM.user.js&id=f8cf4c2c-cae2-49a5-bc14-312570a1e466:1037 Rt @ VM883:9 t. @ VM883:66 Rt @ VM883:9 r @ VM883:24 (anonymous) @ VM883:25 (anonymous) @ VM883:76 m @ VM883:76 Lt @ VM881 content.js:8 m @ VM881 content.js:69 s @ VM881 content.js:70 ```
Rudokhvist commented 4 months ago

Sorry about that, forgot to remove this line after debugging. It should not affect script functionality though. Thank you for being vigilant and reporting that!