Discuss Scratch

PalmTrees2323
Scratcher
3 posts

Cloud Variable issues

Hi guys, does anyone know about this cloud variable issue?
I made a game where when something happens, it impacts a cloud variable.
However, whenever I impact a cloud variable in the system and then reload the page, the cloud variable is set to 0. I am not setting the cloud variable to 0 at the beginning of the project, and I am a scratcher.
Can someone help?
TheUltimateHoodie
Scratcher
1000+ posts

Cloud Variable issues

yea cloud variables are just slow. they are not consistent and thats why i dont use them.
alebro6DW
Scratcher
100+ posts

Cloud Variable issues

PalmTrees2323 wrote:

Hi guys, does anyone know about this cloud variable issue?
I made a game where when something happens, it impacts a cloud variable.
However, whenever I impact a cloud variable in the system and then reload the page, the cloud variable is set to 0. I am not setting the cloud variable to 0 at the beginning of the project, and I am a scratcher.
Can someone help?
Normally I would use the exact same code but not use cloud variables.
existentialcrisises
Scratcher
100+ posts

Cloud Variable issues

PalmTrees2323 wrote:

Hi guys, does anyone know about this cloud variable issue?
I made a game where when something happens, it impacts a cloud variable.
However, whenever I impact a cloud variable in the system and then reload the page, the cloud variable is set to 0. I am not setting the cloud variable to 0 at the beginning of the project, and I am a scratcher.
Can someone help?
Another possibility is that you're changing the cloud variable to something containing letters or symbols. Cloud variables have a limit of 256 digits and can only store numbers, so maybe you're changing the variable to something that it can't store.
StoneCascade
Scratcher
27 posts

Cloud Variable issues

PalmTrees2323 wrote:

Hi guys, does anyone know about this cloud variable issue?
I made a game where when something happens, it impacts a cloud variable.
However, whenever I impact a cloud variable in the system and then reload the page, the cloud variable is set to 0. I am not setting the cloud variable to 0 at the beginning of the project, and I am a scratcher.
Can someone help?

There are multiple options onto why your cloud variables aren't working. Usually it has to do with putting too much stuff into it or putting something other than a number in it (like what existentialcrises said).

Another option is that the cloud variable isn't valid. You may have backpacked it or it just doesn't work. Try deleting it and making a new one and see if the problem still happens.
PalmTrees2323
Scratcher
3 posts

Cloud Variable issues

I just realised- there is a character being used in the cloud variable.

askwhy did I not think of that???andwait

Powered by DjangoBB