Difference between revisions of "How to run a server"

From OdaWiki
Line 1: Line 1:
If you would like to run a server, then simply run the "odasrv" application that is in the directory that you installed/unarchived Odamex to. You would then automatically have a server up and running.  
+
If you would like to run a server, then simply run the "odasrv" application from the installation directory. You should then automatically have a server up and running with default configuration.  
  
 
== Basics to Configuring a Server ==
 
== Basics to Configuring a Server ==

Revision as of 06:44, 31 March 2006

If you would like to run a server, then simply run the "odasrv" application from the installation directory. You should then automatically have a server up and running with default configuration.

Basics to Configuring a Server

The server can be started with, or without commandline parameters. The default behaviour is to bind to local UDP port 10666 (or the next available port, the server console will display this port). The server then finds and loads the wad files (default: odamex.wad and doom2.wad), loads a map and begins accepting connections. You should test the server with a client.

Public/private server

First of all, decide if you want your server to be displayed on the Odamex public server list. Set usemasters appropriately.

If you are running a public server, it is a good idea to give it a name. You can name it whatever you choose, but if you want to provide insight reflecting what kind of WAD and game type is being run on it, then do so. To name a public server you must type hostname "x" into the server console, where "x" is the name of the server (with quotes included). Check that the server appears listed on a master server.

Useful settings

Then you can customize server settings with variables and commands. Here are a few examples to get you going:

  • wad x.wad -- Loads the given PWAD, whose name is to be typed in place of the "x".
  • map MAPxx or ExMx -- Goes to the indicated map, where the "x"'s represent digits such as "01" for MAP01. "ExMx" is used when the Ultimate Doom or Shareware Doom is being run, where the "x"'s also represent digits, such as "1" and "1" for E1M1
  • deathmatch x -- Sets the indicated deathmatch mode, where "x" represents the value of the desired deathmatch mode. 1 would be regular deathmatch, while 2 would be altdeath deathmatch.

Further configuration

Map cycles

You may wish to...