Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
PHP Chat Client - Let me know what you think.

 
Post new topic   Reply to topic Printable version
 View previous topic  sysop help Post :: Post points and arenas  View next topic  
Author Message
Guest



Offline

PostPosted: Tue Dec 06, 2005 7:32 pm    Post subject: PHP Chat Client - Let me know what you think. Reply to topic Reply with quote

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:Gender:Male
Joined: Jul 19 2005
Posts: 156
Offline

PostPosted: Tue Dec 06, 2005 7:33 pm    Post subject: Reply to topic Reply with quote

I always forget you can post as a guest here vs. kicking you out to a login screen icon_sad.gif
Back to top
View users profile Send private message Add User to Ignore List Send email
Donkano
Server Help Squatter


Gender:Gender:Male
Joined: Jul 02 2003
Posts: 763
Offline

PostPosted: Tue Dec 06, 2005 9:12 pm    Post subject: Re: PHP Chat Client - Let me know what you think. Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
Guest



Offline

PostPosted: Tue Dec 06, 2005 10:27 pm    Post subject: Reply to topic Reply with quote

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 icon_smile.gif
Back to top
Donkano
Server Help Squatter


Gender:Gender:Male
Joined: Jul 02 2003
Posts: 763
Offline

PostPosted: Tue Dec 06, 2005 11:08 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
Guest



Offline

PostPosted: Tue Dec 06, 2005 11:14 pm    Post subject: Reply to topic Reply with quote

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 icon_smile.gif
Back to top
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:37
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Wed Dec 07, 2005 2:33 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
Bak
?ls -s
0 in


Age:26
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Wed Dec 07, 2005 3:12 am    Post subject: Reply to topic Reply with quote

ccc uses curses, which doesn't have a windows port.
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:37
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Wed Dec 07, 2005 3:14 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
Bak
?ls -s
0 in


Age:26
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Wed Dec 07, 2005 9:04 am    Post subject: Reply to topic Reply with quote

Well the proposed on-line chat environment would be platform independent, although for his linux chat client you are right.
Back to top
View users profile Send private message Add User to Ignore List AIM Address
phong
Seasoned Helper


Gender:Gender:Male
Joined: Jul 19 2005
Posts: 156
Offline

PostPosted: Wed Dec 07, 2005 1:24 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Send email
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> General Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 20 page(s) served in previous 5 minutes.

phpBB Created this page in 0.567767 seconds : 35 queries executed (95.1%): GZIP compression disabled