Archives:

Categories:


HLDS Resource Downloading Tweak

sv_downloadurl
This variable allows you to specify from which URL the players that don’t have your custom resources (maps, sounds, models, etc.) have to download those resources. Traditionally, all your players had to download missing resources from your server, at a fixed and slow rate of 8kbps which sometimes caused lag.

With this URL, you can host your resources almost anywhere and have your players download them at blazing rates of more than 100kbps without using any of your bandwidth AND those players won’t take up a spectator slot on your server while downloading!

Login to your remote webhost FTP server and create a directory called “cstrike”. Once created, go inside that directory, and upload your server’s maps, sounds, sprites, models, gfx, etc.

When uploading your files to your FTP it is important to make sure your files are placed in the correct directories, as for your HLDS server is reading the remote host as if it were reading the files stored on your own server locally.

(ex. /maps/de_custom.bsp –> /cstrike/maps/de_custom.bsp)

Once you have uploaded all of your files, it’s time to edit your server.cfg config file located in your root HLDS folder.

Navigate to C:Program FilesValveHLServercstrike

Find server.cfg

Open server.cfg

Scroll down to the very bottom of the configuration file, hit enter a few times and copy/paste this: sv_downloadurl “http://www.yourdomain.com/cstrike/”

Save and close server.cfg

Restart your HLDS.


0saves
If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

Tags: , , , , , , , , , ,

Leave a Reply

Copyright ©2004-2011 ShizzKaBiz. All Rights Reserved.