SRCDS Steam group


sv_downloadurl tutorial questions and suggestions
Type this into your client console(game console)

Code:
cl_downloadfilter all
Reply
Type this into your client console(game console)

Code:
cl_downloadfilter all



Ok, ready.. but some problema still

another suggestion ?

Thanks
Reply
Can i download part of content(lua files) from gameserver, part of content(maps,sounds,models) from webserver?
And another question: is that necessary to set directory listing on - or working direct links to files enough?
Last question: is there any way to track errors? (like server not found, or file not found, or maybe something else failed), because i can't get it work.
Reply
Hardy Wrote:Can i download part of content(lua files) from gameserver, part of content(maps,sounds,models) from webserver?
And another question: is that necessary to set directory listing on - or working direct links to files enough?
Last question: is there any way to track errors? (like server not found, or file not found, or maybe something else failed), because i can't get it work.

1) I think so, when ever I forget to upload the latest maps to the fast download server people complain it's taking a while to download but they still get it. So I'm guessing the client reverts back to the game server if it can't find it on the fastdownloads

2) If your talking about what I think you are (the page that comes up listing all files and directories in given directory if no index page is found) then no, the client directly requests the resources by url the game server gives it. eg: <yourfastdownloadcvar>/maps/<mapname>.bsp

3) Your webserver will keep logs of errors with requests, such as missing files. One thing to check is your mime types are set to application/octet-stream .bsp and other resource files.
mOGaming - Multi-game community
Reply
I just signed up here because I'm having a problem with custom sounds downloading.

I have my webspace setup, and when I switch to a custom map it downloads nice and fast. But none of my custom sounds do...
Code:
net_maxfilesize 100
sv_pure 0
sv_consistency 0
sv_allowupload 1
sv_allowdownload 1
sv_downloadurl "http://<mywebspacehere>/tf/"

All my sounds are .mp3's which if I put them into my own folder myself, play ingame fine. I have the sound on both my server's folder, and my webspace's folder and neither seem to send it to clients. I also have my download filter set to allow all custom files from the server.

I can also open the webspace up in FireFox and play/download all the sounds just fine. The folder structure is:

Code:
http://<mywebspace>/tf/sound/custom/PlanetX.mp3
http://<mywebspace>/tf/sound/custom/ForestHope.mp3
http://<mywebspace>/tf/maps/cp_amsterdam_b1.bsp

Halp. Sad
Reply
Try removing the last
Code:
/
on the end of your URL.
[Image: MJRNUT-1.jpg]
Reply
Nope, still doesn't.

Is there a way I can make sure even the maps are being downloaded from my webspace? I mean it seems faster than before but is there a way I can be sure? The whole thing could potentially be borked.
Reply
oops

your URL should be -- http://www.mysite.com/

on your redirect site then it would be the following structure:

www/maps
www/sounds
[Image: MJRNUT-1.jpg]
Reply
just to clarify
in your WEBSPACE you only need bs2

but in ur Game server files you need original and bs2
Reply
No you don't need the .bz2 files on your games server.

bz2 files are only for your webspace and bsp fiies for your server.
Reply
hey ^^
i got some problems and i dont find any to fixed it
Problem :
Maps , Sounds , Skins and Models are on a free webspace (kilu.de)
so if i connected to my server he will download Maps , Skins and sounds but he didnt download the materials for the customs maps and that the map will looks like horribel
so what must i do to download this from the Webspace when im connect to my server :S
Reply
Upload the materials onto the webspace as well?
Reply
Forlix Wrote:Upload the materials onto the webspace as well?

yeah i have all the files uploaded that im need for the map
its on webspace and on the server
but he only load the .bsp
Reply
Hello everyone noob here looking for some help :-)

my server seems to be working with downloadurl it is up and running. I maps will download but they do not seem to download at a faster speed. I can put the ftp link directly into any browser (firefox or IE) and the files will come up just fine. When I download directly from the ftp site the files will download at 700kbps take about 50 sec but when downloading the same map from the game (18mb map gg_simpson_x.bsp) the speed seems slow it takes 6 minute plus to download.

It seems to me my setting are not working and it still downloading from my server vs the ftp site. first question is how do I determine if the ftp site is actually being used. 2nd is what type of changes to the server.cfg file can I make that could possible increase the speed assuming my setting are set correctly? 3rd my server is currenlty on C:/srcds/cstrike does the ftp site have to be in that format ftp://<mywebspacehere>/srcds/cstike or the format below is fine?

sv_allowupload 1
sv_allowdownload 1
sv_downloadurl "ftp://<mywebspacehere>/cstike"

Thanks in advance
Reply
Do NOT use it as a FTP use HTTP.
Reply


Forum Jump:


Users browsing this thread: 9 Guest(s)