Page 2 of 3

Re: Side Chat

Posted: Tue Jan 19, 2010 11:05 am
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.

Re: Side Chat

Posted: Tue Jan 19, 2010 12:36 pm
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:

Re: Side Chat

Posted: Tue Jan 19, 2010 1:11 pm
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!" :)

Re: Side Chat

Posted: Tue Jan 19, 2010 3:27 pm
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?

Re: Side Chat

Posted: Tue Jan 19, 2010 4:04 pm
by Chris
overflow: auto;

Re: Side Chat

Posted: Wed Jan 20, 2010 12:54 am
by ZeroComp
Just curious, what are you using?

Re: Side Chat

Posted: Wed Jan 20, 2010 10:32 am
by Chris
Erm.. CSS.

Code: Select all

<div style="overflow: auto;"></div>

Re: Side Chat

Posted: Thu Jan 21, 2010 3:48 am
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

Re: Side Chat

Posted: Fri Jan 22, 2010 6:23 am
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 =]

Re: Side Chat

Posted: Fri Jan 22, 2010 10:16 am
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! :)