How to have client automatically download map?

General help and assistance forum.
Post Reply
foul_owl
 
Posts: 20
Joined: Thu May 08, 2014 9:30 pm

How to have client automatically download map?

#1

Post by foul_owl » Sat Nov 11, 2017 5:13 am

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!

User avatar
Combinebobnt
Retired Staff / Community Team Member
Posts: 1893
Joined: Mon Jun 04, 2012 3:37 am
Location: Erth
Contact:

Re: How to have client automatically download map?

#2

Post by Combinebobnt » 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)

foul_owl
 
Posts: 20
Joined: Thu May 08, 2014 9:30 pm

Re: How to have client automatically download map?

#3

Post by foul_owl » Mon Nov 13, 2017 10:11 pm

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!

User avatar
Doomkid
Frequent Poster Miles card holder
Posts: 943
Joined: Sun Nov 25, 2012 2:04 am
Location: Aussie Land
Clan: UniDoom
Clan Tag: [UD]
Contact:

Re: How to have client automatically download map?

#4

Post by Doomkid » Tue Nov 14, 2017 8:37 am

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
Image
Image

foul_owl
 
Posts: 20
Joined: Thu May 08, 2014 9:30 pm

Re: How to have client automatically download map?

#5

Post by foul_owl » Wed Nov 15, 2017 11:33 pm

Understood! Thank you!

jwaffe
Forum Regular
Posts: 219
Joined: Sun Jun 03, 2012 11:45 pm
Location: Just beyond the line horizon
Contact:

Re: How to have client automatically download map?

#6

Post by jwaffe » Sat Nov 18, 2017 6:51 pm

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.
Image

Post Reply