Author Topic: My Chat Client/server.  (Read 635 times)

IAmSerge

  • Temporal Warrior (+900)
  • *
  • Posts: 964
    • View Profile
My Chat Client/server.
« on: May 06, 2009, 03:18:28 am »
I over the last 4 days, i have written a chat program and server program in which you can use...

If you want to start a chat room, just download the Server and Client files (You MUST have the most recent version of Java installed).
www.host-a.net/cheatscanner/ChatServ.jar   --- Server

www.host-a.net/cheatscanner/ChatClient.jar   ----  Client

get whoever you want to join you to download the client and you should be set!



You must run the server before anyone can start connecting....
When you run the server, it will show you your IP address (write this down)
and then ask you for:
the Port you want to use (4 digits, ALWAYS)
then the codename and password to use to login for admin privilidges (do NOT use spaces!)
NEW: afterwards, it will give you your server's LOGCODE (Write this down too!)

once a box pops up that says Connections: 0, you're set to start having people connect!


On the Clients side of things:
WHen you start to connect it will ask you for your username. type whatever in... !'s are illegal tho (used for code interpretation)
Afterwards, it will ask you if you want to log in using a log code...

yes:
just copy paste in the log code that the server gave you, and you're set.

no:
you'll need to use the IP adress and port that the server uses to connect.


Advantages to LogCodes: you don't give your IP address out! No need to hassle people with an IP AND a port.
Disadvantages: Its somewhat a long code.. but copypaste makes it easy!

Hope you guys enjoy it!
Summary of actions:
* IAmSerge does something...: *username does something...
/name name: renames you to "name"
/login adminname password:  gives you admin capabilities (adminname and password are the words that the host put into the server)
/kick user: kicks the user, admin only... the only admin thing that is up.
/pm user: PM's the user, only you and the user know what the PM says!

Have fun!

Jutty

  • Black Wind Agent (+600)
  • *
  • Posts: 614
  • The Most In-Frequent Poster Ever
    • View Profile
Re: My Chat Client/server.
« Reply #1 on: May 06, 2009, 10:31:40 pm »
Ummm IRC....

IAmSerge

  • Temporal Warrior (+900)
  • *
  • Posts: 964
    • View Profile
Re: My Chat Client/server.
« Reply #2 on: May 07, 2009, 02:29:54 am »
umm whats your point?

I'm just showing off that I made it...

Ramsus

  • Entity
  • Chronopolitan (+300)
  • *
  • Posts: 313
    • View Profile
Re: My Chat Client/server.
« Reply #3 on: May 07, 2009, 10:06:39 am »
This is why you need to show off your work to your professors and classmates. Only other programmers will appreciate a program for the work and knowledge or learning that it represents. Everyone else will simply assess what it does and how well it works, and then judge it solely based on that. It's like that with anything.

So a normal person won't care if you make a compiler or an operating system, but other computer scientists will immediately respect you for it.

That's why you have to pick up some kind of art or performance talent to show off with -- since then you can always impress your audience.