Jump to content

[Tutorial] Increase speed to download resources


Fllyyper
 Share

Recommended Posts

Description: As we all know, some servers are full of sounds. Wav or some large maps must be downloaded. This tutorial will teach you how to quickly unload resources (maps, sounds, etc..)

Credits:Not Found

RESOURCES NEEDED:

- A Web server

- Copying files from a server to Web server CS

- A small change in cstrike \ server.cfg

 

Steps to go:

 

1. Should I install a web server (if you have not already installed) right on the CS server.

The easiest to set up such Wamp5, that you download from here

Download the latest version, after which we will install the server. Do not forget to remember where he was www (root's), which you choose when installing. There will copy the files that must be downloaded from the server.

 

Also take care to make to run the Web server along with Windows or else to a restart of the computer, the files will no longer be available.

 

* Wamp5 contains: Apache2, PHP5 and MySQL 5 - through which the site can and cstrike of your server that will contain the forum.

 

2. We need to copy file structure of the server cstrike folder in www folder in a folder that you named your choice. For example: "Files"

'c:\wamp\www\files'

 

 

What you must copy in cstrike folder? Be careful not to copy files like server.cfg or addons folder, to prevent other people from accessing the admin password or rcon.

We just copy these folders and Fişer are required:

cstrike\

.wad its is in .
.tga its in gfx\env\
.bsp its in maps\
.txt its in maps\
.res its in maps\
.mdl its in models\
.wav its in sound\
.spr its in sprites\

 

Copies of these files / folders need to put in www folder that you chose. Ex: 'c: \ wamp \ www \ files \'. Now these files should be able to be accessed with a browser to an address like:

http://server.de.cs/files/maps/fy_iceworld.bsp

 

server.de.cs = is actually the IP address of your server

 

An example of structure:

 

C:\Program Files\Steam\SteamApps\your@email.address\Counter-Strike\cstrike\maps\de_generic.map
C:\Program Files\Steam\SteamApps\your@email.address\Counter-Strike\cstrike\de_generic.wad
C:\Program Files\Steam\SteamApps\your@email.address\Counter-Strike\cstrike\sound\ambience\de_generic_a.wav
C:\Program Files\Steam\SteamApps\your@email.address\Counter-Strike\cstrike\sound\ambience\de_generic_b.wav
C:\Program Files\Steam\SteamApps\your@email.address\Counter-Strike\cstrike\sound\ambience\de_generic_c.wav

http://www.mywebsite.com/cs_stuff/maps/de_generic.map
http://www.mywebsite.com/cs_stuff/de_generic.wad
http://www.mywebsite.com/cs_stuff/sound/ambience/de_generic_a.wav
http://www.mywebsite.com/cs_stuff/sound/ambience/de_generic_b.wav
http://www.mywebsite.com/cs_stuff/sound/ambience/de_generic_c.wav

 

3. New cvar was added to the engine HalfLife namely 'sv_downloadurl'. It allows you to specify a different download locations of resources. In the server.cfg file in your server cstrike folder of cs will be inserted the following line:

sv_downloadurl "http://server.de.cs/files/"

 

*Server.de.cs = is actually the IP address of your server.

 

Example:

sv_downloadurl "http://86.55.123.123/files/"

 

 

Sv_downloadurl maximum size is 127 characters.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock