Client/Server Network Configuration

How can I change the network configuration of the EdAlive Server and the client programs?

The EdAlive Server works by listening for incoming connections on a “lobby” port (1626 by default) and passes each connection off to a new port in a specified range (ports 2000-4000 by default) for data communication.

By default, the client program tries to find the location of the EdAlive Server by scanning each IP address on the same subnet using port 1626. You can speed up the connection process by forcing the client program to connect to the right IP address (using the correct port) rather than having it scan the entire network. To do this:

  1. Browse to the client program’s installation folder and open the configuration file (which is called either “system.cfg” or “main.cfg”). On a Mac, this file opens with Text Edit by default. On Windows, Notepad is the default.
  2. Edit the line that says ForceIP=0. Replace 0 with the IP address of the computer running the EdAlive Server, for example, 192.168.1.101.
  3. Edit the line that says ForcePort=0. Replace 0 with the EdAlive Server’s “lobby” port, for example, 1626.
  4. Save and close the configuration file.

When you run the client program, it should immediately connect to the correct IP address using the EdAlive Server’s lobby port. Note that Windows XP has a built in scan limit, so if the client program still doesn’t connect to the EdAlive Server, let us know.

You can edit the configuration files of both the EdAlive Server and the client programs. However, we recommend you do so only if the client programs cannot create a connection.

The default format for the client program’s configuration file is as follows.

[info]
buffer=none
GraphicsLevel=3
SoundLevel=7
DisableQuickTime=0
DisableScreenChange=0
UseSoundLevel=0
ForceIP=0
ForcePort=0

The default format for the EdAlive Server configuration file (called “server.cfg”) is as follows.

[default]
buffer=none
ServerName=EdAlive Network Server
LobbyPort=1626
DynamicPortRange=2000-4000
MaximumPortCount=32
UseIP=any
ModuleSearchString=mod_
MaximumRunningModules=8
LoadingWait=3000

[performance]
cmInt=1
cmn=1
cpuHogTicks=20
sleep=25
FPS=30
ShowModules=1