Discuss Scratch

turkey3
Scratcher
1000+ posts

Saving script (cloud data) WITHOUT a code

You can always use Encoding/Decoding Cloud Data on the Wiki.

bainer101
Scratcher
35 posts

Saving script (cloud data) WITHOUT a code

I Do Not Doubt Your Coding, It Is Brilliant, But I Would Highly Appreciate It If You Made A Project Demonstrating It
1234abcdcba4321
Scratcher
1000+ posts

Saving script (cloud data) WITHOUT a code

bainer101 wrote:

I Do Not Doubt Your Coding, It Is Brilliant, But I Would Highly Appreciate It If You Made A Project Demonstrating It
Yeah, I'm doing that now. It should be ready within 72 hours.

I'd highly appreciate it if you were to follow me. Don't forget to go to my profile.
All of my programming suggestions <— You should really get the suggestions move back to the suggestions forum!
Five hundred posts! I never expected to get up there… In only 2-3 months.
Does anyone know what a signature is? I mean, I've already seen 6-7 people get confused.
CraZGuy
Scratcher
77 posts

Saving script (cloud data) WITHOUT a code

I just asked if you could create the script, that was all.

@CraZGuy 0|^_^|o

Years of Scratch, and I am still astounded by its community.
Flalamingo
Scratcher
100+ posts

Saving script (cloud data) WITHOUT a code

Thank you thank you thank you thank you!

Flalamingo
Scratcher
100+ posts

Saving script (cloud data) WITHOUT a code

Are some of those cloud variables? Which ones?

derpmeup
Scratcher
1000+ posts

Saving script (cloud data) WITHOUT a code

CraZGuy wrote:

Okay,but what about Griffpatch's cloud multiplayer game?
You don't have to put in a codetoload progress; just go in with your username.

His multiplayer game converted everything to numbers, too.

hey bro that's a pretty good meme xD!
DudmasterUltra
Scratcher
100+ posts

Saving script (cloud data) WITHOUT a code

Why not just use a code? Cloud saving is cool, but it can only save so much before crashing.

My Devices
Asus G750JX - 2TB / 16GB RAM / Intel i7 + GeForce GTX 770m / Windows 10
Galaxy S7 Edge - 32GB + 256GB / 4GB RAM / Snapdragon 820 / Android 6.0.1, Stock Unrooted
Galaxy Note 4 - 32GB + 32GB / 3GB RAM / Snapdragon 805 / Android 5.1.1, Stock Unrooted
Google Nexus 9 - 32GB / 2GB RAM / NVIDIA Tegra K1 / Android 6.0.1, Cyanogenmod 13 Rooted
Galaxy Tab S2 - 32GB / 3GB RAM / Exynos 5433 / Android 6.0.1, Stock Rooted + Xposed
Gear Live (Android Wear) - 4GB / 512MB RAM / Snapdragon 400 / Android 6.0.1, Stock Rooted
Fossil Q (Android Wear) - 4GB / 512MB RAM / Intel Atom / Android 6.0.1, Stock
Asus Zenfone 2 - 12GB / 2GB RAM / Intel x86 / Android 6.0.1, Cyanogenmod 13 Rooted
Moto G - 8GB / 1GB RAM / Snapdragon 400 / Android 5.0.2 Stock
(!) Kindle Fire HDX, HD - 32GB / 2GB RAM / Snapdragon 800 / Corrupted operating system
CraZGuy
Scratcher
77 posts

Saving script (cloud data) WITHOUT a code

DudmasterUltra wrote:

Why not just use a code? Cloud saving is cool, but it can only save so much before crashing.
True stuff. I guess I will just do it

@CraZGuy 0|^_^|o

Years of Scratch, and I am still astounded by its community.
typemaster
Scratcher
100+ posts

Saving script (cloud data) WITHOUT a code

blartex wrote:

My cloud data won't save!!!!!!!!!!!
did you do it wrong?

