RES files are only needed for content relating to the map. The bz2's do not need to be listed in the res file. The clients will request the 'filename+.bz2' from the redirect first, if it gets a 404 response it requests 'filename'.
Manage your redirects/fast downloads with one click! SourceRSC and HL1RSC
Need a free web based game server hosting panel? Check out UGCC.
03-20-2008, 06:10 AM (This post was last modified: 03-20-2008, 06:14 AM by MjrNuT.)
MjrNuT Wrote:So allow me to run this by you guys on setup to test the bz2 compression for 1 map wrt the gameserver and the webhost. Please provide any corrections as I want to be exactly precise with this.
TF2 map called cp_castle3.bsp
Gameserver:
/maps/cp_castle3.bsp
Res file in /maps/cp_castle3.res with following content:
Code:
"resources"
{"maps/cp_castle3.bsp.bz2" "file"}
Web Host:
/maps/cp_castle3.bsp.bz2
Is this it? (for now, I'd like to avoid bz2 file on gameserver)
I attempted with the above. I also removed teh RES file completely since no additional content. No success with this.
I checked my URL "..../tf2/" initial
and tried with URL ".../tf2"
No luck with either. I also double checked w/ my GSP on the MIME settings and they assure it is correctly set and was rebooted.
With my Initial URL as listed and having only *.bsp files, the download works. I'm miffed about this not working b/c bz2 for some great maps are 40 Mb like the example, and its a huge difference to get down to 22Mb.
03-20-2008, 06:23 AM (This post was last modified: 03-20-2008, 06:39 AM by MjrNuT.)
web server log: I don't believe I have access to that. ONly ftp to the location. I believe you are speaking about the URL location?
as for client console: I had a clanmate test as I was working the server remotely. I'll have to try and obtain that from him or do it myself later.
edit - I did confirm w/ him that his download bar said: .../cp_castle3.bsp.bz2, but then disconnected after about 2 minutes due to "no map found"
do you have a chat method we could discuss to minimize posts here?
I added my skins to a url page (only skins no maps) . People can download the skins but cant download the map off the server. Is it all or nothing or can you put somethings on the url page and the maps will be downloaded off of the server.
I have tried this with my own server and I am having some weird problems. alright well after making a windows webserver with Abyss on another comp in my house I have made my server.cfg for my server, also other computer in my house. (really I'm supposed to host for another server but I am just testing it on my own for now)
Anyways, my server.cfg has
sv_downloadurl "http://rusmar-content.no-ip.info/dod/"
sv_allowupload 1
sv_allowdownload 1
and I am trying to get Bzip2 to work so on my webserver I have 'dod_orange_rm_explosives.bsp.bz2'
and on my game server i have both the bsp and the bz2.
I used 7-zip to compress my bsps
Whenever anyone connects including me, I get:
Map [maps/dod_orange_rm_explosives.bsp] has incorrect BSP version (1348031555 should be 20).
Couldn't CRC map maps/dod_orange_rm_explosives.bsp, disconnecting
Now the really weird part about this is that even if I put just the .bsp file in the webserver it tries to download the bz2 and fails again.
I'm thinking it has to do with the server not being able to connect to the webserver because they are on the same network?, I have no idea how to test if this is working, my gameserver is on linux and my webserver is on windows.
i dont understand what to do.
i made a page called "cstrike"
i then add this hyperlinked text to the page
".../css_matt_css/cstrike/maps/de_urbancollege_a1.bsp "
the page cannot be found :S
HELP PLEASE
or is there a way for people to download maps without making a bloody website
04-28-2008, 04:30 AM (This post was last modified: 04-28-2008, 04:42 AM by Bender.)
OmfG! WTF! Help? o_O
Im tryin to use sv_downloadurl with usein wampserver
and i used a redirected ip bcuz im on a dynamic ip, but it's seem to be working nice i can go on myipredirect.---.org/cstrike and i can download files from there, but when i set the path in server.cfg and i attempt to load it from cs it's still take 2 hours, like ignorin the sv_downloadurl and still download from the main source...
I've tried many things , all i can tell is once i logged on and took 5 secons to load that same file, some how some why it worked but i dont know how and now its not working lol... but im tryin to load the same file and it's a model not a map does it matter?
edit. by the way i use proper path such like site.org/cstrike/models/shmod/ or
.../cstrike/maps ...etc..
and how do i make sure the files are downloadable and readable??
edit. i just made a test i asked a friend to get on thesite.org/cstrike/model/shmod/thefile.mdl and he was able to download it... but it's not workin in cs.. still take 2 mins to load that 1.9m file.. lol