issues
issues copied to clipboard
Desktop Offline feature
Checklist (issue will be disregarded & closed if incomplete!)
- [x] I've checked both open and recently closed issues to ensure this issue is not already reported.
- [x] I am using the newest version of TETR.IO.
- [x] I know how to reproduce the issue.
- [x] I am using a supported browser or the Desktop Client.
- [x] I am not using anything that modifies game code (e.g. TETR.IO+).
- [x] I am certain this is a bug, not a feature request.
Describe the bug/issue
I already know that tetrio desktop client offers single player mode when playing offline (No internet connection). But when I turn tetrio on without Internet it resulted in a black screen after loading.
Expected behavior
What I'd expect is I can play tetris while no internet connection (offline mode)
Screenshots
Here it is:
My OS is Windows 10 Pro version 1909
and my browser is Brave Version 1.15.76 Chromium: 86.0.4240.111 (Official Build) (64-bit)
do you have TETR.IO + installed? it disables offline functionality
I have the same issue
do you have TETR.IO + installed? it disables offline functionality
I have the same issue; it just displays a black screen. I'm not using any code modifications either.
@Electron98 Remember:
do you have TETR.IO + installed? it disables offline functionality
@Electron98 Remember:
do you have TETR.IO + installed? it disables offline functionality
No, I do not have it installed.
Yea I've got this too, without anything that modifies the code
I can personally confirm with the Desktop V7 client running on my Windows 10 2004 machine loading the current 6.0.0 TETR.IO game release that this issue is still relevant. User "most#8476" on the TETR.IO Discord server brought this to my attention, and after some quick troubleshooting endeavors we concluded it is currently impossible to run TETR.IO whilst offline before launch. Here are some of our findings:
- After launching TETR.IO offline, the user will be met with the normal bootup screen all Desktop client users should see.
- The update checker will report a failure to check for updates, as expected.
- The next step, "STARTING TETR.IO"/"IF THIS GETS STUCK, TRY HOLDING F4 FOR FIVE SECONDS", speeds by very quickly.
- ENDLESS ETERNAL VOID It is worth noting the endless eternal void seems to ignore all conventional browser commands, such as the two tools to summon the devtools (CTRL+SHIFT+i)/(F12) or all commands to reload the current tab(CTRL+F5)/(F5)/(CTRL+R)/(CTRL+SHIFT+R); Hence the lack of console logs.
At first, I was quick to blame the so-called "service workers" holding TETR.IO Desktop together. I had heard a while back that they're responsible for the offline compatibility, and I thought that the extra children processes TETR.IO Desktop might be those. I ordered most to open up task manager to see how many processes TETR.IO was running to compare his results to my own with an online instance of TETR.IO. He would have two to four processes running whereas I would have five, signifying to me that some child process may not be launching when it is required to have the game function.
After some quick investigation into the devtools, I noticed the "Bypass for network" option under the "Application->Service Workers" tab being toggled to on, meaning, as I understand it, the game would always attempt to load from the network instead of loading from local resources. This could have something to do with my history with TETR.IO PLUS, which, at least half a year ago, required this setting to be manually toggled to on; my fresh Linux client does have the setting flipped off. Regardless, once that was switched off, and only after several restarts, cache clears, and solo game loads; the offline compatibility still didn't work.
TETR.IO PLUS was not installed on my system during my own testing. I do not believe most even knew TETR.IO PLUS existed at the time of reporting.
I noticed the "Bypass for network" option under the "Application->Service Workers" tab being toggled to on
This only has an effect if devtools are currently open btw
This only has an effect if devtools are currently open btw
Oh so that's what "Open devtools automatically" did in TETR.IO PLUS. I always thought it was a strange setting to have on.
Oh so that's what "Open devtools automatically" did in TETR.IO PLUS. I always thought it was a strange setting to have on.
Nah that's just meant to open devtools when you can't get them open otherwise, since for some reason the hotkey doesn't work until you're already loaded in the game proper. The service worker thing was only a temporary hack to get old clients with an existing service worker to drop them after tetrioplus started blocking new service workers entirely.
I would just like to note that the offline compatibility was deliberately removed in the sake of simplicity regarding continuing developments on the desktop client. Quoting osk here,
's kinda buggy and hard to set up, i commented it out on the desktop page for that reason It's unknown to me if he intends on bringing it back or not.
Just adding here that it would be great to have offline solo play if it's ever going to be added back.
Adding to the chorus: Offline solo play would be awesome for TETR.IO.
Keep dreaming, this will never happen.
Keep dreaming, this will never happen.
Wishing you and your family a new day filled with positivity, joy, peace and happiness!
Hey any updates on this issue? If I'm allowed to pitch my own 2 cents in as a developer: why not have a special version of tetrio that's made for the desktop instead of needing to rely on the online server? Afaik, all the tetrio client is, is an Electron app that loads the main site, and I don't see why creating a version solely for local use can't be an option.
edits: man I gotta learn how to proofread
Hey any updates on this issue? If I'm allowed to pitch my own 2 cents in as a developer: why not have a special version of tetrio that's made for the desktop instead of needing to rely on the online server? Afaik, all the tetrio client is, is an Electron app that loads the main site, and I don't see why creating a version solely for local use can't be an option.
edits: man I gotta learn how to proofread
As a developer, you may see that tetr.io devs are lazy and want to shove ads in your mouth instead of letting you play when you don't have an internet connection
want to shove ads in your mouth
@l4kr For the record, you can quickly and permanently disable advertisements on the official client with the below checkbox:
https://github.com/tetrio/issues/assets/64891705/63d2bb5b-a3bf-41a7-a361-e5c57161ce15
This also completely prevents the loading of any ad scripts, so you'll be left untouched performance wise. Regardless, this sentiment is unruly and not fit for this discussion.
We do plan to return to offline capability, but it's a bit in the future. The coming release of tetrio-desktop will not have it, but the one beyond may. The original implementation of the feature was honestly halfassed and barely functioned, and as such we want to do it properly, which takes a bit of actual thinking :) The plan is also that we could distribute versions of TETR.IO Desktop that are preloaded with a certain build of the game, both if you want to just have everything downloaded at once, and to be able to save that somewhere and install it offline. That way, the solo modes can be preserved into the future as well.