Owner of TPM!!!!
when green flag clicked
forever
set [what I'm doing] to [playing destiny]
end
meowmoo
Scratcher
500+ posts

Saving script (cloud data) WITHOUT a code

What does interperet code do?

http://fyucha.com/

R a i n b o w
meowmoo
Scratcher
500+ posts

Saving script (cloud data) WITHOUT a code

DudmasterUltra wrote:

Why not just use a code? Cloud saving is cool, but it can only save so much before crashing.
yeah, but with codes someone can break the code. Also, you can use this for highscores or multiplayer.

http://fyucha.com/

R a i n b o w
billk123
Scratcher
28 posts

Saving script (cloud data) WITHOUT a code

meowmoo wrote:

What does interperet code do?
Same question I was going to ask.
RPFluffy
Scratcher
1000+ posts

Saving script (cloud data) WITHOUT a code

CraZGuy wrote:

idk man that's what IM askin

Go to questions about scratch then not HELP WITH SCRIPTS is that hard to comprehend

Nothing Is EVER 100%, that is just an assumption.















Some important links: Here and here or need help click Here. Eats followers, Loves helping people.
My “..” and “…” are not spelling mistakes, it means that they are ways of telling someone that I can continue more about it and that the sentence isn't ended the best way. I like putting new indents and lines so I can split up what I am talking about.




































Some important links: Here and here or need help click Here. Eats followers, Loves helping people. Check this MMO out! Kiwi = Support WHAT THAT'S IMPOSSIBLE: Through the drop down ;)
if <> :: control cstart

else :: control
end
mrguy1
Scratcher
14 posts

Saving script (cloud data) WITHOUT a code

when green flag clicked
ask [how do make a cloud data high score list with username] and wait
CraZGuy
Scratcher
77 posts

Saving script (cloud data) WITHOUT a code

mrguy1 wrote:

when green flag clicked
ask [how do make a cloud data high score list with username] and wait


I'm askin that!

@CraZGuy 0|^_^|o

Years of Scratch, and I am still astounded by its community.
okay12
New to Scratch
5 posts

Saving script (cloud data) WITHOUT a code

how do you get the interpret code block?
arcadegames1
Scratcher
100+ posts

Saving script (cloud data) WITHOUT a code


Join our Google in Scratch Collab at Google In Scratch
codeJacob56
Scratcher
32 posts

Saving script (cloud data) WITHOUT a code

1234abcdcba4321 wrote:

define encode [String]
set [chars v] to [1234567890abcdefghijklmnopqrstuvwxyz_] // +whatever else you want
set [output v] to []
set [i v] to [0]
repeat (length of (String))
change [i v] by (1)
set [i2 v] to [0]
repeat until <(letter (i) of (String)) = (letter (i2) of (chars))>
change [i2 v] by (1)
end
if <(i2) > [9]> then
set [output v] to (join (output) (join [0] (i2)))
else
set [output v] to (join (output) (i2))
end
end
define decode (Number)
set [chars v] to [1234567890abcdefghijklmnopqrstuvwxyz_] // Make sure it's the exact same as encode
set [output v] to []
set [i v] to [1]
repeat ((length of (Number)) / (2))
set [i2 v] to [0]
repeat until <(join (letter (i) of (Number)) (letter ((i) + (1)) of (Number))) = (i2)>
change [i2 v] by (1)
if <(i2) < [10]> then
set [i2 v] to (join [0] (i2))
end
end
set [output v] to (join (output) (letter (i2) of (chars)))
change [i v] by (2)
define split [string] with separator [separator]
set [i v] to [0]
delete (all v) of [output v]
add [] to [output v]
repeat (length of (string))
change [i v] by (1)
if <(letter (i) of (string)) = (separator)> then
add [] to [output v]
else
replace item (last v) of [output v] with (join (item (last v) of [output v]) (letter (i) of (string)))
end
end
define Load Cloud List
decode (cloud list) // category=custom
split (output) with separator [/] // category=custom
define Add [string] to Cloud List
Load Cloud List // category=custom
encode (join [/] (string)) // category=custom
set [cloud list v] to (join (cloud list) (output)) // cloud list is a cloud variable, BTW
Output is supposed to be orange, not red. In all of those above.
define Load save data
Load Cloud List // category=custom
set [i v] to [1]
repeat until <<(item (i) of [cloud list v]) = (username)> or <(i) > (length of [cloud list v]>>
change [i v] by (2)
end
if <(i) > (length of [cloud list v])> then
... // restart from point blank
else
set [user ID v] to ((i) + (1))
set [my save data v] to (item (user ID) of [cloud list v]
interpret code // category=custom
Basically, from here, you would do the same thing as a script in an answer box you would enter.
Huh? You want to be able to add data to that list, too?
define update to my version of list
replace all [ ] s in (output) with [/] s :: custom // this one's the only one that should be this color; the rest should be orange
encode (output ::variables) // category=custom
set [cloud list v] to (output ::variables)

define save [data] // it should be run without screen refresh, to prevent corruption
Load Cloud List // category=custom
replace item (user ID) of [output v] with (data)
update to my version of list // category=custom
interpret code // category=custom
I forgot to define this earlier, so…
define replace all (stringa) s in (stringb) to (stringc) s
set [i v] to [0]
set [output v] to []
repeat (length of (stringb))
change [i v] by (1)
if <(letter (i) of (stringb)) = (stringa)> then
set [output v] to (join (output ::variables) (stringc))
else
set [output v] to (join (output ::variables) (letter (i) of (stringb)))
end

On define load cloud list, you can't put a slash.
supa_col
Scratcher
8 posts

Saving script (cloud data) WITHOUT a code

define <mouse down?><mouse down?><mouse down?><mouse down?>

Powered by DjangoBB