Since your showing cool ASPX coding, you want to share?
-----Original message-----
From: "Scott Tuttle" [EMAIL PROTECTED]
Date: Fri, 18 Aug 2006 10:07:38 -0400
To: [email protected]
Subject: RE: [hlds] Maps not downloading

> What I have is an aspx page in my download url
>
> sv_downloadurl "http://game.server.i.p/?f=";
>
> When the server gets a request default.aspx?f=/maps/de_westwood.bsp for
> example, I stream out the /maps/de_westwood.bsp from the game server
> directory.  I limit the files that can be streamed by coding the "approved
> file types" in my aspx file.  For example, I allow
> txt,bsp,wav,tga,mdl,wad,bz2,dem.  Any other requested file like /server.cfg
> would return a 404 error in the code.
>
> I do not have to move any files.  Your server will not lag if you have
> enough bandwidth.
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Dave Williams
> > Sent: Friday, August 18, 2006 2:53 AM
> > To: [email protected]
> > Subject: Re: [hlds] Maps not downloading
> >
> > i personally think that it was moving the map foldet to the virtual
> > directory. the true path to my sv_downloadurl folder is
> > http://www.noquestionsasked.co.uk/httpdocs/sv_downloadurl but it shows
> > up on the internet as http://www.noquestionsasked.co.uk/sv_downloadurl
> > (btw don't try and access it as i have turned off directory
> > listing. so
> > it will just error out on you).
> >
> > i'm not too hot with iis. i get my webserver host to worry
> > about that. i
> > just thought i mention your setup now sounds similar to mine.
> >
> > Valdimar Kristjansson wrote:
> > > 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
>
>
> _______________________________________________
> 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