Not too sure if this will help, but I have a web server running on my srcds 
game server, and utilise sv_downloadurl to push files to the client.

I use CSRSC (Counter Strike Redirect Server Checker) to scan my SRCDS CS:S 
folder, and it creates bz2 copies of everything that isn't in the default GCF's 
(I think?!).

I believe you can get it from here:
www.brainless.us

All I have setup is IIS, with a virtual directory pointing to the output from 
CSRSC. Works a treat. Not sure if I even setup all the MIME mappings actually, 
however I am running IIS 5.1 (the default in WinXP) so who knows.

I haven't had any complaints about lag from resource downloads... yet ;)

Regards,
Adam

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Valdimar 
Kristjansson
Sent: Friday, 18 August 2006 10:17 AM
To: [email protected]
Subject: Re: [hlds] Maps not downloading

Hi Frazer,

As usual I'm amazed at the level of help.
Followed the instructions and voila, I'm up and running :)

There are a few things that could have been the cause of my problems:

1. My MIME types weren't described as application (don't know if it matters)

2. I hadn't allowed scripts on the virtual directory (it's off by default)

3. I changed my sv_downloadurl to http://myIP/MyVirtualDirectory/hl2mp
    It might be that the hl2mp directory within the virtual directory did the 
trick.
    I just put the maps folder in my  virtual directory.


This can thus be thought of as possible problems for allowing downloads with 
IIS :)


See Frazers guide below for the solution.

Valdimar Kristjánsson, CTO
00 (+354) 693 2062_
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>; _www.eleanetwork.com_ 
<http://www.eleanetwork.com/>

This communication is solely intended for the addressee, it may be confidential 
and it is not for third party distribution.


Frazer wrote:
> 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...
>
> This is largely a matter of preference - but whatever structure and
> convention you use, you need to be consistent with your sv_download
> cvar setting.
>
> 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
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Valdimar
> Kristjansson
> Sent: Thursday, August 17, 2006 4:23 PM
> To: [email protected]
> Subject: Re: [hlds] Maps not downloading
>
> I even tried adding .* to the MIME but no luck
>
> Valdimar Kristjánsson, CTO
> 00 (+354) 693 2062_
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>;
> _www.eleanetwork.com_ <http://www.eleanetwork.com/>
>
> This communication is solely intended for the addressee, it may be
> confidential and it is not for third party distribution.
>
>
> Valdimar Kristjansson wrote:
>
>> Thanks for the link Ian, but nothing in there is new to me and it's
>> still not working.
>>
>> I added .bsp , .ain and .bz2 to the MIME types in IIS and now the
>> address works in IE/FF e.g.
>> http://www.eleanetwork.com/HLMaps/dm_agora.bsp but the game still
>> refuses to connect.
>>
>> This is the error I get:
>> Missing map Maps/dm_agora.bsp disconnected (why is it referring to
>> the maps folder instead of HLmaps?)
>>
>> It's strange though that when I try to connect the progressbar moves
>> beyond the bsp file and stops on the .ain file.
>> Also all the ain files are 1 kb and all of them seem to contain only
>> #, is that ok?
>>
>> >From what I've been reading from the forums it seems that this
>> sv_downloadurl isn't neccessary except for if you want to download
>> the maps from somewhere else than your server. I have all of the maps
>> on my server and this new address is on the same server as the game
>> server. It doesn't even work to download them without the
>> sv_downloadurl so I'm wondering if this is still a port problem.
>> Could it be that maps and such are sent through another port than 27015?
>>
>> I just tried disabling sv_allowdownload, sv_allowUpload and
>> sv_downloadurl and the progressbar still seems to start the download
>> as before, although with the same consequences (the progressbar label
>> also says it's downloading a bz2 file but I don't have any of those).
>>
>> Thanks,
>> Valdimar Kristjánsson, CTO
>> 00 (+354) 693 2062_
>> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>;
>> _www.eleanetwork.com_ <http://www.eleanetwork.com/>
>>
>> This communication is solely intended for the addressee, it may be
>> confidential and it is not for third party distribution.
>>
>
> _______________________________________________
> 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
>
>
>

_______________________________________________
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