Stand Alone Chat Room
Hey pplz I was wondering if it is possible to make a stand alone chat room to use for say at school? If possible i would only want it as a program and once opened you entered a username and then could chat to any one else in the chat room at the time, i wouldnt want more than one room because it would only be used by me and a few mates to chat while at different computers around the school if this is possible could any one give me a few pointers as how to write the code or where to get some code from? Thanks BlackSabbath
Well it would probably have to be an exe, and most school log who runs exe's so you would have to be carefull with that, if you have some hosting you would be best to code a JAVA forum and then use that, but make sure the address is unobvious………. If your desprate for an exe DO NOT have it in your work area, run it off a memory stick or off and floppy, it will save you alot of hassle in the long run.
If you want to have multiple connections then i think you will have to have more advanced code, possibly even have to have a C based language………
It is 100% doable. back in the days (when I was in high school) we coded a server and client Chat device. one person runs the server and all the other guys connect to that persons IP address. it was decent and helped with programming class if anyone got stuck. It was so long ago that I do not still have the code but I am sure if you know Visual Basic then you could code one no problem…when in doubt as the user on this site named God. he is a good VB coder.
Having it as an exe wouldn't both me as the teachers and admin at my school and bloody idiots so thats fine. Would have any idea as to how i might start this? What program should i use to code it? (I have Python but i don't know if that helps or not) What code should i use? I am a complete novice when it comes to coding its just that the teachers always split me and my friends up into different rooms so if we had this chartroom we could still talk.
You can just set up Winsock in C/C++ (not hard at all) and than set up a new thread for each incoming connection on that specific port, it should be no more than 100 or so lines for the Winsock code, and well, if you want a pretty GUI, we all know that's about 80 lines to set up the basic window to start.
Cheers, ~T
T-Metal-Risen wrote: You can just set up Winsock in C/C++ (not hard at all) and than set up a new thread for each incoming connection on that specific port, it should be no more than 100 or so lines for the Winsock code, and well, if you want a pretty GUI, we all know that's about 80 lines to set up the basic window to start.
Cheers, ~T
I am a complete novice to coding so would someone be able to supply me with some code or somwhere to get some code from?
:o:o:o:o
I was thinking the exact same thing yesterday to use in my school….. That's really weird, lol
I'm a novice at programming languages, so was thinking of trying to find a decent Java chat application to host on a website (my school restricts using exe's)
My problem is, I don't really feel I can move on and learn something new untill I've gotten really good at the last thing I'm learning… So, I just never get round to learning something new because im always working on stuff I kind of already know :P I eman, right now, I only know very basic PHP, because I'm still using javascript all the time :P Sounds stupid… but oh well
What I want to do is get good at PHP and MySQL, then start on something like C.
i've done this before, but i did it with java. it's actually really simple and i set it up so that we could actually host it. I hosted it off my home box and everyone connected to it. I also used it so we could use it as a proxy for internet and such. It was a little slower, but it worked and i was able to sell accts to other people since it bypassed the filters, allowed chat, and the ingoing and outgoing packets were all encrypted so those snooty admins couldn't read em. PM me if you want some help with it….its fairly simple
dude, I figured out a really really easy way to do this exact thing just a few days ago ;) You can either A) code the chatroom (my friend did it in Java in like 200 lines of code) -or- B) go to a chat-creator and make one, save the code for the actual chat (HINT: it will be embedded ;)) , then, once you have the chat code, copy it to a notepad document and save as chat.htm or whatever, and put it on a universal harddrive in your school ;) (Save the chat.htm to M:\ or whatever your school has) and then, all people have to do is open the webpage and voila! instantaneous chat with everyone in the room!
http://www.freewebs.com/skunkf00t/ I have one on my website that you can check out, but no stealing ;) …. and I started this site 2 days ago, and haven't had much time to work on it, so please be nice :D
Source for many languages can be found at www.planetsourcecode.com ;)
I wrote my last chat client in GML though. www.freewebs.com/uber0n/appz.htm
Uber0n wrote: Source for many languages can be found at www.planetsourcecode.com ;)
I wrote my last chat client in GML though. www.freewebs.com/uber0n/appz.htm
Hey man i love your chat room its just what i was looking for!!! Now all i need to do is get it to school with out the dumbass teachers seeing it