Alors - Documentation
This page will explain how to install and use the Alors chat client.
Installation
- Download the latest Alors Package
- Extract to suitable location
- Start the program by double clicking on the start.bat file (in the bin dir)
Usage
Initiating A Conversation
- Sending to a new address
When sending to address from which no messages have been sent or received, the address can be typed in the main window of Alors and it will initiate a conversation to the specified address.
This can also be used with previously used addresses as well, but it is generally faster to use option b in such cases.
(Note: Alors needs to be running on both the computers between which a conversation has to be setup.
Alors can only check if the specified address is a valid address. It does not verify that an instance of Alors is running on the specified destination address. Even if no instance of Alors is running on the destination computer, the conversation window will open up without any error on your computer. But all messages that you send will not be received by anyone.)
Steps:
- Enter the IP address of the user in the "Begin Conversation" text field.
- Click on the "Open Window" button next to the text field.
- A conversation window should open.
(If the conversation window for that address is already open, then it will be brought to focus)
- Sending to a previously sent address
If messages were already sent to an address with which you have had a conversation previously (since the program was started), a new conversation can be initiated without having to type the address again.
Alors stores the addresses of all the chat conversations, and makes it accessible via a convenient drop down list for future use.
Steps:
- Select the IP address of the user in the
"Previous Conversations" drop down list.
(If the desired address is not visible, then no conversation may have been initiated to that address. In which case follow Option a)
- Click on the "Open Window" button next to the text field.
- A conversation window should open.
(If the conversation window for that address is already open, then it will be brought to focus)
- Select the IP address of the user in the
"Previous Conversations" drop down list.
Chatting
- Reading messages
Messages are read in the pane called "Received Messages" (duh!)
- Sending messages
Messages can be sent by either:
- Typing the message in the "Send message" pane and pressing enter
- Typing the message in the "Send Message" pane
and clicking on the "Send" button
(Note: To send multi-line messages, compose the message in a text editor, and paste it into the chat window)
Troubleshooting
Program not starting
-
Ensure you have the correct version of java,
At least JRE 1.6 is required
To verify:
- Type "java -version" in a command prompt window
- Ensure that the version says 'java version "1.6.0_xx"' (Where xx can be any number)
"Internal Error: Could not start the chat client"
-
Ensure that another instance of the chat program is not running
Multiple instances of the application cannot run on the same port.
If they have to be run, the port of the running instance will have to be changed (Though both the client and server will need to select the same port) -
Ensure that no other application is using port 31337
Check that no other application is using port 31337
This can be done via netstat (However the exact process is difficult to explain here)
"Invalid Host Name: Please verify the address entered"
- If a host name was entered
The hostname could not be resolved. This could be due to an improper proxy configuration, or some other network peculiarity.
This can be worked around by finding the ip address by some other means and then using that IP address to communicate
- An IP address was entered
The IP address may not be well formed. Please ensure that it is of the form of xxx.xxx.xxxx.xxx where the maximum value of any of the xxx does not exceed 255
Messages cannot be received
- If neither side can receive or send messages.
Ensure that the sender of the message is sending to the correct address.
(Even if one side enters the correct message, Alors will open a conversation window on the other side, when a message is sent)
(Note: If neither side can receive message, then it could also mean that both sides are on a NATted network. Check further troubleshooting steps regarding NAT)
- If the other side can receive your messages,
but you cannot receive their messages.
You may be on a NAT (Network Address Translation) network.
To Verify:
- Check your local IP (Type "ipconfig" in a command prompt)
- Check your external IP (www.whatismyip.com)
- If any of the addresses displayed in step 1 match the address shown in step 2, then you are not NATted (and the problem lies elsewhere).
- If the addresses are different, then you are NATted and cannot use Alors without a VPN or similar arrangement.
- There is also a possibility that you might not really be NATted but, instead just hidden behind a router. In this case port forwarding might help.
Disclaimer
Please keep in mind that most of these projects were written while I was still in college. The quality of the code as well as the documentation would not be production quality. So using the code for any production system would not be recommended.