<li><aclass="backlink"title="Click to do a full-text search for this title"href="./AutoDownload?action=fullsearch&value=linkto%3A%22AutoDownload%22&context=180">AutoDownload</a></li>
<spanclass="anchor"id="line-5"></span><spanclass="anchor"id="line-6"></span><pclass="line862">Download behaviour on the client side is configured with the <em>net_clientDownload</em> cvar: <spanclass="anchor"id="line-7"></span><spanclass="anchor"id="line-8"></span><ul><li>0: no downloads. if the server you are connecting to requires paks that you don't have, the connection will fail with an error message <spanclass="anchor"id="line-9"></span></li><li>1: ask. any time some pak files would need to be downloaded, you will get prompted about it. this is the default <spanclass="anchor"id="line-10"></span></li><li>2: always download. you will still get prompted if the server wants to send you binary game code. ( which you should only ever agree to if you really trust the server admin ) <spanclass="anchor"id="line-11"></span><spanclass="anchor"id="line-12"></span></li></ul><pclass="line867">
<spanclass="anchor"id="line-13"></span><spanclass="anchor"id="line-14"></span><pclass="line874">There are no builtin downloads. All downloads are done through http/ftp URLs handed over to the clients. The clients however can stay connected while downloading your files before joining the game. The base game provides a simple backend to setup downloads. Mods can modify and extend how the server decides how and for who to provide downloads. <spanclass="anchor"id="line-15"></span><spanclass="anchor"id="line-16"></span><pclass="line867"><em>net_serverDownload</em>: <spanclass="anchor"id="line-17"></span><spanclass="anchor"id="line-18"></span><ul><li>0: this server doesn't provide any downloads <spanclass="anchor"id="line-19"></span></li><li><pclass="line862">1: any download request will simply forward the client to a web page defined by <em>si_serverURL</em> ( client will shutdown and open the page) <spanclass="anchor"id="line-20"></span></li><li>2: provide a number of downloads for the files this server is running. See other cvars below <spanclass="anchor"id="line-21"></span><spanclass="anchor"id="line-22"></span></li></ul><pclass="line867"><em>net_serverDlBaseURL</em>: holds the base URL to the files to be downloaded. The final URLs will be constructed as <em>net_serverDlBaseURL</em>/<em>pakfilepath</em> ( where pakfilepath is defined by <em>net_serverDlTable</em> ) <spanclass="anchor"id="line-23"></span><spanclass="anchor"id="line-24"></span><pclass="line867"><em>net_serverDlTable</em>: a list of pak files for which download is provided, seperated by ;. The paths should include the fs_game path ( 'base/', or your mod path .. 'base/myd3map.pk4;d3xp/myroemap.pk4' ). You can also set <em>net_serverDlTable</em> to <em>*</em> to mark all paks that may be requested for download. <spanclass="anchor"id="line-25"></span><spanclass="anchor"id="line-26"></span><pclass="line862">You will need to be running an ftp or http server to serve those files. Currently the Quake4 server doesn't provide an integrated way to serve the files itself. If you are looking for a lightweight simple http server, I recommend <aclass="http"href="http://www.acme.com/software/thttpd/">thttpd</a>. <spanclass="anchor"id="line-27"></span><spanclass="anchor"id="line-28"></span><pclass="line867"><strong>NOTE</strong>: AutoDownload <strong>will not work</strong> on files that are named like official assets paks ( pak[0-9]*.pk4 ). You should use a different naming in your mods and custom maps. <spanclass="anchor"id="line-29"></span><spanclass="anchor"id="bottom"></span></div><pid="pageinfo"class="info"lang="en"dir="ltr">AutoDownload (last edited 2006-12-03 19:08:18 by <spantitle="TimotheeBesset @ pool-71-164-173-18.dllstx.fios.verizon.net[71.164.173.18]"><aclass="nonexistent"href="./TimotheeBesset.html"title="TimotheeBesset @ pool-71-164-173-18.dllstx.fios.verizon.net[71.164.173.18]">TimotheeBesset</a></span>)</p>
<li><ahref="http://moinmoin.wikiwikiweb.de/">MoinMoin Powered</a></li><li><ahref="http://www.python.org/">Python Powered</a></li><li><ahref="http://validator.w3.org/check?uri=referer">Valid HTML 4.01</a></li>