SRCDS Steam group


sv_downloadurl tutorial questions and suggestions
#76
Yes.

Download bzip2 for windows from http://gnuwin32.sourceforge.net/packages/bzip2.htm. Extract the files to for example c:\windows. Make sure you extract bzip2.dll to the same place with the .exe files. Then open command prompt (Run -> cmd.exe). Write "bzip2.exe de_losttemple_pro.bsp" and it will generate new file de_losttemple_pro.bsp.bz2.
Reply
#77
i prefer 7zip for by bzip2 needs

I finally got it to work a while back, for other ppls reference:

Code:
sv_allowupload 1
// allow custom decals to be uploaded. 0 is off 1 is on
sv_allowdownload 1
// allow files to be downloaded from the server. 0 is off 1 is on
net_maxfilesize 99
// Max download file size. Default is 15
sv_downloadurl "http://****.net/Downloads/tf/"
//redirect download location
Reply
#78
Hi guys, quick question:

I plan to use Stripper: Source to add Christmas decals and entities to all the maps on my server for the holiday season. Wreath decals, holly sprites, and a Christmas tree model. Smile Even though everything adds up to under a megabyte (uncompressed, even!), there are 40+ files (.mdl, .phy, .dx80, .dx90 for models, etc).

Since all the files will be in the same directory anyway, It would be much simpler and far less annoying for users to have one .bz2 to download instead of having to download every file and have their download bar flash 40 times, no matter how quick it is.

Is there any way to combine multiple files into a single .bz2 for download? If I place all the required files into one .bz2, is the client smart enough to extract them all? If so, how would I tell it to download one file but extract multiple files?
Reply
#79
Nope, you can't bundle them, every single file has to have its own bzip2 file
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#80
Drocona Wrote:Nope, you can't bundle them, every single file has to have its own bzip2 file

Darn. I guess I'll limit the decorations to a few files in that case. Thanks for the help though!

I wonder how we'd go about requesting that kind of functionality. Smile

Something along the lines of a modification to the .res file format.

Instead of:

Code:
"Resources"
{
    "materials/materialsubfolder/material name.vmt"    "file"
    "materials/materialsubfolder/material name.vtf"    "file"
}


One could have something like:

Code:
"Resources"
{
    "materials/materialsubfolder/material name.vmt"    "filepack.bz2"
    "materials/materialsubfolder/material name.vtf"    "filepack.bz2"
}

Where both (or more) files were all contained in 'filepack.bz2'
Reply
#81
Unfortunately I don't think VALVe will even bother looking at that since most servers use the normal download anyway and the current sv_downloadurl works fine.
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#82
Hey guys!

I've been running my server with sv_downloadurl for some months now, only having the bzip2 compressed files on the HTTP server. Now I see in the (Apache) logs that often the client behavior is really weird.

I see some clients that request the bz2, get a response 200 (OK) yet some seconds later they try the uncompressed file (which I dont offer of course), getting a 404.

So I guess I'll be putting the uncompressed versions on there as well, but what I'd like to know is what causes this behavior?
Does anyone have any further info about this, know any details?

Even weirder is that every now and then, srcds creates some ztmp files for some content in the sounds or maps folder... I cannot reproduce this eg. by using an incorrect downloadurl...
Reply
#83
Maybe your web server answers too slow and some clients then automatically timeout and start querying for the uncompressed file.

The ztmp files are gzipped files that the game server creates automatically if it needs to send them to players.
Reply
#84
I have a question.I uploaded a map in lalal\cstrike\maps ''the file'' and it was downloaded by my client.But when it went to connect it said
''unable to connect de_dust2_night map is missing''.
What 's my fault?
[Image: b_560x95.png]
Reply
#85
were you using just a file or a .bz2 file
Reply
#86
Just the map
[Image: b_560x95.png]
Reply
#87
Now I changed to bz2 and it says:
Missing map maps de_dust2 missing and I have uploaded to website.Should I upload it via FTP?
[Image: b_560x95.png]
Reply
#88
well you said your client downloaded it so i don't think that's where the problem is. maybe you have the wrong map file. either that or your server doesn't see your map file in your map folder
Reply
#89
Hi people

I have configured sv_downloadurl on a css server. I have hosting etc and it works in most part.

The maps download fine, very fast infact but the sounds seem a bit confused. Everytime I join the server or a new map starts I get the downloading of the sounds again. It looks like they have downloaded but when i try to play them they do not work, yet other people (who may have downloaded prior to the fast dloads being added) can hear the sound playing. I am not sure whats happening here as I tried to test this by deleting from my local folder to see if they would re-download but they dont?? If I try it with a map it works fine. If I play the standard sounds ie 'waiting for suspevt' I can hear them?

Any ideas? :-/
Reply
#90
Please verify that the sounds are named correctly, are in the correct directory and are added to the SRCDS download list correctly.
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply


Forum Jump:


Users browsing this thread: 7 Guest(s)