backIndex

Xelagot server/client

Server/Clients user interface

Version 2.9999949

Note: 'bot,master' protocol must be changed to 'master' as from version 2.9999949.

This interface can be found in the xelagot menu Bot | Server/clients. Selecting it opens a screen with the following items:

Usage: for customising and connecting the Server. One can also connect the various clients available in the program, but that be done better through the Clients user interface.

Menu bar

The menu bar has three headers: Server for the server options, CentralClient for the options of the central client, and BotClients for the options of the bot clients. The Server menu is the most important one, the other two can also be found in the Clients user interface.

Server connection list (Server's Client Database)

This list contains the Server Connection list, which defines the login procedure for remote clients contacting the server. The interface to this list serves two purposes:

  1. the user can edit the data used by the server during the login procedure of remote clients, save and load the list of data.
  2. the user can select one of four modes of viewing the list of clients: all, online only, online non-bots, online bots. One can view the remote clients connected to the server, and also force clients to disconnect.

It has two columns, one visible showing the names of the clients, one hidden to the right of the list showing the protocols. Use the horizontal scroll bar to view the hidden area.

The title bar of the first column describes what is shown on the list: all clients, clients online, non-bots online or bots online. The user can change the selection by clicking on it or with the items of the menu Server | Show Clients.

Each line on this list has the data of one of the clients. The first column contains:


The second column has the protocols used by the client.

This list has its own pop-up menu: right click on the list or on a list item to activate it. On it are the following items:

The Server file is called Server.enc (encoded) by default, and is in the Preferences folder. The user can select another location and name for this file with menu Server | Save Server File. If needed, various Server files can be made and saved in this way. Server files can be loaded with the menu Server | Load Server File.

The Server file is encoded by default: all server files with the extension '.enc' are encoded files. If the name of the server file (when saved by the xelagot program) is changed, if the extension is not '.enc' the file is saved as plain text.

Server memo

Usage: to monitor the data flow between the server and remote clients.

This Memo shows all chat messages between the server and the clients connected to the server. It also shows the chat messages sent by the Central client to the remote server. If menu Server | Show Debug Messages or menu Client | Show Debug Messages is checked, also shows all messages produced by the server and/or client software (this includes uncoded passwords). The caption above the Memo shows which messages will be printed.

All messages have the time, a description and the text of the message. Central Client messages have a '*' symbol after the time.

On chat messages, the description is 'from name', 'to name' for the server application, or 'from Host', 'to Host' for the Central Client.

On server debug messages, the description has all the information about the client connections available to the server, when clients are involved.

On Central Client debug messages no description is used.

Chat messages sent or received by the server are shown in blue, Central Client chat messages are in fuchsia, debug messages are in grey.

Input field for chat and chat output button

Usage: for testing purposes.

In the input field below the Server connection list and the Server memo the user can type in text. This text is sent when the user presses the Enter key.

The colour of the output button corresponds to the colour of the text in the Server memo.

Status bar

The status bar at the bottom of the screen is divided into panels:

Server and user interface

The Server must have a list containing the login names, password and protocols of the clients which are allowed to connect to it. The user can make this list by right-clicking on the Server connection list provided by the user interface and adding, editing and deleting entries.

Once the Server connection list is made, the Server is ready to open a listening connection. A suitable Port must be found to do so. Any unused port will serve the purpose, ports range from 0 (not valid for the bot) to 65535, high port numbers are usually free. Avoid using ports which are marked as Services or Protocol: the files containing data about the standard ports are in your Windows directory or in a sub-directory and are called Services and Protocol.

To open a listening connection, click on menu Server | Connect, fill in the port number (and if you wish, modify the other data) and click Accept.

As from the moment the Server opens a listening connection, your system is vulnerable to attacks from hackers through the port being used by the Server.. That is always the case when using server software.

To close a listening connection, select menu Server | Disconnect.

When listening for potential clients, if a client attempts to connect to the Server, a login protocol is activated by the server. Login name and password are checked. If the check fails, the Server disconnects the intruder. If the check succeeds, the login name of the client is shown on the Server connection list with an image next to it. The Server accepts only one instance of a login name at a time.

For testing purposes: when a client is connected to the Server, the user and the client can communicate freely. To send messages to the client, a checkmark must be set next to the client's name, or Broadcast must be on. Messages will be sent only to visible names (you can change your selection of names by clicking on the title bar of the Server connection list). The user can type in and send text (press Enter) through the server using the chat input field. The button next to this field must be blue for the server to send the messages. One should avoid sending messages to Bot Clients because they require special leading codes: uncheck all Bot Clients (the fuchsia images) or select non-bots online if you wish to communicate with other clients (note that Central Clients using the bot protocol will appear as bots) .

To expel a client, either remove it from the Server connection list or use the expel menu item. Both actions are found on the pop-up menu (right-click on a name on the Server connection list).

The Server file (structure)

The server file contains the names, passwords and protocols of clients that may log in. It is normally made automatically by the bot, see here. The text variant has the following structure: each client is written on a separate line. The client line contains:
name=password,protocol
or
name=password,User;botlist
where botlist is a comma separated list of the bots of this User. For example:

Delph=bananas,master
Pipo=apples,bot
Alex=guru,User;Delph
XelaG=ohmy2,User;Delph,Pipo,MyBonnieLie$OverTheOce@n
Mary=sky123,User;*
MyBonnieLie$OverTheOce@n=,bot


The asterisc in user Mary's botlist means she has access to all bots. User XelaG can also access all bots, because they are all listed. The last entry ommits a password.


backIndex