Page 1 of 1

How to have client automatically download map?

Posted: Sat Nov 11, 2017 5:13 am
by foul_owl
Hello,

I have a Zandronum server running with a map I made. How do I get the client to automatically download this map when they join? Is there a server flag?

Sorry for the noob question but I couldn't find anything.

Thanks!

Re: How to have client automatically download map?

Posted: Sat Nov 11, 2017 7:55 am
by Combinebobnt
Upload the files somewhere publicly accessible like tspg or dogsoft and put the download link as the server's wad url. I think its sv_url or some crap like that (cvarlist *url*).
use the zandronum wiki for all the server hosting secrets (mostly 100 carnevil tainted svars)

Re: How to have client automatically download map?

Posted: Mon Nov 13, 2017 10:11 pm
by foul_owl
Thank you!

I would be hosting this server myself so serving a .wad from apache would be trivial.

However, what exactly is the server's wad url?

Is that like doing -file https://foo.com/path/to/maps.wad when launching the server? And that will work?

Thanks!

Re: How to have client automatically download map?

Posted: Tue Nov 14, 2017 8:37 am
by Doomkid
As far as I know, the Zandronum client cannot download wads itself - A wad url must be set in the server info, then players have to use a utility like getwad/wadseeker (built in to most server browsers) or visit the wad url and manually download it. Hope this clarifies a bit

Re: How to have client automatically download map?

Posted: Wed Nov 15, 2017 11:33 pm
by foul_owl
Understood! Thank you!

Re: How to have client automatically download map?

Posted: Sat Nov 18, 2017 6:51 pm
by jwaffe
Combinebobnt wrote:
Sat Nov 11, 2017 7:55 am
Upload the files somewhere publicly accessible like tspg or dogsoft and put the download link as the server's wad url. I think its sv_url or some crap like that (cvarlist *url*).
use the zandronum wiki for all the server hosting secrets (mostly 100 carnevil tainted svars)
The sever variable bob is referring to is sv_website.

So what you could do, is upload your wads to some location on your server (e.g., a dedicated wads directory) and then in your config, just use sv_website like this:

Code: Select all

sv_website "www.example.com/yourwaddirectory/"
At some point (over the past 7 years) I remember there was some kind of limitation as to what kind of protocols wadseeker supports (e.g., ftp / http) but that might have been fixed.