Pages: [1]
  Print  
Author Topic: Slow download rate from server  (Read 6264 times)
christooss
Lesser Nub


Cakes 3
Posts: 121


« on: March 24, 2009, 04:12:47 PM »

I have setuped server and now I when I stumble in to new map(not on my hardisk) client downloads map at 2KB rate. I found these options:

set sv_allowDownload "1" // enables downloading maps from server
set sv_wwwDownload "1" // enables the http redirect
set sv_dlURL "http://www.url-to-your-files.com" // sets the location of the files
set sv_wwwDlDisconnected "1" // disconnects the client while it's downloading the files
set cl_wwwDownload "1" // connects the client again when the download is finished

Do I have to setup apache with baseoa map to use this http thingy? Or is somehow http protocol enabled? Probably not but I still have to ask Smiley
Logged
sago007
Posts a lot
*

Cakes 62
Posts: 1664


Open Arena Developer


WWW
« Reply #1 on: March 24, 2009, 04:20:17 PM »

You need to host a separate www-server (such as apache) to speed things up.

You need to setup the paths so they match the placement of the pk3 files, such as:

If sv_dlURL is "http://www.example.com/~myuser/openarena/"
and the map is placed in openarena-0.8.1/baseoa/themap.pk3
then http://www.example.com/~myuser/openarena/baseoa/themap.pk3 must be the path to the map
Logged

There are nothing offending in my posts.
christooss
Lesser Nub


Cakes 3
Posts: 121


« Reply #2 on: March 24, 2009, 06:12:39 PM »

Great tnx. It works perfectly.
Logged
Pages: [1]
  Print  
 
Jump to: