Discuss Scratch

awowwowa
Scratcher
14 posts

Cloud Data

I want to discuss about Cloud data. I think Cloud Data is cool but how does it work?
DrKat123
Scratcher
1000+ posts

Cloud Data

Cloud data is a variable that's stored in the server
acwang20
Scratcher
100+ posts

Cloud Data

awowwowa wrote:

I want to discuss about Cloud data. I think Cloud Data is cool but how does it work?
Well Cloud Data is actually pretty simple with logic. Cloud Data is essentially a variable that stores into the server of Scratch. If you take a look at someone's project that uses cloud variables, in the #player URL (the game section without code) there'll be a button that says Cloud Data. Click on it. After completing that, you'll see the variable and to the right it has a number. Cloud variables can only use numbers but it can be an unlimited amount.
CatsUnited
Scratcher
1000+ posts

Cloud Data

Cloud Data is data stored on the Scratch CDN servers, and is used to connect to the Scratch server. If a cloud variable has a value of 0 and was changed to 1, a request is sent from the project page to the server, then the request is checked to see if the user is a New Scratcher. If so, then it rejects the request, but if the user is a Scratcher, it moves on. The request reaches the servers, then is beamed back to the user. Whilst there are simple uses for this, you can create multiplayer games and even a web browser (which would get blocked by the ST unless you had a whitelist, and it would also take several minutes) in Scratch with this.
DrKat123_test2
Scratcher
100+ posts

Cloud Data

CatsUnited wrote:

Cloud Data is data stored on the Scratch CDN servers, and is used to connect to the Scratch server. If a cloud variable has a value of 0 and was changed to 1, a request is sent from the project page to the server, then the request is checked to see if the user is a New Scratcher. If so, then it rejects the request, but if the user is a Scratcher, it moves on. The request reaches the servers, then is beamed back to the user. Whilst there are simple uses for this, you can create multiplayer games and even a web browser (which would get blocked by the ST unless you had a whitelist, and it would also take several minutes) in Scratch with this.
Web browser? Idk that!
CatsUnited
Scratcher
1000+ posts

Cloud Data

DrKat123_test2 wrote:

Web browser? Idk that!
Someone did make a web browser with cloud hax, but got removed by the ST because you could go on inappropriate sites with it, even though the browser was pretty much unusable.
awowwowa
Scratcher
14 posts

Cloud Data

acwang20 wrote:

awowwowa wrote:

I want to discuss about Cloud data. I think Cloud Data is cool but how does it work?
Well Cloud Data is actually pretty simple with logic. Cloud Data is essentially a variable that stores into the server of Scratch. If you take a look at someone's project that uses cloud variables, in the #player URL (the game section without code) there'll be a button that says Cloud Data. Click on it. After completing that, you'll see the variable and to the right it has a number. Cloud variables can only use numbers but it can be an unlimited amount.

But how do you add it to a game?
SCN_Rob
Scratcher
28 posts

Cloud Data

CatsUnited wrote:

If a cloud variable has a value of 0 and was changed to 1, a request is sent from the project page to the server, then the request is checked to see if the user is a New Scratcher. If so, then it rejects the request, but if the user is a Scratcher, it moves on. The request reaches the servers, then is beamed back to the user.

That would explain what i am seeing, but I am not happy about it. I thought that the restriction was that you could only build a project using cloud variable when you are a Scratcher. When in fact, cloud variables won't work at all when you are a new Scratcher. Meaning that a project that uses cloud variables can appear broken to a new Scratcher because he cannot read or write the cloud data, that the project needs to function.

Is this true?

Powered by DjangoBB