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

#1 2012-08-28 21:36:07

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Chat.js - A Node.js Chat

Hi AT! I have been playing around with Node.js recently and have created a simple chat program. There isn't much to it yet, but the basics are fully functional.  big_smile  I have it currently hosted at here.

Major credit to nXIII for taking over the UI. Thanks!

Last edited by MathWizz (2013-03-14 11:59:20)


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#2 2012-08-28 23:02:55

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

Re: Chat.js - A Node.js Chat

Really cool!


Posts: 20000 - Show all posts

Offline

 

#3 2012-08-28 23:07:01

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Chat.js - A Node.js Chat

veggieman001 wrote:

Really cool!

Thanks!


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#4 2012-08-28 23:46:15

zubblewu
Scratcher
Registered: 2011-02-17
Posts: 1000+

Re: Chat.js - A Node.js Chat

How do i post?  tongue


........................................................................................................................................................................................................................................

Offline

 

#5 2012-08-28 23:57:28

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Chat.js - A Node.js Chat

zubblewu wrote:

How do i post?  tongue

It's the box at the bottom of the chat log.  tongue


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#6 2012-08-29 00:08:52

zubblewu
Scratcher
Registered: 2011-02-17
Posts: 1000+

Re: Chat.js - A Node.js Chat

Yeah, but when I push enter nothing happens and there's no post button  tongue .

And now I'm unable to sign in...

Last edited by zubblewu (2012-08-29 00:09:35)


........................................................................................................................................................................................................................................

Offline

 

#7 2012-08-29 00:11:13

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: Chat.js - A Node.js Chat

Freezes as soon as I hit enter to login  tongue


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#8 2012-08-29 00:11:45

zubblewu
Scratcher
Registered: 2011-02-17
Posts: 1000+

Re: Chat.js - A Node.js Chat

jji7skyline wrote:

Freezes as soon as I hit enter to login  tongue

Same  tongue


........................................................................................................................................................................................................................................

Offline

 

#9 2012-08-29 00:30:50

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Chat.js - A Node.js Chat

Ok. I've fixed these bugs. To chat, type in the box and hit enter.


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#10 2012-08-29 00:37:07

zubblewu
Scratcher
Registered: 2011-02-17
Posts: 1000+

Re: Chat.js - A Node.js Chat

Enter skips a line instead of sending a message. Bug?

firefox

(I'm pubz)

Last edited by zubblewu (2012-08-29 00:41:20)


........................................................................................................................................................................................................................................

Offline

 

#11 2012-08-29 00:38:23

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Chat.js - A Node.js Chat

zubblewu wrote:

Enter skips a line instead of sending a message. Bug?

What browser do you have?


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#12 2012-08-29 01:22:09

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: Chat.js - A Node.js Chat

I can't login anymore...


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#13 2012-08-29 01:35:22

amcerbu
Scratcher
Registered: 2009-07-21
Posts: 500+

Re: Chat.js - A Node.js Chat

Yep, it's awesome.

Offline

 

#14 2012-08-29 01:36:25

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: Chat.js - A Node.js Chat

Pretty good.  smile


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#15 2012-08-29 03:33:40

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: Chat.js - A Node.js Chat

Amcerbu, you're online?


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#16 2012-08-29 05:19:13

BirdByte
Scratcher
Registered: 2012-07-07
Posts: 1000+

Re: Chat.js - A Node.js Chat

Chat.PY, much?  tongue  The interface looks really awesome.


http://i50.tinypic.com/312u714.jpg

Offline

 

#17 2012-08-29 05:27:14

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Chat.js - A Node.js Chat

This is cool!


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#18 2012-08-29 09:57:35

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

Re: Chat.js - A Node.js Chat

Code:

Timestamp: 08/29/2012 07:55:10 AM
Error: Firefox can't establish a connection to the server at ws://scratchchat.cloudno.de/:9104/.
Source File: http://jsscratch.co.cc/scratchchat/chat.js
Line: 216

Is the server down?  hmm

Offline

 

#19 2012-08-29 10:00:46

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Chat.js - A Node.js Chat

Magnie wrote:

Code:

Timestamp: 08/29/2012 07:55:10 AM
Error: Firefox can't establish a connection to the server at ws://scratchchat.cloudno.de/:9104/.
Source File: http://jsscratch.co.cc/scratchchat/chat.js
Line: 216

Is the server down?  hmm

No... You are using Firefox? What version?

Maybe try Chrome in meantime?


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#20 2012-08-29 11:53:35

blob8108
Scratcher
Registered: 2007-06-25
Posts: 1000+

Re: Chat.js - A Node.js Chat

"The web page is on the list of websites with potentially dangerous content."

hmm


Things I've made: kurt | scratchblocks2 | this cake

Offline

 

#21 2012-08-29 12:16:06

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Chat.js - A Node.js Chat

blob8108 wrote:

"The web page is on the list of websites with potentially dangerous content."

hmm

I think it's the .co.cc domain.  hmm


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#22 2012-08-29 12:21:06

blob8108
Scratcher
Registered: 2007-06-25
Posts: 1000+

Re: Chat.js - A Node.js Chat

MathWizz wrote:

blob8108 wrote:

"The web page is on the list of websites with potentially dangerous content."

I think it's the .co.cc domain.  hmm

Ah, so it is.


Things I've made: kurt | scratchblocks2 | this cake

Offline

 

#23 2012-08-29 13:34:16

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

Re: Chat.js - A Node.js Chat

+ Love it! +

Offline

 

#24 2012-08-29 13:36:57

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Chat.js - A Node.js Chat

Magnie wrote:

+ Love it! +

big_smile


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#25 2012-08-30 18:24:59

GP1
Scratcher
Registered: 2009-07-06
Posts: 1000+

Re: Chat.js - A Node.js Chat

What is Node.js anyway?


I am currently http://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=imagehttp://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=text and I finally got over 1000 posts.

Offline

 

Board footer