Discuss Scratch

theonlygusti
Scratcher
1000+ posts

What's the current cloud variable limit?

What's the current max size allowed for cloud variables?
gubbensteve
Scratcher
23 posts

What's the current cloud variable limit?

its a 256 character limit
Catscratcher07
Scratcher
1000+ posts

What's the current cloud variable limit?

256 characters per cloud variable

ninja'd

Last edited by Catscratcher07 (Feb. 13, 2024 19:56:15)

theonlygusti
Scratcher
1000+ posts

What's the current cloud variable limit?

What does this project report the length as for you: https://scratch.mit.edu/projects/965749360

This project was meant to help me find out the limit of cloud variables, and test them, but actually the cloud variable doesn't seem to be working like a cloud variable should

Last edited by theonlygusti (Feb. 13, 2024 21:49:56)

Chocolate_Burger
Scratcher
47 posts

What's the current cloud variable limit?

theonlygusti wrote:

What's the current max size allowed for cloud variables?
Cloud variables can be used to store dynamic data on Scratch servers.
-Each project can have up to ten cloud variables
-Cloud variables only work for signed-in Scratchers
-Cloud variables will not work if at any time the Scratcher enters the project editor. (Clears on reload, they will update before the opening of the editor)

Cloud variables can send a maximum of a 256-digit float. (2.01, 3.555, 29, See here for a demo)


However, cloud servers have been very buggy lately. Several projects have a similar problem where a cloud variable starts at 0.
ognerubovi
Scratcher
15 posts

What's the current cloud variable limit?

Welp, 10 cloud vars per game, with each being able to hold up to 256 digits, (no letters) or a negative 255 digit number example: -44234252352152
Catscratcher07
Scratcher
1000+ posts

What's the current cloud variable limit?

Chocolate_Burger wrote:

~SNIP~
Cloud variables can send a maximum of a 256-digit float. (2.01, 3.555, 29, See here for a demo)
.
actually, cloud variables are stored as strings, and thus are not vulnerable to floating point imprecisions.
NIKI-KOLCHAGOV
Scratcher
500+ posts

What's the current cloud variable limit?

Soo im not quite sure what you are trying to demonstrate with the project but the reason the counter continues is because you can set the cloud variable to something with a length greater than 256 but it wont save you cant set the cloud variable to text but they wont save
theonlygusti
Scratcher
1000+ posts

What's the current cloud variable limit?

NIKI-KOLCHAGOV wrote:

Soo im not quite sure what you are trying to demonstrate with the project but the reason the counter continues is because you can set the cloud variable to something with a length greater than 256 but it wont save you cant set the cloud variable to text but they wont save
The point of the project I shared is to show that cloud variables are broken.

As you can see, when you start the project, the cloud variable is 0. But it should not be, because previous users have played the project before, so it should have a value from the previous usages.

I just noticed though that I was setting it to 00000000… maybe Scratch is converting it to a number, and resetting the variable to 0. So I edited the project just now to generate 1111…. instead. We will see if that works!
theonlygusti
Scratcher
1000+ posts

What's the current cloud variable limit?

For me, that change doesn't seem to have fixed the project…
Catscratcher07
Scratcher
1000+ posts

What's the current cloud variable limit?

the limit has not been changed, if you suspect that cloud variables are bugged, report so here
-LandCea-
Scratcher
0 posts

What's the current cloud variable limit?

I'm working on a multiplayer game, but certain cloud variables don't update on a different computer while I was testing. Is there a reason for that?
Ricky-Jan
Scratcher
9 posts

What's the current cloud variable limit?

theonlygusti wrote:

What's the current max size allowed for cloud variables?
256 numbers

Powered by DjangoBB