CLIENT SIDE:\r
\r
Should already work without configuration. You can however use the following\r
-cvars for further tuning:\r
+cvars for further tuning (see xonotic.org/tools/cacs for more up-to-date information):\r
\r
- cl_curl_enabled download support enabled (master switch, default: 1)\r
- cl_curl_maxdownloads maximum number of downloads at once (default: 1)\r
- cl_curl_maxspeed maximum total speed in KiB/s (default: 100)\r
+ cl_curl_enabled download support enabled (master switch)\r
+ cl_curl_maxdownloads maximum number of downloads at once\r
+ cl_curl_maxspeed maximum total speed in KiB/s\r
\r
-Downloaded packages end up in |Nexuiz/data/dlcache/| or\r
-|~/.nexuiz/data/dlcache/| and are only used till you exit Nexuiz.\r
+Downloaded packages end up in |Xonotic/data/dlcache/| or\r
+|~/.xonotic/data/dlcache/| and are only used till you exit Xonotic.\r
If you want to play them localy or use them to setup a server of your\r
own you can "accept" the packages by moving it one level up - right\r
next to your config.cfg.\r
INFORMATION FOR MIRROR/MAP SERVER ADMINS:\r
\r
The Referer is always set to dp://serverhost:serverport/, the User-Agent\r
-always starts with "Nexuiz". Look at this sample log line:\r
+always starts with "Xonotic". Look at this sample log line:\r
\r
-141.2.16.3 - - [06/Jun/2006:19:43:14 +0000] "GET /~polzer/temp/nexmaps.php?filename=o-fun.pk3 HTTP/1.1" 302 - "dp://141.2.16.3:26000/" "Nexuiz Linux 21:26:17 Jun 6 2006"\r
+141.2.16.3 - - [06/Jun/2006:19:43:14 +0000] "GET /~polzer/temp/nexmaps.php?filename=o-fun.pk3 HTTP/1.1" 302 - "dp://141.2.16.3:26000/" "Xonotic Linux 21:26:17 Jun 6 2006"\r
\r
\r
If you want to set up a redirection service, here is a sample PHP code for you\r
$filename = $_GET['filename'];\r
\r
$useragent = getenv("HTTP_USER_AGENT");\r
-if(strpos($useragent, "Nexuiz ") !== 0)\r
- bailout(403, "Forbidden", "You're not a Nexuiz client.");\r
+if(strpos($useragent, "Xonotic ") !== 0)\r
+ bailout(403, "Forbidden", "You're not a Xonotic client.");\r
\r
$url = findmap($filename);\r
if(!$url)\r