Discuss Scratch

LittleBigStinker
Scratcher
57 posts

cloud stuff help

the cloud list you made malicondi for some reason doesn't work for me I don't know what I did wrong, but it would be really nice in my game.
Malicondi
Scratcher
1000+ posts

cloud stuff help

LittleBigStinker wrote:

the cloud list you made malicondi for some reason doesn't work for me I don't know what I did wrong, but it would be really nice in my game.
Can you share the project? without the link there isn't much for me to help with.
LittleBigStinker
Scratcher
57 posts

cloud stuff help

yeah
my game I want it in = https://scratch.mit.edu/projects/982670948/

the game I tried to make it in = https://scratch.mit.edu/projects/985903914/

btw how and what does having more cloud variables do?

Last edited by LittleBigStinker (March 20, 2024 00:49:55)

Malicondi
Scratcher
1000+ posts

cloud stuff help

LittleBigStinker wrote:

btw how and what does having more cloud variables do?
more cloud variables = more list space.
LittleBigStinker
Scratcher
57 posts

cloud stuff help

ok but do you know how to fix it? no rush
Malicondi
Scratcher
1000+ posts

cloud stuff help

LittleBigStinker wrote:

ok but do you know how to fix it? no rush
Yeah, I was just testing it out. Issue #1, in your script you're using characters the code doesn't know how to encode and decode, this one: “|” either add that to the characters list, or don't use those characters. Issue #2, a small typo I made in my post was to have this block:
addstringtocloud list
inside of the if else block of the “read value from cloud variables ©” block, instead, place it at the very end of the script, and change it to this:
ifstring=thenelseaddstringtocloud list leave it blank
That should solve your problems, as it did for me, hope this helps!
A small nitpick that's not needed is to add a “delete all of characters” at the start of setup lists to prevent issues, but it's not required.
Edit: also make sure to when making a new cloud variable to set it to blank before adding values to it or it will break it.

Last edited by Malicondi (March 20, 2024 01:15:37)

MineTurte
Scratcher
1000+ posts

cloud stuff help

Malicondi wrote:

LittleBigStinker wrote:

ok but do you know how to fix it? no rush
Yeah, I was just testing it out. Issue #1, in your script you're using characters the code doesn't know how to encode and decode, this one: “|” either add that to the characters list, or don't use those characters. Issue #2, a small typo I made in my post was to have this block:
addstringtocloud list
inside of the if else block of the “read value from cloud variables ©” block, instead, place it at the very end of the script, and change it to this:
ifstring=thenelseaddstringtocloud list leave it blank
That should solve your problems, as it did for me, hope this helps!
A small nitpick that's not needed is to add a “delete all of characters” at the start of setup lists to prevent issues, but it's not required.
Edit: also make sure to when making a new cloud variable to set it to blank before adding values to it or it will break it.
To clarify on blank:
set cloudvariableto
not
set cloudvariableto((imagine a space here))
LittleBigStinker
Scratcher
57 posts

cloud stuff help

Still doesn't work https://scratch.mit.edu/projects/985903914/

I'm going to get off for the day. I'll be on tomorrow.

Last edited by LittleBigStinker (March 20, 2024 01:31:27)

MineTurte
Scratcher
1000+ posts

cloud stuff help

LittleBigStinker wrote:

Still doesn't work https://scratch.mit.edu/projects/985903914/

I'm going to get off for the day. I'll be on tomorrow.
Alrighty (even if you weren't talking to me lol). Seeya later.
Malicondi
Scratcher
1000+ posts

cloud stuff help

LittleBigStinker wrote:

Still doesn't work https://scratch.mit.edu/projects/985903914/

I'm going to get off for the day. I'll be on tomorrow.
it's because your cloud variables starts with 2 zeros. That's the issue just set the cloud variable back to blank and re encode it and it will work.
Edit: also add the “add (string) to list” at the end of the block, it's inside the if else block.

Last edited by Malicondi (March 20, 2024 02:26:50)

LittleBigStinker
Scratcher
57 posts

cloud stuff help

sorry to keep bothering you but I don't think I did this right

https://scratch.mit.edu/projects/985903914/
MineTurte
Scratcher
1000+ posts

cloud stuff help

LittleBigStinker wrote:

sorry to keep bothering you but I don't think I did this right

https://scratch.mit.edu/projects/985903914/
Nah don't apologize for something that isn't your fault lol. We are here to help so don't feel bad. Tbh though I can't help you anymore, not really sure where y'all at w/ this and I've been helping others so my brain is kinda overloading. Malicondi will help you though. Or at least should, tbh idk.
LittleBigStinker
Scratcher
57 posts

cloud stuff help

so how does this actually work malicondi because whenever i click the green flag nothing happens even though it says add _ to cloud list
Malicondi
Scratcher
1000+ posts

cloud stuff help

LittleBigStinker wrote:

so how does this actually work malicondi because whenever i click the green flag nothing happens even though it says add _ to cloud list
if you check the remix I made of your project, it has the fix. Like I said in my previous posts, the problem was a typo in my essay on cloud lists, where I meant to put this block:
addstringtocloud list
at the very end of the script, and then edit it to this:
ifstring=thenelseaddstringtocloud list
LittleBigStinker
Scratcher
57 posts

cloud stuff help

oh i just wasnt clicking it
LittleBigStinker
Scratcher
57 posts

cloud stuff help

what order do you press the scripts in? I really am relying on this cloud list to work.
Malicondi
Scratcher
1000+ posts

cloud stuff help

LittleBigStinker wrote:

what order do you press the scripts in? I really am relying on this cloud list to work.
I remixed it with the changes, go look at the remix code to help you fi your problem, in the read code from cloud block.
LittleBigStinker
Scratcher
57 posts

cloud stuff help

but you know how pressing the custom blocks does individual things right? what order do you press them in because it seems like I got it to some what work one time by randomly pressing them but then it broke or something
Malicondi
Scratcher
1000+ posts

cloud stuff help

LittleBigStinker wrote:

but you know how pressing the custom blocks does individual things right? what order do you press them in because it seems like I got it to some what work one time by randomly pressing them but then it broke or something
the only custom blocks you have to press is the "read cloud variable (c)" because I made it do all the work for you

Last edited by Malicondi (March 21, 2024 23:14:13)

LittleBigStinker
Scratcher
57 posts

cloud stuff help

so i did that and now its adding exactly what i put in to the cloud list but still doesnt work when having two tabs open I tried to refresh one but nothing happened

edit - my list game is updated

Last edited by LittleBigStinker (March 21, 2024 23:24:39)

Powered by DjangoBB