Running several MOD's on one server


When you have read all the other sections good, this should be a piece of cake.

In this example, I will show you how to run a Counter-Strike, Day of Defeat and Frontline Force server all on one machine using screen.

After you have installed all the files, go to your /halflife/hlds_l/ directory

cd /usr/local/games/halflife/hlds_l <enter>

screen <enter>

export LD_LIBRARY_PATH=/halflife/hlds_l:$LD_LIBRARY_PATH <enter>

./hlds_run -game cstrike +exec server.cfg +ip 168.192.10.11 +port 27015 +maxplayers 16 +map de_dust <enter>

CTRL A+D <detached>
 

cd /usr/local/games/halflife/hlds_l <enter>

screen <enter>

export LD_LIBRARY_PATH=/halflife/hlds_l:$LD_LIBRARY_PATH <enter>

./hlds_run -game dod +exec server.cfg +ip 168.192.10.11 +port 27050 +maxplayers 16 +map dod_omaha <enter>

CTRL A+D <detached>
 

cd /usr/local/games/halflife/hlds_l <enter>

screen <enter>

export LD_LIBRARY_PATH=/halflife/hlds_l:$LD_LIBRARY_PATH <enter>

./hlds_run -game flf +exec server.cfg +ip 168.192.10.11 +port 27065 +maxplayers 16 +map flf_bier <enter>

CTRL A+D <detached>

At this point you have 3 servers running under screen, all running a different MOD.

The first server is running Counter-Strike, the second is running Day of Defeat and the third is running Frontline Force.

You can finetune your motd.txt ( welcome text when entering the server ) and your server.cfg in your cstrike, dod or flf directory, using vi or pico.

If you have any problem with setting up such a server you can contact me using the forum.