Discuss Scratch
- Discussion Forums
- » Developing Scratch Extensions
- » CloudLink - A powerful websocket extension
- MikeDEV
- Scratcher
1000+ posts
CloudLink - A powerful websocket extension
*snip*
1. GiB = Gibibyte, and 1 GiB = 1.073741824 GB. Judging by the odd numerical value you have in GiB you have 8 GB.
2. You said that Python 3 might not be installed. Try installing it and try again…
3. I'm not sure how nicely the extension will play with Opera. However, I'm willing to see whatever I can do to get it working on other browsers.
Operating system: Linux Ubuntu 20.04 ‘Focal Fossa’
Browser: Opera 70.0.3728.71
RAM: 7.3 GiB (this was pasted here directly from About in Ubuntu's settings app, and I have no idea what GiB is)
User account type: Administrator user account
1. GiB = Gibibyte, and 1 GiB = 1.073741824 GB. Judging by the odd numerical value you have in GiB you have 8 GB.
2. You said that Python 3 might not be installed. Try installing it and try again…
3. I'm not sure how nicely the extension will play with Opera. However, I'm willing to see whatever I can do to get it working on other browsers.
Last edited by MikeDEV (Aug. 19, 2020 19:07:29)
I have left Scratch! Goodbye everyone, I'll remember you all in therapy.
If you want to ever get in contact with me again, please visit my Github instead.
Also, if you need to, you can contact me via Meower. You'll know where to look.
If you want to ever get in contact with me again, please visit my Github instead.
Also, if you need to, you can contact me via Meower. You'll know where to look.
- MikeDEV
- Scratcher
1000+ posts
CloudLink - A powerful websocket extension
My browser / operating system: ChromeOS 13099.102.0, Chrome 84.0.4147.127, Flash 32.0 (release 0)
yea chromeos
You can't run the server code on ChromeOS, unless if you somehow have access to the Linux mode. (Most likely you won't be allowed to enable it if it's a fairly recent school Chromebook. But if it's an intel-based Chromebook, you should be able to as long as you have the latest ChromeOS… which it seems like you do.)
However, you should be able to use the extension as long as you have a valid server IP running the server script.
Last edited by MikeDEV (Aug. 19, 2020 19:10:09)
I have left Scratch! Goodbye everyone, I'll remember you all in therapy.
If you want to ever get in contact with me again, please visit my Github instead.
Also, if you need to, you can contact me via Meower. You'll know where to look.
If you want to ever get in contact with me again, please visit my Github instead.
Also, if you need to, you can contact me via Meower. You'll know where to look.
- DabDatBass
- Scratcher
1000+ posts
CloudLink - A powerful websocket extension
Ok, then! I need a correct server (ws/ or localhost8000/) because the given one in the extension doesn't work properly… lolMy browser / operating system: ChromeOS 13099.102.0, Chrome 84.0.4147.127, Flash 32.0 (release 0)
yea chromeos
You can't run the server code on ChromeOS, unless if you somehow have access to the Linux mode. (Most likely you won't be allowed to enable it if it's a fairly recent school Chromebook. But if it's an intel-based Chromebook, you should be able to as long as you have the latest ChromeOS… which it seems like you do.)
However, you should be able to use the extension as long as you have a valid server IP running the server script.
- MikeDEV
- Scratcher
1000+ posts
CloudLink - A powerful websocket extension
Ok, then! I need a correct server (ws/ or localhost8000/) because the given one in the extension doesn't work properly… lolMy browser / operating system: ChromeOS 13099.102.0, Chrome 84.0.4147.127, Flash 32.0 (release 0)
yea chromeos
You can't run the server code on ChromeOS, unless if you somehow have access to the Linux mode. (Most likely you won't be allowed to enable it if it's a fairly recent school Chromebook. But if it's an intel-based Chromebook, you should be able to as long as you have the latest ChromeOS… which it seems like you do.)
However, you should be able to use the extension as long as you have a valid server IP running the server script.
The default IP given in the extension assumes you're running the server code on the same computer you're viewing the editor with the extension installed. Sadly I do not have fair enough internet to run a sample server. But that's subject to change.
I have left Scratch! Goodbye everyone, I'll remember you all in therapy.
If you want to ever get in contact with me again, please visit my Github instead.
Also, if you need to, you can contact me via Meower. You'll know where to look.
If you want to ever get in contact with me again, please visit my Github instead.
Also, if you need to, you can contact me via Meower. You'll know where to look.
- hf3i05
- Scratcher
94 posts
CloudLink - A powerful websocket extension
Well, Opera is based on Chromium, so I think it should work. *snip*Operating system: Linux Ubuntu 20.04 ‘Focal Fossa’
Browser: Opera 70.0.3728.71
RAM: 7.3 GiB (this was pasted here directly from About in Ubuntu's settings app, and I have no idea what GiB is)
User account type: Administrator user account
1. GiB = Gibibyte, and 1 GiB = 1.073741824 GB. Judging by the odd numerical value you have in GiB you have 8 GB.
2. You said that Python 3 might not be installed. Try installing it and try again…
3. I'm not sure how nicely the extension will play with Opera. However, I'm willing to see whatever I can do to get it working on other browsers.
- DabDatBass
- Scratcher
1000+ posts
CloudLink - A powerful websocket extension
I could include this in my new language on Scratch, SimpleCode…
- DabDatBass
- Scratcher
1000+ posts
CloudLink - A powerful websocket extension
Done! I downloaded it :3
- hf3i05
- Scratcher
94 posts
CloudLink - A powerful websocket extension
1. Visit How do I use it?this link.
2. Go to the ‘CloudLink’ blocks.
3. In the ‘connect to’ block, enter the IP of the server.
4. Your browser may say that it has blocked insecure content. Save the project and press the ‘Enable anyway’ button in the pop-up.
5. You can now start using the CloudLink blocks to communicate with the server!
Last edited by hf3i05 (Aug. 26, 2020 16:22:26)
- hf3i05
- Scratcher
94 posts
CloudLink - A powerful websocket extension
No, I do have Python 3 installed.Oh, wait - I think it wasn't working because I don't have Python 3 installed. I'll install it and see if it works.It's an issue that me, hi, i'm using cloudlink, but whenever i try to connect it fails, what can i be doing wrong?DabDatBass, and a lot of other people are having. Maybe it has something to do with the security settings, but I'm not sure.
I'm not sure, it works fine for me on Windows 10, version 1909, with Python 3.0. It might be missing packages. I probably need to check that. Other than that, the only other problem is either port 3000 is being used or the web browsers doesn't like connecting to a INSECURE we socket connection (ws/), when it expects a SECURE websocket connection (wss/).
If you use Windows, create a .bat file with the following:python server.pyAnd copy back the results here.
pause
As for Linux or macOS, I'm not sure.
- DabDatBass
- Scratcher
1000+ posts
CloudLink - A powerful websocket extension
My problem may be that I'm using a school computer. Maybe today or Saturday I'll try Cloudlink on my dad's macOS.
(and for me today's a half day for skool :3 :3 :3)
(and for me today's a half day for skool :3 :3 :3)
Last edited by DabDatBass (Sept. 2, 2020 15:57:50)
- DabDatBass
- Scratcher
1000+ posts
CloudLink - A powerful websocket extension
Or… could it be you are using Flash? Flash is shutting down, so maybe that may be the problem…
- MikeDEV
- Scratcher
1000+ posts
CloudLink - A powerful websocket extension
Well, I have Flash installed so that I can use a few school websites, but I don't use it for anything else. Should I disable it and then try again? Or… could it be you are using Flash? Flash is shutting down, so maybe that may be the problem…
CloudLink uses Scratch 3, which uses HTML and JS. It doesn't need Flash. I created CloudLink for Scratch 3.0 instead of ScratchX because of the end of Flash. Flash shouldn't be a problem, it's probably the fact that you're using a school computer. Though you shouldn't have any problems with the extension itself, it's just running the server program that maybe your dead end.
I have left Scratch! Goodbye everyone, I'll remember you all in therapy.
If you want to ever get in contact with me again, please visit my Github instead.
Also, if you need to, you can contact me via Meower. You'll know where to look.
If you want to ever get in contact with me again, please visit my Github instead.
Also, if you need to, you can contact me via Meower. You'll know where to look.
- hf3i05
- Scratcher
94 posts
CloudLink - A powerful websocket extension
I tried using CloudLink on my personal computer, not a school computer.Well, I have Flash installed so that I can use a few school websites, but I don't use it for anything else. Should I disable it and then try again? Or… could it be you are using Flash? Flash is shutting down, so maybe that may be the problem…
CloudLink uses Scratch 3, which uses HTML and JS. It doesn't need Flash. I created CloudLink for Scratch 3.0 instead of ScratchX because of the end of Flash. Flash shouldn't be a problem, it's probably the fact that you're using a school computer. Though you shouldn't have any problems with the extension itself, it's just running the server program that maybe your dead end.
Last edited by hf3i05 (Sept. 3, 2020 20:23:53)
- DabDatBass
- Scratcher
1000+ posts
CloudLink - A powerful websocket extension
I'm on my dad's macOS, i'll see if i can run Cloudlink…
My browser / operating system: MacOS Macintosh X 10.13.6, Chrome 80.0.3987.149, No Flash version detected
edit: didnt work on mac ;-;
My browser / operating system: MacOS Macintosh X 10.13.6, Chrome 80.0.3987.149, No Flash version detected
edit: didnt work on mac ;-;
Last edited by DabDatBass (Sept. 5, 2020 18:34:29)
- hf3i05
- Scratcher
94 posts
CloudLink - A powerful websocket extension
Well, it should definitely work on Windows, maybe on Linux (it didn't work for me on Ubuntu 20.04 ‘Focal Fossa’), but I'm not sure if it works on macOS. Ask your dad to disable the firewall on the Mac and try again. I'm on my dad's macOS, i'll see if i can run Cloudlink…
My browser / operating system: MacOS Macintosh X 10.13.6, Chrome 80.0.3987.149, No Flash version detected
edit: didnt work on mac ;-;
- MikeDEV
- Scratcher
1000+ posts
CloudLink - A powerful websocket extension
(Sorry for a semi-necropost) I've been experimenting with CloudLink for a while now. Here's some of the current quirks:
1. AFAIK, a CloudLink server can only be remotely accessed via ngrok (using HTTP/HTTPS mode, NOT TCP) or a port forwarded IP. This is most likely due to my semi-proprietary protocol developed upon standard WebSockets, and that it doesn't handshake normally like any other websockets-based application would.
2. The “Status” variable only outputs text. I should probably convert this into a numeric-code based system in the future for easier project diagnostics.
3. If an error occurs within the client-side script, there's no way of knowing what went wrong unless if you have access to the inspect element tool.
While I can't immediately grantee that I can fix these, I can get a demo project up and running for testers. I have been thinking about making a demo for a while now, but I haven't been able to find the time.
1. AFAIK, a CloudLink server can only be remotely accessed via ngrok (using HTTP/HTTPS mode, NOT TCP) or a port forwarded IP. This is most likely due to my semi-proprietary protocol developed upon standard WebSockets, and that it doesn't handshake normally like any other websockets-based application would.
2. The “Status” variable only outputs text. I should probably convert this into a numeric-code based system in the future for easier project diagnostics.
3. If an error occurs within the client-side script, there's no way of knowing what went wrong unless if you have access to the inspect element tool.
While I can't immediately grantee that I can fix these, I can get a demo project up and running for testers. I have been thinking about making a demo for a while now, but I haven't been able to find the time.
Last edited by MikeDEV (Sept. 22, 2020 21:50:44)
I have left Scratch! Goodbye everyone, I'll remember you all in therapy.
If you want to ever get in contact with me again, please visit my Github instead.
Also, if you need to, you can contact me via Meower. You'll know where to look.
If you want to ever get in contact with me again, please visit my Github instead.
Also, if you need to, you can contact me via Meower. You'll know where to look.
- dozer8383
- Scratcher
100 posts
CloudLink - A powerful websocket extension
I am trying to create an online web browser (not the REAL web, although someone did somehow manage to fetch real web pages in Scratch), and I might need some advice. I am at a intermediate level of cloud variable use (can make 2-player cloud games, 128-character databases, etc.).
when gf clicked
say quietly [I hate Scratch 2.0 code blocks...] ::looks
if <needs help? ::sensing> then
say [I need help!!]
wait (2) days ::control
if <has help? ::sensing> then
celebrate ::control
git tuh work!! ::control
else
smash [ computer v] ::control
take over the [ world v] ::control
I love cloud variables!
- MikeDEV
- Scratcher
1000+ posts
CloudLink - A powerful websocket extension
Hello everyone. I'm happy to announce that CloudLink has reached it's 1.x Milestone.
I've added new features for checking if a packet was received (for easier synchronised I/O), and the Status variable has been simplified to a value between 0-4. More info can be found in the Wiki page of CloudLink on GitHub.
Demo project in the making! Stay tuned for more!
I've added new features for checking if a packet was received (for easier synchronised I/O), and the Status variable has been simplified to a value between 0-4. More info can be found in the Wiki page of CloudLink on GitHub.
Demo project in the making! Stay tuned for more!
I have left Scratch! Goodbye everyone, I'll remember you all in therapy.
If you want to ever get in contact with me again, please visit my Github instead.
Also, if you need to, you can contact me via Meower. You'll know where to look.
If you want to ever get in contact with me again, please visit my Github instead.
Also, if you need to, you can contact me via Meower. You'll know where to look.
- Discussion Forums
- » Developing Scratch Extensions
- » CloudLink - A powerful websocket extension