Discuss Scratch

somelia
Scratcher
100+ posts

Real cloud variable glitch this time

In this project, you have to save the advice twice before it will retrieve the correct data. I've looked over my scripts carefully and they don't seem to be the problem. Is this a cloud glitch?

Update: It stopped doing it, and I was about to post here, but now it did it again. Is anyone else experiencing this sort of thing on any of their cloud projects?

Last edited by somelia (June 10, 2013 03:50:07)


“Thinking of world domination makes me feel warm and fuzzy inside.”
andre_rifaut
Scratcher
100+ posts

Real cloud variable glitch this time

If you allow anybody to click on your project, you do not know if you are the last one to have clicked. It can be the case that two persons clicked at the same moment …

One way to control that is
1) create a non-cloud variable ttt and put into it the “days since 2000” multiplied by 100…000 to get only digits each time just before saving in cloud vars
2) add a cloud variable cttt and save ttt in it

When you ask to re-play, you can just control if the ttt var has the same value as the cttt

somelia
Scratcher
100+ posts

Real cloud variable glitch this time

I found the glitch before anybody else had viewed the project, so it's highly unlikely that anybody else saved cloud data. It's also unlikely that they would have saved the same advice that had previously been generated just seconds before because there are so many different possible combinations. I guess that's a possibility, though.

“Thinking of world domination makes me feel warm and fuzzy inside.”

Powered by DjangoBB