Pages: [1]
  Print  
Author Topic: http/ftp download redirect  (Read 8142 times)
Redshirt
Darwin Award: Posting warez on Free Software forums while also running a certain very license-and-copyright infringing "GPL" game.
Nub


Cakes 0
Posts: 29



WWW
« on: January 27, 2007, 07:47:58 AM »

does 0.6.0 have download redirect via http/ftp in it or was that not until a later encarnation of ioq3?

I'd like to add a map or to my server but I dont want to force folks to sit through the dialup speed downloads..

Logged

tw3k
Lesser Nub


Cakes 0
Posts: 143



« Reply #1 on: January 27, 2007, 01:22:10 PM »

RTFM!

heh j/k j/k

Quote
Using HTTP/FTP Download Support (Server)
  You can enable redirected downloads on your server even if it's not
  an ioquake3 server.  You simply need to use the 'sets' command to put
  the sv_dlURL cvar into your SERVERINFO string and ensure sv_allowDownloads
  is set to 1

  sv_dlURL is the base of the URL that contains your custom .pk3 files
  the client will append both fs_game and the filename to the end of
  this value.  For example, if you have sv_dlURL set to
  "http://ioquake3.org", fs_game is "baseq3", and the client is
  missing "test.pk3", it will attempt to download from the URL
  "http://ioquake3.org/baseq3/test.pk3"

  sv_allowDownload's value is now a bitmask made up of the following
  flags:
    1 - ENABLE
    2 - do not use HTTP/FTP downloads
    4 - do not use UDP downloads
    8 - do not ask the client to disconnect when using HTTP/FTP

  Server operators who are concerned about potential "leeching" from their
  HTTP servers from other ioquake3 servers can make use of the HTTP_REFERER
  that ioquake3 sets which is "ioQ3://{SERVER_IP}:{SERVER_PORT}".  For,
  example, Apache's mod_rewrite can restrict access based on HTTP_REFERER.

Logged
Redshirt
Darwin Award: Posting warez on Free Software forums while also running a certain very license-and-copyright infringing "GPL" game.
Nub


Cakes 0
Posts: 29



WWW
« Reply #2 on: January 27, 2007, 07:27:43 PM »

I was looking at the svn... and didnt see it in the svn 0.6.0 was build from... I'll give it a shot

But thanks for the info! Smiley
Logged

Pages: [1]
  Print  
 
Jump to: