Discuss Scratch

imfh
Scratcher
1000+ posts

Cloud Variables Limited to 128 Characters Now?

RaiderJacJac wrote:

The “multiplayer” concept is no longer active, because cloud variables require you to refresh. Oh well.
128 character limit, and no words. I wish it didn't have to be this way.

They are still live and don't require page refresh as far as I can tell. Multiplayer games can be made, you just have to be conservative. Here's a project that works and still has people play it from time to time(2 people on it at time of writing): slither.io by @griffpatch.

Scratch to Pygame converter: https://scratch.mit.edu/discuss/topic/600562/
Archival
Scratcher
36 posts

Cloud Variables Limited to 128 Characters Now?

jacobsmash1 wrote:

Everybody stop saying cloud is bad! The only reason why the scratch team made cloud in the first place was for simple stuff like hi-scores!

so are you on the scratchteam?


Maybe somebody should ask them instead of arguing.

{ insert non-original advertisement }
{ insert unique signature }
thisandagain
Forum Moderator
500+ posts

Cloud Variables Limited to 128 Characters Now?

Archival wrote:

jacobsmash1 wrote:

Everybody stop saying cloud is bad! The only reason why the scratch team made cloud in the first place was for simple stuff like hi-scores!

so are you on the scratchteam?


Maybe somebody should ask them instead of arguing.

That is true. Cloud Variables were created to support simple things like high-scores. Because of this, the architecture of Cloud Variables is not well suited to high-performance use cases (like multiplayer games). That said, I think that some of the ways in which people want to use them are really interesting. If we ever get around to a complete rethink of the system I would want to redesign and rearchitect it with these high performance / high concurrency use cases in mind.
modrapetka
Scratcher
100+ posts

Cloud Variables Limited to 128 Characters Now?

thisandagain wrote:

Archival wrote:

jacobsmash1 wrote:

Everybody stop saying cloud is bad! The only reason why the scratch team made cloud in the first place was for simple stuff like hi-scores!

so are you on the scratchteam?


Maybe somebody should ask them instead of arguing.

That is true. Cloud Variables were created to support simple things like high-scores. Because of this, the architecture of Cloud Variables is not well suited to high-performance use cases (like multiplayer games). That said, I think that some of the ways in which people want to use them are really interesting. If we ever get around to a complete rethink of the system I would want to redesign and rearchitect it with these high performance / high concurrency use cases in mind.

May I suggest (the suggestion board is ignored, so I post here) a post noting these limits to high-end projects? Since Scratch is not designed for anything complicated, let's at least stop people from wasting time.

We cannot answer every question, but I bet we can answer any question.
AFocusOnLisp
New to Scratch
13 posts

Cloud Variables Limited to 128 Characters Now?

thisandagain wrote:

Archival wrote:

jacobsmash1 wrote:

Everybody stop saying cloud is bad! The only reason why the scratch team made cloud in the first place was for simple stuff like hi-scores!

so are you on the scratchteam?


Maybe somebody should ask them instead of arguing.

That is true. Cloud Variables were created to support simple things like high-scores. Because of this, the architecture of Cloud Variables is not well suited to high-performance use cases (like multiplayer games). That said, I think that some of the ways in which people want to use them are really interesting. If we ever get around to a complete rethink of the system I would want to redesign and rearchitect it with these high performance / high concurrency use cases in mind.
So much for “low floor, high ceiling.”
Nambaseking01
Scratcher
1000+ posts

Cloud Variables Limited to 128 Characters Now?

thisandagain wrote:

Hi folks,
As many of you have noticed we have added some limits to the Cloud Variables system that previously did not exist. We have added a 128 character limit and we are now restricting cloud variables to be numbers only (no hexadecimal, E-notation, etc). These new limits were put into place to prevent abuse of the cloud variables system that was causing it to be unreasonable to maintain, scale, moderate, and support financially. In addition, these new limits help reduce the possibility of projects like “Chat Rooms” (which are incredibly difficult for the ST to keep safe). We recognize that these new limits may impact some projects, but hope the community will be empathetic in understanding that as a non-profit Scratch needs to make sure that the services we provide are sustainable. Thanks for understanding and sorry it took a few days for us to clarify the situation.

