]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - Docs/mapdownload.txt
Merge branch 'northivanastan/documentation' into 'master'
[xonotic/xonotic.git] / Docs / mapdownload.txt
index 66386b0fe6a756940884ab4122e72c4408cf7afd..7ea9db6429f7c72341c5f54c6559686b9d2491a7 100644 (file)
@@ -11,8 +11,8 @@ cvars for further tuning:
    cl_curl_maxdownloads         maximum number of downloads at once (default: 1)\r
    cl_curl_maxspeed             maximum total speed in KiB/s (default: 100)\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
@@ -57,9 +57,9 @@ URL, the package will not be offered for download.
 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
@@ -85,8 +85,8 @@ function bailout($code, $title, $message)
 $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