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!