SRCDS Steam group


Few questions about sv_downloadurl
#1
Hey people, I'm hosting a Garry's mod server, and I want people to be able to download all of the random maps I put on it. Note, this is just maps. I don't feel like getting into uploading every single lua file every time I change something. So I suppose my first question is, when I specify an sv_downloadurl, will the connecting client look there first, and whatever it doesn't find, will download from me?

Many thanks in advance.
Reply
#2
When clients have to download something, it will look to the sv_downloadurl first, and it if is not there, it will retrieve it from the server.
Reply
#3
Ok. So if I upload just the map to the server, I will be fine as long as it's in the maps directory? And just to clarify, when I make the directory structure on my webserver /garrysmod/maps/, would I set the sv_downloadurl to sv_downloadurl = "http://www.myserverhere.com/garrysmod"?
Reply
#4
Take a look at this.

sv_downloadurl is not required to download files off the server.
Reply
#5
Right, I understand that, but like I said, I have lots of random maps that would normally take a long time to download, so would the directory structure I have up there work?
Reply
#6
You would link to the garrysmod folder, and use a directory identical to your SRCDS file system.
Reply
#7
So, like I have up there, with the garrysmod folder being pointed too in my sv_downloadurl?
Reply
#8
That's not true, if you have sv_downloadurl setup, if it is not on the sv_downloadurl space, it will NOT download from the server. It will give you a Missing map error.
Ryan White
Owner & CEO
GigabiteServers.com
Reply
#9
So dualcore, if I upload the map, but not my DUA (not lua, DUA) files, people will not function correctly on my server? And, is the directory structure I posted above correct?
Reply
#10
It only doesn't download from the server if the maxfilesize is to small. Set net_maxfilesize 80 or so to ensure the download of bigger files.
Reply
#11
Your fast download host should mirror the game server. Any custom content in your server should be compressed and uploaded to your fastdownload host. Ex. Any custom sounds in your sounds folder in your gameserver should be in the sounds folder of your fastdownload host.
Ryan White
Owner & CEO
GigabiteServers.com
Reply
#12
Understood, so when the svdownloadurl points to the game's directory, containing maps, sounds, etc., is that good? And Beaver, if I do that, the clients will just start downloading maps from me again, which is not what I want. So guys, will people only download from that url when I set it or will they download from the url first then me?
Reply
#13
The maxfilesize is for sv_download url as well. It regulates the max size of the download files. It will want to download off the downloadurl over your server if the file is available.
Reply
#14
Ok, thank you very much! Is there a chance you could accept my friend request on steam?
Reply
#15
Yeah. . .
Ryan White
Owner & CEO
GigabiteServers.com
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)