Discuss Scratch
- Discussion Forums
- » Suggestions
- » Increasing the Cloud Variable Limit
- Ihatr
-
Scratcher
1000+ posts
Increasing the Cloud Variable Limit
and the site is already laggy enoughHow the hell would this make the site more laggy? It would contain the same amount of data storage. Do you even have any idea of what makes a webpage laggy?
- CoolLionMan
-
Scratcher
1000+ posts
Increasing the Cloud Variable Limit
sorry, I have literally no idea about javascript and htmland the site is already laggy enoughHow the hell would this make the site more laggy? It would contain the same amount of data storage. Do you even have any idea of what makes a webpage laggy?
- Ihatr
-
Scratcher
1000+ posts
Increasing the Cloud Variable Limit
Then don't make assumptions about things you don't know about.sorry, I have literally no idea about javascript and htmland the site is already laggy enoughHow the hell would this make the site more laggy? It would contain the same amount of data storage. Do you even have any idea of what makes a webpage laggy?
- gosoccerboy5
-
Scratcher
1000+ posts
Increasing the Cloud Variable Limit
and the site is already laggy enough, no supportThis suggestion is trying to find a plausible way around the lag/storage troubles while expanding the abilities you have, did you even read the OP
- Ihatr
-
Scratcher
1000+ posts
Increasing the Cloud Variable Limit
You can implement your own cloud storage engine to split the 2560 digits between different variables however you want. For example, here is mine: https://scratch.mit.edu/projects/485326740/ . (I didn't optimize it fully so it is a bit slow)Really cool, but I don't think cloud project makers would like to implement this every time they need to make more cloud variables.
- CoolLionMan
-
Scratcher
1000+ posts
Increasing the Cloud Variable Limit
it's an educated guess, if a server is managing more data then it would have a harder time doing it which means more lag, that's my logicThen don't make assumptions about things you don't know about.sorry, I have literally no idea about javascript and htmland the site is already laggy enoughHow the hell would this make the site more laggy? It would contain the same amount of data storage. Do you even have any idea of what makes a webpage laggy?
- Ihatr
-
Scratcher
1000+ posts
Increasing the Cloud Variable Limit
How can you make an educated guess when you yourself said that you have no experience with Javascript or HTMLit's an educated guess, if a server is managing more data then it would have a harder time doing it which means more lag, that's my logicThen don't make assumptions about things you don't know about.sorry, I have literally no idea about javascript and htmland the site is already laggy enoughHow the hell would this make the site more laggy? It would contain the same amount of data storage. Do you even have any idea of what makes a webpage laggy?
- TopCode
-
Scratcher
1000+ posts
Increasing the Cloud Variable Limit
the only extra data would be the names, which dont change reallyit's an educated guess, if a server is managing more data then it would have a harder time doing it which means more lag, that's my logicThen don't make assumptions about things you don't know about.sorry, I have literally no idea about javascript and htmland the site is already laggy enoughHow the hell would this make the site more laggy? It would contain the same amount of data storage. Do you even have any idea of what makes a webpage laggy?
- bunnyCoder16
-
Scratcher
500+ posts
Increasing the Cloud Variable Limit
super helpful is some project I'm making, so total support
- jaaxon
-
Scratcher
3 posts
Increasing the Cloud Variable Limit
hello
i know im very late to this. but you can actually get more than 10.
make another project with cloud variables, store it in your backpack, then go back to your project, and pull out those cloud variables!
super simple. but i havent tested it, so im not sure.
let me know if this worked!
i know im very late to this. but you can actually get more than 10.
make another project with cloud variables, store it in your backpack, then go back to your project, and pull out those cloud variables!
super simple. but i havent tested it, so im not sure.
let me know if this worked!
Last edited by jaaxon (Sept. 29, 2021 15:27:45)
- PenguinLover1123
-
Scratcher
1000+ posts
Increasing the Cloud Variable Limit
Use cloud list workarounds
- medians
-
Scratcher
1000+ posts
Increasing the Cloud Variable Limit
No support right now because this would be too expensive to do.
- dhuls
-
Scratcher
1000+ posts
Increasing the Cloud Variable Limit
helloIncorrect. Backpacking cloud variables turns them into regular variables with a cloud emoji
i know im very late to this. but you can actually get more than 10.
make another project with cloud variables, store it in your backpack, then go back to your project, and pull out those cloud variables!
super simple. but i havent tested it, so im not sure.
let me know if this worked!
- Ji1mmyB
-
Scratcher
100+ posts
Increasing the Cloud Variable Limit
Use cloud list workarounds
Ya but the thing is, is that cloud vars have a character limit also. And the limit is so dang small you can't even have the thought of any player persistence. Because if your game gets really popular, then you can't hold enough data to actually satisfy each player.
- DIAVLODUDE
-
Scratcher
76 posts
Increasing the Cloud Variable Limit
Sometimes I need more than 10 cloud variables, and sometimes I need one cloud variable containing more than 256 numbers, but obviously because there are too many Scratchers, the Scratch servers can not handle so many variables containing so much data, therefore, the Scratch Team made limits at 10 cloud variables per project and 256 numbers per variable.
For example, if you make a cloud vote, everyone can reload the project and vote again, to solve this you would need to make a list of all users who already have voted, but splitting up one variable into 5 variables is really hard.
My Idea is that the amount of numbers per variable depends on the number of cloud variables. For example, if you have 1 variable the limit is 2560 numbers if you have 10 variables the limit is 256 numbers if you have 256 variables the limit is 10 numbers, etc. This would be really useful for some projects.
Would be expensive for Scratch Team. No support
Last edited by DIAVLODUDE (March 11, 2022 03:45:03)
- musicROCKS013
-
Scratcher
1000+ posts
Increasing the Cloud Variable Limit
I don't really see why this would be necessary. I could see someone getting confused about how the cloud variable limit works. The way it works now is honestly more straightforward, but I do see how this would help more experienced scratchers. I just don't really get why you'd always need the maximum cloud variable capacity in your project. Plus, can scratch even handle 10^2560 or will it just turn into “Infinity”?
- jackson49
-
Scratcher
1000+ posts
Increasing the Cloud Variable Limit
Would be expensive for Scratch Team.I doubt it. There wouldn't be any more stress on the server, and this would probably be fairly easy to implement.
Plus, can scratch even handle 10^2560 or will it just turn into “Infinity”?Good point. For normal variables, numbers higher than 10^309 become infinity. You can get around it using join blocks though since that makes it a string. For example:
(join ([10^ v] of (308)) ([10^ v] of (308)))So it appears that Scratch can handle strings that long, but not numbers. So this suggestion would (from my understanding) still work despite that problem.
Last edited by jackson49 (July 15, 2022 18:09:59)
- IndexErrorException
-
Scratcher
500+ posts
Increasing the Cloud Variable Limit
No support. I know scratch's limits are just plain bad. If a character takes 2 bytes, a 100 TB server could do 195,312,500,000 CLOUD VARIABLES at 256 characters each. MIT has more than enough resources to give us any amount of characters.
- Discussion Forums
- » Suggestions
-
» Increasing the Cloud Variable Limit