hacks-cs.clan.su
Saturday, 10.12.2016, 10:00
Welcome Guest | RSS
Main | File Catalog | Registration | Login
Site menu

Section categories
Plugins [12]
Manual for servers [11]

Counter-Strike 1.6

Statistics

Total online: 1
Guests: 1
Users: 0

Main » Files » Plug-ins for CS 1.6 » Manual for servers

Fast download sounds and other files from your server!
16.10.2011, 15:02

Fast download sounds and other files from your server!

Instead of downloading from connecting additional resources (maps, skins, sounds, etc.) directly from the game server (in this connection with hlds), in Half-Life now supports downloading from HTTP-server (ie the Web server .)
Download via HTTP has three important advantages:
1) Download additional resources has no effect on the game server, as file transfer carries a separate Web server with the additional resources
2) Players will inject more resources to the maximum possible speed to them that will significantly speed up the process of injection
3) Players uploaders additional resources do not occupy a slot on the server
WHAT TO SEE PLAYERS, connects to a server that has ADDITIONAL RESOURCES
-------------------------------------------------- --------------
When a player connects to a server that has more resources, there will be one of two things:
1) If the server is not configured for downloading via HTTP, to use the usual method of downloading "trickle"
2) If the server is configured to download via HTTP, the player will see expanded the upload, and get much faster downloads. While there is a download, the player is not connected to the game server. Once the download is complete, the player is automatically attached to the server and can play.
CONFIGURING YOUR SERVER TO USE FAST download via HTTP
-------------------------------------------------- --------
1) Make a list of all the custom files (bsp, wav, mdl, etc), used on your server
2) Place these files to a web server, keeping the directory structure
3) OPTIONAL: To display the banner players, download the additional resources put into picture format GIF (340x56) in the path:
<custom content directory> / gfx / banner.gif
4) Install the server variable in sv_downloadurl
"Http://yourserver/custom_content_directory/"
Example:
Your server uses a custom map "de_generic", which requires the following files:
\ Cstrike \ maps \ de_generic.map
\ Cstrike \ de_generic.wad
\ Cstrike \ sound \ ambience \ de_generic_a.wav
\ Cstrike \ sound \ ambience \ de_generic _b.wav
\ Cstrike \ sound \ ambience \ de_generic_c.wav
Suppose you have a place on the web server address: http://www.VASh_SAYT.ru/ ~ dom, you want to use for hosting your additional resources.
To do this, download the files required for the card de_generic on your web server in the newly created directory cs16_1, preserving the directory structure.
Now you have the following files on your web server:
http://www.site.com/ ~ dom/cs16_1/maps/de_generic.map
http://www.site.com/ ~ dom/cs16_1/de_generic.wad
http://www.site.com/ ~ dom/cs16_1/s...e_generic_a.wav
http://www.site.com/ ~ dom/cs16_1/s...e_generic_b.wav
http://www.site.com/ ~ dom/cs16_1/s...e_generic_c.wav
Now install the server variable:
sv_downloadurl "http://www.VASh_SAYT.ru/ ~ dom/cs16_1 /"
Now players that connect to your server, automatically download the map and de_generic required for its additional files to your web server (of course, if they still do not have this card and files)
TECHNICAL DETAILS
-----------------
* The maximum length of variable sv_downloadurl - 127 characters
* You can specify a username / password to access the web server in the value of the variable
http://username:password @ www.VASh_SAYT.ru/
(Note - the latest patches for IE can disable this functionality)
* If a connecting player has a file with the same name, this file will not be overwritten, and downloading the file will be skipped
* Some critical and / or dangerous files can not be downloaded (ie: *. exe, *. vbs, etc)
Category: Manual for servers | Added by: ^^ADMIRALL^^
Views: 1539 | Downloads: 0 | Comments: 1 | Rating: 0.0/0
Total comments: 0
Only registered users can add comments.
[ Registration | Login ]
Search

Tag Board
200

Our poll
Rate my site
Total of answers: 1276

Login form


Copyright MyCorp © 2016
Free web hostinguCoz