sv_wwwDlDisconnected advantages?


(Ark42) #1

Other then ‘holding’ a client slot on the server, does this make the download any faster or slower to enable or disable?


(DG) #2

what does the setting do?


(Ark42) #3

Thats what im asking.
its for when you have people downloading from www instead of the game because www is MUCH MUCH faster then sending the pk3 files via udp or whatever it does and limiting it to the clients rate anyways.
From what I can tell if you set it, downloads may be more reliable, since people dont get aborted if your servers map changes, they download the map in the background and then reconnect when its finished (only to get server full:)

I dont really know what the benefits really are tho, which is what im asking.


(DG) #4

aha, thanks


(blown65) #5

actually you want that set at 0, or at least mine is set at 0. Just need wwwdownload “1” instead of 0 and wwwbaseURL pointing to your site.

just make sure your maps are in a folder called etmain or it doesnt know what to do. www.yoursite.com/etmain/map.pk3

So you would set wwwbaseURL “http://www.yoursite.com


(Ark42) #6

I think you completely missed what I was asking here.

I already have www downloads set up and working fine, I dont need to know anything about sv_wwwDownload or sv_wwwBaseURL.
I am asking about sv_wwwDlDisconnected which is defaulted to 0 in the server.cfg
I think you get much better results from setting it to 1 for two reasons, but I dont know if there are other benefits or downsides to enabling it.
Benefits I see are:

  1. downloading people dont waste slots as useless spectators, thus freeing up more slots for actual playing people
  2. map changes on your server dont interrupt the people downloading the files and lead to less problems downloading.

(blown65) #7

ya, I didnt worry bout it, cause the bandwidth on our server is pretty high. Even the 8mb rhine only took me about 45 seconds to download. Exception I guess would be dialup users. Shouldnt really change the speed of the download much I dont think. I hate the servers that dont have it enabled and you have to dl at a freak crawl of 4-5kb/sec. YAY 30-40 minutes for rhine. NOT.


(newbroker) #8

Does to me i suffer people but am apparent too silly :banghead:
I have made a directory with the necessary mapfiles reachable about ‘http://www.compkal.net/downloads/’ and ‘http://www.compkal.net/downloads/etmain/
Our Serverconfig looks as follows:
// DL, RATE

set sv_maxRate “16000” // 10000 standard but poor for ET
set sv_dl_maxRate “-1” // increase/decerease if you have plenty/little spare bandwidth
set sv_allowDownload “1” // global toggle for both legacy download and web download
set sv_wwwDownload “1” // toggle to enable web download
set sv_wwwBaseURL “http://www.compkal.net/downloads/” // base URL for redirection
set sv_wwwDlDisconnected “0” // tell clients to perform their downloads while disconnected from the server
set sv_wwwFallbackURL “http://www.compkal.net/” // URL to send to if an http/ftp fails or is refused client side

But it doesn’t work. What else do I make wrong, then?
He always jumps back to the Fallback address.

Please help…


([fun]scott) #9

are you running etpro? if so all pk3s on your web redirect must be within an etpro folder. thats only reason i can think your first address fails.


(=TAC=Chron) #10

ET appends the prefix /etmain/your.pk3 when going to a wwwDownload.

therefore you must not put the trailing slash in the sv_wwwBaseURL otherwise the client gets this----“http://www.compkal.net/downloads//etmain/your.pk3

put the .pk3 in a folder named etmain inside your downloads folder and remove the trailing slash from the wwwBaseURL, or

if all you have in the downloads folder is you .pk3 files, rename the downloads folder to etmain and set your wwwBaseURL to “http://www.compkal.net


(Lekdevil.NL) #11

…also, make sure those directories and files are actually readable by the web server process and that all your custom pk3 files are present at that location.


(newbroker) #12

Hey guys,
thanx for your quick answer. Some of this tips realy help :clap:

But my problem is not realy solved. With normal ET, without a MOD
now all workd fine :banana:

But our server is running SHRUBET MOD.
So i create following subfolders for try and error fixing :frowning: ;
http://www.compkal.net/downloads/shrubet
http://www.compkal.net/downloads/etmain/shrubet
http://www.compkal.net/downloads/shrubet/etmain

