Discuss Scratch
- Discussion Forums
- » Bugs and Glitches
- » cloud variables don't work
- DadOfMrLog
-
1000+ posts
cloud variables don't work
Yeah, just shared a project that uses cloud vars, and it totally fails to put anything into the cloud log…
http://scratch.mit.edu/projects/10575810/
Anyone got anything shared recently with cloud vars that's actually working…?
Should add that I also tried making a brand new project, and uploading the scripts into it, then sharing that.
(That's what above project is, actually - the copy I tried after original failed.)
http://scratch.mit.edu/projects/10575810/
Anyone got anything shared recently with cloud vars that's actually working…?
Should add that I also tried making a brand new project, and uploading the scripts into it, then sharing that.
(That's what above project is, actually - the copy I tried after original failed.)
Last edited by DadOfMrLog (June 1, 2013 15:06:07)
- SFollis_tests
-
13 posts
cloud variables don't work
the last time my project worked, was yesterday, i'm not sure if it's people not viewing or the cloud variable not working, i'm guessing cloud variable not working… I can't use my test account because it's a ‘New Scratcher’
apparently 27 people have viewed it, but it sure seems like more have
i think it's the cloud variable not working…
EDIT: darn it
wrong account.
apparently 27 people have viewed it, but it sure seems like more have

EDIT: darn it

Last edited by SFollis_tests (June 1, 2013 15:10:54)
- DadOfMrLog
-
1000+ posts
cloud variables don't work
@SFollis_tests:
Just looked like your project worked for me - at least, the cloud log claims I got added to the list.
Just looked like your project worked for me - at least, the cloud log claims I got added to the list.
- SFollis
-
500+ posts
cloud variables don't work
ok, so it appears that my project works, maybe the glitch depends when it was shared? @SFollis_tests:
Just looked like your project worked for me - at least, the cloud log claims I got added to the list.
EDIT: yeah, that's probably it, because it seems both of your projects were shared the first of june (today)
Last edited by SFollis (June 1, 2013 15:21:51)
- DadOfMrLog
-
1000+ posts
cloud variables don't work
Yeah, and there was an update yesterday (?) that made some changes to the way cloud works…
- Wes64test
-
38 posts
cloud variables don't work
i made a test project here http://scratch.mit.edu/projects/10576782/#player
the cloud variables are “working” but the entries are added out of order. it is meant to go up 1 for every click, but the update thing looks like this: 1,2,4,5,3,4
the cloud variables are “working” but the entries are added out of order. it is meant to go up 1 for every click, but the update thing looks like this: 1,2,4,5,3,4
- DadOfMrLog
-
1000+ posts
cloud variables don't work
I've just made an exact copy of Wes64's project, and made a remix of it. Neither of them are working for me.
I'm wondering if maybe the problem is actually that projects now made by users who have *never made a cloud variable project before* don't work?
I've never shared a cloud project before…
Maybe there's something that's not getting initialised for the very first time…?
I'm wondering if maybe the problem is actually that projects now made by users who have *never made a cloud variable project before* don't work?
I've never shared a cloud project before…
Maybe there's something that's not getting initialised for the very first time…?
- DadOfMrLog
-
1000+ posts
cloud variables don't work
OK, it looks like cloud vars are not working for projects if they are from an existing project - i.e. if they are from a remix or a copy.
See http://scratch.mit.edu/discuss/topic/7043/
See http://scratch.mit.edu/discuss/topic/7043/
- sdg1
-
100+ posts
cloud variables don't work
@SFollis_tests:
Just looked like your project worked for me - at least, the cloud log claims I got added to the list.
Confirmed that this particular case works.
- sdg1
-
100+ posts
cloud variables don't work
this project…The cloud variables don't work on
Is that a copy of another project that you had?
OK, it looks like cloud vars are not working for projects if they are from an existing project - i.e. if they are from a remix or a copy.
See http://scratch.mit.edu/discuss/topic/7043/
Awesome - thanks for investigating. Am looking into it.
- SFollis
-
500+ posts
cloud variables don't work
oh no! my project isn't working because of this, you can vote twice. Now i just have to put votes back manually
it won't update the cloud variable by itself
although it should do it by itself.
EDIT: and it doesn't show that i updated the cloud variable manually in the cloud log!


EDIT: and it doesn't show that i updated the cloud variable manually in the cloud log!
Last edited by SFollis (June 4, 2013 19:14:15)
- alex0091845
-
14 posts
cloud variables don't work
@DadOfMrLog : My project doesn't work even it is not remixed . Here's the link: http://scratch.mit.edu/projects/11358745/#player
It did work once, but that was yesterday. And later on it never worked like yesterday.
It did work once, but that was yesterday. And later on it never worked like yesterday.
- LiFaytheGoblin
-
1000+ posts
cloud variables don't work
I noticed something:
When I change the cloud variables in this project when I followed the link in the message-box to a comment, it sets the cloud variable back after some seconds.
But if I delete the part of the URL that leads to the comment, the cloud variables work!
When I change the cloud variables in this project when I followed the link in the message-box to a comment, it sets the cloud variable back after some seconds.
But if I delete the part of the URL that leads to the comment, the cloud variables work!
- ashbyr1
-
8 posts
cloud variables don't work
I've been experimenting with cloud variables for the last couple of days and was having quite a bit of difficulty. I suspect there is an issue with browser compatibility. When I ran the project simultaneously in Chrome on two computers, I ran into problems. I suspected the cache was not updating correctly. When I closed Chrome on one computer and opened the project in Firefox, it seemed to run fine on both systems.
- mitchboy
-
1000+ posts
cloud variables don't work
not remixed . Here's the link: http://scratch.mit.edu/projects/11358745/#playerThat's interesting. After I heard what LiFaytheGoblin said, I thought removing the #player from the URL would work, but it didn't. @DadOfMrLog : My project doesn't work even it is
It did work once, but that was yesterday. And later on it never worked like yesterday.
Try replacing the “set high score to” block with this script.
- DadOfMrLog
-
1000+ posts
cloud variables don't work
@alex0091845:
Did you upload it at some point from a file on disk? This also (used to?) cause cloud vars to stop working.
Anyway, whatever it may be, I'd suggest you delete the cloud var and create a new one (probably best to go for a different name just to be sure) - and make sure you've purged all mention of the old one from your scripts, replacing with the new one.
BTW, I noticed one thing in your scratch cat sprite (Sprite1): you have “when P key pressed”. But there are several clones of that sprite, so they will all respond to this and try to run the pause script. It may happen to work right now, but some simple change later on could cause this to break…
If you want to keep that script in the same sprite, then you'll have to make sure you can tell apart the clones from the original sprite. (e.g. by using a local variable that's set to zero “when GF clicked”, but set to one “when I start as a clone”. Then you can have just the original doing the pausing by checking if that variable is zero.)
A simpler way would be to move the “when P key pressed” script to another sprite that doesn't have clones (“pause” is a global var, so it should be fine, right?) - probably “Sprite4” would make sense
EDIT: Maybe you're aware of this already, but just in case (since it's similar to above)… all clones also respond to broadcasts. At the moment you're ok since there are no other clones around when you broadcast “message1” - but it's so easy to fall into that trap (forgetting to stop your clones acting on a broadcast if you only want the original sprite to act upon it) - done it myself, even recently
Did you upload it at some point from a file on disk? This also (used to?) cause cloud vars to stop working.
Anyway, whatever it may be, I'd suggest you delete the cloud var and create a new one (probably best to go for a different name just to be sure) - and make sure you've purged all mention of the old one from your scripts, replacing with the new one.
BTW, I noticed one thing in your scratch cat sprite (Sprite1): you have “when P key pressed”. But there are several clones of that sprite, so they will all respond to this and try to run the pause script. It may happen to work right now, but some simple change later on could cause this to break…
If you want to keep that script in the same sprite, then you'll have to make sure you can tell apart the clones from the original sprite. (e.g. by using a local variable that's set to zero “when GF clicked”, but set to one “when I start as a clone”. Then you can have just the original doing the pausing by checking if that variable is zero.)
A simpler way would be to move the “when P key pressed” script to another sprite that doesn't have clones (“pause” is a global var, so it should be fine, right?) - probably “Sprite4” would make sense

