Previous Contents Next

4. Starting the server

HLDS_L-HOWTO


4.1 Run DOD script

Change to the hlds_l directory.
prompt[shrikebot]#> cd /usr/steam/hlds_l

Create a new shell script file called run_dod.
prompt[hlds_l]#> vi run_dod
Add the following two lines to the file:
#!/bin/sh
./hlds_run -game dod -dll addons/metamod/dlls/metamod_i386.so +map dod_anzio +maxplayers 20
 

Make the script executable.
prompt[hlds_l]#> chmod 755 run_dod

Start HLDS.
prompt[hlds_l]#> ./run_dod


4.2 Optional parameters

The following parameters can be added at the end on the second line.(the server start command line)

  +ip <your IP here> (set your IP internet address)
  -port 27015 (set the IP port) ┴─ Internet settings
  -nomaster (prevents master server communication)
  -insecure (prevents the VAC from loading) ├─ LAN settings
  +sv_lan 1 (set lan mode)
  -noipx (don't load IPX protocol)  
  -maxheapsizeX (specify the amount of ram available)  
       
       
       
       
       

Previous Contents Next