Author |
Message |
Guest
Offline
|
Posted: Tue Dec 06, 2005 7:32 pm Post subject: PHP Chat Client - Let me know what you think. |
 |
|
|
|
I started a php chatnet client this afternoon for a linux cosole based solution. Wondering if anyone else would like this? Its pretty basic, arena names have to be requested by command along with arena list, but very good for just getting on arenas and talking. Could probably make a front end for it to integrate it with html for an on-line chat environment. |
|
Back to top |
|
 |
phong Seasoned Helper

Gender: Joined: Jul 19 2005 Posts: 156 Offline
|
Posted: Tue Dec 06, 2005 7:33 pm Post subject: |
 |
|
|
|
I always forget you can post as a guest here vs. kicking you out to a login screen  |
|
Back to top |
|
 |
Donkano Server Help Squatter
Gender: Joined: Jul 02 2003 Posts: 763 Offline
|
Posted: Tue Dec 06, 2005 9:12 pm Post subject: Re: PHP Chat Client - Let me know what you think. |
 |
|
|
|
Anonymous wrote: | I started a php chatnet client this afternoon for a linux cosole based solution. Wondering if anyone else would like this? Its pretty basic, arena names have to be requested by command along with arena list, but very good for just getting on arenas and talking. Could probably make a front end for it to integrate it with html for an on-line chat environment. |
But how would you send the specific packets for entering?
fsockopen() would be the 1st step, but after you conenct you have to enter.
Last edited by Donkano on Tue Dec 06, 2005 11:24 pm, edited 1 time in total |
|
Back to top |
|
 |
Guest
Offline
|
Posted: Tue Dec 06, 2005 10:27 pm Post subject: |
 |
|
|
|
yea thats where im currently stuck. I can you stdin for input, but the incoming data from ther server is halted until you hit enter.. so if you talked real fast it would stay up to date  |
|
Back to top |
|
 |
Donkano Server Help Squatter
Gender: Joined: Jul 02 2003 Posts: 763 Offline
|
Posted: Tue Dec 06, 2005 11:08 pm Post subject: |
 |
|
|
|
The guys on irc.freenode.net in the channel ##php might have a solution to this.
Last edited by Donkano on Tue Dec 06, 2005 11:28 pm, edited 2 times in total |
|
Back to top |
|
 |
Guest
Offline
|
Posted: Tue Dec 06, 2005 11:14 pm Post subject: |
 |
|
|
|
yea i was there already and tried.. pretty much no conclusion on input.. but hey if all you want to do is see whats going on it works great  |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:37 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: Wed Dec 07, 2005 2:33 am Post subject: |
 |
|
|
|
I'm not sure why you would want to do this when there's grelminar's ccc, but if you really want to I guess it not a bad idea to try.
I wouldn't pick PHP for it, but if it floats your boat...
Donkano, he would just send LOGIN:1;<client>:<name>:<password> and GO:<arena>? |
|
Back to top |
|
 |
Bak ?ls -s 0 in

Age:26 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
Posted: Wed Dec 07, 2005 3:12 am Post subject: |
 |
|
|
|
ccc uses curses, which doesn't have a windows port. |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:37 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: Wed Dec 07, 2005 3:14 am Post subject: |
 |
|
|
|
Indeed, which is a problem a few people faced already, but this idea is for Linux anyway, so does that even matter? |
|
Back to top |
|
 |
Bak ?ls -s 0 in

Age:26 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
Posted: Wed Dec 07, 2005 9:04 am Post subject: |
 |
|
|
|
Well the proposed on-line chat environment would be platform independent, although for his linux chat client you are right. |
|
Back to top |
|
 |
phong Seasoned Helper

Gender: Joined: Jul 19 2005 Posts: 156 Offline
|
Posted: Wed Dec 07, 2005 1:24 pm Post subject: |
 |
|
|
|
Interesting, ill look into it some more.. What I may end up trying is making a second script, basically a local input server (would listen on loopback), hmmm |
|
Back to top |
|
 |
|