Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Cʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢ
- -motionless-
-
Scratcher
100+ posts
Cʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢ
Cʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢ
So I'm making a project which uses cloud variables. For some reason if I open 2 tabs and and run the project on both the cloud variables are different. Any ideas why?
So I'm making a project which uses cloud variables. For some reason if I open 2 tabs and and run the project on both the cloud variables are different. Any ideas why?
- danger695
-
Scratcher
100+ posts
Cʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢ
Cʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢCould you link the project?
So I'm making a project which uses cloud variables. For some reason if I open 2 tabs and and run the project on both the cloud variables are different. Any ideas why?
- -motionless-
-
Scratcher
100+ posts
Cʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢ
/deleted post/
Last edited by -motionless- (Nov. 25, 2022 20:58:12)
- -motionless-
-
Scratcher
100+ posts
Cʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢ
Ummm I'd rather not share it but……….fine hereCʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢCould you link the project?
So I'm making a project which uses cloud variables. For some reason if I open 2 tabs and and run the project on both the cloud variables are different. Any ideas why?
- danger695
-
Scratcher
100+ posts
Cʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢ
Sorry, we just have no way of knowing what the problem is if you don't link the project. By the way, the link doesn't work.Ummm I'd rather not share it but……….fine hereCʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢCould you link the project?
So I'm making a project which uses cloud variables. For some reason if I open 2 tabs and and run the project on both the cloud variables are different. Any ideas why?
- theforgottenwisp
-
Scratcher
100+ posts
Cʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢ
Here's some potential issues:
Cloud servers down (this is unlikely, because other projects seem to work fine)
The cloud variable is >250 numbers long
No delay in between consecutive cloud variable update blocks (like this)
Cloud servers down (this is unlikely, because other projects seem to work fine)
The cloud variable is >250 numbers long
No delay in between consecutive cloud variable update blocks (like this)
change [☁ a v] by (0)
wait (0.1) secs // add this between all cloud variable update blocks
change [☁ b v] by (0)
- meowmeowbowow
-
Scratcher
100+ posts
Cʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢ
It is probably just an issue with the Scratch cloud servers since 10000+ projects are using the cloud servers.
~~~~Meowmeowbowow~~~~
~~~~Meowmeowbowow~~~~
- -motionless-
-
Scratcher
100+ posts
Cʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢ
Here's some potential issues:Wait thanks. I think the problem was that there wasn't a delay in between the changing of the variable. Il try it out
Cloud servers down (this is unlikely, because other projects seem to work fine)
The cloud variable is >250 numbers long
No delay in between consecutive cloud variable update blocks (like this)change [☁ a v] by (0)
wait (0.1) secs // add this between all cloud variable update blocks
change [☁ b v] by (0)
- deck26
-
Scratcher
1000+ posts
Cʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢ
You do need to test using two separate accounts with Scratcher status - different tabs/browsers/devices with the same username are essentially the same as far as the cloud server is concerned.
- -motionless-
-
Scratcher
100+ posts
Cʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢ
You do need to test using two separate accounts with Scratcher status - different tabs/browsers/devices with the same username are essentially the same as far as the cloud server is concerned.Ye I'm doing that
- medians
-
Scratcher
1000+ posts
Cʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢ
You can no longer view unshared projects unless you’re the creator due to api changes, so it’s hard to know exactly what the problem is.Ummm I'd rather not share it but……….fine hereCʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢCould you link the project?
So I'm making a project which uses cloud variables. For some reason if I open 2 tabs and and run the project on both the cloud variables are different. Any ideas why?
Did that work?Here's some potential issues:Wait thanks. I think the problem was that there wasn't a delay in between the changing of the variable. Il try it out
Cloud servers down (this is unlikely, because other projects seem to work fine)
The cloud variable is >250 numbers long
No delay in between consecutive cloud variable update blocks (like this)change [☁ a v] by (0)
wait (0.1) secs // add this between all cloud variable update blocks
change [☁ b v] by (0)
- T_S_H_M
-
Scratcher
11 posts
Cʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢ
its because the cloud variable is for all sprites instead change it to for this sprite only.
I think
I think
- medians
-
Scratcher
1000+ posts
Cʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢ
its because the cloud variable is for all sprites instead change it to for this sprite only.You can’t, cloud vars are always all sprites.
I think
- -motionless-
-
Scratcher
100+ posts
Cʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢ
its because the cloud variable is for all sprites instead change it to for this sprite only.Xd Im talking about cloud variables
I think
- -motionless-
-
Scratcher
100+ posts
Cʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢ
NoYou can no longer view unshared projects unless you’re the creator due to api changes, so it’s hard to know exactly what the problem is.Ummm I'd rather not share it but……….fine hereCʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢCould you link the project?
So I'm making a project which uses cloud variables. For some reason if I open 2 tabs and and run the project on both the cloud variables are different. Any ideas why?Did that work?Here's some potential issues:Wait thanks. I think the problem was that there wasn't a delay in between the changing of the variable. Il try it out
Cloud servers down (this is unlikely, because other projects seem to work fine)
The cloud variable is >250 numbers long
No delay in between consecutive cloud variable update blocks (like this)change [☁ a v] by (0)
wait (0.1) secs // add this between all cloud variable update blocks
change [☁ b v] by (0)
- tdb3
-
Scratcher
8 posts
Cʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢ
Scratch doesn't update cloud variables if it has a space ( ), underscore (_), or any other letter or symbol.
It also doesn't update if you have more than 1 period/decimal (.) or dash/negative symbol/minus (-). However, you can use 1 or none.
By the way if you need more cloud variables than just a limit of 10, use one of the cloud variables in a sprite, then go to backdrops, delete the one you used and make a new one. Since they are for all sprites, it doesn't delete any variables that have been used in another sprite.
If it doesn't work, go to a random sprite and it should show up without deleting the other one.
It also doesn't update if you have more than 1 period/decimal (.) or dash/negative symbol/minus (-). However, you can use 1 or none.
By the way if you need more cloud variables than just a limit of 10, use one of the cloud variables in a sprite, then go to backdrops, delete the one you used and make a new one. Since they are for all sprites, it doesn't delete any variables that have been used in another sprite.
If it doesn't work, go to a random sprite and it should show up without deleting the other one.
- -motionless-
-
Scratcher
100+ posts
Cʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢ
Scratch doesn't update cloud variables if it has a space ( ), underscore (_), or any other letter or symbol.Ye if doesn't include any of those things but that cloud variable trick tysm. It works
It also doesn't update if you have more than 1 period/decimal (.) or dash/negative symbol/minus (-). However, you can use 1 or none.
By the way if you need more cloud variables than just a limit of 10, use one of the cloud variables in a sprite, then go to backdrops, delete the one you used and make a new one. Since they are for all sprites, it doesn't delete any variables that have been used in another sprite.
If it doesn't work, go to a random sprite and it should show up without deleting the other one.

Last edited by -motionless- (Nov. 28, 2022 06:46:24)
- EmServer
-
New Scratcher
47 posts
Cʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢ
Make sure there are only numbers or it won’t update for anyone else
- -motionless-
-
Scratcher
100+ posts
Cʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢ
The cloud variables randomly begin working then they stop and it's really weird
- EmServer
-
New Scratcher
47 posts
Cʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢ
If you don’t want to share it then can you show the problematic code with [scratchblocks]?
- Discussion Forums
- » Help with Scripts
-
» Cʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