Side Chat

Post all your tuts or request for tuts here.
User avatar
Chris
Posts: 1580
Joined: Wed Sep 30, 2009 7:22 pm

Re: Side Chat

Post by Chris »

I wouldn't recommend having an PHP chat like that. I made one myself, http://lodire.com/ username: test password: test (ignore any errors this version is old) It goes slow and I wouldn't like to see 200 people using it at the same time as that would be a huge strain on the server. With some reasearch I've found something called twisted, http://twistedmatrix.com/trac/ . Twisted is written in Python a much more stable language than PHP. Twisted nearly stops all buffer overflow and will pretty much never crash! NEVER! This means you can nearly have a limitless timeout on your ajax.. Meaning the chat will go really fast rather than slow like when using PHP. Try http://omegle.com/ it uses twisted aswell. That's how fast you can get your web based chat to go XD.
Fighting for peace is declaring war on war. If you want peace be peaceful.
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: Side Chat

Post by Jackolantern »

Chris wrote:Try http://omegle.com/ it uses twisted aswell. That's how fast you can get your web based chat to go XD.
Those "strangers" are computer-controlled chat bots, right? Or did it just connect me to an unnamed human? :shock:
The indelible lord of tl;dr
User avatar
OldRod
Posts: 1320
Joined: Sun Sep 20, 2009 4:26 pm

Re: Side Chat

Post by OldRod »

Jackolantern wrote:
Chris wrote:Try http://omegle.com/ it uses twisted aswell. That's how fast you can get your web based chat to go XD.
Those "strangers" are computer-controlled chat bots, right? Or did it just connect me to an unnamed human? :shock:
LOL, I wondered that too. I was waiting for one of them to post "hope I put this in the right forum!" :)
skacke
Posts: 38
Joined: Mon Oct 12, 2009 10:08 pm

Re: Side Chat

Post by skacke »

Okay, i've found one that works alright. Tho i have one bug. if i have long word the div conatainer f*cks up.
In IE the div becomes super long, and in chrome the text continues outside the div. And i have set a max-width.

So how can i do so that, if a word is to long, it continues to the next line instead?
Or is there any other way to fix this?
User avatar
Chris
Posts: 1580
Joined: Wed Sep 30, 2009 7:22 pm

Re: Side Chat

Post by Chris »

overflow: auto;
Fighting for peace is declaring war on war. If you want peace be peaceful.
ZeroComp
Posts: 648
Joined: Thu Oct 29, 2009 8:48 pm

Re: Side Chat

Post by ZeroComp »

Just curious, what are you using?
Coding-PHP, Javascript, C++, HTML, mySQL
Modeling/Art-Blender, GIMP
Games-Unity, Game Maker 8
User avatar
Chris
Posts: 1580
Joined: Wed Sep 30, 2009 7:22 pm

Re: Side Chat

Post by Chris »

Erm.. CSS.

Code: Select all

<div style="overflow: auto;"></div>
Fighting for peace is declaring war on war. If you want peace be peaceful.
ZeroComp
Posts: 648
Joined: Thu Oct 29, 2009 8:48 pm

Re: Side Chat

Post by ZeroComp »

Actually I was sorta directing the question to skacke :P should have been a bit more clearer I was wondering what he is using for his chat
Coding-PHP, Javascript, C++, HTML, mySQL
Modeling/Art-Blender, GIMP
Games-Unity, Game Maker 8
darspire
Posts: 194
Joined: Sat Jul 25, 2009 9:21 pm

Re: Side Chat

Post by darspire »

OldRod wrote:
Jackolantern wrote:
Chris wrote:Try http://omegle.com/ it uses twisted aswell. That's how fast you can get your web based chat to go XD.
Those "strangers" are computer-controlled chat bots, right? Or did it just connect me to an unnamed human? :shock:
LOL, I wondered that too. I was waiting for one of them to post "hope I put this in the right forum!" :)
i just wanted to quote a quoted quote =]
if you love something, let it go.
if it doesnt return.....hunt it down and kill it.
User avatar
OldRod
Posts: 1320
Joined: Sun Sep 20, 2009 4:26 pm

Re: Side Chat

Post by OldRod »

darspire wrote:
OldRod wrote:
Jackolantern wrote: Those "strangers" are computer-controlled chat bots, right? Or did it just connect me to an unnamed human? :shock:
LOL, I wondered that too. I was waiting for one of them to post "hope I put this in the right forum!" :)
i just wanted to quote a quoted quote =]
Yeah, that's pretty cool, isn't it! :)
Post Reply

Return to “Tutorials”