Discuss Scratch

-poly-
Scratcher
14 posts

How to make a cloud chat?

Ok, so recently I've decided to make a chat. At first it seems to work. But if I refresh everything that I've typed is all gone. So I'm wondering how to make a cloud chat? Also how to see who's online? Thanks!
BKFighter
Scratcher
1000+ posts

How to make a cloud chat?

Could you link the project so we can offer more specific help? Also, it would do you good to use the search bar at the top of the page to see what other people have done, and you will need to make sure its white-listed.
Srevilo
Scratcher
92 posts

How to make a cloud chat?

-poly- wrote:

Ok, so recently I've decided to make a chat. At first it seems to work. But if I refresh everything that I've typed is all gone. So I'm wondering how to make a cloud chat? Also how to see who's online? Thanks!
To make a cloud chat, make sure you are using a good cloud list engine. And make sure that you add a whitelist of good words.

Last edited by Srevilo (Jan. 4, 2016 23:13:59)

Validusername16
Scratcher
11 posts

How to make a cloud chat?

Srevilo wrote:

-poly- wrote:

Ok, so recently I've decided to make a chat. At first it seems to work. But if I refresh everything that I've typed is all gone. So I'm wondering how to make a cloud chat? Also how to see who's online? Thanks!
To make a cloud chat, make sure you are using a good cloud list engine. And make sure that you add a whitelist of bad words.
You mean a blacklist?
Also, i got some popup the 1st time i was using a cloud var saying “no chatrooms” ._.
Kongu84
Scratcher
100+ posts

How to make a cloud chat?

Scratch does not currently allow chatrooms, but if you do as GriffPatch does, you could make an online game with chat built in. That's how he gets away with it. :3
PixelZebra
Scratcher
60 posts

How to make a cloud chat?

Cloud variables only support numerals for now. Chat rooms are not allowed at this moment, even tho they are possible. People use white lists of words you can use, that way the Scratch team won't Un-Share your project. The way white lists work is:
~Create a list of white list words (hello, sorry, how, are, you)
~Use the number of the word to write it for ex if Hello is number 1 on the list, use number 1

This is all i can help you out with, Good luck with the rest. I've never tried making one of those…

KermitMC
Scratcher
100+ posts

How to make a cloud chat?

PixelZebra wrote:

Cloud variables only support numerals for now. Chat rooms are not allowed at this moment, even tho they are possible. People use white lists of words you can use, that way the Scratch team won't Un-Share your project. The way white lists work is:
~Create a list of white list words (hello, sorry, how, are, you)
~Use the number of the word to write it for ex if Hello is number 1 on the list, use number 1

This is all i can help you out with, Good luck with the rest. I've never tried making one of those…

It's a lot easier if you give each letter a number instead of each word.
Srevilo
Scratcher
92 posts

How to make a cloud chat?

Validusername16 wrote:

Srevilo wrote:

-poly- wrote:

Ok, so recently I've decided to make a chat. At first it seems to work. But if I refresh everything that I've typed is all gone. So I'm wondering how to make a cloud chat? Also how to see who's online? Thanks!
To make a cloud chat, make sure you are using a good cloud list engine. And make sure that you add a whitelist of bad words.
You mean a blacklist?
Also, i got some popup the 1st time i was using a cloud var saying “no chatrooms” ._.
Sorry, whitelist of good words.
Srevilo
Scratcher
92 posts

How to make a cloud chat?

Kongu84 wrote:

Scratch does not currently allow chatrooms, but if you do as GriffPatch does, you could make an online game with chat built in. That's how he gets away with it. :3
You can do them, just you have to make it safe.

The Scratch Team wrote:

Hi there,

Thanks for your message. When making a ‘chat room’ project on Scratch, rather than making a ‘bad word’ list, it is important to incorporate a safelist of words. This way the only chat that can occur will contain words from the safelist and therefore words that are appropriate for the Scratch website.

Here is one example of a project that uses an appropriate safelist:

https://scratch.mit.edu/projects/46587498/

I hope this helps!

Christan
Scratch Team
On Mon, 21 Dec at 6:30 PM , Oliverstott <oliverstott@optusnet.com.au> wrote:
Hi,

I know there's been a lot of chatter in the Scratch community about Cloud Chat Rooms, but I just want to know 1 simple thing.

If you created a cloud chat room that you wanted to be censored, would you be allowed to create a list of swear words and make a script that checks the sentence for the items in that list? I was wondering because even though that could make it safer, the project itself would contain swear words.

Thanks,
Srevilo

Metadata:
- User: Srevilo (https://scratch.mit.edu/users/Srevilo/)
- Operating System: MacOS Macintosh X 10.11
- Browser: Safari 9.0
- Flash Version: Flash 20.0 (release 0)
-poly-
Scratcher
14 posts

How to make a cloud chat?

There's this project https://scratch.mit.edu/projects/11978091/ that's sort of like my idea. I've tried looking through the script but it's a bit confusing
JonathanSchaffer
Scratcher
1000+ posts

How to make a cloud chat?

-poly- wrote:

Ok, so recently I've decided to make a chat. At first it seems to work. But if I refresh everything that I've typed is all gone. So I'm wondering how to make a cloud chat? Also how to see who's online? Thanks!
cloud chats are against the rules.

Last edited by JonathanSchaffer (Jan. 5, 2016 01:48:25)

-poly-
Scratcher
14 posts

How to make a cloud chat?

JonathanSchaffer wrote:

-poly- wrote:

Ok, so recently I've decided to make a chat. At first it seems to work. But if I refresh everything that I've typed is all gone. So I'm wondering how to make a cloud chat? Also how to see who's online? Thanks!
cloud chats are against the rules.

Yeah. But search it up on Scratch. Loads of people are doing it and nobody is saying anything, are they?
deck26
Scratcher
1000+ posts

How to make a cloud chat?

Chat generally seems to be allowed if you're using a white list.

If you store the number of the white list item you don't need to encode/decode individual characters which is quicker and takes up less space. Just make sure you pad the numbers so they're all the same length - eg all 3 digitis.
Orange_Scratch_Cat
Scratcher
100+ posts

How to make a cloud chat?

-poly- wrote:

Ok, so recently I've decided to make a chat. At first it seems to work. But if I refresh everything that I've typed is all gone. So I'm wondering how to make a cloud chat? Also how to see who's online? Thanks!

Orange_Scratch_Cat wrote:

When everything you wrote is gone when you refresh, it must mean that you are new to Scratch.
Okay. Thanks for the info!

Last edited by Orange_Scratch_Cat (Jan. 31, 2016 15:27:32)

alshfik
Scratcher
38 posts

How to make a cloud chat?

-poly- wrote:

Ok, so recently I've decided to make a chat. At first it seems to work. But if I refresh everything that I've typed is all gone. So I'm wondering how to make a cloud chat? Also how to see who's online? Thanks!
How to see if there is another person:
whenclickedforeverset☁ Online?to5.3858267 set☁ Online?to5.4825583 set☁ Online?to5.3565836 set☁ Online?to5.3628462 set☁ Online?to5.9276148
and then somehow detect if its not in order and if its not in order there is someone else online
but if you want the username:
You will have to translate the username to binary and then to a non-cloud variable from binary to english
and chat rooms are well, banned

Powered by DjangoBB