Discuss Scratch

KittyCatKayden
Scratcher
1000+ posts

Cloud variables are not working.

NOTE: I recently shared the project in this image, and added a message saying that the variables aren't working and that you must comment instead.

I am experiencing this issue where in a project I'm working on that allows you to vote using cloud variables, each time the page is refreshed the variables are reset.

Last edited by KittyCatKayden (April 28, 2023 04:51:03)

iiDk__
Scratcher
100+ posts

Cloud variables are not working.

i think you have it so that when the green flag is clicked it sets the cloud variable to 0
try removing that
10data10
Scratcher
100+ posts

Cloud variables are not working.

I think the cloud is still having problems. My very simple test https://scratch.mit.edu/projects/452064851/ will frequently reset the cat’s count back to 266 but you can see in the log that it has been higher.

However, can you try your program just using plain Scratch, no extensions and not running under turbowarp? From your picture there is a pause button.
KittyCatKayden
Scratcher
1000+ posts

Cloud variables are not working.

iiDk__ wrote:

i think you have it so that when the green flag is clicked it sets the cloud variable to 0
try removing that
I don't have that thing.

10data10 wrote:

I think the cloud is still having problems. My very simple test https://scratch.mit.edu/projects/452064851/ will frequently reset the cat’s count back to 266 but you can see in the log that it has been higher.

However, can you try your program just using plain Scratch, no extensions and not running under turbowarp? From your picture there is a pause button.
How do I remove my addons? Without losing my settings?
medians
Scratcher
1000+ posts

Cloud variables are not working.

Yeah this isn't a problem with forbidden word, it's that the cloud is still having issues.

KittyCatKayden wrote:

How do I remove my addons? Without losing my settings?
By the way, you can live without a pause button, but I'm not sure how to live without the Discuss and Help buttons.

10data10 wrote:

However, can you try your program just using plain Scratch, no extensions and not running under turbowarp? From your picture there is a pause button.
That's not the problem, it happens without extensions too. And they're not using TurboWarp because that's not what TurboWarp looks like.

Last edited by medians (April 27, 2023 22:38:19)

Knightbot63
Scratcher
1000+ posts

Cloud variables are not working.

This is a current issue with cloud currently where it doesn't record, it is nothing to do with your Browser Extensions. So just wait it out or use TurboWarp's cloud.
10data10
Scratcher
100+ posts

Cloud variables are not working.

You are right that people are having problems with the cloud servers but it’s still a valid debugging technique to ask people to test their programs under the actual Scratch interpreter. If they share their project then we can do that but when they don’t it’s fair to ask then to try because when something is broken and all you have is a description it makes sense to simplify.

Knightbot63 wrote:

This is a current issue with cloud currently where it doesn't record, it is nothing to do with your Browser Extensions. So just wait it out or use TurboWarp's cloud.

I’m not seeing that it does not record. I modified my simple cloud tester to see how long it takes before the cloud variable delivers the correct value: https://scratch.mit.edu/projects/452064851/ After 10 trials of reloading and restarting the program the range of elapsed time before the cloud variable switched to the correct value ranged from 16 to 198 seconds. However, if I had two instances of this project running in different tabs, the time to update the cloud variables in both was visually instantaneous.

I don’t know if that could be helpful to you or not. You might try opening two tabs and running your project in each of them, but after reloading one of the tabs you will need to do something in the project in the other tab to update the cloud variables.

BTW, I don’t believe that there is anything to be learned from running without extensions in this case. Just trying all options.

Last edited by 10data10 (April 28, 2023 04:54:25)

medians
Scratcher
1000+ posts

Cloud variables are not working.

It's been doing stuff like this:


Look at how it's reverting..
When you go back into the actual project it shows the old value and changing it does that.

Last edited by medians (April 28, 2023 13:20:09)

Powered by DjangoBB