[cod] COD4 Linux Setup Guide??

escapedturkey escapedturkey at escapedturkey.com
Sun Feb 8 18:12:54 EST 2009


Replace the $variable:

export LD_LIBRARY_PATH=".:bin:$LD_LIBRARY_PATH"

nohup ./cod4_lnxded-bin +set dedicated $server_dedicated +set ttycon 0 
+set net_ip $server_ip +set net_port
$server_port +set com_hunkmegs 256 +set sv_maxclients 
$server_sv_maxclients +set ui_maxclients $server_sv_maxclients +set log
file $server_logfile +set fs_basepath $home_location/$game_directory 
+set fs_homepath $home_location/$game_directory +set sv_
pure $server_sv_pure +set sv_punkbuster $server_sv_punkbuster +set 
fs_game $server_mod_directory +set $server_vm $misc +exec
$server_config1 +map $start_map & > /dev/null 2>&1

Part of a larger script I use with a lot of other stuff:

    "cod4_lnxded-bin")
           home_location=(`cd && pwd`)
           cd $home_location/$game_directory/main
           cp *console*.log `date +%m%d%Y`_console.log
           cd $home_location/$game_directory/$server_mod_directory
           cp *console*.log `date +%m%d%Y`_console.log
           cd $home_location/$game_directory
           crontab /usr/bin/serverchk
           rm -f nohup.out
           rm -f $server_exec-$username
           chmod 755 $server_exec
           chmod 755 $home_location/$game_directory/pb
           cp $server_exec $server_exec-$username
           export LD_LIBRARY_PATH=".:bin:$LD_LIBRARY_PATH"
           killall vsftpd
           ulimit -u 4
           nohup ./$server_exec-$username +set dedicated 
$server_dedicated +set ttycon 0 +set net_ip $server_ip +set net_port
$server_port +set com_hunkmegs 256 +set sv_maxclients 
$server_sv_maxclients +set ui_maxclients $server_sv_maxclients +set log
file $server_logfile +set fs_basepath $home_location/$game_directory 
+set fs_homepath $home_location/$game_directory +set sv_
pure $server_sv_pure +set sv_punkbuster $server_sv_punkbuster +set 
fs_game $server_mod_directory +set $server_vm $misc +exec
$server_config1 +map $start_map & > /dev/null 2>&1
;;





Vernon "Twizted" Gibson wrote:
> Hello, I was wondering if anyone could point me to a good setup guide 
> for COD4 Linux Dedicated Server. Preferably one that would work well 
> with CentOS. I use to have a bookmark to one but it has went 404 belly 
> up and I am working on setting up a server for a local LAN party. Also, 
> I assume that the latest server files are still 1.7 which were released 
> summer 2008? Thanks much!
> 
> ---
> To unsubscribe, send a blank email to cod-unsubscribe at icculus.org
> Mailing list archives: http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?38
> 
> 
> 



More information about the Cod mailing list