SRCDS Steam group


sv_downloadur help
#1
So I've searched a lot, but their just isn't much on sv_downloadur. I understand the concept of it.

I uploaded my files to my webspace in the rootdirectory as cstrike, followed by the maps and sound folders. I added the entry into server.cfg but then when I went to test it it started to download and then said map file missing.

So, I'm not really clear on how this works. Since I just uploaded the cstrike folder to the root directory on my webspace it doesnt really have its own URL right? I just sent it to my home address (which would ofcourse load the index.html page in a webrowser) which is at http://steamldsg.cwahi.net

because that would make sense since the cstrike folder is in the top level directory right?

But maybe I am misunderstanding something. I'm not totally certain if these are supposed to be available like on an FTP server or if HTTP is okay. Did I do it right? Or are their suppossed to be hyperlinks to the files? I'm very confused, this is one of the last pieces to the puzzle of my server so Im very excited but also worried I wont be able to figure this out.

also since this is a free hosting service it may not work, but I didn't want to pay up a year just to find out I cannot make it work.
Reply
#2
first, it's sv_downloadurl not sv_downloadur (note the L).
You need to point the cvar at the folder that the map folder is within. For example, if you point to http://steamldsg.cwahi.net, the maps folder needs to be at http://steamldsg.cwahi.net/maps
It needs to have HTTP access, FTP links do NOT work.

Finally, the issue with free hosting is limited bandwidth. You are normally only given a few MB a day which would make hosting maps pointless as you would quickly run out of bandwidth.
~ Mooga ...w00t? - SRCDS.com on Twitter
[Image: 76561197965445574.png]
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
Reply
#3
Sv_downloadurl's are used to speed up the slow downloads of large maps from the SRCDS server, I read up on it a while back, but the bandwidth the SRCDS will give for clients to download custom content (maps/skins/sounds etc) is very limited, the SV_downloadurl will allow the client to download the missing custom content from a http server, thus giving a much faster download.

If you uploaded your contents cstrike folder to the root of your site eg http://www.mysite.com then as mooga said, the maps directory should be http://www.mysite.com/maps and config be http://www.mysite.com/config etc. Be careful that you haven't put:

"sv_downloadurl http://steamldsg.cwahi.net"

Whilst you have uploaded your cstrike into, otherwise it would be:

"sv_downloadurl http://steamldsg.cwahi.net/cstrike"

And yes it needs to be a http server for it to work.
Reply
#4
This free service claims to be unlimited on both. I plan on switching over to FatCow or another service once I get my server up and running how I would like

So, thanks for the help. Unfortunatley I got the same error.

So on the client side I get this error from console:

Quote:CAsyncWavDataCache: 55 .wavs total 0 bytes, 0.00 % of capacity
Missing map maps/cs_estate_od.bsp, disconnecting

Host_Error: Disconnected

Here is the download portion of my server.cfg

Quote://Downloadurl CVARS
sv_downloadurl "http://steamldsg.cwahi.net/cstrike"
sv_allowupload 1
sv_allowdownload 1

And here is what my Server files look like
Here is the root
[Image: root%20directory.jpg]

Inside CStrike
[Image: cstrikedir.jpg]

Inside Maps
[Image: files.jpg]
Reply
#5
Try set those sv_allow.... above the sv_downloadurl.

And if you go to your URL and for an example, http://steamldsg.cwahi.net/cstrike/maps/somemap.bz2

And make sure you can download it and have permissions for it,
Reply
#6
or .bsp

Also check net_maxfilesize
Reply
#7
Yeah make sure that files bigger than an x size is allowed to be downloaded.
Reply
#8
So I updated my server.cfg to

net_maxfilesize 99
sv_allowupload 1
sv_allowdownload 1
sv_consistency 0
sv_pure 0
sv_downloadurl "http://steamldsg.cwahi.net/cstrike"

The odd thing is that it looks like it is downloading the .nav file and maybe something else really fast but then it says it cannot find the bsp file.

Also, if I go to the URL in my web browser it doesn't exist. But my homepage does (http://steamldsg.cwahi.net). Is the only issue that I have the wrong URL? Any idea what it might be? The company cwahi.net has 0 tech support.
Reply
#9
You've the wrong URL then. Make sure that there is no difference in the case(upper or lower)
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)