EDIT: Maybe you're aware of this already, but just in case (since it's similar to above)… all clones also respond to broadcasts. At the moment you're ok since there are no other clones around when you broadcast “message1” - but it's so easy to fall into that trap (forgetting to stop your clones acting on a broadcast if you only want the original sprite to act upon it) - done it myself, even recently

Last edited by DadOfMrLog (July 17, 2013 19:31:52)
- ashbyr1
-
8 posts
cloud variables don't work
I managed to get cloud variables working for simple multi-player interaction in this project:
http://scratch.mit.edu/projects/11466955/
It runs fine in Firefox, but seems to glitch when I use Chrome, especially when editing.
I'm sure with a few tweaks the lag and jumpiness could be improved.
http://scratch.mit.edu/projects/11466955/
It runs fine in Firefox, but seems to glitch when I use Chrome, especially when editing.
I'm sure with a few tweaks the lag and jumpiness could be improved.
- ashbyr1
-
8 posts
cloud variables don't work
I just made this remix of a project with cloud variables http://scratch.mit.edu/projects/11472956/ and it worked, so that's not always the issue
.
.
this project…The cloud variables don't work on
Is that a copy of another project that you had?OK, it looks like cloud vars are not working for projects if they are from an existing project - i.e. if they are from a remix or a copy.
See http://scratch.mit.edu/discuss/topic/7043/
Awesome - thanks for investigating. Am looking into it.
- alex0091845
-
14 posts
cloud variables don't work
@DadOfMrLog:
Thanks for your advice
, I'll try to do what you said above.
Thanks for your advice

- Discussion Forums
- » Bugs and Glitches
-
» cloud variables don't work