SRCDS Steam group


sv_allowdownload not working properly
#1
I can't figure out how to allow users to download custom maps/content
I don't have enough space for a url redirect, so I need the maps to be downloaded from the server itself

I've tried the following settings in my server.cfg:

Code:
sv_allowdownload "1"
sv_allowupload "1"
sv_downloadurl ""

and

Code:
sv_allowdownload "1"
sv_allowupload "0"

and

Code:
sv_allowdownload "1"
sv_allowupload "0"
sv_downloadurl ""

and

Code:
sv_allowdownload "1"
sv_allowupload "1"

I also need to prevent users from uploading theyre custom sprays, I've tried searching around and from what I found the first group of settings is what I need.  But, it doesn't work...and also as I understand it, sv_upload 0 allows users to upload their craptastic sprays. (I was having a problem with people spraying fat porn everywhere)

I always get the map not found, disconnecting error. I restart the server everytime I change a setting, just in case.

I know, I know, it's probably something really simple, I'm new to this. Smile

EDIT: one other quick question, server changes map immediately upon the ending of a map. How can I add a short delay so people can see their scores for a few seconds?
Reply
#2
Im guessing the reason for your clients not being able to download custom maps is due to their size limit being larger than 16MB put the following in your server.cfg:

Code:
net_maxfilesize 32

If this is the case then i highly recommend using another server as a sv_downloadurl this will take some bandwidth strain off the server and using bzp2's will also decrease download time. See the third post down here for some info on how to set this up.

not sure about the spray bit.

**edit** sorry didnt see the bit about not having space for a url redirect. Your ISP doesnt even offer free webspace?
Reply
#3
Thanks for the tip, worked perfectly!

I dont know if my ISP gives me space honestly Smile I'm using a hosting company for my server (gameservers.com), they gave me a hundred megs of web space on a different machine but thats really not enough for more than a few maps, I'll probably upgrade my service at some point though, if the server gets more popular. Can bzip work with regular server downloads, or does it have to be on a url redirect?

Thanks
Reply
#4
To be honest I haven't tried with regular server downloads.. 1Mb up is restrictive enough as it is.

100MB isnt enough for map hosting??? How many custom maps and servers are you running??
Reply
#5
MrHappy,

you can bzip every custom file on a sv_downloadurl to decrease size, the source engine has a unpack function for bzip, it will download and automatically unpack for the clients resulting in less bandwidth, space and time used on the webhost and clients.
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#6
Thank you for this explanation. It gives me clear understanding about downloading a custom maps/content.


Tree Care Services
Reply
#7
Great site i love it keep posting more! https://bathroomremodelingcorpuschristi.com
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)