Discuss Scratch

UnscrambledEgg
Scratcher
100+ posts

Prevent lists from resetting

Hi guys, is it possible to prevent a list from resetting after I leave a project and rejoin it? Thank you.
SpyCoderX
Scratcher
100+ posts

Prevent lists from resetting

What do you mean? If you save the project, all variables and lists should be saved as well.

New game! (link)
Have a good day/night!


\(-_-) ::#00AAAA //This is crypto. He protects my signature from the evil kumquats!
Programming is a very powerful skill. As are critical thinking and hard work.
- SpyCoderX


Norse7
Scratcher
67 posts

Prevent lists from resetting

SpyCoderX wrote:

What do you mean?
Yes, I agree, some more detail would be nice.

“It’s not a bug; it’s an undocumented feature.” ― Anonymous

when green flag clicked
forever
change [ awesomeness] by (1)
end
UnscrambledEgg
Scratcher
100+ posts

Prevent lists from resetting

SpyCoderX wrote:

What do you mean? If you save the project, all variables and lists should be saved as well.
Well, if a player adds a new item to the list, leaves the project and goes back to the project (like deleting the tab, making a new one and going back to the project) then the variable wouldn't be the same as what they set. It resets.
Fluffygamer_
Scratcher
1000+ posts

Prevent lists from resetting

UnscrambledEgg wrote:

