SRCDS Steam group


fast downloading...
#1
...anybody got it working under SRCDS?

I have fast downloads working on 4 HLDS-based servers but can't get it to work under SRCDS. Having perused the steam forums I'm seeing stuff about adding mime types for the .bsp files, but as far as I can see that applies to IIS only - I'm running Apache. I can download the files through a browser (I've tried Firefox and IE) with no problems, so everything seems to be setup correctly on the webserver end. sv_downloadurl is setup correctly in server.cfg, but when I join while a custom map is running it downloads from the gameserver instead of the webserver.

I knew it was broken a few weeks ago but I was given to understand that it had been fixed in an update - still no go for me though. If you have fast downloads working under SRCDS, please let me know how you did it.

Thanks!
knoid || Admin, joe.to gaming community
tf2.joe.to - challenge maps
tf4.joe.to - custom maps
Reply
#2
I'm waiting on the fix to knoid. I've tried it under apache and IIS and
its still a no go. Anyone else get it working?
Reply
#3
I can definately get it working....

but here's the catch.

I can only get it working under windows (sorry dont use linux so dont know there) and only on my test webserver which is on my lan here. I can't get it working from my clan website's server which is hosted. That said, though i'm thinking the problem is with the hosting company rather that with srcds!!

As far as linux is concerned I can't help. This http download thing sure seems to be causing some headache's though Sad .
Reply
#4
You do nothing different than you do in cs1.6

This is the SERVER.CFG we run on our rental servers!

hostname "ServerSpyder.com Server Rentals"
rcon_password ####
mp_timelimit 20
mp_spawnprotectiontime 5
mp_chattime 3
mp_autokick 1
mp_autoteambalance 1
mp_c4timer 30
mp_flashlight 1
mp_footsteps 1
mp_forcecamera 0
mp_freezetime 5
mp_friendlyfire 1
mp_hostagepenalty 1
mp_limitteams 1
mp_roundtime 3
mp_tkpunish 1
mp_buytime 0.5
mp_startmoney 1000
sv_allowdownload 1
sv_airaccelerate 3
sv_gravity 800
sv_maxupdaterate 60
sv_maxrate 8000
sv_maxspeed 350
sv_minrate 2000
decalfrequency 30
mp_falldamage 1
sv_pausable 0
sv_cheats 0
exec banned_user.cfg
sv_downloadurl "http://##.##.###.###/my_cstrike/"

Place all the approperiate files in the right directory structure and it will work.
http://www.serverspyder.com
Game Server Hosting Specialist
Reply
#5
ServerSpyder Wrote:You do nothing different than you do in cs1.6

This is the SERVER.CFG we run on our rental servers!

hostname "ServerSpyder.com Server Rentals"
rcon_password ####
mp_timelimit 20
mp_spawnprotectiontime 5
mp_chattime 3
mp_autokick 1
mp_autoteambalance 1
mp_c4timer 30
mp_flashlight 1
mp_footsteps 1
mp_forcecamera 0
mp_freezetime 5
mp_friendlyfire 1
mp_hostagepenalty 1
mp_limitteams 1
mp_roundtime 3
mp_tkpunish 1
mp_buytime 0.5
mp_startmoney 1000
sv_allowdownload 1
sv_airaccelerate 3
sv_gravity 800
sv_maxupdaterate 60
sv_maxrate 8000
sv_maxspeed 350
sv_minrate 2000
decalfrequency 30
mp_falldamage 1
sv_pausable 0
sv_cheats 0
exec banned_user.cfg
sv_downloadurl "http://##.##.###.###/my_cstrike/"

Place all the approperiate files in the right directory structure and it will work.

What OS is the website box on and what http server is it running?
I can not get it working either.
Reply
#6
WIN2003 with APACHE

See it in action... just ask an admin to change to a custom map or delete one and go see!

69.93.230.150:27015

This is one of our rental servers
http://www.serverspyder.com
Game Server Hosting Specialist
Reply
#7
Ok I think I've found what might be causing the problem. Basically if your hosting company is using IIS 6.0 on Win 2K3 server then by default the http download won't work.

It turns out Microsoft in their "security drive" have changed the behaviour of IIS in version 6.0 to prevent the serving of file types that don't have an entry in the mime map table. In version 5.1 and earlier all "unknown" file types (i.e. file types not listed in the mime map) were served as application/octet-stream, which is why the http downloading works on some IIS servers but not others.

To get this working on IIS 6.0 you will need to add the following file types to the mime map on your web server.

.bsp
.nav
.res
.txt
.vtf
.vmt
.wav

The mime type needs to be application/octet-stream.

If, like me, your're using shared hosting for your web space things get trickier. This is because you normally can't get root access to the server box and have to use a "control panel" that's provided to you by the hosting company (if you're lucky). The only advice I can give in this scenario is to check to see if the hosting company offers the ability to edit the mime mappings and if not maybe raise a ticket with their support staff. Be warned that my experience is showing that a lot of hosting companies consider the ability to edit mime mappings as an advanced feature and hence it may cost you to upgrade your package if you don't already have it.

Anyway, I hope this solves a few peoples headaches. This time it's not valves fault but in fact it's Microsoft pulling a number. In line with their current security push I suppose (Microsoft's idea of securing their software is to just stop things working by the looks of it!).
Reply
#8
NICE WORK!

Theres always Apache...
http://www.serverspyder.com
Game Server Hosting Specialist
Reply
#9
I have this working fine under Linux with Apache, it was as simple as putting the /maps /materials and /sound folder in a web visible place and pointing it with sv_downloadurl further than that I can't really say, I run multiple custom maps servers which all use this successfully from a single shared map folder using symbolic links, the same map folder has a symbolic link in the web server tree.

Cheers,
AfterGlow
Reply
#10
Yeh a lot of the problems associated with this seem to relate specifically to IIS 6 on Windows Server 2003.

Having now added the correct mime types the downloads do indeed work correctly.

As you say, the Apache servers don't appear to be affected by this issue.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)