This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-01-18 00:42:47

slayerrobe7
Scratcher
Registered: 2011-06-24
Posts: 500+

chat project

hello i am making a project on a chat room first things fist i would like to give my current thoughts on how this would work...

1. I would like any given group of people to be able to make a chat room of their own...
2. I would like a censer for fowl language.
3. I would like for 1 person to be in more then 1 chat at once on the same page( i realize this would be difficult to do and i an willing to let go of this idea)
4. I would like for the host of each chat room to be able to boot people that are spamming the chat.(again difficult i will depart this idea if need be

i wish to avoid a lot of people so i want a small team that is willing to work together

i would like the team to have...

1 leader: me (even though I'm the leader i wont hoard my position over you i will simply try to keep thing together)

3 programmers: me

1 artist to make the chat look good and appealing

Last edited by slayerrobe7 (2012-01-18 00:43:21)


!!!When it comes to Scratch2.0 I am totally like freaking out!!!

Offline

 

#2 2012-01-18 01:08:31

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: chat project

Have you heard of Chat.PY in the Advanced Topics?


Posts: 20000 - Show all posts

Offline

 

#3 2012-01-18 01:26:36

slayerrobe7
Scratcher
Registered: 2011-06-24
Posts: 500+

Re: chat project

i have i would like to make something similar but to where host have control of chat and all users have to do is log on


!!!When it comes to Scratch2.0 I am totally like freaking out!!!

Offline

 

#4 2012-01-18 02:36:00

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: chat project

Well, display/Scratch wise, number three would be hard. But in general, you could do all of those without too much work.

How do you plan the chat to work? There are multiple methods that you can use, some are inefficient, some ways are better than others for different features. From what I see, you want something like IRC. IRC requires a server to control all the accounts, channels, channel statuses, etc. I suggest planning out how everything will work and the features and how the features will work. Like: "Client tells the server it wants to join the 'main' channel. The server then adds the client to the channel list."

To make a chat with Scratch, you need knowledge of another programming language (and knowledge of sockets in that language is a plus if you want to add efficiency) and basic knowledge of networking. I suggest learning that stuff before you attempt to make anything "online" or "multiplayer".

Offline

 

#5 2012-01-18 02:54:14

slayerrobe7
Scratcher
Registered: 2011-06-24
Posts: 500+

Re: chat project

well magnie you have done these be4 do you suppose you could make the irc server also could you teach me some about a different programming language


!!!When it comes to Scratch2.0 I am totally like freaking out!!!

Offline

 

#6 2012-01-18 03:15:56

slayerrobe7
Scratcher
Registered: 2011-06-24
Posts: 500+

Re: chat project

i would like to have a chat room hold a least 5 people first we can expand the number later


!!!When it comes to Scratch2.0 I am totally like freaking out!!!

Offline

 

#7 2012-01-18 18:43:11

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: chat project

No, I won't be able to make the "IRC server" for you, I'm just too busy with some other projects of mine (Soulite, forum software, school stuff). Sorry.

For learning a new language, it depends on what language you want to learn. I've heard Ruby is good. I use Python to program my stuff (Chat.PY is also in Python). Java seems to be a good language. I know many programs/games that have been made in it. C and C++ (C# too maybe) are "low level" languages and they require more knowledge and understanding to code in, but they are really fast and work really well for huge projects (like massive IRC servers) and small projects (like a personal game).

For web development (like websites), there is Python, PHP, Ruby-On-Rails, and many other stuff. If you want, you can probably even code an HTTP/Web-server with C/C++/Python/Ruby/etc if you want to go hard core, though it may not be that hard core if you know what you are doing and you've planned well.  tongue

I can't really teach any languages (one, I don't know very many and I don't have enough knowledge to teach efficient programming, two, I fail at teaching in general). So you will probably need to look for online tutorials or find a book.

I learn the basics of networking and how to run Python programs because of this, and I learned the basics of Python in general from a book called "Python for the Absolute Beginner, Second Edition". Then I search for "python networking" on Google and learned how to use sockets with Python. You just need to know how to search and be willing to learn to learn Python.

Basically, just search for what you want to learn and you are likely to find it. If you have any questions, you can probably just ask in Advanced Topics and you'll get a reply.  smile

For the second post: If you code your server correctly, you can have "infinite" users on "infinite" channels and each channel can have "infinite" users or each one.

Also, sorry if I reply late, I almost never check Collaboration or anything in the Inspiration & More section.

Last edited by Magnie (2012-01-18 18:49:57)

Offline

 

Board footer