Discuss Scratch

-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?
danger695
Scratcher
100+ posts

Cʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢ

-motionless- wrote:

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?
Could you link the project?
-motionless-
Scratcher
100+ posts

Cʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢ

/deleted post/

Last edited by -motionless- (Nov. 25, 2022 20:58:12)

-motionless-
Scratcher
100+ posts

Cʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢ

danger695 wrote:

-motionless- wrote:

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?
Could you link the project?
Ummm I'd rather not share it but……….fine here
danger695
Scratcher
100+ posts

Cʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢ

-motionless- wrote:

danger695 wrote:

-motionless- wrote:

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?
Could you link the project?
Ummm I'd rather not share it but……….fine here
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.
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)
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~~~~
-motionless-
Scratcher
100+ posts

Cʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢ

theforgottenwisp wrote:

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)
change [☁ a v] by (0)
wait (0.1) secs // add this between all cloud variable update blocks
change [☁ b v] by (0)
Wait thanks. I think the problem was that there wasn't a delay in between the changing of the variable. Il try it out
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 ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢ

deck26 wrote:

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 ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢ

-motionless- wrote:

danger695 wrote:

-motionless- wrote:

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?
Could you link the project?
Ummm I'd rather not share it but……….fine here
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.

-motionless- wrote:

theforgottenwisp wrote:

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)
change [☁ a v] by (0)
wait (0.1) secs // add this between all cloud variable update blocks
change [☁ b v] by (0)
Wait thanks. I think the problem was that there wasn't a delay in between the changing of the variable. Il try it out
Did that work?
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
medians
Scratcher
1000+ posts

Cʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢ

T_S_H_M wrote:

its because the cloud variable is for all sprites instead change it to for this sprite only.
I think
You can’t, cloud vars are always all sprites.
-motionless-
Scratcher
100+ posts

Cʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢ

T_S_H_M wrote:

its because the cloud variable is for all sprites instead change it to for this sprite only.
I think
Xd Im talking about cloud variables
-motionless-
Scratcher
100+ posts

Cʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢ

medians wrote:

-motionless- wrote:

danger695 wrote:

-motionless- wrote:

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?
Could you link the project?
Ummm I'd rather not share it but……….fine here
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.

-motionless- wrote:

theforgottenwisp wrote:

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)
change [☁ a v] by (0)
wait (0.1) secs // add this between all cloud variable update blocks
change [☁ b v] by (0)
Wait thanks. I think the problem was that there wasn't a delay in between the changing of the variable. Il try it out
Did that work?
No
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.
-motionless-
Scratcher
100+ posts

Cʟᴏᴜᴅ ᴠᴀʀɪᴀʙʟᴇs ᴀʀᴇɴ'ᴛ ᴜᴘᴅᴀᴛɪɴɢ

tdb3 wrote:

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.
Ye if doesn't include any of those things but that cloud variable trick tysm. It works

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]?

Powered by DjangoBB