r2232 - in branches/nexuiz-2.0: Docs data data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Mar 15 13:49:08 EDT 2007


Author: esteel
Date: 2007-03-15 13:49:07 -0400 (Thu, 15 Mar 2007)
New Revision: 2232

Modified:
   branches/nexuiz-2.0/Docs/FAQ.aft
   branches/nexuiz-2.0/Docs/FAQ.html
   branches/nexuiz-2.0/data/default.cfg
   branches/nexuiz-2.0/data/qcsrc/server/clientcommands.qc
   branches/nexuiz-2.0/data/qcsrc/server/defs.qh
Log:
merged from trunk: removed clientcommand and reworded FAQ


Modified: branches/nexuiz-2.0/Docs/FAQ.aft
===================================================================
--- branches/nexuiz-2.0/Docs/FAQ.aft	2007-03-15 16:50:49 UTC (rev 2231)
+++ branches/nexuiz-2.0/Docs/FAQ.aft	2007-03-15 17:49:07 UTC (rev 2232)
@@ -3,7 +3,7 @@
 #--- use AFT v5.096 or later (http://www.maplefish.com/todd/aft.html)
 
 #---SET nexversion=2.2.3
-#---SET zipname=nexuiz-VERSION.zip
+#---SET zipname=nexuiz-<version>.zip
 
 *Title: Nexuiz %nexversion% FAQ
 			http://nexuiz.com	http://alientrap.org
@@ -17,7 +17,7 @@
 * Troubleshooting
 
 ** How do I install Nexuiz?
