r2771 - branches/nexuiz-2.0/Docs/server trunk/Docs/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Jun 21 20:43:38 EDT 2007


Author: esteel
Date: 2007-06-21 20:43:38 -0400 (Thu, 21 Jun 2007)
New Revision: 2771

Added:
   branches/nexuiz-2.0/Docs/server/server_pro_linux.sh
   branches/nexuiz-2.0/Docs/server/server_pro_mac.sh
   branches/nexuiz-2.0/Docs/server/server_pro_windows.bat
   trunk/Docs/server/server_pro_linux.sh
   trunk/Docs/server/server_pro_mac.sh
   trunk/Docs/server/server_pro_windows.bat
Modified:
   branches/nexuiz-2.0/Docs/server/readme.txt
   branches/nexuiz-2.0/Docs/server/server_linux.sh
   branches/nexuiz-2.0/Docs/server/server_mac.sh
   branches/nexuiz-2.0/Docs/server/server_windows.bat
   trunk/Docs/server/readme.txt
   trunk/Docs/server/server_linux.sh
   trunk/Docs/server/server_mac.sh
   trunk/Docs/server/server_windows.bat
Log:
added dedicated server scripts to start in pro mode, mentioned it in readme.txt and changed the order of parameters in the existing scripts


Modified: branches/nexuiz-2.0/Docs/server/readme.txt
===================================================================
--- branches/nexuiz-2.0/Docs/server/readme.txt	2007-06-21 13:17:55 UTC (rev 2770)
+++ branches/nexuiz-2.0/Docs/server/readme.txt	2007-06-22 00:43:38 UTC (rev 2771)
@@ -1,24 +1,27 @@
-In this subdirectoriy you will find scripts and a config file that can
-be used to start a dedicated server on linux, mac or windows systems.
-You will need to copy the right script into your Nexuiz main
-directory, where the normal binaries are.  You then need to copy and
-ADJUST the config file which is called server.cfg.  You can copy it
-either into the Nexuiz/data directory where the big data*.pk3 file is
-or when running linux or a mac you can as well copy it into a special
-directory called ~/.nexuiz/data .
+In this subdirectory you will find scripts and a config file that can
+be used to start a dedicated Nexuiz server on linux, mac or windows
+systems.  You will need to copy the right script into your Nexuiz main
+directory, where the normal binaries are.  There are two scrips for
+each sytems, one to start a normal Nexuiz server and one to start it
+with the new 'Pro' settings.  You then need to copy and ADJUST the
+config file which is called server.cfg.  You can copy it either into
+the Nexuiz/data directory where the big data*.pk3 file is or when
+running on linux or mac you can as well copy it into a special
+directory called ~/.nexuiz/data
 
-An important thing is to make sure that your firewall does allow to
-contact your server.  This typicly means you will have to open or
-forward the port (see the line <port 26000> in your config.cfg for the
-right port number) to the computer running your server.  How to do
-this does depend on your computer setup.
+An important thing is to make sure that your firewall does allow
+players to contact your server.  This typicly means you will have to
+open or forward the port (see the line that sets the variable port in
+your config.cfg for the right port number, default is 26000) to the
+computer running your server.  How to do this does depend on your
+computer setup.
 
 If you plan to install custom maps on your server you should read the
 file Docs/mapdownload.txt to learn how to setup automatic map
 download.
 
 After you have setup everything and have adjusted the config file you
-can start the server by executing the server script.  The options in
+can start the server by starting the server script.  The options in
 the config file are only the most interesting and important ones. You
 can find more information about setting up a dedicated server in the
 Nexuiz Wiki:

Modified: branches/nexuiz-2.0/Docs/server/server_linux.sh
===================================================================
--- branches/nexuiz-2.0/Docs/server/server_linux.sh	2007-06-21 13:17:55 UTC (rev 2770)
+++ branches/nexuiz-2.0/Docs/server/server_linux.sh	2007-06-22 00:43:38 UTC (rev 2771)
@@ -6,4 +6,4 @@
 esac
 
 cd "`dirname \"${0}\"`"
-exec ./${executable} "${@}" +exec server.cfg
+exec ./${executable} +exec server.cfg "${@}"

Modified: branches/nexuiz-2.0/Docs/server/server_mac.sh
===================================================================
--- branches/nexuiz-2.0/Docs/server/server_mac.sh	2007-06-21 13:17:55 UTC (rev 2770)
+++ branches/nexuiz-2.0/Docs/server/server_mac.sh	2007-06-22 00:43:38 UTC (rev 2771)
@@ -1 +1 @@
-#!/bin/sh

