KiXforms Forum Index KiXforms
The Forum for the KiXforms Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Quick Links 
Site News
Downloads
Documentation
Donations
Script Archive
Tracking Systems

Socket IM App : Try it out
Goto page 1, 2, 3, 4  Next
 
Post new topic   Reply to topic    KiXforms Forum Index -> Discussion
View previous topic :: View next topic  
Author Message
Bonji
KiXforms Aficionado
KiXforms Aficionado


Joined: 10 Mar 2003
Posts: 393
Location: Virginia

PostPosted: Mon Aug 16, 2004 3:02 am    Post subject: Socket IM App : Try it out Reply with quote

I'm working to convert my IM app to a sockets program. I'm releasing early code on the client for anyone to check out and test. I have a server listening at 68.10.55.161 on port 151.

There are four users that can be used at this time...

CHATTER1
CHATTER2
TALKER1
TALKER2

Start the script setting the $USER variable to one of these names or just modify the script directly. The server and client are not the most stable, as I'm just trying to get some basic functionality going at this time.

Also, there is a lot of junk code in the client script as I am modifying my original client script that used files for communicating.

There are images needed to effectively use the program and those can be obtained from here... (and place in IMAGES folder)
http://www.rgcweb.org/kix/im_new/images.zip
The script can be found here... [UPDATED] 8/20/04 @ 9:00AM EST (Lots of enhancements and fixes)
http://www.rgcweb.org/kix/im_new/im.kix

It'll be quicker to state what works versus what doesn't work...
* The images should be accurate (signifying contact status)
* Double-click a contact to begin a chat session, however if they are not online than it will just be ignored at this time.
* You should be able to have multiple chat sessions going with multiple contacts
* Just to say it, my server will crash (effectively) if a client connects with a username that is not predefined. It puts my server in a loop and that makes me cry Crying or Very sad, and now I'm wondering how many people will try to make me cry. Twisted Evil (This is now fixed)

I welcome any feedback, but please remember this is very alpha.

_________________
-Ben


Last edited by Bonji on Fri Aug 20, 2004 12:58 pm; edited 6 times in total
Back to top
View user's profile Send private message
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Mon Aug 16, 2004 6:51 am    Post subject: Reply with quote

lol, I was gonna make you cry until read the last comment.
how come that is even possible?

hmm...
your code obviously has some minor thing build in that should be removed Wink

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Mon Aug 16, 2004 7:22 am    Post subject: Reply with quote

near to any alpha code has this ... nothing is perfect in that stage ... not even final stage sometimes is Wink
_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.
Back to top
View user's profile Send private message MSN Messenger
Bonji
KiXforms Aficionado
KiXforms Aficionado


Joined: 10 Mar 2003
Posts: 393
Location: Virginia

PostPosted: Mon Aug 16, 2004 1:12 pm    Post subject: Reply with quote

I finally got decent communications going last night and had not had the opportunity to clean up some major bugs.

The problem with my server was an OR instead of an AND. Now the loop exists properly and I'm writing the server/client code to handle this exception. I'll update the original post from time to time to mention when updates have been posted. The server that is running now still has this problem though.

_________________
-Ben
Back to top
View user's profile Send private message
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Mon Aug 16, 2004 1:18 pm    Post subject: Reply with quote

k, next thing is to add some network games to the server...

I can volunteer porting the first one Wink

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Tue Aug 17, 2004 1:31 pm    Post subject: Reply with quote

bonji...
I wish you had msn contact in my kix-group.
or IRC nick which I could ping.

anyway, you probably leave your chat server on, right?
I will probably "log on" later and wait for a pong.

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Bonji
KiXforms Aficionado
KiXforms Aficionado


Joined: 10 Mar 2003
Posts: 393
Location: Virginia

PostPosted: Tue Aug 17, 2004 2:03 pm    Post subject: Reply with quote

Yeah, my server is currently going, and I'm currently on as Talker2 (Talk ToYoo2).

I've fixed a lot of problems, but need to test the new code before updating the "production" server and "production" client code.

Kind of scary having alpha-esque code being referred to as production.

_________________
-Ben
Back to top
View user's profile Send private message
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Tue Aug 17, 2004 2:27 pm    Post subject: Reply with quote

started, did see nobody, went to contacts got error:
Error #12. Please call HelpDesk (x3994) to report the error.

but don't have the area code?

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Bonji
KiXforms Aficionado
KiXforms Aficionado


Joined: 10 Mar 2003
Posts: 393
Location: Virginia

PostPosted: Tue Aug 17, 2004 2:50 pm    Post subject: Reply with quote

Yeah, server hit that little loop. Also, contact management is not working yet.

I've been trying to get my new code working so I can publish the fixed code to the website and update the server that is running.

I'm almost there...

_________________
-Ben
Back to top
View user's profile Send private message
Bonji
KiXforms Aficionado
KiXforms Aficionado


Joined: 10 Mar 2003
Posts: 393
Location: Virginia

PostPosted: Tue Aug 17, 2004 2:56 pm    Post subject: Reply with quote

OK, download the new client and try connecting to the server again. I fixed the loop problem and if you connect with an invalid user, it will let you know.

I'm in the middle of implementing idle status, but it is not finished yet. I've seen it change, but it has not always been accurate.

There are still a few bugs with chatting. It works for the most part, but closing and reopening chat windows can cause the client to crash. You should be able to reconnect to the server though. I still need to see what variables I've screwed up.

_________________
-Ben
Back to top
View user's profile Send private message
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Tue Aug 17, 2004 4:11 pm    Post subject: Reply with quote

k, it crashed, see:
http://www.kixtart.org/images/im_crash.gif

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Bonji
KiXforms Aficionado
KiXforms Aficionado


Joined: 10 Mar 2003
Posts: 393
Location: Virginia

PostPosted: Tue Aug 17, 2004 4:15 pm    Post subject: Reply with quote

Looks like you were chatting with a user that isn't online (Chatter2). This is ignored for now (I think) so you should try chatting with someone that is online. Talker2 (under Talkers) is who I am logged on as now.

I'll tweak the size of the field for the username.

_________________
-Ben
Back to top
View user's profile Send private message
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Tue Aug 17, 2004 5:13 pm    Post subject: Reply with quote

well, he is online?
so, why the proggie does not tell anything about it?
I thought the icon was just away icon.
and, there were no other users to be seen.

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Tue Aug 17, 2004 5:16 pm    Post subject: Reply with quote

gave you 2 comments and you went offline?
what's that?

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Tue Aug 17, 2004 5:22 pm    Post subject: Reply with quote

huge code this client is anyways.
if you look at the game and it's chat code, it's something like 10 lines for client and server altogether.

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> Discussion All times are GMT
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot 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 cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group