BUT NOTHING HELPD :bored:

I realy need another great tip :drink:


(Lekdevil.NL) #13

Please post the address of your server so we can check what’s going on.

BTW, you do not need any of those three directories you mentioned. Shrubet is a server-side mod that does not require a client download. Also, if you keep all your custom pk3 map files in your etmain folder, your only need to place them in the http://www.compkal.net/downloads/etmain/ directory.


(newbroker) #14

OK, here is a server with same configuration like our running main server.

Use this address: compkal.dnsalias.com:27960

The wwwdownload location is configured to: “http://www.compkal.net/downloads

And please don’t forget, without SHRUBMOD all work’d !

Thanx, NewBroker


(Lekdevil.NL) #15

The (huge) v1_drakir.pk3 pak gets downloaded without problems.

However, I’m getting the following error message:

Replace existing download target file
Failed to initialize download for ‘http://www.compkal.net/downloads/etmain/compkal_campaign.pk3
WARNING: file etmain/compkal_campaign.pk3 obtained through download redirect has wrong checksum
this likely means the server configuration is broken
Need paks: etmain/compkal_campaign.pk3 (local file exists with wrong checksum)

My best guess is that the “compkal_campaign.pk3” on the web server is not identical to the one on the game server. Try to replace both files with a good copy and restart the game server.

HTH.


(Majin) #16

Almost all the maps I download while connecting say www.something.com/somewhere//etmain/something.pk3 and they download fine.


(SiliconSlick) #17

I think you completely missed what I was asking here.

I already have www downloads set up and working fine, I dont need to know anything about sv_wwwDownload or sv_wwwBaseURL.
I am asking about sv_wwwDlDisconnected which is defaulted to 0 in the server.cfg
I think you get much better results from setting it to 1 for two reasons, but I dont know if there are other benefits or downsides to enabling it.
Benefits I see are:

  1. downloading people dont waste slots as useless spectators, thus freeing up more slots for actual playing people
  2. map changes on your server dont interrupt the people downloading the files and lead to less problems downloading.[/quote]

We found sv_wwwDlDisconnected=1 to be problematic…
especially when there are a large number of downloads
(like on [ND80] New Maps).

I preferred =1, but we had to go with =0 due to all
the problems people had.

YMMV :slight_smile:

SiliconSlick


(newbroker) #18

Hey Lekdevil.NL,
thank you very much for trying to help me but i can’t understood your result :eek2:

[quote=“Lekdevil.NL”]The (huge) v1_drakir.pk3 pak gets downloaded without problems.

I can’t understand why i again and again landing on fallback address :banghead:

However, I’m getting the following error message:

Replace existing download target file
Failed to initialize download for ‘http://www.compkal.net/downloads/etmain/compkal_campaign.pk3
WARNING: file etmain/compkal_campaign.pk3 obtained through download redirect has wrong checksum
this likely means the server configuration is broken
Need paks: etmain/compkal_campaign.pk3 (local file exists with wrong checksum)

Yes, that was my mistake ! We use a newer version on our main server. I have fix this now :clap:

My best guess is that the “compkal_campaign.pk3” on the web server is not identical to the one on the game server. Try to replace both files with a good copy and restart the game server.

But nevertheless, i alway landing on fallback address :???:
How and where can i see the error output you posted ?
If there is no longer an URL problem i can’t understood why it won’t work here ?
This error makes my realy crazy :beer:


(Lekdevil.NL) #19

Well, since you only have one web server, your fallback address should be identical to your main redirect address (so both should point to www.blahblahblah/downloads". That will probably not solve your problem yet, but it eliminates one more config error.

BTW, all error messages are shown in the console.

Also, when downloading which file exactly do you get redirected to the fallback address?


(newbroker) #20

Hey :cool:

the fallback address is different to the download address:
Fallback “http://www.compkal.net
download “http:www.compkal.net/downloads”

BTW, all error messages are shown in the console.

:???: but i can’t see my console while connecting :eek2: And after the game redirects me to the fallback address, the console is already closed.

Also, when downloading which file exactly do you get redirected to the fallback address?
Sorry i can’t see that but please remember, without shrubmod all downloads workd fine :eek:

Cu NB