GRA0007 / Blue

A mod of Scratch 2.0 by MIT
https://scratch.mit.edu/discuss/topic/51366/
GNU General Public License v2.0
16 stars 8 forks source link

No Internet Freeze #22

Open card100 opened 7 years ago

card100 commented 7 years ago

I noticed that whenever I attempted to start a block that required internet the program would freeze and I would have to reload the site again. However, I tried the <internet connection?> block and it returned false (which I'm not sure why but that's a whole different issue). The blocks that require an internet connection (like the WebSockets and URLs) should first question a connection to the internet and abort if there is none.

^Hopefully that made sense

card100 commented 7 years ago

My browser / operating system: MacOS Macintosh X 10.12.6, Chrome 60.0.3112.113, Flash 27.0 (release 0)

NoMod-Programming commented 7 years ago

That definitely makes sense. I'm away from my programming computer, but judging by the behaviour, it is crashing. The question is what it should report if there is no internet. A blank string? And error message? That would need to be decided

GRA0007 commented 6 years ago

Yes they definitely should. From what I can remember, the <internet connection?> block doesn't even work anyway, but I'm going to try again with this project after my final exams in two weeks. 😪