Frazer... you're amazing, as are several of the people on this list who
selflessly help those in need.
Never have so many owed so much to so few. W. Churchill

-----Original Message-----
From: Frazer [mailto:[EMAIL PROTECTED]
Sent: Friday, August 18, 2006 7:59 AM
To: hlds@list.valvesoftware.com
Subject: RE: [hlds] Maps not downloading


(My previous posting was missing some text at the beginning, here is the
full version)

You may have already covered most of this ground, but for completeness,
I
have tried to capture all the steps.  Here is how I set up sv_download
on a
Windows 2003 Server with IIS 6.0.

First, create a directory somewhere for your downloads.  For example:
D:\svdl

Select the directory in explorer, right-click and select Web Sharing.
Select the web site you want share the directory on.  Usually, the
Default
Web Site is fine.

Press the "Add" button to create an IIS virtual directory and alias
name.

Enter "svdl" for the Alias name.  Ensure Read access is selected and
that
Scripts is selected for Application Permissions.  Press "OK" twice.

Open up the IIS Management console.

Select the new svdl virtual directory in the tree view under Default Web
Site (or wherever you put it).  View the properties for the virtual
directory.

Go to the Directory Security tab.  Press the Edit... button in the
Authentication and access control section - and select Enable anonymous
access.  Leave Integrated Windows Authentication checked - no other
options
should be checked.  Press "OK"

Go to the HTTP Headers tab.  Press the MIME Types... button.  Add the
following MIME types:

Extension:  .ain  MIME Type: application
Extension:   .bsp MIME Type: application
Extension:  .bz2 MIME Type: application   (this last one for compressed
maps)

Not sure if it is necessary - but an IISRESET at this stage eases the
nerves
of us paranoids.

Create the following sub-directory structure within your svdl directory.
(assuming D:\svdl):

D:\svdl\dod\maps
D:\svdl\hl2mp\maps
etc...

Assuming you use the above structure, place your game maps in the
appropriate game map directory.  From this point forward, I will assume
you
are working with hl2dm.  Your maps should all have the extension .bsp
(or
.bsp.bz2, if they are compressed with bzip2.  - recommended - and yes,
you
must specify the entire "bsp.bz2").

Make sure you have files, with matching names, for all the maps in your
rotation.

In the server.cfg file for your game, specify the following two CVars:

sv_allowdownload "1"
sv_downloadurl "http://yourwebserver.woot/svdl/dod/";

<shamelessPlug>

        If you are using ogsWatcher, specify the following CVar tags, in
the
<CVars> section of your game config:

              <CVar Name="sv_allowdownload" Value="1"  />
              <CVar Name="sv_downloadurl"
Value="http://yourwebserver.woot/svdl/dod/"; />

</shamelessPlug>

Start your game server in your preferred fashion.  Map downloading
should be
working.

To test: changelevel your server to some custom map that your game
client PC
does not have.  Connect and see if it downloads.

Hope this helps.


Frazer




_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds

Reply via email to