[cod] Startup scripts for 1.7 - the previous don't work?

MikeTNT MikeTNT at gmx.de
Tue Jul 1 18:14:15 EDT 2008


Some hundreds mailings before ryan wrote:


Crap, I knew I would do that with one of these patches.

cod4_lnxded is the 1.7 binary in this package. It's normally a small 
shell script that launches cod4_lnxded-bin, but it got copied to the 
wrong file.

This is why I should automate these things. :/

We'll correct it in the next patch. For now, the workaround is this:

- If you are launching the -bin file directly, either launch 
cod4_lnxded directly, or copy cod4_lnxded to cod4_lnxded-bin and go as 
you were.

- If you were relying on the shell script to set environment 
variables, then copy cod4_lnxded to cod4_lnxded-bin, and use the 
original cod4_lnxded script from previous cod4 builds:

http://treefort.icculus.org/cod/cod4_lnxded-script.tar.gz

- If you've always ran cod4_lnxded, and it's just working as a 1.7 
server now that it's a binary instead of a script, just keep on doing 
what you're doing now and ignore all this. The script is largely there 
to set LD_LIBRARY_PATH, really.

Sorry for the confusion, this one was my fault.

--ryan.


In other words: Rename the cod4_lnxded from the patch 1.7 to cod4_lnxded-bin and additionally use your old cod4_lnxded. After that your script should work as usual. ;-)

cu Mike
www.miketnt.de



  ----- Original Message ----- 
  From: Georgecooldude 
  To: cod at icculus.org 
  Sent: Tuesday, July 01, 2008 11:59 PM
  Subject: [cod] Startup scripts for 1.7 - the previous don't work?


  Hey guys

  What startup scripts are you all using for 1.7?

  I'm using this one that was post publically but it doesn't work any more. I noticed Ryan posted a new cod4_lnxded script but when I use that my server runs version 1.6. If I try with the included cod4_lnxded and try running the script it fails.

  Any suggestions?

  #Call of Duty 4 Start Script
  # -1--------------------------

  export LD_LIBRARY_PATH=":"

  # Make sure the username and IP are correct
  # ---------------------------------------------------------

  IP=myIP
  USR=myUSR
  INSTALL=/home/games/cod4/

  # Let's make sure the server is not running
  # -----------------------------------------
  screen -S $USR -X quit
  killall -9 cod4_lnxded

  # Now the command line that starts the server
  # ------------------------------------------

  screen -A -m -d -S $USR $INSTALL/cod4_lnxded \
  +set net_ip $IP +set net_port 28960 +set fs_basepath \
  $INSTALL +set fs_homepath /home/$USR +set sv_punkbuster 1 \
  +set sv_pure 1 +exec server.cfg +map_rotate

  echo ""
  echo "Cod4-Server running under user $USR has been started"
  echo ""


  # End of File
  #*********************************************************************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/cod/attachments/20080702/1f8b9f45/attachment.htm>


More information about the Cod mailing list