Re: [hlds] more on download

2006-08-20 Thread Dave Williams
the server will need a restart but i'm not clear he actually installed
them on the game server tho.

Scott Tuttle wrote:
 Are they being requested from your game server.  Check your server http logs
 to see if they are even being requested.

 Maybe you need to reload the server for mani to pick up the new changes.  I
 really don't know anything about forcning downloads via mani.


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 Valdimar Kristjansson
 Sent: Friday, August 18, 2006 2:18 PM
 To: hlds@list.valvesoftware.com
 Subject: [hlds] more on download

 Hi,

 Now I'm almost happy with my server :)

 I want to add sounds to it and I've added the sound folder in
 my virtual
 dir (does sv_downloadurl pertain to maps only?)
 I've edited the soundlist.txt in my mani admin folder and all
 the sounds
 there point to sound/subdir/filename.
 I've also set mani_quakesounds (can't remember the cvar name
 exactly) to
 1 and downloaded the quake sound pack from mani.

 I have both the default sounds .wav and .mp3 files in the
 soundlist.txt
 (mp3's are 128kbs and 44100hz)
 I also added .wav and .mp3 in the MIME types in IIS.
 When I connect to my server I don't download the sounds and they don't
 come up in-game.

 What's the problem?

 Another thing is the MODT.txt file. I've added some text to it that is
 bigger than the box and the scrollbar shows that there is more content
 there but when I scroll down only the scrollbar moves (not
 the content).

 Also, is it possible to have for example different gravity
 settings for
 each map?

 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.


 Scott Tuttle wrote:

 Well I use it on multiple servers and it gets server

 directory information

 from a mysql database, based on the requested

 http://game.server.i.p .  I

 will have to sanatize it a bit so that someone could use it

 by hardcoding

 the game server path into it.

 I will see what I can do this weekend.



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of cbass
 Sent: Friday, August 18, 2006 11:28 AM
 To: hlds@list.valvesoftware.com
 Subject: RE: [hlds] Maps not downloading

 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: hlds@list.valvesoftware.com
 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: hlds@list.valvesoftware.com
 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 Kristjansson, 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 

RE: [hlds] more on download

2006-08-18 Thread Scott Tuttle
Are they being requested from your game server.  Check your server http logs
to see if they are even being requested.

Maybe you need to reload the server for mani to pick up the new changes.  I
really don't know anything about forcning downloads via mani.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 Valdimar Kristjansson
 Sent: Friday, August 18, 2006 2:18 PM
 To: hlds@list.valvesoftware.com
 Subject: [hlds] more on download

 Hi,

 Now I'm almost happy with my server :)

 I want to add sounds to it and I've added the sound folder in
 my virtual
 dir (does sv_downloadurl pertain to maps only?)
 I've edited the soundlist.txt in my mani admin folder and all
 the sounds
 there point to sound/subdir/filename.
 I've also set mani_quakesounds (can't remember the cvar name
 exactly) to
 1 and downloaded the quake sound pack from mani.

 I have both the default sounds .wav and .mp3 files in the
 soundlist.txt
 (mp3's are 128kbs and 44100hz)
 I also added .wav and .mp3 in the MIME types in IIS.
 When I connect to my server I don't download the sounds and they don't
 come up in-game.

 What's the problem?

 Another thing is the MODT.txt file. I've added some text to it that is
 bigger than the box and the scrollbar shows that there is more content
 there but when I scroll down only the scrollbar moves (not
 the content).

 Also, is it possible to have for example different gravity
 settings for
 each map?

 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.


 Scott Tuttle wrote:
  Well I use it on multiple servers and it gets server
 directory information
  from a mysql database, based on the requested
 http://game.server.i.p .  I
  will have to sanatize it a bit so that someone could use it
 by hardcoding
  the game server path into it.
 
  I will see what I can do this weekend.
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of cbass
  Sent: Friday, August 18, 2006 11:28 AM
  To: hlds@list.valvesoftware.com
  Subject: RE: [hlds] Maps not downloading
 
  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: hlds@list.valvesoftware.com
  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: hlds@list.valvesoftware.com
  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 Kristjansson, 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