executable="nexuiz-osx-ppc-dedicated"

cd "`dirname \"${0}\"`"
exec ./${executable} "${@}" +exec server.cfg
\ No newline at end of file
+#!/bin/sh

executable="nexuiz-osx-ppc-dedicated"

cd "`dirname \"${0}\"`"
exec ./${executable} +exec server.cfg "${@}"
\ No newline at end of file

Added: branches/nexuiz-2.0/Docs/server/server_pro_linux.sh
===================================================================
--- branches/nexuiz-2.0/Docs/server/server_pro_linux.sh	                        (rev 0)
+++ branches/nexuiz-2.0/Docs/server/server_pro_linux.sh	2007-06-22 00:43:38 UTC (rev 2771)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+case "$(uname -m)" in
+  x86_64)	executable="nexuiz-linux-x86_64-dedicated" ;;
+  *)		executable="nexuiz-linux-686-dedicated" ;;
+esac
+
+cd "`dirname \"${0}\"`"
+exec ./${executable} -game pro +exec server.cfg "${@}"


Property changes on: branches/nexuiz-2.0/Docs/server/server_pro_linux.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: branches/nexuiz-2.0/Docs/server/server_pro_mac.sh
===================================================================
--- branches/nexuiz-2.0/Docs/server/server_pro_mac.sh	                        (rev 0)
+++ branches/nexuiz-2.0/Docs/server/server_pro_mac.sh	2007-06-22 00:43:38 UTC (rev 2771)
@@ -0,0 +1 @@
+#!/bin/sh

executable="nexuiz-osx-ppc-dedicated"

cd "`dirname \"${0}\"`"
exec ./${executable} -game pro +exec server.cfg "${@}"
\ No newline at end of file


Property changes on: branches/nexuiz-2.0/Docs/server/server_pro_mac.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: branches/nexuiz-2.0/Docs/server/server_pro_windows.bat
===================================================================
--- branches/nexuiz-2.0/Docs/server/server_pro_windows.bat	                        (rev 0)
+++ branches/nexuiz-2.0/Docs/server/server_pro_windows.bat	2007-06-22 00:43:38 UTC (rev 2771)
@@ -0,0 +1,8 @@
+ at echo off
+
+setlocal
+set executable=nexuiz -dedicated
+
+%~d0
+cd "%~p0"
+.\%executable% -game pro +exec server.cfg %*

Modified: branches/nexuiz-2.0/Docs/server/server_windows.bat
===================================================================
--- branches/nexuiz-2.0/Docs/server/server_windows.bat	2007-06-21 13:17:55 UTC (rev 2770)
+++ branches/nexuiz-2.0/Docs/server/server_windows.bat	2007-06-22 00:43:38 UTC (rev 2771)
@@ -5,4 +5,4 @@
 
 %~d0
 cd "%~p0"
-.\%executable% %* +exec server.cfg
+.\%executable% +exec server.cfg %*

Modified: trunk/Docs/server/readme.txt
===================================================================
--- trunk/Docs/server/readme.txt	2007-06-21 13:17:55 UTC (rev 2770)
+++ trunk/Docs/server/readme.txt	2007-06-22 00:43:38 UTC (rev 2771)
@@ -1,24 +1,27 @@
-In this subdirectoriy you will find scripts and a config file that can
-be used to start a dedicated server on linux, mac or windows systems.
-You will need to copy the right script into your Nexuiz main
-directory, where the normal binaries are.  You then need to copy and
-ADJUST the config file which is called server.cfg.  You can copy it
-either into the Nexuiz/data directory where the big data*.pk3 file is
-or when running linux or a mac you can as well copy it into a special
-directory called ~/.nexuiz/data .
+In this subdirectory you will find scripts and a config file that can
+be used to start a dedicated Nexuiz server on linux, mac or windows
+systems.  You will need to copy the right script into your Nexuiz main
+directory, where the normal binaries are.  There are two scrips for
+each sytems, one to start a normal Nexuiz server and one to start it
+with the new 'Pro' settings.  You then need to copy and ADJUST the
+config file which is called server.cfg.  You can copy it either into
+the Nexuiz/data directory where the big data*.pk3 file is or when
+running on linux or mac you can as well copy it into a special
+directory called ~/.nexuiz/data
 
-An important thing is to make sure that your firewall does allow to
-contact your server.  This typicly means you will have to open or
-forward the port (see the line <port 26000> in your config.cfg for the
-right port number) to the computer running your server.  How to do
-this does depend on your computer setup.
+An important thing is to make sure that your firewall does allow
+players to contact your server.  This typicly means you will have to
+open or forward the port (see the line that sets the variable port in
+your config.cfg for the right port number, default is 26000) to the
+computer running your server.  How to do this does depend on your
+computer setup.
 
 If you plan to install custom maps on your server you should read the
 file Docs/mapdownload.txt to learn how to setup automatic map
 download.
 
 After you have setup everything and have adjusted the config file you
-can start the server by executing the server script.  The options in
+can start the server by starting the server script.  The options in
 the config file are only the most interesting and important ones. You
 can find more information about setting up a dedicated server in the
 Nexuiz Wiki:

Modified: trunk/Docs/server/server_linux.sh
===================================================================
--- trunk/Docs/server/server_linux.sh	2007-06-21 13:17:55 UTC (rev 2770)
+++ trunk/Docs/server/server_linux.sh	2007-06-22 00:43:38 UTC (rev 2771)
@@ -6,4 +6,4 @@
 esac
 
 cd "`dirname \"${0}\"`"
-exec ./${executable} "${@}" +exec server.cfg
+exec ./${executable} +exec server.cfg "${@}"

Modified: trunk/Docs/server/server_mac.sh
===================================================================
--- trunk/Docs/server/server_mac.sh	2007-06-21 13:17:55 UTC (rev 2770)
+++ trunk/Docs/server/server_mac.sh	2007-06-22 00:43:38 UTC (rev 2771)
@@ -1 +1 @@
-#!/bin/sh

executable="nexuiz-osx-ppc-dedicated"

cd "`dirname \"${0}\"`"
exec ./${executable} "${@}" +exec server.cfg
\ No newline at end of file
+#!/bin/sh

executable="nexuiz-osx-ppc-dedicated"

cd "`dirname \"${0}\"`"
exec ./${executable} +exec server.cfg "${@}"
\ No newline at end of file

Added: trunk/Docs/server/server_pro_linux.sh
===================================================================
--- trunk/Docs/server/server_pro_linux.sh	                        (rev 0)
+++ trunk/Docs/server/server_pro_linux.sh	2007-06-22 00:43:38 UTC (rev 2771)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+case "$(uname -m)" in
+  x86_64)	executable="nexuiz-linux-x86_64-dedicated" ;;
+  *)		executable="nexuiz-linux-686-dedicated" ;;
+esac
+
+cd "`dirname \"${0}\"`"
+exec ./${executable} -game pro +exec server.cfg "${@}"


Property changes on: trunk/Docs/server/server_pro_linux.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/Docs/server/server_pro_mac.sh
===================================================================
--- trunk/Docs/server/server_pro_mac.sh	                        (rev 0)
+++ trunk/Docs/server/server_pro_mac.sh	2007-06-22 00:43:38 UTC (rev 2771)
@@ -0,0 +1 @@
+#!/bin/sh

executable="nexuiz-osx-ppc-dedicated"

cd "`dirname \"${0}\"`"
exec ./${executable} -game pro +exec server.cfg "${@}"
\ No newline at end of file


Property changes on: trunk/Docs/server/server_pro_mac.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/Docs/server/server_pro_windows.bat
===================================================================
--- trunk/Docs/server/server_pro_windows.bat	                        (rev 0)
+++ trunk/Docs/server/server_pro_windows.bat	2007-06-22 00:43:38 UTC (rev 2771)
@@ -0,0 +1,8 @@
+ at echo off
+
+setlocal
+set executable=nexuiz -dedicated
+
+%~d0
+cd "%~p0"
+.\%executable% -game pro +exec server.cfg %*

Modified: trunk/Docs/server/server_windows.bat
===================================================================
--- trunk/Docs/server/server_windows.bat	2007-06-21 13:17:55 UTC (rev 2770)
+++ trunk/Docs/server/server_windows.bat	2007-06-22 00:43:38 UTC (rev 2771)
@@ -5,4 +5,4 @@
 
 %~d0
 cd "%~p0"
-.\%executable% %* +exec server.cfg
+.\%executable% +exec server.cfg %*




More information about the nexuiz-commits mailing list