I understand, but Helixable has still made a chat room, could you please see that project and tell me if that is necessarily allowed?

Hey there! My name is Nammy. I'm a male Forum Helper and Scratch Wiki Editor.
Profile | Test Account | Talk with me here! | Griffpatch is quitting Scratch?!
coolguy73921
Scratcher
23 posts

Cloud Variables Limited to 128 Characters Now?

when green flag clicked
say [i wanna make a chatroom but I don’t know how] for (2) secs
switch backdrop to [classroom v]
say [] for (2) secs
say [today we are learning to code] for (2) secs

I PLAY MCPE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!lol

Profile|RUN!!!!! (one of my best games!)
lol yay!
when I receive [cookies v]
point towards [plate v]

eat!
cuddley
Scratcher
100+ posts

Cloud Variables Limited to 128 Characters Now?

Cloud variables are now effectively useless

Generation 3: the first time you see this copy and paste it on top of your sig in the scratch forums and increase generation by 1. Social experiment.

I don't know what to write.
imfh
Scratcher
1000+ posts

Cloud Variables Limited to 128 Characters Now?

cuddley wrote:

Cloud variables are now effectively useless

Why do you say that? They seem to work quite well for games such as slither.io and have enough space to hold good leaderboards.

Scratch to Pygame converter: https://scratch.mit.edu/discuss/topic/600562/
cuddley
Scratcher
100+ posts

Cloud Variables Limited to 128 Characters Now?

Not really, and the Scratch team said that they don't like servers either

Generation 3: the first time you see this copy and paste it on top of your sig in the scratch forums and increase generation by 1. Social experiment.

I don't know what to write.
Nambaseking01
Scratcher
1000+ posts

Cloud Variables Limited to 128 Characters Now?

cuddley wrote:

Cloud variables are now effectively useless

They are useful for Hi-scores and stuff, but of course not for things like chat rooms and Scratch e-mails!

Hey there! My name is Nammy. I'm a male Forum Helper and Scratch Wiki Editor.
Profile | Test Account | Talk with me here! | Griffpatch is quitting Scratch?!
babalewla
Scratcher
3 posts

Cloud Variables Limited to 128 Characters Now?

I am not very experienced so I don't know if this would actually work but maybe instead of limiting cloud variables, you could restrict certain words from being in lists, in speech and thought bubbles, and in anything where they could be displayed to a user. I know there's also the costs and stuff of running the cloud variable servers, but I think that could be a solution for the regulatory side of things at least.
Sheep_maker
Scratcher
1000+ posts

Cloud Variables Limited to 128 Characters Now?

babalewla wrote:

I am not very experienced so I don't know if this would actually work but maybe instead of limiting cloud variables, you could restrict certain words from being in lists, in speech and thought bubbles, and in anything where they could be displayed to a user. I know there's also the costs and stuff of running the cloud variable servers, but I think that could be a solution for the regulatory side of things at least.
Blacklists are too easy to bypass, won't work for all languages, and it's still possible to hurt someone using acceptable words.

- Sheep_maker This is a kumquat-free signature. :P
This is my signature. It appears below all my posts. Discuss it on my profile, not the forums. Here's how to make your own.
.postsignature { overflow: auto; } .scratchblocks { overflow-x: auto; overflow-y: hidden; }
phoenixN1
Scratcher
34 posts

Cloud Variables Limited to 128 Characters Now?

right now for scratch 3.0 cloud data doesn't work. example: https://scratch.mit.edu/projects/171305998/ spin it once, then refresh the page. nothing happens. My browser / operating system: MacOS Macintosh X 10.13.6, Chrome 72.0.3626.121, No Flash version detected

