tetrio / issues

Report issues and discuss improvements / feature requests around TETR.IO
https://tetr.io
409 stars 21 forks source link

[BUG] tetr.io freaks out then nothing is inputed on custom game #1371

Open WalkTheEarth opened 3 months ago

WalkTheEarth commented 3 months ago

Checklist

OS and Version

Tiny10

Browser and version

n/a, desktop app

Describe the bug/issue

simpily put, it crashes/freezes the app after putting " " on both height and width.

Reproducing

  1. go to custom.
  2. press height, delete (DONT PRESS ENTER)
  3. do the same for width
  4. scroll up and press start
  5. success

Expected behavior

idk, throw a error?

Screenshots

https://youtu.be/9fv-8RIqvnc

Console logs

bootstrap.js?hv=cc8cc062.4fe63465cdc6.2d0d0ea0b8a5:1 Bootstrapping for hardver cc8cc062.4fe63465cdc6.2d0d0ea0b8a5
cf2d5f60-1503-4134-a4ef-ece2dcc323a3:4 TETR.IO
cf2d5f60-1503-4134-a4ef-ece2dcc323a3:4 Please be careful when pasting anything in the console. Attackers may be out to steal your login information.
cf2d5f60-1503-4134-a4ef-ece2dcc323a3:4 Loading Darkside error reporting...
cf2d5f60-1503-4134-a4ef-ece2dcc323a3:4 BiquadFilter.frequency.setValueAtTime value 30000 outside nominal range [0, 24000]; value will be clamped.
(anonymous) @ cf2d5f60-1503-4134-a4ef-ece2dcc323a3:4
cf2d5f60-1503-4134-a4ef-ece2dcc323a3:4 Using the Desktop Client
cf2d5f60-1503-4134-a4ef-ece2dcc323a3:4 Up to date. Local version 1.2.2-production | Commit cc8cc062@master (8/24/2024, 2:49:51 AM) | Server cycle 4fe63465cdc6 | Build 2d0d0ea0b8a5 (8/24/2024, 3:00:02 AM)
tetr.io/:1 Access to XMLHttpRequest at 'https://darkside.moon.kagari.moe/js-sdk-loader/673ae801167354578d9dc30062f07275.min.js' from origin 'https://tetr.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
cf2d5f60-1503-4134-a4ef-ece2dcc323a3:4 Darkside provider could not be loaded. Object
(anonymous) @ cf2d5f60-1503-4134-a4ef-ece2dcc323a3:4
darkside.moon.kagari.moe/js-sdk-loader/673ae801167354578d9dc30062f07275.min.js:1 

       Failed to load resource: net::ERR_FAILED
cf2d5f60-1503-4134-a4ef-ece2dcc323a3:4 PixiJS 6.5.10 - WebGL 2
cf2d5f60-1503-4134-a4ef-ece2dcc323a3:4 - Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) tetrio-desktop/9.0.0 Chrome/122.0.6261.70 Electron/29.1.0 Safari/537.36 -CPU: 20-coreMemory: ~8 GBConnection: 4.95 Mbps, 50ms RTT [4g]
cf2d5f60-1503-4134-a4ef-ece2dcc323a3:4 Renderer: ANGLE (Intel, Intel(R) Iris(R) Xe Graphics (0x0000A7A0) Direct3D11 vs_5_0 ps_5_0, D3D11)
cf2d5f60-1503-4134-a4ef-ece2dcc323a3:4 InitialConnect > Obtaining Ribbon endpoint...
cf2d5f60-1503-4134-a4ef-ece2dcc323a3:4 InitialConnect > Obtained Ribbon endpoint /ribbon/chihaya and 26 spools, fallback available.
cf2d5f60-1503-4134-a4ef-ece2dcc323a3:4 InitialConnect > Getting a spool...
cf2d5f60-1503-4134-a4ef-ece2dcc323a3:4 InitialConnect > Spool > Spooling started
cf2d5f60-1503-4134-a4ef-ece2dcc323a3:4 InitialConnect > Spool >     8+6ms uk-ikaros [GB] v4 // 0, 0.03125, 0.046875
cf2d5f60-1503-4134-a4ef-ece2dcc323a3:4 InitialConnect > Spool >    11+5ms eu-kuroko [FR] v4 // 0, 0.046875, 0.0625
cf2d5f60-1503-4134-a4ef-ece2dcc323a3:4 InitialConnect > Spool >    11+1ms eu-mikoto [NL] v4 // 0.171875, 0.109375, 0.125
cf2d5f60-1503-4134-a4ef-ece2dcc323a3:4 InitialConnect > Spool > Spooled eu-mikoto!
cf2d5f60-1503-4134-a4ef-ece2dcc323a3:4 InitialConnect > Obtained spool eu-mikoto (eu-mikoto.spool.tetr.io) [NL].
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
cf2d5f60-1503-4134-a4ef-ece2dcc323a3:4 Uncaught RangeError: Invalid array length
    at Object.n [as SetupBoard] (cf2d5f60-1503-4134-a4ef-ece2dcc323a3:4:113488)
    at ge.SetOptions (cf2d5f60-1503-4134-a4ef-ece2dcc323a3:4:287283)
    at Object.setGame (cf2d5f60-1503-4134-a4ef-ece2dcc323a3:4:54222)
    at Object.C [as playCustom] (cf2d5f60-1503-4134-a4ef-ece2dcc323a3:4:560287)
    at HTMLDivElement.<anonymous> (cf2d5f60-1503-4134-a4ef-ece2dcc323a3:4:699365)

Additional context

:3

github-actions[bot] commented 3 days ago

This bug report has not seen any activity in a while. If the issue is still relevant, please comment on it or the issue will be automatically closed. This way, the issue tracker can be kept clean. Thank you!