(#4)

SpyCoderX wrote:

What do you mean? If you save the project, all variables and lists should be saved as well.
Well, if a player adds a new item to the list, leaves the project and goes back to the project (like deleting the tab, making a new one and going back to the project) then the variable wouldn't be the same as what they set. It resets.
it's the principe of a variable. However, you can use cloud variables for this ! To create a clou variable, there is an option in the new variable menu :

(my scratch is put to french but it's the same as english)

However, remember that cloud variables can only store numbers, not letters or symbols.
To use them, there are a lot of tutorials on youtube.

BREAKING NEWS
The evil kumquats have rebelled and now they don't just eat signatures.

NOW THEY EAT YOUR «MY STUFF» PAGE AND OTHER 2.0 UI PAGES !
Credit to @jmdzti_0-0

BLOCKS ARMY :
((0) - (0)) //  This is Zero. He protects my signature from evil kumquats

------(:-:)------ :: pen //  This is Bumpa. She bumps my topics when necessary. She also have a few skills at fighting since Zero taught her.

(O(w :: variables)O :: sensing) // This is Dogee. He helps me doing projects

('-' :: list) // This is Little. She verify that evil kumquats aren't coming.

° ° :: #0055ff //  This is 2S. He is the best animator I never seen on scratch. His account is Scratcheurscratch (https://scratch.mit.edu/users/Scratcheurscratch)

when green flag clicked :: cap //  This is Soja. I don't know if it's a boy or a girl but who cares ? Soja often draw thumbnails for my projects.
--CHA0S--
Scratcher
100+ posts

Prevent lists from resetting

You could also use a save code that a player can copy and paste back into the project that restores their previous data. It is commonly done by encoding the values you want into numbers, then a break in between values saved, I use 00 for my breaker. Then you let the player save it. Then to use the code the player pastes the code and you decode the numbers and set the certain variables to the correct values.

Please don’t necropost, if you need help create your own topic

Trying to become a forum helper
UnscrambledEgg
Scratcher
100+ posts

Prevent lists from resetting

https://scratch.mit.edu/projects/995823775/
This is the project which I speak of, it already uses cloud variables.

Fluffygamer_ wrote:

UnscrambledEgg wrote:

(#4)

SpyCoderX wrote:

What do you mean? If you save the project, all variables and lists should be saved as well.
Well, if a player adds a new item to the list, leaves the project and goes back to the project (like deleting the tab, making a new one and going back to the project) then the variable wouldn't be the same as what they set. It resets.
it's the principe of a variable. However, you can use cloud variables for this ! To create a clou variable, there is an option in the new variable menu :

(my scratch is put to french but it's the same as english)

However, remember that cloud variables can only store numbers, not letters or symbols.
To use them, there are a lot of tutorials on youtube.
UnscrambledEgg
Scratcher
100+ posts

Prevent lists from resetting

--CHA0S-- wrote:

You could also use a save code that a player can copy and paste back into the project that restores their previous data. It is commonly done by encoding the values you want into numbers, then a break in between values saved, I use 00 for my breaker. Then you let the player save it. Then to use the code the player pastes the code and you decode the numbers and set the certain variables to the correct values.
This is hackable though
Malicondi
Scratcher
1000+ posts

Prevent lists from resetting

UnscrambledEgg wrote:

This is hackable though
So are cloud variables. You can always make a complicated save system the people playing can't understand, so then it can't be hacked easily.

post #1000 post #100 i help in the forums post #1 post #500 0 second ninja
I recommend reading jvvg's essay about the scratch team before complaining, as it may change your opinion and provide insight on the topic.

coming soon :)


Fluffygamer_
Scratcher
1000+ posts

Prevent lists from resetting

Malicondi wrote:

(#9)

UnscrambledEgg wrote:

This is hackable though
So are cloud variables. You can always make a complicated save system the people playing can't understand, so then it can't be hacked easily.
And if you REALLY don't want them to cheat, you can hide your code. But it's really complicated.

BREAKING NEWS
The evil kumquats have rebelled and now they don't just eat signatures.

NOW THEY EAT YOUR «MY STUFF» PAGE AND OTHER 2.0 UI PAGES !
Credit to @jmdzti_0-0

BLOCKS ARMY :
((0) - (0)) //  This is Zero. He protects my signature from evil kumquats

------(:-:)------ :: pen //  This is Bumpa. She bumps my topics when necessary. She also have a few skills at fighting since Zero taught her.

(O(w :: variables)O :: sensing) // This is Dogee. He helps me doing projects

('-' :: list) // This is Little. She verify that evil kumquats aren't coming.

° ° :: #0055ff //  This is 2S. He is the best animator I never seen on scratch. His account is Scratcheurscratch (https://scratch.mit.edu/users/Scratcheurscratch)

when green flag clicked :: cap //  This is Soja. I don't know if it's a boy or a girl but who cares ? Soja often draw thumbnails for my projects.
MineTurte
Scratcher
500+ posts

Prevent lists from resetting

Fluffygamer_ wrote:

Malicondi wrote:

(#9)

UnscrambledEgg wrote:

This is hackable though
So are cloud variables. You can always make a complicated save system the people playing can't understand, so then it can't be hacked easily.
And if you REALLY don't want them to cheat, you can hide your code. But it's really complicated.
Be careful when speaking of doing that. Pretty sure it's against TOS to teach people how to do that (or even really say any searchable information about it).

(pronouns are she/her). Advanced Alpha Game Studios Manager. Our website: https://aags2.w3spaces.com
This is JuniperActias. AKA Moth mommy. If I helped you out consider following Juni-Bug (my new account)!




If you found this secret, say uwu
Signature gradients here













Fluffygamer_
Scratcher
1000+ posts

Prevent lists from resetting

MineTurte wrote:

(#11)

Fluffygamer_ wrote:

Malicondi wrote:

(#9)

UnscrambledEgg wrote:

This is hackable though
So are cloud variables. You can always make a complicated save system the people playing can't understand, so then it can't be hacked easily.
And if you REALLY don't want them to cheat, you can hide your code. But it's really complicated.
Be careful when speaking of doing that. Pretty sure it's against TOS to teach people how to do that (or even really say any searchable information about it).
It's not dangerous at all to make it, so I don't understand why ?

BREAKING NEWS
The evil kumquats have rebelled and now they don't just eat signatures.

NOW THEY EAT YOUR «MY STUFF» PAGE AND OTHER 2.0 UI PAGES !
Credit to @jmdzti_0-0

BLOCKS ARMY :
((0) - (0)) //  This is Zero. He protects my signature from evil kumquats

------(:-:)------ :: pen //  This is Bumpa. She bumps my topics when necessary. She also have a few skills at fighting since Zero taught her.

(O(w :: variables)O :: sensing) // This is Dogee. He helps me doing projects

('-' :: list) // This is Little. She verify that evil kumquats aren't coming.

° ° :: #0055ff //  This is 2S. He is the best animator I never seen on scratch. His account is Scratcheurscratch (https://scratch.mit.edu/users/Scratcheurscratch)

when green flag clicked :: cap //  This is Soja. I don't know if it's a boy or a girl but who cares ? Soja often draw thumbnails for my projects.
MineTurte
Scratcher
500+ posts

Prevent lists from resetting

Fluffygamer_ wrote:

MineTurte wrote:

(#11)

Fluffygamer_ wrote:

Malicondi wrote:

(#9)

UnscrambledEgg wrote:

This is hackable though
So are cloud variables. You can always make a complicated save system the people playing can't understand, so then it can't be hacked easily.
And if you REALLY don't want them to cheat, you can hide your code. But it's really complicated.
Be careful when speaking of doing that. Pretty sure it's against TOS to teach people how to do that (or even really say any searchable information about it).
It's not dangerous at all to make it, so I don't understand why ?
I mean teaching people how to edit the JSON file

(pronouns are she/her). Advanced Alpha Game Studios Manager. Our website: https://aags2.w3spaces.com
This is JuniperActias. AKA Moth mommy. If I helped you out consider following Juni-Bug (my new account)!




If you found this secret, say uwu
Signature gradients here













--CHA0S--
Scratcher
100+ posts

Prevent lists from resetting

UnscrambledEgg wrote:

--CHA0S-- wrote:

You could also use a save code that a player can copy and paste back into the project that restores their previous data. It is commonly done by encoding the values you want into numbers, then a break in between values saved, I use 00 for my breaker. Then you let the player save it. Then to use the code the player pastes the code and you decode the numbers and set the certain variables to the correct values.
This is hackable though
Not if you expose their username and not allow the process to continue if the username of the code doesn’t equal the players username

Please don’t necropost, if you need help create your own topic

Trying to become a forum helper
MineTurte
Scratcher
500+ posts

Prevent lists from resetting

--CHA0S-- wrote:

UnscrambledEgg wrote:

--CHA0S-- wrote:

You could also use a save code that a player can copy and paste back into the project that restores their previous data. It is commonly done by encoding the values you want into numbers, then a break in between values saved, I use 00 for my breaker. Then you let the player save it. Then to use the code the player pastes the code and you decode the numbers and set the certain variables to the correct values.
This is hackable though
Not if you expose their username and not allow the process to continue if the username of the code doesn’t equal the players username
You can just change the username in the code _skull_

(pronouns are she/her). Advanced Alpha Game Studios Manager. Our website: https://aags2.w3spaces.com
This is JuniperActias. AKA Moth mommy. If I helped you out consider following Juni-Bug (my new account)!




If you found this secret, say uwu
Signature gradients here













UnscrambledEgg
Scratcher
100+ posts

Prevent lists from resetting

Malicondi wrote:

UnscrambledEgg wrote:

This is hackable though
So are cloud variables. You can always make a complicated save system the people playing can't understand, so then it can't be hacked easily.
Interesting, I'll do that
Fluffygamer_
Scratcher
1000+ posts

Prevent lists from resetting

MineTurte wrote:

(#13)

Fluffygamer_ wrote:

MineTurte wrote:

(#11)

Fluffygamer_ wrote:

Malicondi wrote:

(#9)

UnscrambledEgg wrote:

This is hackable though
So are cloud variables. You can always make a complicated save system the people playing can't understand, so then it can't be hacked easily.
And if you REALLY don't want them to cheat, you can hide your code. But it's really complicated.
Be careful when speaking of doing that. Pretty sure it's against TOS to teach people how to do that (or even really say any searchable information about it).
It's not dangerous at all to make it, so I don't understand why ?
I mean teaching people how to edit the JSON file
I wasn't gonna teach it

BREAKING NEWS
The evil kumquats have rebelled and now they don't just eat signatures.

NOW THEY EAT YOUR «MY STUFF» PAGE AND OTHER 2.0 UI PAGES !
Credit to @jmdzti_0-0

BLOCKS ARMY :
((0) - (0)) //  This is Zero. He protects my signature from evil kumquats

------(:-:)------ :: pen //  This is Bumpa. She bumps my topics when necessary. She also have a few skills at fighting since Zero taught her.

(O(w :: variables)O :: sensing) // This is Dogee. He helps me doing projects

('-' :: list) // This is Little. She verify that evil kumquats aren't coming.

° ° :: #0055ff //  This is 2S. He is the best animator I never seen on scratch. His account is Scratcheurscratch (https://scratch.mit.edu/users/Scratcheurscratch)

when green flag clicked :: cap //  This is Soja. I don't know if it's a boy or a girl but who cares ? Soja often draw thumbnails for my projects.

Powered by DjangoBB