#SaveTheEarth by remixing this: https://scratch.mit.edu/projects/281780436/ nature, world, environment… and the pollution made by human… we are human… we cut down trees… we litter the ocean… we waste electricity… our massive use of transportation… now we can see… smokes and gases fills up the sky… ice is melting… the world's getting warmer… and we still think it is not our fault… we're busy with ourselves… we took everything from our earth… we need to start think!
imfh
Scratcher
1000+ posts

Cloud Variables Limited to 128 Characters Now?

phoenixN1 wrote:

right now for scratch 3.0 cloud data doesn't work. example: https://scratch.mit.edu/projects/171305998/ spin it once, then refresh the page. nothing happens. My browser / operating system: MacOS Macintosh X 10.13.6, Chrome 72.0.3626.121, No Flash version detected

That project changing the cloud variable ~15 times a second probably has something to do with it. It isn't quite as stable as it used to, but it still works. It's also possible it was just down earlier. I think there's also a problem with 2.0 projects that used cloud variables.

Scratch to Pygame converter: https://scratch.mit.edu/discuss/topic/600562/
TheLogFather
Scratcher
1000+ posts

Cloud Variables Limited to 128 Characters Now?

phoenixN1 wrote:

right now for scratch 3.0 cloud data doesn't work. example: https://scratch.mit.edu/projects/171305998/ spin it once, then refresh the page. nothing happens. My browser / operating system: MacOS Macintosh X 10.13.6, Chrome 72.0.3626.121, No Flash version detected
As imfh was suggesting above, old projects that were made with Scratch 2 appear to not properly collect their values from cloud. Changes to cloudvars from such projects do get through to cloud, though – so their cloudvars are effectively ‘one-way’.

I.e. if you want your old project to work with cloud, try resaving it under Scratch 3.


Also, as imfh was alluding to above, the cloud system currently places specific limits on how often cloudvars can change – the cloud server will reject a cloudvar change that's within 0.1s of the last change.

What that means in practice is that after a project changes any cloudvar you must make sure there's a clear 0.1s gap before it makes another change to any cloudvar (whether the same one or a different one).

You can read more about the reasons/issues around this here: https://github.com/LLK/scratch-gui/issues/4243

Last edited by TheLogFather (March 25, 2019 08:04:37)


Siggy the Kumquat slayer:
Main account: DadOfMrLog –– Frameworks for basic pen-rendered 3D in scratch (see studio). Examples:

- - - - 3D Text - - - - - - Simple shapes - - - Controllable structures - - - On the ground - - - - - - In space - - - -

csf30816
Scratcher
500+ posts

Cloud Variables Limited to 128 Characters Now?

I have come up with a system that should work. I am going to try to make a fully interactive web browser with the new Scratch cloud limit. (and of course Scratch Team, it will have a serverside whitelist). I'll keep you informed

Have a nice day,
csf

insert my old sig here
csf30816
Scratcher
500+ posts

Cloud Variables Limited to 128 Characters Now?

I got it working. Still, have some problems with it skipping lines. Heres a picture: https://pasteboard.co/I8kAaSX.png

Once I fix the skipping lines it will fill the whole page and the words will be legible.

Last edited by csf30816 (April 2, 2019 22:13:33)


insert my old sig here
wgyt
Scratcher
1000+ posts

Cloud Variables Limited to 128 Characters Now?

First of all, you can copy the cloud variable and move it into a separate variable in the project. Second of all how in the world do you get text into Cloud variables?

william - not active - https://wgyt.tk
imfh
Scratcher
1000+ posts

Cloud Variables Limited to 128 Characters Now?

wgyt wrote:

First of all, you can copy the cloud variable and move it into a separate variable in the project. Second of all how in the world do you get text into Cloud variables?
I don't know if that would work to bypass the 10 variable limit. Have you actually tested it and looked at the cloud monitor to be sure? The cloud monitor can be accessed by clicking the cloud variable icon on the project page.

Text is put into cloud variables by first turning it into a number. E.g. A > 01, B > 02, Z > 26, 0 > 27, 1 > 28. As far as I know, there is no way to put text directly in a cloud variable and save it to the server.

Scratch to Pygame converter: https://scratch.mit.edu/discuss/topic/600562/

Powered by DjangoBB