-Just unzip the |%zipname%| file. You can do this with any archive program (like [7zip (http://7zip.org)]). It's very important to remain the directory structure while unpacking (in WinZip this option is called "Use folder names"). The directory structure should look like this afterwards:
+Just unzip the |%zipname%| file. You can do this with any archive program (like [7zip (http://7zip.org)]). It's very important to keep the directory structure while unpacking (in WinZip this option is called "Use folder names"). The directory structure should look like this afterwards:
 ^<<
 Nexuiz
 |-- Docs
@@ -30,55 +30,56 @@
 `-- nexuiz-linux-*
 ^>>
 
-** When I start Nexuiz all I see is a black screen with some checkered squares
-This happens when the engine can't load the data*.pk3 file. The reasons could be:
+** When I start Nexuiz all I see is a black screen or a black screen with some checkered squares
+This happens when the engine can't load the data*.pk3 file or has trouble to initialize OpenGL. The reasons could be:
 	1. you unpacked the zip file without folder names (see [How do I install Nexuiz?])
-	2. on Linux: the current directory is not your Nexuiz/ folder (see [How can I place a shortcut to Nexuiz on my Linux desktop?])
-	3. your download might be corrupted, please download Nexuiz again
+	2. on Linux: the current directory is not your Nexuiz/ folder. See [How can I place a shortcut to Nexuiz on my Linux desktop?] on how to fix this
+	3. on Mac: you tried to extract and move the files from a Nexuiz update and it deleted the old files.  When using the mac gui please be sure to move only the files not the folders as that will delete the old files or use the mv console command which will not delete the old files
+	4. the engine could not initialize OpenGL.  Please install the latest drivers for your graphic card. You will probably find one for your card there: [intel (http://intel.com)] [ati (http://ati.com)] [nvidia (http://nvidia.com)]
+	5. your download might be corrupted, please download Nexuiz again
 
 ** The sound is broken, it crackles and stutters
-Try run |nexuiz-sdl.exe| instead of |nexuiz.exe| (on Windows). Adding the command line options |-sndspeed 48000| and/or |-sndstereo| can also help on some systems (on Windows, Linux, Mac).
+Try run |nexuiz-sdl.exe| instead of |nexuiz.exe| (on Windows). Adding the command line options |-sndspeed 48000| and/or |-sndstereo| can also help on some systems (on Linux, Mac, Windows).
 
-** I can't switch to 32 bit color depth (Windows)
+** I can't switch to 32 bit color depth (on Windows)
 Check if your desktop color depth is set to 32 bits per pixel. If it's just set to 16, Nexuiz can't switch to 32 bit mode.
 
 ** When I join a server or after a map change I see nothing but a black screen, but I can still move and shoot
-This is probably because you don't have the map, that's running on the server. As Nexuiz does now support map/content download the server might be be setup to support this and you will have to get the map the old fashioned way. Those servers will have a download URL in their name or welcome message. There is also a [wiki page (http://alientrap.org/wiki/pmwiki.php?n=Main.CustomMaps)] dedicated to new maps.
+This is probably because you don't have the map that's running on the server. As Nexuiz does now supports map/content download the server might not be be setup to support this and you will have to get the map the old fashioned way. Those servers will have a download URL in their name or welcome message. There is also a [wiki page (http://alientrap.org/wiki/pmwiki.php?n=Main.CustomMaps)] dedicated to new maps.
 
 * Server setup
 
 ** How do I start a server?
-Please take a look at the file |readme.txt| in the |Docs/server/| directory where this topic is explained.
+Use the |Create| menu to start a |listen server|.  You will always have to play in a |listen server|.
+If you want to create a server without being forced to play yourself please take a look at the file |readme.txt| in the |Docs/server/| directory where the |dedicated server| is explained.
 
 ** Which ports do I have to open in firewall/forward from my router to run a server?
-The default port is 26000 UDP. You can change that by starting Nexuiz with |nexuiz-sdl.exe -port <port>| (on Windows) or |nexuiz-linux-686-sdl -port <port>| (on Linux).
-To add the command line argument on Windows, create a new shortcut to |nexuiz-sdl.exe| and right click on it. Select properties and |-port <port>| in the "Target:" line. Be sure that the "Start in:" line contains the full path to your Nexuiz folder and click "OK".
-If you follow the tutorial mentioned above you do not need this command line argument as it will be done in the config file created for the server.
+The default port is 26000 UDP. You can change that by starting Nexuiz with the parameter |-port <port>| or having a line |port <port>| in the server config file.
+If you follow the tutorial mentioned above you do not need this command line argument as it will be done in the config file created for the server. To add the command line argument on Windows, create a new shortcut to |nexuiz.exe| or |nexuiz-dedicated.exe| and right click on it. Select properties and |-port <port>| in the "Target:" line. Be sure that the "Start in:" line contains the full path to your Nexuiz folder and click "OK". The parameter will be used if you start Nexuiz via that new shortcut.
 
 ** Is there some kind of rcon?
-Yes starting with Nexuiz 2.0 there is rcon (QuakeWorld compatible). To use it you must enter |rcon__password hackme| in the server console or server config file. The Nexuiz client has to set the same password in the same fasion. You can then issue commands with |rcon <command>|. There are also external rcon tools but make sure you use a QW compatible rcon tool.
-There is also a feature called |client side commands|. To enable it enter |sv__clientcommands 1| on your server console. Don't forget to set a password with |sv__clientcommands__password hackme|. Now you can become admin ingame by entering |ccl hackme| on the client console. To issue commands enter |cc <command>| (e.g. |cc restart| or |cc chmap dm_nexdm12|).
+Yes starting with Nexuiz 2.0 there is rcon (QuakeWorld compatible). To use it you must enter |rcon__password <password>| in the server console or server config file. The Nexuiz client has to set the same password in the same fasion. You can then issue commands with |rcon <command>| if you are connected to the server or have set |rcon__address <ip/hostname>| or |rcon__address <ip/hostname>:<port>| to point to the server. There are also external rcon tools but make sure you use a QW compatible rcon tool.
 
 ** How can i kick people who are using special characters in their names?
-Enter |status| at the console. You will see a list of all players. In front of their names you will see a number (the player id). You can kick the player you don't like with |kick # <player id> <reason>| (notice the space after #).
+Enter |status| at the server console. You will see a list of all players. In front of their names you will see a number (the player id). You can kick the player you don't like with |kick # <player id> <reason>| (notice the space after #).
 
 
 * General questions
 
 ** How do I install new maps?
-Maps usually ship as *.pk3 file. All you have to do is to copy this file to your |Nexuiz/data/| directory.
+Maps usually ship as *.pk3 file. All you have to do is to copy this file to the |Nexuiz/data/| (on Linux, Mac, Windows) OR |~/.nexuiz/data/| (on Linux, Mac) directory.
 
 ** How can I place a shortcut to Nexuiz on my Linux desktop?
-Use the script |nexuiz-linux.sh| instead of the binary. It will use the right version (32 or 64 bit).
+Use the script |nexuiz-linux-sdl.sh| or |nexuiz-linux-glx.sh| instead of the binaries. The scripts will use the correct |working directory|,choose the right version (32 or 64 bit) and also allow you to start a extra X server.
 
 ** How do I open the console?
 Press |\[shift]+\[escape]|. To close it press |\[escape]|
 
 ** What console commands/variables are there?
-You can get a list of variables by entering |cvarlist| on the console. |cmdlist| will give you a list of available commands. An annotated version of that output can be found at the [Nexuiz wiki (http://alientrap.org/wiki/pmwiki.php?n=Main.ConsoleCommands)].
+You can get a list of variables by entering |cvarlist| on the console ([How do I open the console?]). |cmdlist| will give you a list of available commands. An annotated version of that output can be found at the [Nexuiz wiki (http://alientrap.org/wiki/pmwiki.php?n=Main.ConsoleCommands)].
 
 ** How can I speed up my frame rate?
-The greatest performance boost can be achieved by turning off dynamic lights and shadows in the menu |Options / Effects|. Bloom is also quite resource. Other fps boots include disabeling |Deluxemapping| and |Coronas|. On older graphics cards or on-board/notebook chips with little video ram you can try to lower the texture resolution. To do this open the console ([How do I open the console?]) and type |gl__picmip #; r__restart| (where # is a number between 0 and 10, 0 is the highest quality). Nexuiz now does also include config files that will adjust your graphic settings. Open the console as explained in and type |exec normal.cfg| to get the default setting. |exec med.cfg| and |exec low.cfg| are of lower quality but will make Nexuiz faster. |exec high.cfg| and |exec ultra.cfg| will show what Nexuiz is able to look like but do require a very fast PC and graphic card. Just like the |gl_picmip| some of the settings in those config files require you to either restart Nexuiz or type |vid_restart| in the console afterwards.
+The greatest performance boost can be achieved by turning off dynamic lights and shadows in the menu |Options / Effects|. Bloom is also quite resource. Other fps boots include disabeling |Deluxemapping| and |Coronas|. On older graphics cards or on-board/notebook chips with little video ram you can try to lower the texture quality in the menu |Options / Video|. Nexuiz also includes config files that will adjust your graphic settings. Open the console ([How do I open the console?]) and type |exec normal.cfg| to get the default setting (back). |exec med.cfg| and |exec low.cfg| are of lower quality but will make Nexuiz run faster. |exec high.cfg|, |exec ultra.cfg| and |exec ultimate.cfg| will show what Nexuiz is able to look like but do require a very fast PC and graphic card. Some of the settings in those config files require you to either restart Nexuiz or also type |vid_restart| in the console after exec'ing the config files.
 
 ** How can I activate colors in my name?
 Colors can be used in nicknames and chat messages by typing ^ followed by a number between 0 and 9.
@@ -108,9 +109,9 @@
 	!----------------------------!
 
 ** How do i watch/record demos?
-You can access your demos in the |Demos| menu. Click on the demo you want to watch and then on |Start| to watch the demo. 
-To record a demo yourself open the console ([How do I open the console?]) and type |rec <name>| before playing. That is before starting a game or connection to a server. The demo file will be stored in |~/.nexuiz/data/demos/<name>.dem| (Linux) or |Nexuiz/data/demos/<name>.dem| (Windows).
-To watch a demo: open the console and type |ply <name>|. If you downloaded a demo, copy it to |Nexuiz/data/demos|. You might have to create this directory if you have never recorded a demo before.
+You can access your demos in the |Demos| menu. Click on the demo you want to watch and then on |Start| to watch the demo. Or type |ply <name>| in the console ([How do I open the console?]).
+To record a demo yourself open the console and type |rec <name>| before playing. That is before starting a game or connecting to a server. The demo file will be stored in |Nexuiz/data/demos/<name>.dem| (on Windows) or |~/.nexuiz/data/demos/<name>.dem| (on Linux, Mac).
+If you downloaded a demo, copy it to |Nexuiz/data/demos/<name>.dem| (on Linux, Mac, Windows) or |~/.nexuiz/data/demos/<name>.dem| (on Linux, Mac). You might have to create this directory if you have never recorded a demo before.
 You can list all your demo files by typing |dem| on the console. Some usefull keybindings for viewing demos are listed [here (http://www.alientrap.org/forum/viewtopic.php?p=357#357)]. A simple way to automaticly record demos can be found [here (http://www.alientrap.org/forum/viewtopic.php?t=90)]
 
 

Modified: branches/nexuiz-2.0/Docs/FAQ.html
===================================================================
--- branches/nexuiz-2.0/Docs/FAQ.html	2007-03-15 16:50:49 UTC (rev 2231)
+++ branches/nexuiz-2.0/Docs/FAQ.html	2007-03-15 17:49:07 UTC (rev 2232)
@@ -124,9 +124,9 @@
 <li> <a class="link" href="#Troubleshooting">Troubleshooting</a></li>
 <ul>
 <li> <a class="link" href="#How do I install Nexuiz?">How do I install Nexuiz?</a></li>
-<li> <a class="link" href="#When I start Nexuiz all I see is a black screen with some checkered squares">When I start Nexuiz all I see is a black screen with some checkered squares</a></li>
+<li> <a class="link" href="#When I start Nexuiz all I see is a black screen or a black screen with some checkered squares">When I start Nexuiz all I see is a black screen or a black screen with some checkered squares</a></li>
 <li> <a class="link" href="#The sound is broken, it crackles and stutters">The sound is broken, it crackles and stutters</a></li>
-<li> <a class="link" href="#I can't switch to 32 bit color depth (Windows)">I can't switch to 32 bit color depth (Windows)</a></li>
+<li> <a class="link" href="#I can't switch to 32 bit color depth (on Windows)">I can't switch to 32 bit color depth (on Windows)</a></li>
 <li> <a class="link" href="#When I join a server or after a map change I see nothing but a black screen, but I can still move and shoot">When I join a server or after a map change I see nothing but a black screen, but I can still move and shoot</a></li>
 </ul>
 <li> <a class="link" href="#Server setup">Server setup</a></li>
@@ -160,7 +160,7 @@
 <!-- Start SectLevel2 -->
 <h3><a name="How do I install Nexuiz?">How do I install Nexuiz?</a></h3>
 <p class="Body">
-Just unzip the <tt>nexuiz-VERSION.zip</tt> file. You can do this with any archive program (like <a class="link" href="http://7zip.org">7zip</a>). It's very important to remain the directory structure while unpacking (in WinZip this option is called &quot;Use folder names&quot;). The directory structure should look like this afterwards:
+Just unzip the <tt>nexuiz-&lt;version&gt;.zip</tt> file. You can do this with any archive program (like <a class="link" href="http://7zip.org">7zip</a>). It's very important to keep the directory structure while unpacking (in WinZip this option is called &quot;Use folder names&quot;). The directory structure should look like this afterwards:
 <div class="block"><pre>
 Nexuiz
 |-- Docs
@@ -174,29 +174,31 @@
 </pre></div>
 </p>
 <!--End Section 2-->
-<h3><a name="When I start Nexuiz all I see is a black screen with some checkered squares">When I start Nexuiz all I see is a black screen with some checkered squares</a></h3>
+<h3><a name="When I start Nexuiz all I see is a black screen or a black screen with some checkered squares">When I start Nexuiz all I see is a black screen or a black screen with some checkered squares</a></h3>
 <p class="Body">
-This happens when the engine can't load the data*.pk3 file. The reasons could be:
+This happens when the engine can't load the data*.pk3 file or has trouble to initialize OpenGL. The reasons could be:
 <ol>
 <li> you unpacked the zip file without folder names (see <a class="link" href="#How do I install Nexuiz?">How do I install Nexuiz?</a>)</li>
-<li> on Linux: the current directory is not your Nexuiz/ folder (see <a class="link" href="#How can I place a shortcut to Nexuiz on my Linux desktop?">How can I place a shortcut to Nexuiz on my Linux desktop?</a>)</li>
+<li> on Linux: the current directory is not your Nexuiz/ folder. See <a class="link" href="#How can I place a shortcut to Nexuiz on my Linux desktop?">How can I place a shortcut to Nexuiz on my Linux desktop?</a> on how to fix this</li>
+<li> on Mac: you tried to extract and move the files from a Nexuiz update and it deleted the old files.  When using the mac gui please be sure to move only the files not the folders as that will delete the old files or use the mv console command which will not delete the old files</li>
+<li> the engine could not initialize OpenGL.  Please install the latest drivers for your graphic card. You will probably find one for your card there: <a class="link" href="http://intel.com">intel</a> <a class="link" href="http://ati.com">ati</a> <a class="link" href="http://nvidia.com">nvidia</a></li>
 <li> your download might be corrupted, please download Nexuiz again</li>
 </ol>
 </p>
 <!--End Section 2-->
 <h3><a name="The sound is broken, it crackles and stutters">The sound is broken, it crackles and stutters</a></h3>
 <p class="Body">
-Try run <tt>nexuiz-sdl.exe</tt> instead of <tt>nexuiz.exe</tt> (on Windows). Adding the command line options <tt>-sndspeed 48000</tt> and/or <tt>-sndstereo</tt> can also help on some systems (on Windows, Linux, Mac).
+Try run <tt>nexuiz-sdl.exe</tt> instead of <tt>nexuiz.exe</tt> (on Windows). Adding the command line options <tt>-sndspeed 48000</tt> and/or <tt>-sndstereo</tt> can also help on some systems (on Linux, Mac, Windows).
 </p>
 <!--End Section 2-->
-<h3><a name="I can't switch to 32 bit color depth (Windows)">I can't switch to 32 bit color depth (Windows)</a></h3>
+<h3><a name="I can't switch to 32 bit color depth (on Windows)">I can't switch to 32 bit color depth (on Windows)</a></h3>
 <p class="Body">
 Check if your desktop color depth is set to 32 bits per pixel. If it's just set to 16, Nexuiz can't switch to 32 bit mode.
 </p>
 <!--End Section 2-->
 <h3><a name="When I join a server or after a map change I see nothing but a black screen, but I can still move and shoot">When I join a server or after a map change I see nothing but a black screen, but I can still move and shoot</a></h3>
 <p class="Body">
-This is probably because you don't have the map, that's running on the server. As Nexuiz does now support map/content download the server might be be setup to support this and you will have to get the map the old fashioned way. Those servers will have a download URL in their name or welcome message. There is also a <a class="link" href="http://alientrap.org/wiki/pmwiki.php?n=Main.CustomMaps">wiki page</a> dedicated to new maps.
+This is probably because you don't have the map that's running on the server. As Nexuiz does now supports map/content download the server might not be be setup to support this and you will have to get the map the old fashioned way. Those servers will have a download URL in their name or welcome message. There is also a <a class="link" href="http://alientrap.org/wiki/pmwiki.php?n=Main.CustomMaps">wiki page</a> dedicated to new maps.
 </p>
 <!--End Section 2-->
 <!-- End SectLevel2 -->
@@ -205,25 +207,24 @@
 <!-- Start SectLevel2 -->
 <h3><a name="How do I start a server?">How do I start a server?</a></h3>
 <p class="Body">
-Please take a look at the file <tt>readme.txt</tt> in the <tt>Docs/server/</tt> directory where this topic is explained.
+Use the <tt>Create</tt> menu to start a <tt>listen server</tt>.  You will always have to play in a <tt>listen server</tt>.
+If you want to create a server without being forced to play yourself please take a look at the file <tt>readme.txt</tt> in the <tt>Docs/server/</tt> directory where the <tt>dedicated server</tt> is explained.
 </p>
 <!--End Section 2-->
 <h3><a name="Which ports do I have to open in firewall/forward from my router to run a server?">Which ports do I have to open in firewall/forward from my router to run a server?</a></h3>
 <p class="Body">
-The default port is 26000 UDP. You can change that by starting Nexuiz with <tt>nexuiz-sdl.exe -port &lt;port&gt;</tt> (on Windows) or <tt>nexuiz-linux-686-sdl -port &lt;port&gt;</tt> (on Linux).
-To add the command line argument on Windows, create a new shortcut to <tt>nexuiz-sdl.exe</tt> and right click on it. Select properties and <tt>-port &lt;port&gt;</tt> in the &quot;Target:&quot; line. Be sure that the &quot;Start in:&quot; line contains the full path to your Nexuiz folder and click &quot;OK&quot;.
-If you follow the tutorial mentioned above you do not need this command line argument as it will be done in the config file created for the server.
+The default port is 26000 UDP. You can change that by starting Nexuiz with the parameter <tt>-port &lt;port&gt;</tt> or having a line <tt>port &lt;port&gt;</tt> in the server config file.
+If you follow the tutorial mentioned above you do not need this command line argument as it will be done in the config file created for the server. To add the command line argument on Windows, create a new shortcut to <tt>nexuiz.exe</tt> or <tt>nexuiz-dedicated.exe</tt> and right click on it. Select properties and <tt>-port &lt;port&gt;</tt> in the &quot;Target:&quot; line. Be sure that the &quot;Start in:&quot; line contains the full path to your Nexuiz folder and click &quot;OK&quot;. The parameter will be used if you start Nexuiz via that new shortcut.
 </p>
 <!--End Section 2-->
 <h3><a name="Is there some kind of rcon?">Is there some kind of rcon?</a></h3>
 <p class="Body">
-Yes starting with Nexuiz 2.0 there is rcon (QuakeWorld compatible). To use it you must enter <tt>rcon_password hackme</tt> in the server console or server config file. The Nexuiz client has to set the same password in the same fasion. You can then issue commands with <tt>rcon &lt;command&gt;</tt>. There are also external rcon tools but make sure you use a QW compatible rcon tool.
-There is also a feature called <tt>client side commands</tt>. To enable it enter <tt>sv_clientcommands 1</tt> on your server console. Don't forget to set a password with <tt>sv_clientcommands_password hackme</tt>. Now you can become admin ingame by entering <tt>ccl hackme</tt> on the client console. To issue commands enter <tt>cc &lt;command&gt;</tt> (e.g. <tt>cc restart</tt> or <tt>cc chmap dm_nexdm12</tt>).
+Yes starting with Nexuiz 2.0 there is rcon (QuakeWorld compatible). To use it you must enter <tt>rcon_password &lt;password&gt;</tt> in the server console or server config file. The Nexuiz client has to set the same password in the same fasion. You can then issue commands with <tt>rcon &lt;command&gt;</tt> if you are connected to the server or have set <tt>rcon_address &lt;ip/hostname&gt;</tt> or <tt>rcon_address &lt;ip/hostname&gt;:&lt;port&gt;</tt> to point to the server. There are also external rcon tools but make sure you use a QW compatible rcon tool.
 </p>
 <!--End Section 2-->
 <h3><a name="How can i kick people who are using special characters in their names?">How can i kick people who are using special characters in their names?</a></h3>
 <p class="Body">
-Enter <tt>status</tt> at the console. You will see a list of all players. In front of their names you will see a number (the player id). You can kick the player you don't like with <tt>kick # &lt;player id&gt; &lt;reason&gt;</tt> (notice the space after #).
+Enter <tt>status</tt> at the server console. You will see a list of all players. In front of their names you will see a number (the player id). You can kick the player you don't like with <tt>kick # &lt;player id&gt; &lt;reason&gt;</tt> (notice the space after #).
 </p>
 <!--End Section 2-->
 <!-- End SectLevel2 -->
@@ -232,12 +233,12 @@
 <!-- Start SectLevel2 -->
 <h3><a name="How do I install new maps?">How do I install new maps?</a></h3>
 <p class="Body">
-Maps usually ship as *.pk3 file. All you have to do is to copy this file to your <tt>Nexuiz/data/</tt> directory.
+Maps usually ship as *.pk3 file. All you have to do is to copy this file to the <tt>Nexuiz/data/</tt> (on Linux, Mac, Windows) OR <tt>~/.nexuiz/data/</tt> (on Linux, Mac) directory.
 </p>
 <!--End Section 2-->
 <h3><a name="How can I place a shortcut to Nexuiz on my Linux desktop?">How can I place a shortcut to Nexuiz on my Linux desktop?</a></h3>
 <p class="Body">
-Use the script <tt>nexuiz-linux.sh</tt> instead of the binary. It will use the right version (32 or 64 bit).
+Use the script <tt>nexuiz-linux-sdl.sh</tt> or <tt>nexuiz-linux-glx.sh</tt> instead of the binaries. The scripts will use the correct <tt>working directory</tt>,choose the right version (32 or 64 bit) and also allow you to start a extra X server.
 </p>
 <!--End Section 2-->
 <h3><a name="How do I open the console?">How do I open the console?</a></h3>
@@ -247,12 +248,12 @@
 <!--End Section 2-->
 <h3><a name="What console commands/variables are there?">What console commands/variables are there?</a></h3>
 <p class="Body">
-You can get a list of variables by entering <tt>cvarlist</tt> on the console. <tt>cmdlist</tt> will give you a list of available commands. An annotated version of that output can be found at the <a class="link" href="http://alientrap.org/wiki/pmwiki.php?n=Main.ConsoleCommands">Nexuiz wiki</a>.
+You can get a list of variables by entering <tt>cvarlist</tt> on the console (<a class="link" href="#How do I open the console?">How do I open the console?</a>). <tt>cmdlist</tt> will give you a list of available commands. An annotated version of that output can be found at the <a class="link" href="http://alientrap.org/wiki/pmwiki.php?n=Main.ConsoleCommands">Nexuiz wiki</a>.
 </p>
 <!--End Section 2-->
 <h3><a name="How can I speed up my frame rate?">How can I speed up my frame rate?</a></h3>
 <p class="Body">
-The greatest performance boost can be achieved by turning off dynamic lights and shadows in the menu <tt>Options / Effects</tt>. Bloom is also quite resource. Other fps boots include disabeling <tt>Deluxemapping</tt> and <tt>Coronas</tt>. On older graphics cards or on-board/notebook chips with little video ram you can try to lower the texture resolution. To do this open the console (<a class="link" href="#How do I open the console?">How do I open the console?</a>) and type <tt>gl_picmip #; r_restart</tt> (where # is a number between 0 and 10, 0 is the highest quality). Nexuiz now does also include config files that will adjust your graphic settings. Open the console as explained in and type <tt>exec normal.cfg</tt> to get the default setting. <tt>exec med.cfg</tt> and <tt>exec low.cfg</tt> are of lower quality but will make Nexuiz faster. <tt>exec high.cfg</tt> and <tt>exec ultra.cfg</tt> will show what Nexuiz is able to look like but do require a very fast PC and graphic card. Just like the <tt>gl<strong>picmip</tt> some of the settings in those config files require you to either restart Nexuiz or type <tt>vid</strong>restart</tt> in the console afterwards.
+The greatest performance boost can be achieved by turning off dynamic lights and shadows in the menu <tt>Options / Effects</tt>. Bloom is also quite resource. Other fps boots include disabeling <tt>Deluxemapping</tt> and <tt>Coronas</tt>. On older graphics cards or on-board/notebook chips with little video ram you can try to lower the texture quality in the menu <tt>Options / Video</tt>. Nexuiz also includes config files that will adjust your graphic settings. Open the console (<a class="link" href="#How do I open the console?">How do I open the console?</a>) and type <tt>exec normal.cfg</tt> to get the default setting (back). <tt>exec med.cfg</tt> and <tt>exec low.cfg</tt> are of lower quality but will make Nexuiz run faster. <tt>exec high.cfg</tt>, <tt>exec ultra.cfg</tt> and <tt>exec ultimate.cfg</tt> will show what Nexuiz is able to look like but do require a very fast PC and graphic card. Some of the settings in those config files require you to either restart Nexuiz or also type <tt>vid_restart</tt> in the console after exec'ing the config files.
 </p>
 <!--End Section 2-->
 <h3><a name="How can I activate colors in my name?">How can I activate colors in my name?</a></h3>
@@ -276,9 +277,9 @@
 <!--End Section 2-->
 <h3><a name="How do i watch/record demos?">How do i watch/record demos?</a></h3>
 <p class="Body">
-You can access your demos in the <tt>Demos</tt> menu. Click on the demo you want to watch and then on <tt>Start</tt> to watch the demo. 
-To record a demo yourself open the console (<a class="link" href="#How do I open the console?">How do I open the console?</a>) and type <tt>rec &lt;name&gt;</tt> before playing. That is before starting a game or connection to a server. The demo file will be stored in <tt>~/.nexuiz/data/demos/&lt;name&gt;.dem</tt> (Linux) or <tt>Nexuiz/data/demos/&lt;name&gt;.dem</tt> (Windows).
-To watch a demo: open the console and type <tt>ply &lt;name&gt;</tt>. If you downloaded a demo, copy it to <tt>Nexuiz/data/demos</tt>. You might have to create this directory if you have never recorded a demo before.
+You can access your demos in the <tt>Demos</tt> menu. Click on the demo you want to watch and then on <tt>Start</tt> to watch the demo. Or type <tt>ply &lt;name&gt;</tt> in the console (<a class="link" href="#How do I open the console?">How do I open the console?</a>).
+To record a demo yourself open the console and type <tt>rec &lt;name&gt;</tt> before playing. That is before starting a game or connecting to a server. The demo file will be stored in <tt>Nexuiz/data/demos/&lt;name&gt;.dem</tt> (on Windows) or <tt>~/.nexuiz/data/demos/&lt;name&gt;.dem</tt> (on Linux, Mac).
+If you downloaded a demo, copy it to <tt>Nexuiz/data/demos/&lt;name&gt;.dem</tt> (on Linux, Mac, Windows) or <tt>~/.nexuiz/data/demos/&lt;name&gt;.dem</tt> (on Linux, Mac). You might have to create this directory if you have never recorded a demo before.
 You can list all your demo files by typing <tt>dem</tt> on the console. Some usefull keybindings for viewing demos are listed <a class="link" href="http://www.alientrap.org/forum/viewtopic.php?p=357#357">here</a>. A simple way to automaticly record demos can be found <a class="link" href="http://www.alientrap.org/forum/viewtopic.php?t=90">here</a>
 </p>
 <!--End Section 2-->

Modified: branches/nexuiz-2.0/data/default.cfg
===================================================================
--- branches/nexuiz-2.0/data/default.cfg	2007-03-15 16:50:49 UTC (rev 2231)
+++ branches/nexuiz-2.0/data/default.cfg	2007-03-15 17:49:07 UTC (rev 2232)
@@ -38,9 +38,6 @@
 alias ply "playdemo demos/$1"
 alias tdem "timedemo demos/$1"
 
-alias ccl "cmd clogin $1"
-alias cc "cmd ccmd $*"
-
 alias dropweapon "impulse 17"
 alias +show_info +button7
 alias -show_info -button7
@@ -96,10 +93,6 @@
 set minplayers 0
 sv_cullentities_trace 1
 
-// disable rcon-like clientcommands to avoid server being open with default password
-seta sv_clientcommands 0
-seta sv_clientcommands_password hackme
-
 // restart server if all players hit "ready"-button
 set sv_ready_restart 0
 

Modified: branches/nexuiz-2.0/data/qcsrc/server/clientcommands.qc
===================================================================
--- branches/nexuiz-2.0/data/qcsrc/server/clientcommands.qc	2007-03-15 16:50:49 UTC (rev 2231)
+++ branches/nexuiz-2.0/data/qcsrc/server/clientcommands.qc	2007-03-15 17:49:07 UTC (rev 2232)
@@ -84,47 +84,7 @@
 
 	tokenize(s);
 
-	if(argv(0) == "clogin") {
-		if(cvar("sv_clientcommands")) {
-			if(self.adminstatus < -5) {
-				sprint(self, "Too many unsuccessful tries.\n");
-			} else if(argv(1) == cvar_string("sv_clientcommands_password")) {
-				self.adminstatus = 1;
-				sprint(self, "You now have remote admin status.\n");
-				ServerConsoleEcho(strcat("ClientCommands: ", self.netname, " received admin status"), TRUE);
-			} else {
-				sprint(self, "Wrong password.\n");
-				// use of -- produces compiler warning in the if() line???
-				self.adminstatus = self.adminstatus - 1;
-				if(self.adminstatus == 0)
-				{
-					sprint(self, "You lost remote admin status.\n");
-					ServerConsoleEcho(strcat("ClientCommands: ", self.netname, " lost admin status"), TRUE);
-				}
-			}
-		} else {
-			sprint(self, "Clientside commands NOT allowed.\n");
-		}
-	} else if(argv(0) == "ccmd") {
-		if(cvar("sv_clientcommands")) {
-			if(self.adminstatus > 0) {
-				local string command;
-				command = argv(1);
-				index = 2;
-				while(argv(index) != "") {
-					command = strcat(command, " ", argv(index));
-					index++;
-				}
-				command = strzone(command);
-				ServerConsoleEcho(strcat("ClientCommands: ", self.netname, " issued command '", command, "'"), TRUE);
-				localcmd(strcat(command, "\n"));
-				strunzone(command);
-			} else
-				sprint(self, "You don't have remote admin status.\n");
-		} else {
-			sprint(self, "Clientside commands NOT allowed.\n");
-		}
-	} else if(argv(0) == "vote") {
+	if(argv(0) == "vote") {
 		if(argv(1) == "help") {
 			local string vmasterdis;
 			if(!cvar("sv_vote_master")) {
@@ -191,8 +151,7 @@
 		} else if(argv(1) == "stop") {
 			if(!votecalled) {
 				sprint(self, "^1No vote called.\n");
-			} else if(self == votecaller
-				  || self.adminstatus > 0) { // the votecaller and admins can stop a vote
+			} else if(self == votecaller) { // the votecaller can stop a vote
 				VoteStop(self);
 			} else {
 				sprint(self, "^1You are not allowed to stop that Vote.\n");

Modified: branches/nexuiz-2.0/data/qcsrc/server/defs.qh
===================================================================
--- branches/nexuiz-2.0/data/qcsrc/server/defs.qh	2007-03-15 16:50:49 UTC (rev 2231)
+++ branches/nexuiz-2.0/data/qcsrc/server/defs.qh	2007-03-15 17:49:07 UTC (rev 2232)
@@ -23,9 +23,6 @@
 //.string	wad;
 //.string	map;
 
-// is this client a remote administrator?
-.float adminstatus;
-
 //.float	worldtype;
 .float	delay;
 .float	wait;




More information about the nexuiz-commits mailing list